BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Kyr on May 31, 2010, 06:45:33 pm

Title: online skips first page during busy times
Post by: Kyr 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.
Title: Re: online skips first page during busy times
Post by: dillinger 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
Title: Re: online skips first page during busy times
Post by: Kyr on January 17, 2011, 05:52:02 pm
Decrease the "blob_size" in your conf file.

~kyr
SimplePortal 2.3.7 © 2008-2025, SimplePortal