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.

Channel flag sharing

Old posts that have not been replied to for several years.
Locked
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Channel flag sharing

Post by smds »

I know this has been dealt with many times,
and I've never had a problem with it, but
since I changed shell provider, and obviously
had to compile new bots, non of my leaf bots
save channel flags after a restart, die or after
receiving the userfile from the hub.
I know I've got things set up properly,
well I think I have, here's my settings:

Code: Select all

loadmodule share
set allow-resync 0
set resync-time 900
set private-global 0
set private-globals "mn"
set private-user 0
set override-bots 0
Hub bot is set +ghp and all leaf bots are set +gs
I can't understand why it worked fine until I had to recompile
after all, these are the same config files!

Hope someone else can spot/suggest something :cry:
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

Are you sure your bots are still linking? If so, what is the output on the partyline?
I suppose after changing the shell provider your bots got new IP's and vhosts, did you change them ?
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

sounds like your hub is not in the same channels as the leafs?
add the channel to the hub.. set it inactive if you dont want the hub physically there.( but it needs to keep a channel record)
a.k.a. hellios
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

yes they are all linked, and all ip's/vhosts are set.
everything works perfect, apart from channel flags.

gumbydammit, I never had to set a channel record up for the hub
before, they just saved the flags, nothings changed
yet they dont save the flags now.
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

Also, the global default channel set is +shared
and each channel is +shared
Just can't think whats gone wrong,
nothing has changed, no scripts or config file changes at all :cry:
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

think of what you are saying...

the HUB sends the userfile to the leafs... your HUB has no channel record for some of the channels the leafs are in.. so how do you expect the channel flags to be in the userfile? If you are using the +g botflag ( like your first post said) then your hub needs a channel record for every channel any of the shared bots are in.. if this is not what you want dont use +g ( global share)
a.k.a. hellios
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

So your saying if I remove the +g flag from the leaf bots they wont accept
userfile changes from the hub?
or do you mean if I remove the +g flag from the hub bot?
I've been thinking for hours what could have changed,
and there is nothing, I know I never had this problem before,
and they were on loads of channels.
Thanks for the replies btw :)
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

either 1) add all the channels your leafs are in to your hub... +chan #room... if you dont want the hub to actually be in the room set him inactive..

or 2) use channel specific +s botflags rather then +g.. +g means share all channels.. and its impossible for your hub bot to remember channel specific flags for rooms he has no channel records for...
my guess is before you had all the channels added to your hub you just didn;t realize it or something...or had your hub in all your rooms.
a.k.a. hellios
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

All I've done is move shell providers, the bots are all in the same channels
the hub sits on 2 channels, and has never been on any other channels.
So that can't be the problem, I'm past caring what the cause of it is,
I just need to know how to sort it out, its really annoying adding loads
of flags back, not that its happened much.

Anyway, if I remove the +g bot flag from all bots and
set each bot +s on each channel, they won't accept userfile
changes from the hub, apart from global ones?
and this will stop people loosing channel flags?

Heres what I think you mean, just to make sure I get it right:

on hub bot:
.botattr bot1 -g
bot flags for bot1 are now: +s (global)
then:
.botattr bot1 +s #chan1
.botattr bot1 +s #chan2
.botattr bot1 +s #chan3
and so on for each leaf bot and channel?
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

I found this works, tell me what you think.

on 2 leaf test bots:
.unlink hub
.botattr hub -g
.link hub
on the hub:

.unlink bot1
.botattr bot1 -g
.link bot1
.unlink bot2
.botattr bot2 -g
.link bot2

This left the 2 leaf bots with +s global, and the hub with +hp global flags
I added someone as an op on the test channel and unlinked the 2 bots
from the hub, and after relinking them they still had the channel flags
they just dont seem to be sharing bans with the other bots now though.

Is this the way you meant?
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

sort of.. but you are seriously taking the hard route.. look man real simple..
use the +g flag... take note of every channel any of your leaf bots are in..
on your hub +chan #room <--- all the channels.. fix your flags one last time.. voila..
or do it the way yer doing i suppose.. but any channel you add for sharing.. your HUB needs a record for it!!!!! your leafs download your hubs userfile.. if HUB has no memory of a channel... LEAFs lose all your chan specific flags..
a.k.a. hellios
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

After some extensive testing, I've found you can to it like this:

On your hub bot, give all leaf bots +gls
on all your leaf bots, give the hub +hp

Everything is shared as far as I can see.
And all flags are saved, even if a bot delinks
then relinks and accepts the userfile from the hub
it still saves its channel flags.
I hope this will help people in the future.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

where can i find a list of bot flags?
I once was an intelligent young man, now i am old and i can not remember who i was.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

.help whois
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

thanks kain :D
I once was an intelligent young man, now i am old and i can not remember who i was.
Locked