egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invalid userfile format.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Mulreay
Voice


Joined: 11 Nov 2009
Posts: 7

PostPosted: Wed Nov 11, 2009 7:50 am    Post subject: Invalid userfile format. Reply with quote

Hello everyone.
Bit of a noob when it comes to bots but I'll try not to annoy. I've ran a search for this problem but can't seem to find anything specific. When I run my bot e.g c:\windrop (enter) eggdrop (enter). The last line comes up with *Invalid userfile format.
I.ve checked the userinfo files which are in TCL but I'm fairly sure I'm looking in the wrong place. I know it will be something simple but can't seem to get my head round it. I must of changed something but can't for the life of me think what it is.
Any help very much appreciated thanks in advance.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Nov 11, 2009 1:10 pm    Post subject: Reply with quote

That message means that the file used to store the user database has been "damaged". Or rather, the structure of the file has been, making it imposible for your eggdrop to make heads or tails of it.

There's an external script that comes with egdrop called "weed", which is usually used to manage huge userfiles "offline", this script might be able to still read most of the userfile and re-create it.

You could also look for any of eggdrop's backups of the userfile (has the extension .bak as I recall), and try replacing the curent userfile with that one..

Otherwize, your last option would be to remove the old userfile, and create a new one (starting over from scratch) using the -m option..

Also, this is in no way related to the userinfo.tcl script. That script wil never touch the userfile itself, but only use eggdrop's commands for manipulating user records.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Mulreay
Voice


Joined: 11 Nov 2009
Posts: 7

PostPosted: Wed Nov 11, 2009 2:23 pm    Post subject: Reply with quote

Thanks nml375. After a lot of searching and fiddling I found the userfile (it was right infront of me). Under the file luckily there was a auto backup file so just copied it and renamed it, then ran .backup in the partyline to get it up to date. Thanks for the help. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber