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

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

Author Topic: online skips first page during busy times  (Read 2085 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
online skips first page during busy times
« on: May 31, 2010, 06:45:33 pm »
I was preparing a post explaining this issue and asking for help to find out how to fix, but then I figured out the issue and wanted to post the solution.  I thought there was an old post about this, but I couldn't find it.  Also, I have a request that will help with this.

Basically what was happening is that some times only the last page is displayed for online, depot and some other modules.  Turns out this is related to the size of scripts being limited by the number of people connected to a channel.  We all know that in global, especially during peak time, only small scripts can be used.  Once we get about 42+ people logged in to our guild the 8k max_blobsize doesn't fit any more in our guild chat.  I decreased the size to 6k and that seems to work fine. 

What would be cool is if the bot could know how many people were in the channel and adjust the blob size automatically during peak times.  There also should be a message returned to the bot when the blob is too big.  When I send a large script to global, I get this message:  "The message was too big to send to the selected group."

Here are some samples from the log file:
Code: [Select]
[GROUP] [MSG] [guild] Kyr: !depot level 75 80
[GROUP] [MSG] [guild] bot: [link]Depot list[/link] (page 2 of 2)

[GROUP] [MSG] [guild] Kyr: !depot
[GROUP] [MSG] [guild] bot: [link]Depot list[/link] (page 5 of 5)

[GROUP] [MSG] [guild] Kyr: !online
[GROUP] [MSG] [guild] bot: 42 members online in Guild. :: [link]click to view[/link] (page 2 of 2)

You can see, it doesn't even log that the initial pages were sent.

Offline dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: online skips first page during busy times
« Reply #1 on: January 13, 2011, 08:14:14 pm »
Is there any solution?

When about 50 Persons are logged in in guild the command !online will not show any informations. When I tell /tell BOTNAME !online it will work.

Any idea about this? Thanx

dill

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: online skips first page during busy times
« Reply #2 on: January 17, 2011, 05:52:02 pm »
Decrease the "blob_size" in your conf file.

~kyr

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 294
  • 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