Weirdness with MXP in Portal
- arholly
-
Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 0
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.
- plamzi
-
- Offline
- Administrator
- Posts: 285
- Thank you received: 42
Please Log in or Create an account to join the conversation.
- arholly
-
Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 0
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.
- plamzi
-
- Offline
- Administrator
- Posts: 285
- Thank you received: 42
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
-
Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- plamzi
-
- Offline
- Administrator
- Posts: 285
- Thank you received: 42
Please Log in or Create an account to join the conversation.
- arholly
-
Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- plamzi
-
- Offline
- Administrator
- Posts: 285
- Thank you received: 42
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
-
Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Vodur
-
- Offline
- New Member
- Posts: 4
- Thank you received: 0
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.
Please Log in or Create an account to join the conversation.