Weirdness with MXP in Portal

  • arholly
  • arholly's Avatar Topic Author
  • Offline
  • Senior Member
More
19 Sep 2014 19:37 #1 by arholly
Weirdness with MXP in Portal was created by arholly
Hi there:
So, I've noticed when I'm sending lots of MXP, it seems to do some weird things. It seems like every so often it messes with the list and randomly take and makes one (or more) MXP not a link, but says something like "<send href='command'>command</send>". However, it seems like it does it randomly and sometimes not at all. I don't have this problem when using MUSHclient. Here's the code I use, just as a sample of what I ask.

Any thoughts?
void do_wizhelp( CHAR_DATA *ch, char *argument )
{
	int cmd = 0;
	int col = 0;

	for ( cmd = 0; !IS_NULLSTR(cmd_table[cmd].name); cmd++ )
	{
		if ( cmd_table[cmd].level >= LEVEL_IMMORTAL
				&&   cmd_table[cmd].level <= get_trust( ch )
				&&   cmd_table[cmd].show)
		{
			send_to_char( Format("\t<send href='%s'>%-17s\t</send> |", cmd_table[cmd].name, cmd_table[cmd].name), ch );
			if ( ++col % 4 == 0 )
				send_to_char( "\n\r", ch );
		}
	}

	if ( col % 4 != 0 )
		send_to_char( "\n\r", ch );
	return;
}

Link to Screenshot.

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

More
19 Sep 2014 20:42 #2 by plamzi
Replied by plamzi on topic Weirdness with MXP in Portal
What's the quickest way to reproduce your screenshot, log into your game and type 'commands'?

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

  • arholly
  • arholly's Avatar Topic Author
  • Offline
  • Senior Member
More
19 Sep 2014 20:51 #3 by arholly
Replied by arholly on topic Weirdness with MXP in Portal
Yes, but type racecommands.

The host is down right now (for some reason), but when you login, so you don't need to go through the creation process, use testvamp and the password being password. It'll get you right in.

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

More
20 Sep 2014 14:30 #4 by plamzi
Replied by plamzi on topic Weirdness with MXP in Portal

arholly wrote: The host is down right now (for some reason)


It was still down when I tried this morning. You might want to check with them.

BTW, I do provide MUD hosting to devs I know from forums, etc.

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

  • arholly
  • arholly's Avatar Topic Author
  • Offline
  • Senior Member
More
22 Sep 2014 12:33 #5 by arholly
Replied by arholly on topic Weirdness with MXP in Portal
Sorry about that, something on the host side went bad (hardware failure they said). It is now up.

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

More
22 Sep 2014 16:53 #6 by plamzi
Replied by plamzi on topic Weirdness with MXP in Portal
I created a char and typed 'racecommands' but I think I only have one racecommand on the new character so the test did not show any MXP breaking...

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

  • arholly
  • arholly's Avatar Topic Author
  • Offline
  • Senior Member
More
22 Sep 2014 17:06 #7 by arholly
Replied by arholly on topic Weirdness with MXP in Portal
Yeah, probably because you made a human (who don't have any special race powers yet). Try logging in as testwere or testvamp using the password of password. Type racecommand a few times and you'll see it happen.

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

More
22 Sep 2014 21:10 #8 by plamzi
Replied by plamzi on topic Weirdness with MXP in Portal

arholly wrote: Yeah, probably because you made a human (who don't have any special race powers yet). Try logging in as testwere or testvamp using the password of password. Type racecommand a few times and you'll see it happen.


I forgot you had given me a test account, duh. The MXP bleeding should be fixed now.

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

  • arholly
  • arholly's Avatar Topic Author
  • Offline
  • Senior Member
More
22 Sep 2014 21:35 #9 by arholly
Replied by arholly on topic Weirdness with MXP in Portal
Cool, so it wasn't anything on my end then? That's always good to hear.

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

More
27 Sep 2014 18:00 #10 by Vodur
Replied by Vodur on topic Weirdness with MXP in Portal
Hi Plamzi,
Just gonna piggyback this thread to report this.
50  90 Luferacims Castle   9s, 2e, 2s, e, down, nw, 4n, nw, 2w, 2nw, sw, 2w, n, nw, n
50  95  <a href="http://aarchonmud.com/aarchon/imgs/maps/myrk.jpg">Sonoirh Myrk </a>    <a> </a>  26e, open east, 8e, 4n, 4w OR 8n, 2e, 3n, 2e, 2s, 5e, 4nw
50  90  <a href="http://aarchonmud.com/aarchon/imgs/maps/spacehulk.jpg">Space Hulk  </a>  16w, 3n, w, up
50  90 Springfield   8s, se, 2s, 2e, n, w

Portal output screenshot attached

We accidentally ended up with the extraneous <a> </a> on line 2, which I think shouldn't cause any problems, but Portal app doesn't like it. Anyway, will remove the extra tags but it does seem like a bug as well.
Attachments:

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