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
hsfmudder
Newbie


Joined: 19 Mar 2009
Posts: 4

PostPosted: Sun Mar 22, 2009 6:00 pm   

[3.05] Clickable URLs and %1
 
Sorry if this is a repost, I searched the forums for a couple days and wasn't able to find this issue anywhere else, so it might just be something I screwed up on my own with the client. But just in case anyone else comes across the issue;

For the past several days I've had an issue with the Clickable URLs module. Not sure how long it's persisted, but I just noticed it as an issue recently. In our mud we have a nice little command that lists all recent connections to the mud, 'recent'

At first I thought it was a trigger/scripting issue because I could disable triggers and it would go away, but then right when I was posting this topic I remembered that there is a Clickable URLs module. I disabled that and I'm golden, but here's the bug anyway.

With triggers & Clickable URLs module enabled:
Code:
Sat Mar 21 22:19:32 2009: %1 has connected.


With triggers & Clicable URLs module disabled:
Code:
Sat Mar 21 22:19:32 2009: Macgregor@XX-XX-XX-XX.dhcp.XX.charter.com has connected.


Under "Options->General->Scripting->Special Characters" I only have Command Char: # and Parameter Char: % enabled. I've disabled all other scripts in the mud to try to figure out the problem, and it's still there.

Is this a bug or something I just screwed up? I can give more detailed screenshots & info if y'all need. If someone else comes across the issue, just disable the Clickable URLs module under Settings

Thanks so much!


Last edited by hsfmudder on Sun Mar 22, 2009 7:30 pm; edited 1 time in total
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Mar 22, 2009 7:23 pm   
 
Sounds like a "%1" problem somewhere. Quotes around variables prevent expansion as of the release of CMud.

Does "recent" include any MXP or other markup language in the output or is it all plain text? If there's markup language in there, there might be a quote-concatenation confusion going on so that you end up with blah-blah"%1"blah instead of what you were expecting.
_________________
EDIT: I didn't like my old signature
Reply with quote
hsfmudder
Newbie


Joined: 19 Mar 2009
Posts: 4

PostPosted: Sun Mar 22, 2009 7:40 pm   
 
The 'Recent' command is just all plain text, no MXP. We're actually not implementing any sort of markup language for the time being.

Thanks for the reply, still not working though.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Mar 23, 2009 5:07 pm   
 
I cannot reproduce this on my system here. To test this, I load a default session that has the Clickable URLs package loaded. Then I type:

#SHOW "at Mar 21 22:19:32 2009: Macgregor@XX-XX-XX-XX.dhcp.XX.charter.com has connected."

and it properly put a hyperlink under the email address. So it sounds like you have some other trigger in your session that is interfering with the Clickable URL trigger and causing it to fail somehow.

You can turn on the Script Debugger in the Window menu of CMUD to find out what other triggers are firing when you enter the above #SHOW command to test it within your own session.
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