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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
sun2gohan
Beginner


Joined: 15 Aug 2004
Posts: 22

PostPosted: Mon Aug 23, 2004 5:10 pm   

Test mud input
 
Hi, i've switched from JMC to zMUD.

I've seen the "light" I guess you can say. One thing I *DID* like about JMC though is that it allowed me to test scripts, by simulating input from the mud. I could copy and paste ANSI logs into the box and send the entire thing to JMC and see what my triggers did, or send lines one by one...

I know you can test a trigger individually through the zMUD "ide" but is there anything that I can simulate input from the MUD? Like say I have a log file of something I want my complicated trigger to fire on, but this doesn't happen alot on the mud (which is why I logged it). Can I open an offline session and test with my own input? Full ANSI code and all?

Thanks.

S2G
Reply with quote
DeathDealer
Adept


Joined: 20 Jul 2004
Posts: 268

PostPosted: Mon Aug 23, 2004 5:26 pm   
 
Rather than click Online click Offline.
And then #echo (or #send) your test.
I know theres a way to quote a file or something, but 1) can't remember how and 2) dont know if it will set off triggers.
_________________
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Mon Aug 23, 2004 11:25 pm   
 
Press CTRL+SHIFT+ENTER to open up the command editor here you can load logs and send them by line, whole, selected etc to the mud screen, There are options on the editor to parse the lines or not and other things.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
sun2gohan
Beginner


Joined: 15 Aug 2004
Posts: 22

PostPosted: Thu Aug 26, 2004 5:26 am   
 
That helps...but if i wanted to test ANSi input from the mud..doesn't quite help...
And it seems the command editor is more for working on something you want to send TO the mud...(and can convert ansi codes to mud specific color codes)...

but I want to simulate stuff coming from the mud to my zmud..to make sure the complicated trigger is owroking

Thx
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Aug 26, 2004 9:35 am   
 
The editor allows you to prepend something onto every line automatically. Simply set that to '#SHOW "'.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
sun2gohan
Beginner


Joined: 15 Aug 2004
Posts: 22

PostPosted: Thu Aug 26, 2004 6:02 pm   
 
I understand this, but it work for ANSI triggers. Which is what i'm testing :)
For regular triggers, then yes, that would work great.

Maybe i'm doing something wrong? Perhaps I can test ANSI coded things?

That would be great, thanks for the help thus far.

S2G
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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