BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Shaidar on February 06, 2010, 12:42:19 pm

Title: /tell Informerbot !help is broken for me.
Post by: Shaidar on February 06, 2010, 12:42:19 pm
hi,
Whenever I type: /tell Informerbot !help the bot gives me the link to the first of three pages. And then it doesnt work.  No commands work after that, and it only gives the first page (1/3). In cmd it says that it has given all three pages, but they dont show in the guild chat. And like I said no commands work after that. Any idea?

Also is there a way for me to restart the bot without shutting down the cmd window and the game, and then starting them both up again?
Title: Re: /tell Informerbot !help is broken for me.
Post by: keirou on February 06, 2010, 04:17:53 pm
U can get ConanChat. login via that and interact with the bot.

I have notice an issue with !help (especially as owner) that it generate the 3 pages then DC's YOU from the chat server.
Title: Re: /tell Informerbot !help is broken for me.
Post by: Shaidar on February 07, 2010, 12:06:28 pm
U can get ConanChat. login via that and interact with the bot.
Thanks for replying. Could you elaborate on that? I am new to this, so I dont know what ConanChat.login means :)
Title: Re: /tell Informerbot !help is broken for me.
Post by: BoA-Gert on February 08, 2010, 02:48:22 am
Conan Chat: http://www.conanchat.com/

Download and setup that with your login info.  You can then chat (and control the bot) without logging in...
Title: Re: /tell Informerbot !help is broken for me.
Post by: Yite on February 08, 2010, 08:33:00 am
I have notice an issue with !help (especially as owner) that it generate the 3 pages then DC's YOU from the chat server.
Yeah notcied the same, also with some other modules if you click too fast and thereby generate too much data / tells. Maybe the delay between tells needs to be longer.
Title: Re: /tell Informerbot !help is broken for me.
Post by: Shaidar on February 08, 2010, 06:39:18 pm
Thanks, I'll be sure to download Conanchat :)
Title: Re: /tell Informerbot !help is broken for me.
Post by: Khalem on February 08, 2010, 09:31:59 pm
In your bot config file track down
Code: [Select]
  $tell_delay = 2222;              // Number of miliseconds between tells. (anti-flooding)
  $reconnect_time = 60;            // Time to wait for auto reconnect after an error has accured.
  if(is_numeric($dimension))
$max_blobsize = 12000;            // Maximum size of text blobs in byte. For AO
  else
$max_blobsize = 8000;            // Maximum size of text blobs in byte. For AoC

The second $max_blobsize is the one you will be interested in.

Try reducing it until you no longer have an issue with the third page vanishing. If reducing this does not work, AoC might have made their flood protection even more strict, and you might need to increase the delay controlled by $tell_delay

Let me know how this works out for you and preferably report back with numbers you end up that works for you.
It looks like we will need to tweak them a bit for AoC.
Title: Re: /tell Informerbot !help is broken for me.
Post by: Yite on February 09, 2010, 09:32:31 am
Have tried a few things:

Delay 2222
Blobsize 6000
Result: Bot trying to send 4 pages, not all received, player not disconnected from chat server

Delay 3000
Blobsize 8000
Result: Bot sending 3 pages, page 2 not received, player not disconnected from chat server

I'll try and do some more testing tonight.
Title: Re: /tell Informerbot !help is broken for me.
Post by: Khalem on February 09, 2010, 11:00:48 am
I suspect they might have a x chars every x seconds scheme that is more agressive than it was before. There is likely a grace of some sort as well as a "punitive delay" before you go back to grace.

Anyone happen to have contact with any AoC devs?
Title: Re: /tell Informerbot !help is broken for me.
Post by: Yite on February 09, 2010, 11:12:51 am
As it is just the help module (and then only for administrators / people who have access to a lot/all of the commands) I was thinking of having a look at the module and see if it can be rewritten so that:
!help will give a blob with 3 links, one for each tell gc pmsg

Alternatively pmsg refers to private chat groups right? Something AOC doesn't support so there should be no need to send help on that so I guess I could just comment out
Code: [Select]
$window .= "<br><br>" . $this -> get_commands($name, 'pgmsg');To reduce what is being sent back.
Title: Re: /tell Informerbot !help is broken for me.
Post by: Khalem on February 09, 2010, 11:35:05 am
Reworking the help window is one of my major tasks for the 0.7 branch of BeBot. Quite frankly it has evolved into a royal mess as it stands right now.

pgroup links should of course not be shown for AoC as they cannot even use it. Could you submitt a bug report for this as it really is a bug that needs to be fixed?

But i still worry that we will run into this problem later on in some areas as we clearly seem to be triggering AoC flood protection, and the whole idea is that we should never trigger the flood protection (since it also has that bad side effect of disconnecting you from the chat server)
Title: Re: /tell Informerbot !help is broken for me.
Post by: Yite on February 09, 2010, 11:44:19 am
https://bugs.launchpad.net/bebot/+bug/519236
SimplePortal 2.3.7 © 2008-2025, SimplePortal