Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ MXP and Pueblo ➜ Server Entities

Server Entities

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Etreus   (1 post)  Bio
Date Tue 25 Nov 2003 07:19 AM (UTC)
Message
I was reading through the "MXP Sound Problems" post, and I was wondering if there might be an easier way to do that. I've got a similar situation where my moo defines stuff via MXP. It seems, however, to capture the strings and remove all the junk to get the data you need is a backwards kind of way to do it. When I type "/world.debug "server_entities" I get this;


maxhitpts  = 1023
maxmanapts = 1245
maxmovepts = 1172
hitpts     = 1023
manapts    = 1245
movepts    = 1172


It seems MushClient already knows the names, and values of those entities. Is there a way to harvest that information from the client instead of from each line the server sends? It'd seem to be a faster, easier way to do so, instead of interpreting each line twice (once by MushClient, internally, and twice by the script).
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 27 Nov 2003 06:35 PM (UTC)
Message
See this posting:

http://www.gammon.com.au/forum/?bbsubject_id=3234

The plugin callback routine "OnPluginMXPsetVariable" is called when an MXP entity is changed, so you could detect it there.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,756 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.