egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

lagging bot
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
SaPrOuZy
Halfop


Joined: 24 Mar 2004
Posts: 75
Location: Lebanon

PostPosted: Wed Sep 21, 2005 3:37 pm    Post subject: Reply with quote

lol

i think each on is taking the word lagging differently.

am not checking whether server2 and server3 are lagging
let's take this:

i am the bot Very Happy
i pinged my own server and i got a 0.01 sec reply Arrow no lag to my own server, my connection is fine...

i ping server2 and server3
i found that the reply is 0.02 and 0.01 Arrow everything seems to be normal, the server am connected to is not lagging relatively to the other servers

i ping server2 and server3
i got replies : 3.21 and 4.32 Arrow most probably the server am connected to is lagging , since both server2 and 3 had big reply time

i ping server2 and server3
i got replies: 0.02 and 4.32 Arrow i can't assume that my server is lagging, because of the reply from server2 is 0.02 , it could be that server3 is the one lagging, but i don't care about it

Confused i hope am not confusing you
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Sep 21, 2005 3:45 pm    Post subject: Reply with quote

you don't care about server3? what if your users are on server3 or/and servers behind it and it's server3 that sends all those legitimate JOINs at once, tricking you in locking the chan?
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
SaPrOuZy
Halfop


Joined: 24 Mar 2004
Posts: 75
Location: Lebanon

PostPosted: Wed Sep 21, 2005 3:52 pm    Post subject: Reply with quote

mmm i guess am taking the lag effect from 1 side: that the lagging server will RECEIVE the joins suddenly, and not SEND them suddenly.

anyways in this case , it would be to complex to let the bot know everything and decide, lol trying to figure all this out might even make it lag Razz hehe
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Sep 21, 2005 5:05 pm    Post subject: Reply with quote

that's why implementing anything beyond pinging your own server is simply not viable, it would become too complex with too many factors to account for

besides, you can't know what server joining users are on, so you can't really implement such a system, even if you are certain about the algorithm

however, a pure network-wide lag tracking system (one that is not coupled with protection scripts) could be implemented; in fact, it has been implemented already, at least in one instance: there was a bot on EFnet's #netsplit years ago that was announcing to the channel which server is about to split from which, and all takeover monkeys would race to that server in a bid to get ops and fight with rejoining op parties thereafter

anyway, your best bet is measuring your own lag only and take your chances from there
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
SaPrOuZy
Halfop


Joined: 24 Mar 2004
Posts: 75
Location: Lebanon

PostPosted: Thu Sep 22, 2005 12:37 am    Post subject: Reply with quote

Quote:
anyway, your best bet is measuring your own lag only and take your chances from there


yea guess you're right, i don't think there's any script that does this, so doing it this alone is a good improvement.
thanks for the help, this was kinda fun hehe
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber