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: Bot not working after todays game patch  (Read 28791 times)

0 Members and 3 Guests are viewing this topic.

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Bot not working after todays game patch
« on: December 03, 2008, 10:47:29 am »
The Bot is running 0.56 and was running (restarting every minutes) from the downtime to realms came back online. At the first run after it managed to start again I believe I got 20-30 messages as below, then after closing the window and starting the bot again there are no error messages and everything seems to load correct!

[AOChatWrapper_Core]    No user specified

When trying to send a command all responses are " I only listen to members of this bot." and the Bot shows the following in console:

[ERROR]  [AOChatWrapper_Core]    No user specified

The error is no surprise due to the fact that the table WHOIS in the DB in completely empty and even setting the cron for to 1min instead of 24h in the roster*php does not help getting the whois populated again. So nobody, including me (owner) can't talk to the bot in-game, and I can't trigger the in-game !rosterupdate...

Any ideas on what I can do? The rest of the DB, including USERS table looks to be all fine, I don't see any problems and the bot seems to load everything as usual with no errors... I am presuming something crashed during the downtime and that it has nothing to do with Funcom's update of course, none the less got no clue atm.

Help and tips are welcome :)

*update* did a check/repair of the whole DB but all was OK :(
« Last Edit: December 03, 2008, 11:17:04 am by Organizer »

Offline Sudoka

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #1 on: December 03, 2008, 11:32:38 am »
well i have the same problem on my 2 bots also, so FC must have done something.  :(

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #2 on: December 03, 2008, 11:38:24 am »
Thanks for posting Sudoka, that information surprised me... but at least explains. I really hope whatever they did require a minor change, but I can't understand what in such a patch should mess up things (typical Funcom though). We need help from the experts...


*EDIT*
Note! The bot still responds to e.g. our guild information script, where ANONYMOUS access is allowed to communicate. Everything else is not working due to I presume the WHOIS table failing to populate!

*EDIT*
Adding myself to the WHOIS table manually does not help at all. So what affect that part also affect checking against it for know members/users as far as I can see.
« Last Edit: December 03, 2008, 12:39:50 pm by Organizer »

Offline IKShadow

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #3 on: December 03, 2008, 02:52:57 pm »
Well bot does not recognize player name anymore either in guild chat or if you send tell.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #4 on: December 03, 2008, 03:13:37 pm »
Did not shutdown my 0.6.0 bot when the patch was going on.
It was disconnected and back online when i was back from work today.
Cant see any problem atm. Online/offline is working as before.
Connected to Soulstorm PVP EU
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Bot not working after todays game patch
« Reply #5 on: December 03, 2008, 03:15:18 pm »
Please Post the Version you are running as 0.6 may be OK from what im learning so far

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #6 on: December 03, 2008, 03:23:00 pm »
As posted in the first post 0.56, I'll try to upgrade to 6.0 somehow, lot of customs so need to be careful :) I'll post the results...

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Bot not working after todays game patch
« Reply #7 on: December 03, 2008, 03:27:22 pm »
branches/0.6 is Stable
the 0.6.0 Release is NOT
its best to get from SVN

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #8 on: December 03, 2008, 04:00:36 pm »
Updated to latest SVN and copied over all changed files to my live bot folder and the WHOIS table is still empty. So whatever Funcom's patch did the latest SVN don' fix it. Also confirmed issues with other Bot owners of Dagon EU... don't know their versions though.

The only change at the moment is that some CRON tasks from several modules executed directly (even if they are supposed to be on a pretty huge delay after a restart). Could be caused by some change from 5.6 to latest SVN I guess, and that there is an error message in the console saying [ERROR]  [AOChatWrapper_Core]    I was unable to get the user id for user: 'Aidbot' <- name of our the bot in this case!

Also started the Bot without any Customs, same result, so that's not what breaks it either.
« Last Edit: December 03, 2008, 04:28:43 pm by Organizer »

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #9 on: December 03, 2008, 04:35:36 pm »
Im sorry, but looks like i was to quick to tell 0.6.0 was working prober.
When more ppl are joining today it looks like i got same problem.

Thinking about the changes i know they did today, preparing for Server merges something come up in my minde.
They may have changed players ID, if there are two of same name on two different servers...
I got 2 chars with same nick on two different Realms. On the bot realms this char is broken, but not one of my other chars...


[ERROR]        [AOChatWrapper_Core]    No user specified MySQL error (# 0) on query: SELECT value, module, name FROM botname_preferences AS t1 JOIN botname_preferences_def AS t2 ON t1.pref_ID = t2.ID WHERE owner= You have an error in your SQL syntax; check the manual that corresponds to yourMySQL server version for the right syntax to use near '' at line 1
[ERROR]        [AOChatWrapper_Core]    No user specified
[Whois]        [Update]         had an invalid user ID! UID:
[ERROR]        [AOChatWrapper_Core]    No user specified


EDIT1:
Removed my bots char and added a fresh one without buddies added same problem.
« Last Edit: December 03, 2008, 04:50:16 pm by gerborg »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline hewes

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #10 on: December 03, 2008, 05:22:29 pm »
I've been busy heacily editing my version of bebot, so I've a reasonable idea of how it works.

I'm trying to get mine working, but FAO any official bebot developer looking here, the reason bebot isn't working is that they seem to have changed the reply to a client name query.

Specifically

 (in aoc packet wrapper)

AOCP_CLIENT_NAME => array("name"=>"Client Name", "args"=>"IBS")

change it to

AOCP_CLIENT_NAME => array("name"=>"Client Name", "args"=>"IIS")

having updated that in my bot (currently running 0.5.3) it now works fine

edit: this doesn't work on newer versions, however the fix should be approximately the same. I'm looking over the code of the new version now
« Last Edit: December 03, 2008, 05:52:05 pm by hewes »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Bot not working after todays game patch
« Reply #11 on: December 03, 2008, 06:21:41 pm »
This Fix has been Tested and Altho diferent due to AO and AOC compatability the change was the same IBS to IIS for AOCP_CLIENT_NAME
this has been commited and all should get an update from

http://svn.shadow-realm.org/index.py/BeBot/branches/0.6/Sources/AOChat.php?view=co
« Last Edit: December 03, 2008, 06:26:11 pm by Temar »

Offline hewes

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #12 on: December 03, 2008, 06:36:48 pm »
looks like they have changed some more things as well, my bot isn't getting or understanding the buddy notifications.

I've not got time right this second to find the correct arg value you require.

if you've not posted an update when I've finished some personal stuff (dad comming around for dinner lol), I'll try and find out what need to be done, and post a follow up

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not working after todays game patch
« Reply #13 on: December 03, 2008, 06:39:36 pm »
Temar; as hews say in his edit, the change does not work for latest SVN build and I can confirm that as well (running latest now). Still getting unable to get user ID for Botname during startup, as well as an empty WHOIS table and maybe more as hewes just posted about...

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Bot not working after todays game patch
« Reply #14 on: December 03, 2008, 06:44:52 pm »
he prob said that because the line he posted was diferent
this update to AOChat.php has been tested by atleast 2 people

 

* 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: 333
  • 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