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 not saving flags

Old posts that have not been replied to for several years.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

bot not saving flags

Post by kain »

Hi,
ive had this problem before and i need to sort it out, so any help/advise will be great.
someone has an account on the bots, i do "chattr <nick> <-+flag> <channel>" and everythings fine, then a few hours later or the next day the person auth's and has no flags i'd set the hours/day before, im running a botnet and set it up like this:
DCC to the hub bot and:
.+bot BOTNICK x.x.x.x:port
.botattr BOTNICK +gs
.chattr BOTNICK +bfao
(repeated for all leaf bots)

then dcc to the leaf bots and do:
.+bot HUBNICK x.x.x.x:port
.botattr HUBNICK +ghp
.chattr HUBNICK +bfao
(repeated on all leaf bots for hub bot)

and they all link up and trasfer user files fine. is that all right btw ?
the weird thing is, i dont lose My flags (global/channel) and neither do a few other people, but a lot do, and its getting anoying adding them back.
i havent used the option in the *.conf files that says "all changes must be made via the hub" but ive even tried doing that, but still wind up losing flags, even the bots lose their +o for certian channels
anyway, i hope someone has had this problem before or knows something about it and can help me out :D

Thanks.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

someone must know something about this
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

sounds pretty strange.

did you try to save the settings after adding removing a flag with .save or if you use netbots with .netsave ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Can you paste the settings you have, for the share settings in the config file.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

Darmoth wrote:sounds pretty strange.

did you try to save the settings after adding removing a flag with .save or if you use netbots with .netsave ?
I tried both. I've now noticed that all global flags are saved but not channel flags, well as I said some are and some are'nt.

ppslim heres the settings:

set global-chanset {
-autoop +autovoice
-bitch +cycle
+dontkickops +dynamicbans
+dynamicexempts +dynamicinvites
+enforcebans -greet
-inactive -nodesynch
-protectfriends -protectops
-revenge -revengebot
-secret -seen
+shared +statuslog
+userbans -userexempts
+userinvites -protecthalfops
+autohalfop
}


and then each channel has the +shared:

channel set #channel -userexempts -dynamicinvites +userinvites -protectops
channel set #channel -protectfriends +statuslog -revenge -protecthalfops +cycle
channel set #channel -revengebot -dontkickops +autovoice -autoop +autohalfop
channel set #channel -bitch -secret +shared


I've had this with other versions, its not a new problem, and none of my channels are dynamic, so i dont think that would be the probelem.
btw, im using the lastest version of netbots, v4.09.
thanks again all :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The settings you pasted are channel settings set in the config file.

Look further down. You should paste the section from the share module settings.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

ahh ok.

#### SHARE MODULE ####

loadmodule share
set allow-resync 0
set resync-time 900
set private-global 0
set private-globals "mno"
set private-user 0
set override-bots 0

###################


Thats all the settings from the share module.
Just to remind you, it's certian users channel flags that are'nt
being saved, not global flags, their fine.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Can you give examples of your users handles (exact ones preferable). Both those of users that are saved, and users that are not saved. 2 of each preferable.

As well as these, a full whois output for each one (only change any personal details, including hostmasks).

This could be related to caracters in the handles.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

here you go.

1st Handle with non saved flags:
Handle: Crow
<kain> .whois Crow
<bot> [05:28] tcl: builtin dcc call: *dcc:whois kain 14 Crow
<bot> [05:28] #kain# whois Crow
<bot> HANDLE PASS NOTES FLAGS LAST
<bot> Crow yes 0 fgv 18:20 (#channel)
<bot> #anotherchannel fgov 18:20
<bot> HOSTS: *!trillian@*.lame.org, *littlec*!~trillian@*
<bot> *crow*!~dominik@*, *!Dominik@*.lame.org

2nd Handle with non saved flags:
Handle: Col_Homer
<kain> .whois Col_Homer
<bot> [05:32] tcl: builtin dcc call: *dcc:whois kain 14 Col_Homer
<bot> [05:32] #kain# whois Col_Homer
<bot> HANDLE PASS NOTES FLAGS LAST
<bot> Col_Homer yes 0 - 07 Aug (#dod )
<bot> HOSTS: *!pbsvgxs@*.lame.org, *col_homer*!nnscript@*
<bot> *col_homer*!rhhbfl@*, *col_homer*!hkkryuiw@*
<bot> *col_homer*!srvddz@*, *col_homer*!pldm@*
<bot> *col_homer*!mimzxvivx1@*, *col_homer*!vzhtnqcyb1@*
<bot> *col_homer*!dcvthae@*, *col_homer*!calmbng@*
<bot> *col_homer*!veqhd@*, *col_homer*!ipnxxzid@*
<bot> *col_homer*!vebalkm@*, *col_homer*!udtm@*
<bot> *col_homer*!mphcgi@*, *col_homer*!gqwykp@*
<bot> *col_homer*!tmnerk@*, *col_homer*!fihveki@*
<bot> *col_homer*!~kingalex9@*, *col_homer*!olcvttrno3@*
<bot> *!jtpcbdgs@*.lame.org
<bot> *!zsrnhp@*.lame.org

1st Handle with saved flags:
Handle: LTA
<kain> .whois LTA
<bot> [05:37] tcl: builtin dcc call: *dcc:whois kain 14 LTA
<bot> [05:37] #kain# whois LTA
<bot> HANDLE PASS NOTES FLAGS LAST
<bot> LTA yes 0 fgjmnoptvx 17:19 (#ircbots )
<bot> HOSTS: *!*odAdmin@*.lame.org, *lta*!bydodadmin@*
<bot> *!yo@*.cable.ntl.com, *!irc@*.lame.org

2nd Handle with saved flags:
Handle: SMudgeh-aweh
<kain> .whois SMudgeh-aweh
<bot> [05:43] tcl: builtin dcc call: *dcc:whois kain 14 SMudgeh-aweh
<bot> [05:43] #kain# whois SMudgeh-aweh
<bot> HANDLE PASS NOTES FLAGS LAST
<bot> SMudgeh-aweh yes 0 fgov 16:2 (#ntl )
<bot> HOSTS: *!none@*.lame.org

Another weird thing is, the bots are'nt saving global flags for eachother,
well some are and some are'nt.
Thanks for looking ppslim :D
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There does not seem to be any bit's out of place.

You say it happens when a user auth's, could it be a issue with a script?
Have you tried doing ".die" on the bot, commenting out the script lines (with a #), and restarting the bot. Run the bot for at least 24 hours.

What scripts are you running?

I have never seen anything like this happen before. I have seen bot's lose flags, but killing and making a new userfile fixed the problem. The only differance is that the bot lost all flags, and not just selected users.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

i did try killing one of the bots and running it without all its scripts as a test but it made no difference, that was last week. im using the moo script v3.3.5 from the tcl archive: http://www.egghelp.org/files/tcl/mooscr ... .5a.tar.gz and bseen 1.4

i dont think that script is the problem, but you may know better than me.
Last edited by kain on Mon Aug 12, 2002 11:03 am, edited 1 time in total.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

could it be anything to do with the way ive linked the bots, like shown in my first post ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What flags do they lose?

IE, global + channel, channel only or global only. Or does it depend from case to case.

You stated in a prvious post that they lose there flags when doing an auth! Is this auth using the bots "/msg ident" feature, an auth to the irc server or an auth to a script loaded.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

it changes from user to user, eg: i do .chattr guest #channel +ov
the next day the +ov has gone, its not just +o its the +v too,
for general users its channel flags that get lost, but as i said in another post, the bots also lose a +o here and there, so when the 2nd bot joins its channel and the first bot gains/has ops it doesnt op the other bot, untill i do .chattr bot2 +o
as for the "auth" the moo script uses "/msg bot auth <nick> <password>" to auth, and i didnt mean they lose the flags when they auth, i meant when they've auth'd they dont get their ops/voice due to the flags being gone.
As i said before i tried running a extra unlinked bot for a few days to see if it was a script problem, all i had loaded was the standard scripts that are loaded by default, and bseen 1.4.x, but we still had the same problem.
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

If the hub bot is not in the channel that the linked bot is in, then you will lose the channel flags for that channel but not the global flags when the user file gets transferred as the hub bot wont keep the channel flags for rooms its not in.

Not sure if this is whats affecting you or not, but just thought I'd stick my 2 pence in.

Regards

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
Locked