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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Kevadrin
Newbie


Joined: 29 Jul 2011
Posts: 8

PostPosted: Fri Jul 29, 2011 3:35 pm   

sent to mud error?
 
I am having issues with my cMUD pro 3.34.

I discovered it when trying to do a (I thought) simple trigger.

whenever I enter anything into the command line or have a trigger send a command to the MUD, there's a bunch of highlighted stuff at the end of my input.

This is a problem when I use
Quote:
%1
or even #ECHO. The trigger itself is firing off, but when I had it
Quote:
#ECHO fire
it sends extra things at the end of the line.

I'm at a loss on how to fix this.

Thank you for any help
Kev

*Note: Quotes added to separate commands
Reply with quote
shalimar
GURU


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

PostPosted: Fri Jul 29, 2011 3:55 pm   
 
It would help if you could post the trigger in question here.
_________________
Discord: Shalimarwildcat
Reply with quote
orphean
Apprentice


Joined: 21 Oct 2008
Posts: 147
Location: Olympia, WA

PostPosted: Fri Jul 29, 2011 4:01 pm   
 
If you're using %1 you might be capturing some ansi color codes but not the ansi resets the mud is sending. Try wrapping what you're sending with %stripansi() and see if that helps.
Reply with quote
Kevadrin
Newbie


Joined: 29 Jul 2011
Posts: 8

PostPosted: Fri Jul 29, 2011 5:42 pm   
 
The trigger is:
Quote:
You have lost all sense of {%w} and you cease your pursuit.

the script is:
Quote:
#ECHO Fire;hunt %1
Reply with quote
Araadan
Wanderer


Joined: 07 Jun 2009
Posts: 65

PostPosted: Fri Jul 29, 2011 5:51 pm   
 
Whenever I have a problem that I'm using #send
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Jul 29, 2011 6:02 pm   
 
You want (%w) in your pattern, not {%w}. If that doesn't fix it, what exactly is the extra things it's sending?
Reply with quote
Kevadrin
Newbie


Joined: 29 Jul 2011
Posts: 8

PostPosted: Fri Jul 29, 2011 7:06 pm   
 
I have a picture that shows it well. It occurs with most input to the mud.

http://www.facebook.com/photo.php?fbid=1838269807948&set=a.1558271928176.2068200.1576612894&type=1&ref=nf

the white line appears, but has nothing in it. When I go to highlight it, the text moves, and it doesn't copy anything over.
It occurs with the trigger, and the trigger doesn't fire off. ((I did fix the prantheses used.))
Reply with quote
shalimar
GURU


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

PostPosted: Fri Jul 29, 2011 8:15 pm   
 
Part of me wants to say you have an #ONIMPUT trigger, or a trigger with #SAYADD in it.

You may have to go into triggers and start disabling/enabling triggers/classes until you figure out where the problem lies
_________________
Discord: Shalimarwildcat
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Jul 29, 2011 8:24 pm   
 
Can you post it somewhere that doesn't require a facebook account to view it?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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