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


Joined: 18 Apr 2008
Posts: 2

PostPosted: Fri Apr 18, 2008 1:03 pm   

How do I change inital text?
 
Somehow, the autologin wizard is sending #cr;#cr as the initial text to the mud I'm trying to make a connection. Now I can't log in at all since the mud cancels the connection even before my character's name and password can be sent. How can I change this? Deleting and recreating the session does not seem to help, nor has updating the mud list.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Fri Apr 18, 2008 1:13 pm   
 
Open up CMud and select open session offline (on the left). Open up the settings editor, and in your main package there should be a class called autolog. Delete or modify the triggers therein.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri Apr 18, 2008 1:18 pm   
 
Also, if you rclick the session icon, on the character tab, make sure you have something entered there or that you uncheck the "use this character name and password" box.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
archimedes33
Newbie


Joined: 18 Apr 2008
Posts: 2

PostPosted: Fri Apr 18, 2008 1:30 pm   
 
I tried both Fang Xianfu's and gamma_ray's suggestions to no avail. I tried deleting the session and just creating a fresh connection to that mud but it still seems to want to send #cr;#cr as the initial string to this mud, as if though the initial string is bound to this muds connection info. Any other suggestions? As I understand it, isn't the character names and passwords stored in sessions.db file? Wouldn't the initial text be stored there as well? I tried to view this file in notepad hoping to find where the initial text is stored and manually change it, but I couldn't really make heads or tails of the file.
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Fri Apr 18, 2008 3:53 pm   
 
The triggers are stored in the session's package. If you deleted the session icon and re-created it, you didn't get rid of the triggers that send the response. You need to find the .pkg and remove that, too, or at least find the offending trigger and remove it.
Reply with quote
Crash
Newbie


Joined: 29 Oct 2008
Posts: 2

PostPosted: Wed Oct 29, 2008 2:04 pm   
 
Yes deleting the session and creating a new one doesn't work.

I also deleted the whole autolog class, as well as the Name and Password fields under the Autolog tab in the session settings. I was able to redo the autologin wizard again, but the initial text isn't replaced, it's just added to the old initial text commands.

I cannot find the offending trigger (should be a at connect event I would think). I don't want to delete the package, I'll lose all my triggers/alias' etc etc

Seems like changing the initial text isn't possible!!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Oct 29, 2008 3:14 pm   
 
If all else fails you can export your triggers and other stuff as XML (just cut them with Ctrl X from the package editor and then paste them into a text file - they'll be XML) and JUST your settings - that way you know this phantom #cr;#cr trigger hasn't been copied across too. Then create a brand new session, copy your XML, and paste it into the editor's treeview, which'll recreate them.

If that doesn't work, and it absolutely certainly isn't a problem with those triggers you've copied over, then I have no idea.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Oct 29, 2008 4:37 pm   
 
Also, look for an event called "OnConnect". When the Auto Login wizard runs the first time to create your autolog triggers, it also checks for any text that was sent before the Username prompt and puts that into an OnConnect event. That's probably where the initial text is coming from. In zMUD this was called the atConnect alias, but in CMUD it is changed to an event.
Reply with quote
Crash
Newbie


Joined: 29 Oct 2008
Posts: 2

PostPosted: Wed Oct 29, 2008 7:03 pm   
 
YES!! Got it all fixed. Very Happy

I made a test Event, and it was the only event in the package. So I did Fang Xianfu's idea, copy the whole XML and paste into notepad. Delete everything (backup incase), make a new session, repaste XML back.

Did a new autologin wizard, though for some reason the initial text didn't fire at all now! So I just created a OnConnect Event for the initial text. If the autolog initial text suddenly starts to fire, I can delete my event.

Thanks!
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