BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: bebotrocks on February 18, 2008, 10:05:36 am

Title: Roster update times
Post by: bebotrocks on February 18, 2008, 10:05:36 am
(Running Trunk)Looking through the roster.php I notice updates should be done every 6 hours but mine is every hour. our org is over the 1K limit and I even changed the default force update threshold from 20 to 50 with no change in time. Am I completely missing the option to change timer or is this a bug? The update every hour isn't a major deal and if I can't resolve it I might just modify the roster.php not speak in GC. I know its only once an hour atm but it would be nice to keep it from GC and to be able to change the interval.

I also noticed on the changlog on 0.4.2
- Updating alts cache once per hour from table to grab possible alts changes in the shared database.

Thanks Guys



In GC :

bot: Bot is online ::: Roster update starting ::: System busy
bot: Roster update completed ::: System ready

In Logs:

[February 18th, 2008 01:14]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 18th, 2008 00:13]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 23:13]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 22:12]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 21:12]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 20:12]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 19:11]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 18:11]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 17:11]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.

[February 17th, 2008 16:10]
UPDATE: Roster update complete. Added 0 members and removed 0 of which 0 was rerolled.
Title: Re: Roster update times
Post by: Temar on February 18, 2008, 10:46:10 am
its actualy serpose to be every 24 hours with at least 6 hours since last update
Title: Re: Roster update times
Post by: bebotrocks on February 19, 2008, 02:51:02 am
Any suggestions on where I need to look to find the problem? Perhaps a corrupt table?

Thanks

Oh I just realized I posted this incorrectly to the wrong section. please move to BeBot 0.5 support


Title: Re: Roster update times
Post by: Temar on February 19, 2008, 03:17:58 am
at the top of core/roster.php

Code: [Select]
$cron["24hour"][] = &$roster_core;

that tells it too run cron (rosterupdate) every 24 hours
Title: Re: Roster update times
Post by: bebotrocks on February 21, 2008, 04:08:04 am
I checked and mine says the same for 24Hours so I just removed all the tells to GC and left the ones in private tells. its all working well except its till updating 1x each hour. Oh well atleast org isn't getting spam anymore.

and thanks for the help
Title: Re: Roster update times
Post by: Temar on February 23, 2008, 08:13:11 am
i just noticed my raid bot is now doing it hourly now
i will have a look tomorrow, but im going bed soon so not tonight :p

but it something to do with this line

Code: [Select]
if ($notify_count - $buddy_count >= $this -> bot -> settings -> get("Roster", "Buddylistupdate") || $buddy_count - $notify_count >= $this -> bot -> settings -> get("Roster", "Buddylistupdate"))

from function cron in modules/roster.php
SimplePortal 2.3.7 © 2008-2024, SimplePortal