collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Roster update times  (Read 2489 times)

0 Members and 1 Guest are viewing this topic.

Offline bebotrocks

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Roster update times
« 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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Roster update times
« Reply #1 on: February 18, 2008, 10:46:10 am »
its actualy serpose to be every 24 hours with at least 6 hours since last update

Offline bebotrocks

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Roster update times
« Reply #2 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


« Last Edit: February 19, 2008, 02:53:27 am by bebotrocks »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Roster update times
« Reply #3 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

Offline bebotrocks

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Roster update times
« Reply #4 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
« Last Edit: February 21, 2008, 04:28:54 am by bebotrocks »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Roster update times
« Reply #5 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
« Last Edit: February 23, 2008, 08:17:39 am by Temar »

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 687
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal