!help doesn't always return to client correctly

Bug #363689 reported by xen
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BeBot
Confirmed
High
Unassigned

Bug Description

Not sure if this is an AoC problem or a Bebot problem, reporting it in the hope that you have a better idea. :)

If I send out bot a request for the help pages I quite often find one is missed.

The bot log says:

Thefist [2009-04-19 11:27:52] [TELL] [INC] Kiyal: !help
Thefist [2009-04-19 11:27:52] [TELL] [OUT] -> Kiyal: [link]Help[/link] (page 1 of 3)
Thefist [2009-04-19 11:27:52] [TELL] [OUT] -> Kiyal: [link]Help[/link] (page 2 of 3)
Thefist [2009-04-19 11:27:52] [TELL] [OUT] -> Kiyal: [link]Help[/link] (page 3 of 3)

On my side in the client I usually see the following when it goes wrong:

To [Thefist]: !help
[Thefist]: Help (page 1 of 3)
Welcome to Age of Conan
[Thefist]: Help (page 3 of 3)

or occasionally:

To [Thefist]: !help
[Thefist]: Help (page 1 of 3)
[Thefist]: Help (page 2 of 3)
Welcome to Age of Conan

Revision history for this message
Thomas Juberg (thomas-juberg) wrote :

From the looks of it the text blob with help output is returning too much information and causes the bot to be disconnected from the server.

Look in your Bot.conf and find:
 $max_blobsize = 8000; // Maximum size of text blobs in byte. For AoC

Try reducing this number to for example 7900 and keep going lower until you find a value which will allow the bot to remain connected and please let us know.

This could be caused by other things, but this is the most likely culprit.

Changed in bebot:
importance: Undecided → Medium
Revision history for this message
Thomas Juberg (thomas-juberg) wrote :

Marked incomplete pending verification

Changed in bebot:
status: New → Incomplete
Revision history for this message
Temar (chris-smith96) wrote :

no it isnt the bot disconnecting its the users chat part of AoC that disconnecting

Revision history for this message
Temar (chris-smith96) wrote :

this is definity confirmed, lots of posts on forum, ive seen it my self when i used to have an active AoC account
i think this should be high also as causing the user client to disconnect isnt good

Changed in bebot:
importance: Medium → High
status: Incomplete → Confirmed
Revision history for this message
xen (xen-uk) wrote :

Not sure you can do much about this one tbh...

How big a blob you can send seems to depend on something like how busy a channel/area is. Example - you can do a macro in local/guild with font tagss, a popup window, etc. and it'll work fine. If you take it to global though it'll quite often fail unless you make it shorter (and the length seems to varies, what worked in global one day may not work the next if you had it just under the limit).

I'll give dropping the blob size a go tho and see if it helps, thanks.

Revision history for this message
xen (xen-uk) wrote :

With 0.6.4.dev (rev 53) I've tried various values for $max_blobsize, from 8000 down to 6000 and it'd still disconnect me from the chat server sometimes when returning the help pages. I also tried a big drop to 4000 but then the returned tells were wrong - I'd just get:

-- Commands usable in tell --
help
-- Commands usable in gc --
help
-- Commands usable in pgmsg --
help

Clicking those links would just do !help help.

Revision history for this message
DJKRose (dj-krose) wrote :

I can confirm this with the current trunk rev 131. The help answer disconnected me from chat server.

In-game chat (Helferlein=bot, Luyu=me):

[Gilde] [Luyu]: !help
[Helferlein]: Help (page 1 of 3)
[Helferlein]: Help (page 2 of 3)
Willkommen bei Age of Conan
[Gilde] [Helferlein]: Luyu logged off

Bot log:

Helferlein [08:48:06] [GROUP] [MSG] [Seelenfeuer] Luyu: !help
Helferlein [08:48:06] [TELL] [OUT] -> Luyu: [link]Help[/link] (page 1 of 3)
Helferlein [08:48:06] [TELL] [OUT] -> Luyu: [link]Help[/link] (page 2 of 3)
Helferlein [08:48:06] [TELL] [OUT] -> Luyu: [link]Help[/link] (page 3 of 3)
Helferlein [08:48:15] [BUDDY] [LOG] Luyu changed status [0] (OWNER)
Helferlein [08:48:16] [BUDDY] [LOG] Luyu changed status [1] (OWNER)
Helferlein [08:48:20] [GROUP] [MSG] [Seelenfeuer] Helferlein: Luyu logged off

Revision history for this message
Yite (yite) wrote :

Looks related to my newer bug #519236
It's basically AoC flood protection blocking it, #519236 deals with removing the help for pmsg as AoC doesn't support this anyway.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.