|
Orrusti Newbie
Joined: 06 Jul 2011 Posts: 1
|
Posted: Wed Jul 06, 2011 9:37 am
GMCP in Midkemia Online |
Hey, guys.
I'm pretty newish with using zScript and CMUD, but I'm trying to get a system going for Midkemia Online using GMCP, but a number of the functions aren't working for me.
For example, #SHOW %gmcp.Room.Info works, #SHOW %gmcp.Char works, but #SHOW %gmcp.Char.Items is returning nothing!
Now, I'm sort of learning as I go along with both coding zScript and GMCP, so I'm probably doing something wrong here... So is there some sort of setting-up which needs to be done before I can use GMCP properly? Or am I just using the functions wrong?
Cheers in advance! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jul 06, 2011 8:53 pm |
they aren't functions, they are variables. And if %gmcp.char.items is returning nothing then it means Midkemia didn't provide you a GMCP way to view your inventory--the alternative being that you're just looking in the wrong place.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jul 08, 2011 3:57 pm |
You can also use the Script Debugger window to turn on the Raw Input/Output message to monitor exactly what GMCP data the MUD is sending you.
|
|
|
|
|
|