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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Amnon
Newbie


Joined: 13 Nov 2003
Posts: 3
Location: Israel

PostPosted: Thu Nov 13, 2003 1:21 pm   

MXP Hint in the <send> tag
 
Hey,

I've had an MXP tag in my game for a while now, that lets people see the name and owner of a building when they place the mouse cursor over it on the map. I was using the Hint option in the <send> mxp tag to do it.

Problem is, it doesn't seem to work in Zmud 6.62. I know it worked in older versions, so was there a change in the mxp format or something, or is it something fixable in the definitions?
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sat Nov 15, 2003 12:06 am   
 
quote:
Originally posted by Amnon

Hey,


Hello!

quote:

I've had an MXP tag in my game for a while now, that lets people see the name and owner of a building when they place the mouse cursor over it on the map. I was using the Hint option in the <send> mxp tag to do it.


I assume something like <send href="smile" hint="This is a test">press me!</send> then.

quote:

Problem is, it doesn't seem to work in Zmud 6.62. I know it worked in older versions, so was there a change in the mxp format or something, or is it something fixable in the definitions?


Be sure that you follow the format fully. A <send> needs the </send> to work for example. I have written down a summary of (some) parts of mxp that you might find useful:
http://www.silverbridge.org/~varmel/mxp.php

It should show mostly the correct syntax. The easiest way to spot possible errors is if you post what you send to the clients.
Reply with quote
Amnon
Newbie


Joined: 13 Nov 2003
Posts: 3
Location: Israel

PostPosted: Sat Nov 15, 2003 10:15 pm   
 
Nah, it wasn't a syntax error, or else it wouldn't have worked on older versions. Also, I don't use the full <send> tag, I make an element when the player connects. Now, I redid the element to add some new features, but it still doesn't show the hint on mouse-over:

!ELEMENT Bl "<send 'Blast &x; &y;|computer connect &x; &y;|help &name;|Info &x; &y;'
hint='&name; Owner: &owner; &x; &y;|Blast|Connect|Help|Info: &name; Owner: &owner; Loc: &x; &y;'>"
ATT='x y owner name'

It sends the info right, cause when I right-click it, everything works ok. But I'd still like to get some info when I put the mouse over the map, and that doesn't happen :P
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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