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 

Problem with saving the userfile & other commands overal

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Decl
Voice


Joined: 14 Jul 2005
Posts: 26
Location: Tartu, Estonia

PostPosted: Mon Aug 01, 2005 11:09 am    Post subject: Problem with saving the userfile & other commands overal Reply with quote

The bot doesn't save the userfile on command .save:

[18:08:37] <Decl> .save
[18:08:37] <botje> [18:08] #Decl# save
[18:08:37] <botje> Saving user file...
[18:08:37] <botje> [18:08] ERROR writing user file.

What could the problem be ?
_________________
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com


Last edited by Decl on Thu Aug 18, 2005 8:18 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Galadhrim
Op


Joined: 11 Apr 2003
Posts: 123
Location: Netherlands, Enschede

PostPosted: Mon Aug 01, 2005 11:42 am    Post subject: Reply with quote

does the bot have the correct rights?

The bot should be booted with the user who owns the files or the files(& dirs) should have property 777. Otherwise it will never work.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 01, 2005 1:51 pm    Post subject: Reply with quote

either insufficient file/directory permissions or exceeded disk quota
Back to top
View user's profile Send private message Visit poster's website
Decl
Voice


Joined: 14 Jul 2005
Posts: 26
Location: Tartu, Estonia

PostPosted: Thu Aug 04, 2005 4:45 am    Post subject: Reply with quote

Now I found out, that '.save' works when I am alone on the partyline. When there is somebody else and I try '.save', it displays such message. Saving or writing the files automatically after each hour works normally.

Another question: what's the command to remove somebody from the partyline (like kick or something Razz) ?
_________________
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com
Back to top
View user's profile Send private message Visit poster's website
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu Aug 04, 2005 7:39 am    Post subject: Reply with quote

Decl wrote:
Now I found out, that '.save' works when I am alone on the partyline. When there is somebody else and I try '.save', it displays such message. Saving or writing the files automatically after each hour works normally.

Another question: what's the command to remove somebody from the partyline (like kick or something Razz) ?
the command is .boot - why don't you do yourself a favor....type .help all and read...
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Aug 04, 2005 11:51 am    Post subject: Reply with quote

Decl wrote:
Now I found out, that '.save' works when I am alone on the partyline. When there is somebody else and I try '.save', it displays such message. Saving or writing the files automatically after each hour works normally.


LOL

get rid of your scripts and see if the problem persists
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Aug 04, 2005 7:16 pm    Post subject: Reply with quote

There is no way '.save' would behave that way when there are other users on the partyline. As demond indicates, you appear to have a script that is causing your problem.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Decl
Voice


Joined: 14 Jul 2005
Posts: 26
Location: Tartu, Estonia

PostPosted: Mon Aug 15, 2005 5:56 am    Post subject: Reply with quote

And anyway... I found out there are a lot of other problems, while more than 1 user are on partyline. For example, .help never works, when 2 are there. When I enter the partyline and somebody is in there, MOTD doesn't appear as it normally should... the other user can't make .whois himself, altho I can (as a global owner). I don't get it... :S

It also crashes on realoading config (.rehash) while 2 users on p/l. Altho I have all scripts I've added myself disabled. WTF?
_________________
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com
Back to top
View user's profile Send private message Visit poster's website
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Mon Aug 15, 2005 9:44 am    Post subject: Reply with quote

Decl wrote:
And anyway... I found out there are a lot of other problems, while more than 1 user are on partyline. For example, .help never works, when 2 are there. When I enter the partyline and somebody is in there, MOTD doesn't appear as it normally should... the other user can't make .whois himself, altho I can (as a global owner). I don't get it... :S

It also crashes on realoading config (.rehash) while 2 users on p/l. Altho I have all scripts I've added myself disabled. WTF?
if help doesn't work, check to make sure you have the path correctly defined in the conf file Exclamation
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 15, 2005 12:52 pm    Post subject: Reply with quote

in any case such behaviour is not due to a bug in eggdrop hehehe

either you still run lame script(s), or your bot isn't standard eggdrop (patched? hacked? cracked?), or you simply messed up your userrecord(s) and when someone logs in, the bot recognizes them as you (or vice versa), since you have their hostmask(s) in your record (i.e. from the bot's point-of-view, they match as you); but the latter isn't likely to cause the problem, even with messed up userrecord(s) the bot still must not mess up dcc indexes
Back to top
View user's profile Send private message Visit poster's website
Decl
Voice


Joined: 14 Jul 2005
Posts: 26
Location: Tartu, Estonia

PostPosted: Mon Aug 15, 2005 2:05 pm    Post subject: Reply with quote

I have normal eggdrop downloaded from the slennox's eggdrop page and installed on one shell. All paths are set corrently and only 3 scripts are added to the standart ones (all taken from the same page):

autovoice-on-join
Q-Auth
and third from these forums, the triggers script.

I disabled all of them, doesn't help. Command .help, by the way, works when I am alone on the partyline. Everything absolutely works normally then. But when somebody else joins the partyline, anyone, doesn't matter who, bot starts making these tricks.
_________________
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Aug 15, 2005 8:54 pm    Post subject: Reply with quote

Re-check your configuration: Setting up an Eggdrop

Decl wrote:
I have normal eggdrop downloaded from the slennox's eggdrop page and installed on one shell.

New user file?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Decl
Voice


Joined: 14 Jul 2005
Posts: 26
Location: Tartu, Estonia

PostPosted: Thu Aug 18, 2005 7:35 am    Post subject: Reply with quote

I tried almost everything now. I deleted the user&chanfiles, made new ones. Didn't help. Then I even deleted the config, made a new one, edited it normally and put bot running. I connected to partyline of eggdrop.

By then all commands were working. MOTD displayed etc...
Code:

[15:57:27] <botje`> Connected to botje, running eggdrop v1.6.17
[15:57:27] <botje`>      ____                __
[15:57:27] <botje`>     / __/___ _ ___ _ ___/ /____ ___   ___
[15:57:27] <botje`>    / _/ / _ `// _ `// _  // __// _ \ / _ \
[15:57:27] <botje`>   /___/ \_, / \_, / \_,_//_/   \___// .__/
[15:57:27] <botje`>        /___/ /___/                 /_/
[15:57:27] <botje`> 
[15:57:27] <botje`> Hey Decl!  My name is botje and I am running eggdrop v1.6.17, on FreeBSD 5.3-RELEASE.
.....and so on........
[15:57:27] <botje`> *** Decl joined the party line.

[14:00:03] <Decl`utc> .help
[14:00:03] <botje`> [14:36] #Decl# help
[14:00:03] <botje`> DCC commands for botje, eggdrop v1.6.17:
[14:00:03] <botje`>    For all users:
[14:00:03] <botje`>       who          away         quit         whom
[14:00:03] <botje`>       me           page         match        motd
.....and so on.........


When I added a user and asked him to join partyline, the problems came up. While being together there, some commands refused to work. ".help" for example, and others.

Code:

[14:11:34] <Decl`utc> .who
[14:11:34] <botje`> [14:11] #Decl# who
[14:11:34] <botje`> Party line members: (* = owner, + = master, % = botmaster, @ = op, ^ = halfop)
[14:11:34] <botje`>   [10]   StaLvY    telnet@xxx.xxx.xxx
[14:11:34] <botje`>   [11]  *Decl      ~decl@UTC|Decl.users.quakenet.org (con:mcobxs)
[14:11:37] <Decl`utc> .help
[14:11:37] <botje`> [14:11] #Decl# help
[14:11:38] <botje`> No help available on that.


The point is that the shell, where I am having eggdrop, doesn't let the users to install the eggdrop themselves. They have eggdrop installed in the main path of shell, so every user has just a .conf file. Location of the paths is marked correctly, as EVERYTHING works perfectly when there is only ONE person on the partyline.

But when more than one is there, problems come up. Even the MOTD doesn't pop up, when new user connects to P/L (at time the other is already there). Why is that ? Any ideas ?
Code:

DCC Chat connection established
[14:20:08] <botje`> Enter your password.
[14:20:09] <Decl`utc> *********
[14:20:09] <botje`> You have no messages.
[14:20:10] <botje`> *** Decl joined the party line.
[14:20:15] <Decl`utc> .who
[14:20:15] <botje`> [14:44] #Decl# who
[14:20:16] <botje`> Party line members: (* = owner, + = master, % = botmaster, @ = op, ^ = halfop)
[14:20:16] <botje`>   [10]   StaLvY    telnet@xxx.xxx.xxx
[14:20:16] <botje`>   [11]  *Decl      ~decl@UTC|Decl.users.quakenet.org (con:mcobxs)


P.S. Note that the codes above are about a TOTALLY new eggdrop, which config file is edited from the standart one 30 mins earlier and has only 1 channel added and 2 users on it (these 2 are displayed in the code). Therefor, it doesn't have ANY extra scripts added, but just the standart ones.

Help ? Rolling Eyes
_________________
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com


Last edited by Decl on Wed Aug 31, 2005 7:29 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Aug 18, 2005 1:20 pm    Post subject: Reply with quote

you first said you have downloaded and installed eggdrop, now you say you are not allowed to install eggdrop on that shell yourself? if the latter is correct, I'd recommend you immediately ditch that shell provider

in any case the issue is likely caused by either patched and f*cked up eggdrop or some weird file access/lock problem
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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