ScapeFX Forums

Support forums for ScapeFX Mud Client

Login |  Register

Post new topic Reply to topic  [ 4 posts ] 

Sat Oct 03, 2009 9:10 am

Offline
Site Admin
Joined: Wed Aug 12, 2009 11:14 am
Posts: 25

MXP (MUD eXtension Protocol) is a protocol made by Zuggsoft for use with ZMud client (mainly).
http://www.zuggsoft.com/zmud/mxp.htm

The reason we do not support this protocol by default is that it is in our view bloated with unnecessary output and harder to implement server side than SFXP. We do not want to base the core protocol used in ScapeFX on something developed and maintained by another mud client company. It would leave the protocol spec out of our control. With our own protocol we can more easily control what is going to be added or removed and we can integrate it easier with the client.

HOWEVER, for muds that really do want to use MXP instead of SFXP it is not hard to add a ScapeFXAPI_NetworkParser written for MXP to replace the default SFXP parser. When time allows we will also write this plugin as a sample plugin on the wiki.



Top Top
  Profile

Tue Nov 17, 2009 2:39 am

Offline
Joined: Tue Nov 17, 2009 2:28 am
Posts: 3

I'm kind of saddened by this because well over 100 muds currently use MXP and we are one of them, as well as Materia Magica, LegendMUD, MozartMUD, and BatMUD are a few of the bigger muds of today. We make extensive use of the protocol and Im not sure how easily it would be to implement as a plugin...

Any chance there will be a snippet for adding server side sfxp?

Looking forward to your client,
Rick

_________________
SlothMUD
multiplayer free online rpg game
text based rpg game



Top Top
  Profile

Wed Nov 18, 2009 12:30 pm

Offline
Site Admin
Joined: Wed Aug 12, 2009 11:14 am
Posts: 25

Hmm, perhaps we should add that MXP sample plugin asap then.

We're also adding MCCP soon hopefully (compression). But that will be in the core client code and not as a plugin.

If you can give an example of how you use MXP serverside, perhaps i could write an example for how SFXP would be implemented to work as similar.



Top Top
  Profile

Wed Dec 09, 2009 12:57 am

Offline
Joined: Tue Nov 17, 2009 2:28 am
Posts: 3

Recently, Hephos added a sample plugin called GaugeMonitor on the wiki pages. SlothMUD is based off of original Diku Gamma and here is a short snippet which shows the basic concept of sending the sfxp information from the server to the client. It should give people the basic idea and format needed to send the information.

if ( (point->character) && (point->sfxp) )
{

snprintf (sfxp_buf, MAX_STRING_LENGTH ,
"\x1B#plugin:GaugeMonitor\x1B#"
"h%ld/"
"%ld"
"e%i/"
"%i"
"f%i/"
"%i"
"\x1B#plugin>",
get_real_and_temp_hits(point->character),
GET_MAX_HIT(point->character),
GET_MANA(point->character),
GET_MAX_MANA(point->character),
GET_MOVE(point->character),
GET_MAX_MOVE(point->character));
strcat(prompt_str, sfxp_buf);
}

_________________
SlothMUD
multiplayer free online rpg game
text based rpg game



Top Top
  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum


Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

    Foruzstyleshout