Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Orrusti
Newbie


Joined: 06 Jul 2011
Posts: 1

PostPosted: 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!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net