Mxp issues

More
17 Dec 2015 07:50 #1 by insanesnwbrdr
Hey could you please take a look and see if this is something easy to fix?

When Mxp is turned on I get no output from the game in scroll view but I can see it in the console.

Game.aftermathrpg.com:5555

Please Log in or Create an account to join the conversation.

More
17 Dec 2015 15:52 #2 by plamzi
When a player enters the game, there seems to be an MXP package without a closing tag.

In the dump below, notice that there's an ESC [ 6 z, but nothing of the kind when the package ends and user-visible output begins.

if you didn't know already, adding &debug=1 to your app url helps troubleshoot such issues in the browser console log. For example, in this case you will see a console message: "mxp split protection waiting for more input: 1". This means the client is waiting for a closing tag to arrive.
[6z<!-- Elements to support the Automapper -->

<P>

<SUPPORT destination iframe>

<!ELEMENT RName '<B>' FLAG="RoomName">

<!ELEMENT RDesc EMPTY FLAG='RoomDesc'>

<!ELEMENT RExits '<FONT COLOR=Blue>' FLAG='RoomExit'>

<!-- ********************************************************************* -->

<!-- The next element is used to define a room exit link that sends the exit direction to the MUD if the user clicks on it -->

<!ELEMENT EX '<SEND HREF="&text;|LOOK &text;|OPEN &text;|CLOSE &text;|LOCK &text;|UNLOCK &text;" hint="Right-Click to affect the exit|&text;|LOOK &text;|OPEN &text;|CLOSE &text;|LOCK &text;|UNLOCK &text;">'>

<!ELEMENT MEX '<SEND HREF="ENTER &text;|LOOK &text;|OPEN &text;|CLOSE &text;|LOCK &text;|UNLOCK &text;" hint="Right-Click to affect the exit|ENTER &text;|LOOK &text;|OPEN &text;|CLOSE &text;|LOCK &text;|UNLOCK &text;">'>

<!-- ********************************************************************* -->

<!-- tags dealing with room items -->

<!ELEMENT CRItem '<SEND HREF="GET &quot;&text;&quot; from &quot;&container;&quot;" hint="Click to get from object|GET &text; from &container;">'>

<!ELEMENT CMItem '<SEND HREF="GET &quot;&text;&quot; from &quot;&container;&quot;" hint="Click to get from object|GET &text; from &container;">'>

<!ELEMENT MItem '<SEND HREF="WEAR &text;|DROP &text;|LOOK &text;|DRINK &text;|EAT &text;|HOLD &text;|READ &text;" hint="Right-Click to use this object|WEAR &text;|DROP &text;|LOOK &text;|DRINK &text;|EAT &text;|HOLD &text;|READ &text;">'>

<!ELEMENT EItem '<SEND HREF="REMOVE &text;|LOOK &text;" hint="Right-Click to use this object|REMOVE &text;|LOOK &text;">'>

<!ELEMENT RItem '<SEND HREF="GET &name;|LOOK &name;|DRINK &name;|READ &name;" hint="Right-Click to use this object|GET &name;|LOOK &name;|DRINK &name;|READ &name;">' ATT='name'>

<!ELEMENT RMob '<SEND HREF="CONSIDER &name;|LOOK &name;|KILL &name;" hint="Right-Click to affect this creature|CONSIDER &name;|LOOK &name;|KILL &name;">' ATT='name'>

<!ELEMENT WItem '<SEND HREF="LOOK &name;|READ &name;" hint="Right-Click to use this object|LOOK &name;|READ &name;">' ATT='name'>

<!-- ********************************************************************* -->

<!-- miscellaneous tags -->

<!ELEMENT FIGHT EMPTY FLAG='Fight'>

<!ELEMENT HELP '<SEND HREF="HELP &text;" hint="Click to view the help entry.">'>

<!ELEMENT HELPNAME '<SEND HREF="HELP &name;" hint="Click to view the help entry.|HELP &text;">' ATT='name'>

<!ELEMENT SHOP '<SEND HREF="VIEW &quot;&text;&quot; &quot;&shopkeeper;&quot;|BUY &quot;&text;&quot; &quot;&shopkeeper;&quot;" hint="Right-Click to use this object|VIEW &quot;&text;&quot; &quot;&shopkeeper;&quot;|BUY &quot;&text;&quot; &quot;&shopkeeper;&quot;">'>

<!ELEMENT Health EMPTY ATT='name'>

<!ELEMENT HealthText EMPTY ATT='name'>

<!ELEMENT TELL '<SEND HREF="TELL &name;" PROMPT hint="Click to reply.|TELL &name;">' ATT='name'>

<!ELEMENT SAY '<SEND HREF="SAY &quot;&name;&quot; " PROMPT hint="Click to reply.|SAY &quot;&name;&quot;">' ATT='name'>

<!ELEMENT WHISPER '<SEND HREF="WHISPER &quot;&name;&quot; " PROMPT hint="Click to reply.|WHISPER &quot;&name;&quot;">' ATT='name'>

<!ELEMENT GTELL '<SEND HREF="GTELL" PROMPT hint="Click to reply.|GTELL">' ATT='name'>

<!ELEMENT CHANNEL '<SEND HREF="&name; " PROMPT hint="Click to reply.|&name; ">' ATT='name'>

<!ELEMENT CHANNELS '<SEND HREF="&extra;&text;" hint="Click to toggle on/off.|&extra;&text;">' ATT='extra'>

<!ELEMENT JRNL '<SEND HREF="READ &text; &quot;&name;&quot;" hint="Click to read.|READ &text; &quot;&name;&quot;">' ATT='name'>

<!ELEMENT MENU '<SEND>'>

<!ELEMENT CLAN '<SEND HREF="CLAN &text;" hint="Click for info.|CLAN &text;">' >

<!-- ********************************************************************* -->

<GAUGE hp Max=maxhp color=green Caption="Hit Points">

<GAUGE mana Max=maxmana color=yellow Caption="Mana">

<GAUGE move Max=maxmove color=white Caption="Movement">

<GAUGE vichp Max=vicmaxhp color=red Caption="Enemy Damage">

<!-- ********************************************************************* -->

<!-- here are some archon tool elements -->

<!ELEMENT LSTROOMID '<SEND HREF="GOTO &quot;&text;&quot;" hint="Click to goto.|GOTO &text;">' >

<!ELEMENT LSTUSER '<SEND HREF="SNOOP &text;|BOOT &text;|BAN &text;|MULTIWATCH ADD &text;" hint="Right-Click to use.|SNOOP &text;|BOOT &text;|BAN &text;|MULTIWATCH ADD &text;">' >

<!ELEMENT LSTQUEST '<SEND HREF="MODIFY QUEST &text;" hint="Click to start/stop.|MODIFY QUEST &text;">' >

<!-- ********************************************************************* -->

<!-- the next elements deal with the MUD prompt -->

<!ELEMENT Prompt FLAG="Prompt">

<!ELEMENT Hp EMPTY FLAG="Set hp">

<!ELEMENT MaxHp EMPTY FLAG="Set maxhp">

<!ELEMENT Mana EMPTY FLAG="Set mana">

<!ELEMENT MaxMana EMPTY FLAG="Set maxmana">

<!ELEMENT Move FLAG="Set move">

<!ELEMENT MaxMove EMPTY FLAG="Set maxmove">

<VERSION>

<SUPPORT image send gauge font b image.url sound.u>

</P>



[1;36mNew Room[0;37m [1;37m

[1;37mBrand new database room! You need to change this text with the MODIFY ROOM

command.  If your character is not an Archon, pick up the book you see here

and read it immediately![0;37m[0;37m
The following user(s) said Thank You: insanesnwbrdr

Please Log in or Create an account to join the conversation.

More
18 Dec 2015 01:47 #3 by insanesnwbrdr
Thank you soo much for the help and in case you dont get it enough thank you for this project

Please Log in or Create an account to join the conversation.

More
24 Jul 2016 21:36 #4 by Splork
Any chance there has been changes to MXP? I noticed today when I logged in via Mudportal Client that all of our room exits mxp are displaying the full string content. We havent altered this code in years and other clients are still showing correctly. This is taken from SlothMUD.
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Aug 2016 14:53 #5 by plamzi
This is fixed, though in the quickest, not best, way possible

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 00:47 #6 by aldie
(did I hid submit the first time?)

Hi there, admittedly my first thought was that MXP is successfully negotiated and enabled using the telnet protocol.
I know realized that the portal app basically does not support any of the MXP tags we are using.

We are making excessive use of the !EL and !EN tags, but they are not understood. Maybe these shorter aliases could be allowed
too? I'm also surprised the <VERSION> tag is not understood. Unfortunately this screws (well, aborts) our MXP setup routines.

I'd thought <version> is a kinda mandatory mxp tag to support?

Finally, it would be a great thing if unknown/unsupported MXP tags were just silently ignored. As basically none of the MXP
primitives we use is supported, they are all printed out to the user which totally screws the text window. I think you should
just ignore unknown tags. I know, we can check for each one with <support>, but it is a bit complicated to adjust the mxp routines
at a per element level. At least when very basic ones like <VERSION>, <!EN>, <!EL> are missing.

Talking about <support>, screen shots show gauge but <support> say it has no <gauge> command. Is the output of the <support>
element correct?

Before you spent too much time here, there might be other issues and I'm not sure if fixing the above would already allow us to use
mxp in the portal app.. Though it certainly were cool.

Please Log in or Create an account to join the conversation.

More
09 Mar 2019 17:08 - 09 Mar 2019 17:10 #7 by plamzi
I've tweaked the MXP.process method to accept <!EL as a variant of <!ELEMENT. Both <!EN and <!ENTITY should be acceptable so I'm not sure what the issue is there. If you have JS chops, try to override the Config.mxp.process function with your own and do some debugging. You know the web app lets you run your own code, and it also lets game admins publish code that modifies the entire experience for their game. It's always been part of the plan to build something flexible.

If you can figure out how to override Config.mxp.process, you may also be able to figure out how to respond to <VERSION>. Let me know what the response you think should be and I'll try to plug it in on my next pass (but these are incidental, so you may need to wait a while).

Unsupported tags are not going to be stripped if we haven't negotiated MXP successfully in the first place, so once that is fixed, my guess is they will be. Or maybe something more complicated is going on, but honestly, I won't have the time to fire up a debugging session against your MUD, so I'm going to have to rely on your input about that.

The screenshots show an HTML/CSS web app module called MistyBars. It is documented here: www.mudportal.com/forum/api-documentation/61-api-mistybars The idea is to be able to drive these bars in multiple ways, sending vitals via MXP being only one of them. So I didn't list GAUGE in supported tags. This was so long ago, I'm not even sure GAUGE was on the menu back then.
Last Edit: 09 Mar 2019 17:10 by plamzi.

Please Log in or Create an account to join the conversation.

More
02 May 2019 21:53 #8 by aldie
Ok, I'd have to check that.. (overloading certain modules). I was surprised to see a branch in the code which seems to respond to <VERSION>, but somehow it does not work. However, it checks for capital VERSION when all the other lines check for lower case
(like !element). This looks fishy to say the least, as the tags are case insensitive by definition. Maybe they are are normalized to
lower_case first.. ?

I admit I didn't think about intermixing modules... that's an interesting suggestion.

Aldie

Please Log in or Create an account to join the conversation.

More
04 May 2019 04:42 #9 by sjyCRave
isabellapharmbi.com/ - is viagra safe generic viagra <a href=" isabellapharmbi.com/# ">viagra canada</a>

Please Log in or Create an account to join the conversation.

More
04 May 2019 06:23 #10 by jzwunsag
emilypharmfsf.com/ - how viagra works viagra online without prescription <a href=" emilypharmfsf.com/# ">how to get viagra</a>

Please Log in or Create an account to join the conversation.

More
04 May 2019 07:30 #11 by edcdouct
miapharmer.com/ - viagra vs cialis hardness natural alternative to viagra <a href=" miapharmer.com/# ">buy viagra online</a>

Please Log in or Create an account to join the conversation.

More
04 May 2019 10:04 #12 by sybceada
sofiapharmku.com/ - generic viagra reviews viagra generic <a href=" sofiapharmku.com/# ">difference between viagra and cialis</a>

Please Log in or Create an account to join the conversation.

More
17 May 2019 01:48 #13 by Jamesgoams
ATLANTA (AP) 锟?The Atlanta <a href=http://www.cheapwholesalejerseysstore.us.com/>Wholesale Jerseys China Shop</a> Falcons released <a href=http://www.shoescheap.us.com/>Cheap Shoes China</a> wide receiver Harry Douglas, starting offensive guard Justin Blalock and defensive end Jonathan Massaquoi on Friday, a day after cutting running back Steven Jackson.
Four Miami Dolphins players, including three of Collins' former LSU <a href=http://www.seahawksofficialfanshop.com/>Cheap Seahawks Jerseys China</a> teammates, went to Baton Rouge on Tuesday to court the offensive lineman, a person familiar with the situation said. The person said the players went on their own, and no Dolphins official made the trip.
But New York opened the second half with 24 straight points to take control against a Washington team without several injured starters, including wide receiver DeSean Jackson, left tackle Trent Williams and cornerbacks DeAngelo Hall and Chris Culliver.
BACKFIELD COMMITTEE: Tennessee didn't have a 1,000-yard rusher or a running back with a 100-yard game last season, which is why the Titans ranked 26th, averaging 90.4 yards rushing per game. Mariota, who averaged 6.6 yards per carry at Oregon, didn't show off his legs much this preseason. Rookie David Cobb will miss the first eight weeks on injured reserve-designated to return because of an injured calf. That leaves Bishop Sankey, the first back drafted in 2014; veteran Dexter McCluster; recently acquired Terrance West; and undrafted free agent Antonio Andrews.
Barnes knows the decision will be made soon. What happens, <a href=http://www.ukairmax720.com/>Air Max 720 UK</a> he knows he has done what he could.
When the Falcons were running through the NFC <a href=http://www.wholesalejerseys.us.org/>Wholesale NFL Jerseys</a> South in 2006, Cable was serving as their offensive line coach. And for the past four seasons, Cable's been in charge of Seattle's offensive line and coordinating the run game.

Please Log in or Create an account to join the conversation.

More
17 May 2019 10:54 #14 by Jamesgoams
All Luck and the Colts (4-5) were thinking about was the win.
RAHIM'S REDEMPTION: <a href=http://www.hydroflasksverige.se/hydro-flask-barn.html>Hydro Flask Barn</a> Speaking of letting up late, Broncos safety Rahim Moore is playing in his <a href=http://www.cheapjerseyschina.org/>Authentic Jerseys Cheap</a> first postseason game since his gaffe against Baltimore two years ago when <a href=http://www.nhljerseyscanada.com/Cheap-washington-capitals-andre-burakovsky-jersey-canada-75-tz/>Andre Burakovsky Jersey</a> he <a href=http://www.cheapjerseysshopchina.us.com/>China Jerseys</a> allowed Jacoby Jones to haul in a 70-yard TD catch with 31 seconds left in regulation.
Johnson isn't sure how he'll feel when he steps onto the field where he made so many memories. He also doesn't know what kind of <a href=http://www.sackankenpascher.fr/>Sac 脿 Dos Kanken Soldes</a> reception to expect, but hopes fans remember everything he did in Houston.
Brandon Tate will start in place of Green, and Kevin Brock will replace Gresham in the lineup.
"The Cowboys are 2-0 on <a href=http://www.fanscowboysteamstore.com/>Dallas Cowboys Jersey For Sale</a> the field but 0-2 in the training room, having lost QB Tony Romo and WR Dez Bryant for what could be the next two months with injuries," said Rick Gosselin of The Dallas Morning News.
LINDLEY IN, STANTON OUT: Arians on Thursday declared quarterback Drew Stanton <a href=http://www.ukshoescheap.com/>Cheap Shoes Uk Online</a> out <a href=http://www.cheapjerseysfastshipping.us.com/>Cheap Jerseys Fast Shipping</a> against the Panthers, meaning Ryan Lindley will get <a href=http://www.cheapjerseysfastshipping.us.com/>Authentic Jerseys Store</a> the start. Lindley is 0-2 as Arizona's starter.

Please Log in or Create an account to join the conversation.

More
17 May 2019 10:54 #15 by Jamesgoams
Thomas also skipped Peyton Manning's annual passing camp at Duke. So, Manning hasn't had his pair of Pro <a href=http://www.wholesalejerseysfastshipping.us.com/>Football jerseys wholesale</a> Bowl receivers on the field together with him for any meaningful snaps since the playoffs.
Seahawks quarterback Russell Wilson shouldered his share, too. Both coach <a href=http://www.nike720pascher.fr/>Air Max 720 Pas Cher</a> and quarterback also gave lots of credit to Butler, the rookie free agent out of West Alabama who made the roster, then saved the Super Bowl.
UP NEXT: Pittsburgh travels to St. Louis (1-1) while the 49ers play at Arizona (2-0).
Savage's feeling is the only players who hurt themselves by coming are those that would have been exposed as not quite NFL worthy down the line, anyway.
"Great defense and Manning might not be done," NBC Sports' Tony Dungy said.
General manager Rick Spielman and head coach Mike Zimmer <a href=http://www.shopnfljerseys.us.com/Alex-Anzalone-New-Orleans-Saints/>Alex Anzalone Jersey</a> spent about four hours Wednesday afternoon at Peterson's <a href=http://www.cheapjerseysfastshipping.us.com/>Cheap Jerseys Fast Shipping</a> home north of Houston. KHOU-TV <a href=http://www.nhloutlet.us.com/>Clearance Hockey Jerseys</a> recorded video of Peterson emerging from the gated mansion wearing a white T-shirt and black workout pants to greet the pair with <a href=http://www.fanscowboysteamstore.com/>Cheap Authentic Dallas Cowboys Jerseys</a> a hug. Spielman and <a href=http://www.nbasale.us.com/al-horford-jersey-boston-celtics/>Al Horford Jersey</a> Zimmer left together <a href=http://www.cheapshoeswholesale.us.com/>Cheap Shoes Wholesale</a> later, dressed in sport coats and blue jeans, while photographers from several media outlets captured <a href=http://www.ukshoescheap.com/>Cheap Shoes Uk Online</a> on camera their departure in <a href=http://www.nikejustdoit.it/>Nike Just Do It Uomo</a> a gray <a href=http://www.airforcescontate.it/>Air Force One Scontate</a> car.

Please Log in or Create an account to join the conversation.