Back Reply to topic
Skeksix 
(started thread)
Blue-Ribbon Chicken 
Topics: 4
Posts: 10
Playing:  AOC
Ingame:  Skeksix
Years registered: * * * * * * * * * * * * * * * * *
Renew Activity Via Timer. Posted: Post 12:06 Sun - Jun 29, 2008

Obviously when the bot is not interacted with for "x" amount of time the server will kick it for being idle. Is there a way to automate say a .link that is broadcast ever "x" amount of minutes in order to keep alive activity? Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 12:29 Sun - Jun 29, 2008

er.. eek this should be handled by noer's lib:
- if aocchat.php GETS (not sends) a packet it will remember it (line 361)
- the bot waits for a new packet for about 60seconds, (line 239)
- after a minute he sends a ping (line 243)
this is what was needed to keep a chatbot alive: the server closed the connection after if both sides are idle for some minutes. maybe the aoc - server is grumpier and also wants a packet from the client.. i bother noer about it -.-
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Back Reply to topic