This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Two problems

Old posts that have not been replied to for several years.
Locked
g
gaui
Voice
Posts: 15
Joined: Sun Nov 07, 2004 8:35 pm

Two problems

Post by gaui »

Hi. I'm running FreeBSD 4.10-STABLE and running eggdrop 1.6.17.
I installed this through ports in FreeBSD. Everything went well with the installation process, but there's two things bothering me.

1.
".set" is not working.

.set botnet-nick "foo"
What? You need '.help'

.set ctcp-version "foo"
What? You need '.help'
2.
Everytime I use ".save", this shows up...

#user# save
Saving user file...
ERROR writing user file.


If this is a permission problem, then can you please tell me what directory I should change the permission on?
Can you please help me? :-?
Curiosity killed the cat.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

With reference to your first problem, you don't have the necessary permissions according to the bot; ensure 'set owner' is correct and also that you have the proper owner flags - fjlmnoptx.

For your second problem you might glean info from the logs or check file permissions on the shell.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
g
gaui
Voice
Posts: 15
Joined: Sun Nov 07, 2004 8:35 pm

Post by gaui »

Thanks for that quick answer.

Code: Select all

set owner "gaui"

Code: Select all

[00:57:48] <gaui> .whois gaui
[00:57:48] <fsck> [00:34] #gaui# whois gaui
[00:57:48] <fsck> HANDLE PASS NOTES FLAGS LAST
[00:57:48] <fsck> gaui yes 0 hjlmnoptx 00:15 (partyline)
[00:57:48] <fsck> HOSTS: -telnet!*@*, *!*@gaui.is
I think the bot can't write/create fsck.user and fsck.chan because of permissions. Do you know where those files should be?
Curiosity killed the cat.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Suggestion: remove -telnet!*@* from your host; anyone entering a channel the bot is in using that nick will have immediate access and for added security you should change your host to something more specific to ensure that only you are recognised as the bot owner i.e *!username@host.com

*Edited*

~.chan & ~.user files are in your bots main folder i.e the path you used with 'make install DEST=destination'
Last edited by Alchera on Sun Nov 07, 2004 9:06 pm, edited 1 time in total.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
g
gaui
Voice
Posts: 15
Joined: Sun Nov 07, 2004 8:35 pm

Post by gaui »

Okay...

Code: Select all

[01:06:25] <gaui> .whois gaui
[01:06:25] <fsck> [00:43] #gaui# whois gaui
[01:06:25] <fsck> HANDLE PASS NOTES FLAGS LAST
[01:06:25] <fsck> gaui yes 0 fhjlmnoptx 00:42 (partyline)
[01:06:25] <fsck> HOSTS: -telnet!*@192.168.0.1, *!gaui@gaui.is
Still I get...

Code: Select all

[01:07:37] <gaui> .set ctcp-version
[01:07:37] <fsck> What? You need '.help'
Curiosity killed the cat.
g
gaui
Voice
Posts: 15
Joined: Sun Nov 07, 2004 8:35 pm

Post by gaui »

Alchera wrote:Suggestion: remove -telnet!*@* from your host; anyone entering a channel the bot is in using that nick will have immediate access and for added security you should change your host to something more specific to ensure that only you are recognised as the bot owner i.e *!username@host.com

*Edited*

~.chan & ~.user files are in your bots main folder i.e the path you used with 'make install DEST=destination'
Uhm... I installed it from ports.
Curiosity killed the cat.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Unless you can physically edit your bots configuration file and add your nick into the 'set owner' variable and rehash the bot you are not recognised as a permanent owner and cannot use some commands via DCC as with '.set'.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
g
gaui
Voice
Posts: 15
Joined: Sun Nov 07, 2004 8:35 pm

Post by gaui »

My nick is in the "owner" variable.

Code: Select all

set owner "gaui"
Curiosity killed the cat.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Ok... set ctcp-version isn't working for me either. LOL
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Ok... (after a little re-reading) do the following:
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
Problem solved! :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

:o you might encounter another problem, or not... depending on what you have in set must-be-owner variable. The .set command is available either to all global +n users (set must-be-owner 0), or exclusively for the true bot owner (set must-be-owner 1). Also, you can restrict access to the .dump command by setting set must-be-owner 2. There is more info on this topic at Configuring Your Eggdrop. Hope it works :mrgreen:
Locked