|
Zhiroc Adept
Joined: 04 Feb 2005 Posts: 246
|
Posted: Wed Jul 09, 2008 12:12 pm
[2.30] MXP misbehavior/crash |
1. Connect to mush.elendor.net:1892 with a blank session.
2. Click on the connect Nomad nomad link
3. Click on the "click me" link to open a clickable map.
Not only is the map not clickable, but if you do a command, like +who, all the text goes to the pop-up window. If you dismiss the window, doing any more commands causes an access violation. |
|
|
|
Nicodareus Wanderer
Joined: 24 Jun 2008 Posts: 68 Location: Texas
|
Posted: Wed Jul 09, 2008 3:23 pm |
Looks like they use pueblo, not mxp.. At least for CMud players.. Which is odd, because they can clearly detect MXP when connecting to ZMud. It doesn't look like they are using a proper image map either. I see clickables all the way along the elft and bottom, but they don't do anything. They also seem to be using _previous to try to redirect their window away from the map which I've already pointed out to Zugg doesn't work for CMud.
They set up for MXP for ZMud and never bothered to test/modify it as needed for CMud so for CMud it just defaults to pueblo.
Basically it looks like unprepared coding to me with the access violation being over the usage of a redirect to _previous instead of using <dest> and </dest> Something they'll either have to rewrite in their code or you'll have to hope Zugg fixes sometime. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jul 09, 2008 4:43 pm |
I'll add this to the bug list and see if there is something I can do to improve this. CMUD is supposed to handle pueblo too, but there hasn't been much testing of that since there are so few pueblo muds these days.
|
|
|
|
Zhiroc Adept
Joined: 04 Feb 2005 Posts: 246
|
Posted: Wed Jul 09, 2008 7:51 pm |
Very few MUSHes that I know of actually use Pueblo enhancements, which is part of most of the MUSH server codebases. I thought this was MXP--shows you what I know :) I believe Elendor's codebase comes from pre-2004. I doubt that anyone will change anything just for CMUD...
I just tried it on zMUD and it seems to work fine. The map is even clickable. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jul 11, 2008 5:15 am |
I must be a glutton for punishment. I don't know why I started getting so far into this MXP stuff lately. I guess I just want to make sure that CMUD is more useable on MXP and Pueblo MUDs so that people might actually start using it instead of zMUD.
Anyway, when I tested on Elendor, I definitely saw a lot of problems. Looks like none of the image map stuff had been tested in CMUD and wasn't working with the new window docking system.
I also fixed the bug with the _Previous window causing the text to continue to go to the popup window instead of back to the main MUD window. I also fixed a problem with the imagemap coordinates where it could return the wrong values if the image was scrolled within the window (a bug that zMUD also had). I also tweaked some code to ensure that the window size is correct and that the margins at the left and top of the screen are removed when displaying an image in a popup window like this.
I've now got it working great in 2.31. Works just like it should and looks nice too. It was kind of fun popping around their MUD by clicking on the graphical map. I remember using this MUD as a test case with zMUD, but had forgotten it's name so had never tested CMUD there. Great test site for Pueblo stuff. |
|
|
|
|
|