Game Development Community

request for help: Scripted Inventory Tutorial

by Jeff Howard · in Torque Game Engine Advanced · 02/13/2009 (8:37 am) · 2 replies

I've just completed Stefan 'Beffy' Moises' Scripted Inventory Tutorial, which is an excellent resource.

http://tork.beffy.de/tutorials/inventory/inventoryGui.pdf

But I can't quite get it to work. When I press the 'i' key, nothing happens. I check the console and find this error: "ServerCmdDisplayInventory: Unknown Command." I've checked back through my work, and the ServerCmdDisplayInventory command is defined in the server/scripts/command.cs file. This leads me to believe that maybe the client is not recognizing the command that the server is sending it.

The scripted inventory tutorial is based on an earlier inventory manager tutorial by Tim Newell, and I notice that someone had the same error as me but was not able to get an answer. See comment # 12 below.
http://www.garagegames.com/community/blogs/view/1842

Any help would be greatly appreciated.

#1
02/13/2009 (11:23 am)
Did you check the console for errors? If you get a parse error on launching the game, it will load the compiled dso instead of recompiling to reflect your changes. You probably just have some error in the log somewhere, which will let you do your thing once fixed.
#2
02/14/2009 (9:24 am)
I've now checked the console, found the parsing errors, and fixed them. Everything now works smoothly. Thank you very much for the reply, Ted.