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.

suggestion to hub behaviour with discarded leaf chanflags

Old posts that have not been replied to for several years.
Locked
d
deice

suggestion to hub behaviour with discarded leaf chanflags

Post by deice »

i don't like the fact that the hub bot discards channel flag changes if the channel is not added on the hub. it is a minor issue in a great program but, well, enhancements never hurt anyone ;D

e.g. one has a botnet with 2 bots, the hub and the leaf and has userfile sharing enabled. the hub is on channels #chan1 #chan2 and the leaf on #chan2 #chan3 . with #chan2 there are no problems as both bots are there, neither on #chan1 as the hub is there, but #chan3 causes problems as when you change channel flags for users they get lost:
leaf transmits the flags to hub, but hub discards them as he is not on the channel. then when the userfile is transferred to the leaf it loses the channel flags for #chan3 as there are none in the userfile coming from the hub.

this issue is solvable in this situation but what if a person had hub, leaf1 and leaf2. hub was on #chanhub and leaf-bots were on #chanleaf.

and what if the person had MANY more eggdrops? it would escalate to being a *big* problem

this is solvable with hacked-up solutions but i think it would be better if there was a setting which altered the hubs behaviour to keep the channel flags for users even if it has no channel record for the channel...

just my idea, there might be some issues i havent realised involved...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is not surrently possible int he design of eggdrop.

Sharing is heavily based on the list of channel the bot currently has.

There is a workaround for non-limbo bots, but no longterm solution in the pipeline otherwise.

Simply use ".+chan" on the hub, this will create the channel record. However, you then simply yuse ".chanset #cahnnel +inactive". This will allow the bot to have the channel records, while it doesn't join.

For a long term soution, major changes would neecd to take place, which are not goign to happen in 1.6
Locked