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.

Bot removes global +o flag

General support and discussion of Eggdrop bots.
Post Reply
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Bot removes global +o flag

Post by dusk »

Hey there,

I've added an extra bot to my botnet, but somehow the new leafbot keeps on removing the global +o flag from the other bots, NOT other users....weird thing is : changes are not done by the hub-bot or any of the other leafs....

This happens after every restart, when recieving the userfile from the hub, but in the hub there are no changes made....and I do make sure the userfiles are correctly saved....
(I cloaked the addresses)
(16:07) <dusk> .whois M
(16:07) <Z2> [16:08] #dusk# whois M
(16:07) <Z2> HANDLE PASS NOTES FLAGS LAST
(16:07) <Z2> M yes 0 abflo 00:22 (#channel)
(16:07) <Z2> BOT FLAGS: ghp
(16:07) <Z2> HOSTS: M*!*@address
(16:07) <Z2> ADDRESS: address
(16:07) <Z2> users: 60014, bots: 60014
This I get after restarting the leaf :
(16:11) <Z2> [16:12] Downloading user file from M
(16:11) <Z2> [16:12] Userfile loaded, unpacking...
(16:11) <Z2> [16:12] Userlist transfer complete; switched over.
(16:11) <dusk> .whois M
(16:11) <Z2> [16:12] #dusk# whois M
(16:11) <Z2> HANDLE PASS NOTES FLAGS LAST
(16:11) <Z2> M yes 0 abfl 00:22 (#channel)
(16:11) <Z2> HOSTS: M*!*@address
(16:11) <Z2> BOT FLAGS: ghp
(16:11) <Z2> ADDRESS: address
(16:11) <Z2> users: 60014, bots: 60014
Note that the o flag for M dissapeared.....

Thx for any suggestions...
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

I've set up the botnet again, and I keep on having the same problem with the same bot. All the others keep the +o flag for the bots, exept the new leaf...

I even recompiled the bot, let it run without any additional scripts en nothing changes....

Really don't get this one.....
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

Use Private Globals in the config file.

Code: Select all

# When sharing user lists, DON'T ACCEPT global flag changes from other bots?
# NOTE: The bot will still send changes made on the bot, it just won't accept
# any global flag changes from other bots. This overrides the private-globals
# setting (below).
#set private-global 0

# When sharing user lists, if private-global isn't set, which global flag
# changes from other bots should be ignored?
#set private-globals "mnot"
"Insanity Takes Its Toll, Please Have Exact Change"
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

Oops....

That was it....thx!!! Seems I uncommented 'set private-global'. Damn...how could I have missed that :oops: ....

THX Ian-Highlander
Post Reply