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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Nov 08, 2006 10:50 pm   

MXP in CMUD?
 
I have a question about MXP in CMUD. There isn't any information on MXP in the CMUD manual and a search of the forum didn't turn up anything useful. The zMUD forum also gave different answers to this question, so I figured I'd ask:

can <send> include CMUD commands when used by #mxp? For example
#mxp <send "#var test 0">click to test</send>

Some threads said that zMUD could do this, and some said it couldn't. Can CMUD? If not, is it intended to be able to, or is there a reason for it not being able to?
Reply with quote
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Wed Nov 08, 2006 10:54 pm   
 
For alot of people, if this was used, people could abuse it to force other people to do things they didn't want correct?
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Nov 08, 2006 11:11 pm   
 
No, neither zMUD nor CMUD can do this, and they never will because of the potential security issues. Keep in mind that in zMUD/CMUD scripting you can call COM functions, which allows you to access system stuff. So allowing a MUD to execute a zMUD/CMUD script would be like opening your computer wide open to anything the MUD wanted to do to it. And that's not a security hole I'm willing to open.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Nov 09, 2006 12:34 am   
 
However, MXP can set entities which can optionally be made available to the client (zMUD / CMUD / etc.). These are much like variables, and indeed there is even a variation of the entity element called var.

This is the specification page:
http://www.zuggsoft.com/page.php?file=zmud/mxp.htm#ENTITY
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Nov 09, 2006 12:39 am   
 
I was wondering, could you use an #oninput trigger or an alias instead to make this work?
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Nov 09, 2006 1:07 am   
 
You can probably use something else, yes. What are actually trying to do? Your original example was not very clear what the usage scenario was.

[Edit: Although this is really a beta testing forum, and since MXP hasn't changed since zMUD, these sorts of questions should really be in the zMUD discussion forum, I think.]
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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