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 part

Old posts that have not been replied to for several years.
Locked
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

bot part

Post by [R] »

Hello,
•• S300 (~S300@der.bot.von.R.im.euirc.net) has left #b.a.t.z
•• S300 (~S300@der.bot.von.R.im.euirc.net) has joined #b.a.t.z
My bot part - joined.
Why?

Whats wrong?!

Greets&Thx

[R]
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Maybe you use some anti spam script which makes bot part every some time or channel is desynced and bot is trying to regain ops...
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

source scripts/alltools.tcl

source scripts/action.fix.tcl

source scripts/compat.tcl

source scripts/userinfo.tcl

loadhelp mel.help

loadhelp userinfo.help

source scripts/kick.tcl

source scripts/mode.tcl

source scripts/bseen.tcl

source scripts/heise.tcl

source scripts/join.tcl

source scripts/no_rejoin.tcl

source scripts/google_.tcl

source scripts/flyby102.tcl

These scripts are installed...
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Don't know much about them only if i see names....Maybe you should past some of them here (like join.tcl and no_rejoin.tcl)...
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

"flyby" that must be the one or if not "join" or "no_rejoin".

I think the channel is removed from the bot.
Search "channel remove" in either of these or maybe "bind part".
:mrgreen:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

Hello,

I have found that in fly_by...

http://193.24.211.223/R/flyby102.tcl
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Unload that script it or comment it in the .conf file restart your bot, then check it. It wouldn't do that cycling thing again now (I hope so!).
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

mhhh
the script is loaded and my bot (S300) dont part...
..but this script is important for my chan...
there are many flybyers
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

..sorry I have got a question..
# Simple *.exe, *.ini, *.vbs, *.bat virus detecter by Stratsi@DalNet
# Written for eggdrop 1.4.2

set bantime 20
set cycletime 10
set msg_user 1

timer $cycletime cycle
proc cycle {} {
global cycletime
foreach c [channels] {
putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle
}
}

bind ctcp - DCC got_dcc
proc got_dcc {nick uhost handle dest key arg} {
global gobtnick bantime msg_user cycletime
set filename [string tolower [lindex $arg 1]]
if {[string match "*.exe" $filename] || [string match "*.bat" $filename] || [string match "*.vbs" $filename] || [string match "*.ini" $filename]} {
set host "*!*[string range $uhost [string first "@" $uhost] end]"
utimer 15 [newban $host VirusScan "Infected with $filename virus" $bantime]
foreach c [channels] {
putkick $c $nick "You're infected with $filename virus"
}
if {$msg_user} {putmsg $nick "You're infected with a virus ($filename).}
}
}

putlog "Virus checker by Stratsi"
Is this script , ok?
Or what do you think about this?
Is this script the problem?

Thx&Greets

[R]
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Here, use this small script. It is a small effective script to prevent antyflyby's or fast join parts.

Code: Select all

#Set the interval of time (in secs)
#If the user joins/parts within this time he will be punished
set joinpart_time "2"

bind join - * join:ban
bind part - * part:ban

proc join:ban {nick uhost hand chan} {
 global join_part joinpart_time
 set host [lindex [split $uhost "@"] 1]; set chan [string tolower $chan]
 set join_part($host:$chan) 1; utimer $joinpart_time "unset join_part($host:$chan)"
}

proc part:ban {nick uhost hand chan {reason ""}} {
 global botnick join_part
 if {(![isbotnick $nick]) && (![matchattr $hand mn|mn $chan]) && ([botisop $chan]) && ([info exists join_part($host:$chan)])} {
  putquick "MODE $chan +b [lindex [split [maskhost $uhost] "@"] 1]" -next
   if {([onchan $nick $chan])} {
    putquick "KICK $chan $nick: anti-flyby kick!" -next
    }
  }
 return 0
}
As for your, DCC exploit script. Does it work fine?

Code: Select all

timer $cycletime cycle

proc cycle {} {
 global cycletime
  foreach c [channels] {
  putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle
 }
}
This cycler could be the also be the problem yes.
PART followed by JOIN with no interval delay in between as in this code will cause fast part/join cycles by the bot itself.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

# Script : FlyBy v1.02 by David Proper (Dr. Nibble [DrN])
# Copyright 2001-2003 Radical Computer Systems
# All Rights Reserved

# Description : FlyBy is a stupid script that will insult people when
# they part the channel soon after joining. It will keep
# track of how many flybys there has been as well as
# keep track of how many visitors have joined and give
# users thier visitor number
channel set #lamest +cycle

# cycle
# Cycle the channel when it has no ops?
#
The script does not have the bot cycle, channel setting does. :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

hello,

u mean +/-cyle in the (eggdrop)config?
Or flyby? Or viruschecker?
What do you mean? Sry Iam not the best... form germany :D


Thx&Greets

[R]

Edit: ok works.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

-/+cyle in channel setting section of the configuration file.

This can also be fixed via DCC Chat (partyline) using:

Code: Select all

.chanset #channel -/+cycle
In your case setting -cycle should fix the problem.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

Hello,

YesYes.. already done


Greets&Thx

[R]
Locked