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
Dyron
Apprentice


Joined: 08 Apr 2004
Posts: 103
Location: USA

PostPosted: Fri Nov 18, 2016 3:34 am   

GMCP Send help
 
I've been trying to do a pull off gmcp on Imperian for this: %gmcp.Char.Items.List.items
It always comes back blank. I was talking to mudlet users that said they have to do a send for it.. So I've been trying to figure out sendgmcp.

I've tried doing a gmcp trigger for Char.Items.Inv like I saw in another post but it doesn't even trying to hit that trigger.. it's like it isn't pulling anything.

Debugger shows nothing going on so I don't think it's doing anything. How do I go about this?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Nov 18, 2016 3:17 pm   
 
#ALIAS sendgmcp {#SENDSB 201 {%-1}}

You may have to tell the server to enable some features before it will respond properly. You should look at http://www.ironrealms.com/gmcp-doc for documentation on what to send. For example with the alias above you would enter "sendgmcp Char.Items.Inv" or "sendgmcp Char.Items.Contents 23908"

For some of the more complex things that require a JSON list you will probably be better placing the #SENDSB text together in a variable. You might want to look at the %json function as well.

A detailed description of the protocol can be found at https://www.gammon.com.au/gmcp.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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