About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Sun Jan 17, 2010 5:34 pm   

312 - autologin tab filled in on new sessions
 
like the message says ..
seems that when I creaet a new session, the atuo-login tab is filled in with the first session I ever made's info.

seems easy to reproduce on my system, I didn't see it already listed.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jan 18, 2010 6:54 pm   
 
I could not reproduce this:

1) Run CMUD
2) Click "New Session" on the left
3) Click on the "Auto-login" tab and all of the fields are properly blank. This is with dozens of other sessions shown in my main session window. None of that data is copied to my new session.

Please give the exact step-by-step instructions for reproducing this if it's easy on your system.
Reply with quote
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Tue Jan 19, 2010 4:23 am   
 
just reproduced....

right click in a blank spot, hit new
create a new session... click through all the tabs, DON'T fill in the auto-login tab.
hit the save button on the left.

right click on the new session, hit edit, look at the autologin tab.
confirmed this on 2 different computers.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jan 19, 2010 5:53 am   
 
I'm not seeing this occurring, and I wasted 3 hours creating dozens of new sessions (note to game admins: login processes take too long, how about a quick-create/temporary character option?)

I think you may be afflicted by data corruption. The sessions and sessionkeys databases are certainly not immune to it, but it does seem to be a rare situation given that most players aren't making tons of sessions.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jan 19, 2010 5:57 pm   
 
Definitely sounds like you have corrupted session files (either sessions.db or sessionkeys.db or both). I even just tried it on Chiara's new Windows 7 computer that never had CMUD on it ever before using the default installation options and could not reproduce it with your procedure.
Reply with quote
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Wed Jan 20, 2010 2:31 am   
 
can't understand how there would be corrupt files. cmud has been installed on this new os less than 7 days.

suggestions to clear up these corrupt files? reinstall ?
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jan 20, 2010 5:55 pm   
 
Try just deleting (or renaming) your sessions.db and sessionkeys.db file and then see if you can still reproduce it.
Reply with quote
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Fri Jan 22, 2010 7:24 pm   
 
ugh, the hint that it would delete all my sessions would have been a nice thing to know.

I'm still able to reporduce this.
can't post all the screen-shots

create new session 1
right click in sessions window, hit new session
fill in first page,
hit auto-login tab, leave empty
hit package files, add 3 packages
hit notes, leave blank
hit save on left side.
log in with character, hit save on the auto-login info screen.
exit session

create new session 2
right click in sessions window, hit new session
fill in first page,
hit auto-login tab, leave empty
hit package files, add 3 packages
hit notes, leave blank
hit save on left side.
now right click on new session, hit edit session.
click auto-login tab, it alredy has a name there!
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jan 22, 2010 10:31 pm   
 
Well, that's why I also mentioned "renaming" the files so you could restore them later. I guess I thought it was obvious that those files contained your session login data. As you probably already determined, it didn't delete your packages or scripts though.

I am still having trouble reproducing with this procedure. Does it still happen to you if you remove the step about "log in with character, hit save on the auto-login info screen". Normally for a new session, CMUD doesn't prompt you for the auto-login info until the second time you connect to it.

Also, have you tried the procedure without adding any package files to the sessions? It's possible something in the package files is interfering with the process somehow. I added 3 of my own packages, but maybe it's dependent on your exact packages. Try it without the "add 3 packages" steps and see if that changes anything.

Basically, try to narrow the procedure down the simplest possible procedure that still shows the problem. Since we can't log into your characters or use your packages it's better to try and find a procedure that anybody else can try to reproduce.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jan 22, 2010 10:36 pm   
 
I just took a look at the raw code for showing the username in the Auto-login screen. I think this is actually meant to be a "feature". If you create a new session on the same server as an existing session, CMUD looks up the username (if any) associated with that server name and fills it in by default in the drop-down username list. So I think that is all you are seeing. It only gets filled in when you have already saved the username/password for that server (in your "hit save on the auto-login info screen) and then create a new session with the exact same server name (which you just say "fill in first page" but don't give the specifics on what you are filling in). I'm assuming you are filling in the same server name as the first session?

The actual bug here is that CMUD probably shouldn't be *saving* the default username on the screen unless you enter a password for it. But it's just trying to help save some typing by giving you a dropdown list of the known usernames you have stored for that server name. Once you have entered several different characters on the same server, you should be able to click the down-arrow next to the user name and see a list of all the user names you have saved.
Reply with quote
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Fri Jan 22, 2010 10:57 pm   
 
I believe you are correct Zugg, I think it's meant to be a feature... the actual bug is, if I don't delete the info from the autolog tab and re-save it, cmud won't ask pop the screen the first time you log in, and ask if you want to save the autologin info.

It looks like by default, it's picking the first name in the list. (it's a dropdown) making the first item in the list always be blank would probably fix all the related issues, and still be functional, so you can click on the dropdown, and fill in if you want.

as for deleting the files, I kinda assumed it might rebuild from the session files... but not that big a deal.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Jan 23, 2010 6:33 am   
 
I noticed that as long as the autologin name field is filled in I cannot change the value of this field (I can still type in stuff, but CMud instantly reverts using one of the events for that textbox). If I remove the name, then I can change the ID. However, if I leave and then re-enter the Edit Session window, the login name comes back and I again can't change the id.

Not sure what you use the ID for, but I thought it strange that it'd act that way (it starts out as blank, by the way).
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jan 25, 2010 5:37 pm   
 
Matt, I'm a bit confused by your post. Are you talking about the ID field in the "Session" tab, or are you talking about the "Name" field in the Auto-Login tab?

I haven't seen any case where I can't actually type into the ID field or the Name field.

However, I have noticed some other odd things happening in the Edit session window. Somehow I have a session that says the host is "Achaea.com" when I first edit, but as soon as I click on the ID field (or most any other field), the host is changed to "zuggsoft.com".

I will take a completely look at the session window this week, since these kinds of bugs also effect TeSSH.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jan 26, 2010 2:18 am   
 
Oops. Must've missed that I had the wrong session open. Guess I was trying to edit the properties of an open session. Embarassed
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jan 27, 2010 1:23 am   
 
All of this is now fixed for the next beta version.
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