Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Sun Jun 06, 2010 5:11 pm   

URL freezes CMUD
 
seems that the following link is causes my CMUD to hang, requiring me to kill it from the task manager

http://www.penny-arcade.com/comic/2009/5/1/

If i disable the the module containg the triggers in the clicable URL package it doent hang.
I can even #say the link fine without it missing up, though the last slash isnt incorporated into the link
But when it shows up on one of my game channels, which is in %ansi(purple) it hangs.
Trying to emulate the colore with the following still wont hang, but still leavces off the final slash as well:

#SAY %ansi(purple)http://www.penny-arcade.com/comic/2009/5/1/%ansi(reset)

Perhaps it is has do do with the tags sent by the MUD to close out the color for the line?
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 07, 2010 5:06 pm   
 
Use the Script Debugger window to capture *exactly* what the MUD is sending you (turn on the Raw Input/Output message in the debugger). Then post this data so I can try to reproduce it here.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Mon Jun 07, 2010 5:28 pm   
 
Code:
c  NewWorld |[91] NewWorlds Comline : start :
j  NewWorld >chat http://www.penny-arcade.com/comic/2009/5/1/
d  NewWorld |[91] NewWorlds Comline : stopped
a  NewWorld |Name<CHAT> http://www.penny-arcade.com/comic/2009/5/1/
f  NewWorld |Pattern:
c  NewWorld |exec : Pattern "<CHAT>" : #CAP OOC #GAG
a       OOC |Name<CHAT> http://www.penny-arcade.com/comic/2009/5/1/
f       OOC |Pattern: %q{@Rogue}%q
c       OOC |exec : Pattern "%q{@Rogue}%q" : #cw firebrick
g       OOC =Name <CHAT> http://www.penny-arcade.com/comic/2009/5/1/
f  NewWorld |Pattern: %q{@Rogue}%q
c  NewWorld |exec : Pattern "%q{@Rogue}%q" : #cw firebrick
g  NewWorld =Name <CHAT> http://www.penny-arcade.com/comic/2009/5/1/
g  NewWorld |-> Line 9998 gagged


Code:
c  NewWorld |[91] NewWorlds Comline : start :
i  NewWorld >chat http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test<CR><LF>
d  NewWorld |[91] NewWorlds Comline : stopped
i  NewWorld <<ESC>[35mName <CHAT> http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test<ESC>[0;37;40m<CR><LF>
a  NewWorld |Name<CHAT> http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test
f  NewWorld |Pattern:
c  NewWorld |exec : Pattern "<CHAT>" : #CAP OOC #GAG
a       OOC |Name<CHAT> http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test
f       OOC |Pattern: %q{@Rogue}%q
c       OOC |exec : Pattern "%q{@Rogue}%q" : #cw firebrick
g       OOC =Name <CHAT> http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test
f  NewWorld |Pattern: %q{@Rogue}%q
c  NewWorld |exec : Pattern "%q{@Rogue}%q" : #cw firebrick
g  NewWorld =Name <CHAT> http://www.penny-arcade.com/comic/2009/5/1/ ignore, just another test
g  NewWorld |-> Line 9998 gagged


This was with the URL triggers disabled, else i would freeze.
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 07, 2010 7:23 pm   
 
The problem is that you have another trigger that is firing. Your trigger is capturing the line to your OOC window, which also has the Clickable URL package enabled, which ends up causing an infinite loop. This issue has been reported before and there has been some work to modify the Clickable URL package to handle this, but I haven't implemented the changes yet.

In the meantime, go to your OOC window in the Package Editor and disable the Clickable URL package for that window. You'll still get a clickable url in the OOC window (if you have Capture MXP turned on) because the capture happens after CMUD has already converted the URL into an MXP link.

In the future, when reporting bugs, be sure and try them with your own scripts turned off to help determine if the problem is really a bug in CMUD or some interaction with your own scripts.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Mon Jun 07, 2010 7:30 pm   
 
I have had other URL's capture to the window without spawning this bug and freezing me, i thought perhaps the fact that this one ended with the slash might be the issue.

Sorry to have wasted your time
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 07, 2010 7:47 pm   
 
It's not your fault. It's an older bug and there isn't any way for you to see my bug list online. But this is a duplicate of the issue here: http://forums.zuggsoft.com/forums/viewtopic.php?p=152691#152691 and somewhere there is another post with a suggested improvement to the Clickable URL trigger to also fix this.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net