BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: Organizer 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 :(
-
well i have the same problem on my 2 bots also, so FC must have done something. :(
-
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.
-
Well bot does not recognize player name anymore either in guild chat or if you send tell.
-
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
-
Please Post the Version you are running as 0.6 may be OK from what im learning so far
-
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...
-
branches/0.6 is Stable
the 0.6.0 Release is NOT
its best to get from SVN
-
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.
-
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.
-
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
-
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
-
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
-
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...
-
he prob said that because the line he posted was diferent
this update to AOChat.php has been tested by atleast 2 people
-
Tested with 0.5.3 and worked. Had to remove all members from database tho. When autoadd add them to bot again, everything works ok.
-
you had to remove all the poeple from database?
-
you had to remove all the poeple from database?
Yes. members could do commands, but no one appeared on notify, member or online list. a re-add of members took care of it.
-
did u try !rosterupdate
-
he prob said that because the line he posted was diferent
this update to AOChat.php has been tested by atleast 2 people
Strange, well I and others can chat to the bot again at least, thats correct with latest SVN. Still there are tons of errors (maybe something do with what one just said, had to delete the user DB). The WHOIS table is empty and a rosterupdate does not change that either... so needs further fixing, some errors for each character include e.g.;
Aidbot [GETUNAME] [FAILED] I was unable to get the user name belonging to: 33725180
AND
Aidbot [ERROR] [AOChatWrapper_Core] I was unable to get the user id for user: 'Ahran'
-
once US server come back online i can verify all this and what need to be done (hopefully with out deleteing member list)
-
Soundn good, I'd like to avoid deleting as well, surely it's linked the the issue located. When are the US servers scheduled to go online?
-
I deleted the 'online', 'users' and 'whois'. That fixed it for me.
I didn't try a rosterupdate. We dont have that many members anyway ;)
-
whois and online is fine
user i dont like to delete
it contains ur member list with last seen and some settings too
-
No further fixes yet I presume? Anything you need tested let me know...
-
I'm running version 0.5.3 and updated Sources/AOChat.php as per hewes post and ran a !rosterupdate.
Looks ok so far.
-
I'm also running version 0.5.3 and I changed the line in Hewes post from IBS to IIS and everything is back working properly again. Thanks for this fix. :D
-
Updated AOChat.php and all is well :D
-
Made the update on 0.5.3 all is well
As for it not recognising the notify I just left it overnight and it's slowly re-syncing itself.
Started off the night recognising 3 or 4 out of 15 and by the end it was nearly everyone. I can't see what's triggering the recognition code though.
Buff
-
so any tips how to fix 0.6.0 without downgrade to 0.5.3?
-
Upgrade to 2files according to this topic: http://bebot.link/news-b10/bebot-v0-6-0-released/msg11389/?topicseen#new
This is working with 0.6.0 release.
Tips: Run !rosterupdate after first start
-
Took some tinkering to get all back as it was , but taking fresh 0.6.0 with thos 2 additionaly changed files did the job , w/o tampering with DB
thanks
-
Our BOT is still not working... just checked the latest SVN (clean) and it's not working properly as earlier described. However as someone have pointed out a clean 6.0 release with the two patched files does work.
I'd still like to see the latest SVN get fixed though, don't feel free reverting and merging my custom changes once again!
-
The SVN 0.6 branche is working...
http://svn.shadow-realm.org/svn/BeBot/branches/0.6
As stated in BeBot 0.6.0 topic:
http://bebot.link/news-b10/bebot-v0-6-0-released/msg11389/?topicseen#new
Warning about SVN
In the near future we may be implementing several architectural changes, which may break stuff in SVN.
We'll try to add it to the commit log if we do break stuff, so better check there first before doing an update.
They are rewriting ALOT so latest SVN trunk is not a working version!
-
Basically what geborg said.
While up to the 0.6.0 release running SVN trunk was fairly save the last few months right now we are working on the next line of bebot code. Which include further architectural changes. At one point or another there will be a broken state in SVN. Most likely some fundamental change breaking most/all modules before reworking. The reworking will be done as we want trunk functional too, but it may take a few days in worst cases.
So for the moment running trunk is risky for most people.
All bug-fixes or feature enhancements will end in the 0.6 branch in the near future too. So savest bet is to run the branch code, it will be stable.
-
Okay, I'll get cracking on converting our stuff into 6.0 release then, thanks for the update and details :)
-
0.6 is fully compatible to 0.5.5, in that part there shouldn't be any need to convert anything.
-
So for the moment running trunk is risky for most people.
Allow me to upgrade that:
Running SVN version will be insanity over the next few months.
We are slaying AOChat and 0.8.0 will be radically different in that respect.
However we are attempting to remain compatible most of the time but when you start to change the fundamentals alot of things are expected to break.
-
Have been trying since patch to get this fixed, have reinstalled from scratch, have installed 0.6.0(including file fixes) bla blah, but cant get this to work for me at all.
It will connect to Guild chat, but users come up as "0" instead of names, i've tried clearing the whois, users, online, but this dont help. I cant run a rosterupdate becouse the bot dont recognise me as member, even though i'm set to owner!!
This is driving me nuts, is there a way that will work for me to start again? Each new install seems to give same errors.