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.
Entire forum
➜ MUSHclient
➜ MXP and Pueblo
➜ Problem with MXP callbacks
Problem with MXP callbacks
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| ForgottenMUD
Belgium (22 posts) Bio
|
Date
| Sat 08 Dec 2012 01:35 AM (UTC) |
Message
| I can't get them to work. It doesn't do anything/catch MXP tags. I tried the following functions on my server as well as the Two Towers MUD, and none of them catch anything. Both servers implement MXP, which is not activated through a protocol handshake but with CTRL + ALT + U and "Yes - Always" so that might be the issue(?) I also reduced the world window to see if there wasn't a "Notepad" screen undernearth.
function OnMXPEndTag (name, text)
AppendToNotepad ("MXP", "Closing tag: " .. name .. "\n")
AppendToNotepad ("MXP", "Text: " .. text .. "\n")
end -- function
function OnMXPEndTag (name, text)
Note("test")
end -- function
function OnMXPerror (level, number, line, message)
if level == "E" and number ~= 1030 then
ColourNote ("white", "red", level .. "(" .. number .. "): " message)
end if
-- do not display entities received (eg. < )
if number == 20001 then
return 1
end -- if
return 0
end -- function
|
ForgottenMUD - original Java MUD
http://sites.google.com/site/forgottenmud | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 08 Dec 2012 07:17 PM (UTC) |
Message
|
|
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #2 on Sat 08 Dec 2012 07:24 PM (UTC) |
Message
| Are these in a plugin or the main world file? If the main world file did you fill in the function names here:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| ForgottenMUD
Belgium (22 posts) Bio
|
Date
| Reply #3 on Sat 08 Dec 2012 09:36 PM (UTC) |
Message
| I'm using version 4.85. I call those functions in a plugin that does nothing but call them. |
ForgottenMUD - original Java MUD
http://sites.google.com/site/forgottenmud | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #4 on Sun 09 Dec 2012 07:25 PM (UTC) |
Message
| |
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.
19,612 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top