BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => 0.5.x Custom/Unofficial Modules => Topic started by: Temar on August 15, 2007, 06:02:13 pm
-
Modified core/OnlineDB.php and modules/Is.php
Removed Disconnect stuff from onlinedb as this conflicts with reinvite
only use for disconnect is if another bot2 uses online list from bot1 the list may not be accurate
Added Reinvite so when bot starts it checks the online list for who was in pgroup , clears online list then invites those that are online still
Added Alt checking to !is
the seen part of !is Requires this OnlineDB.php
Example output is !is
Alt1 is offline, Alt2 is online
Alt1 is offline, last seen at October 2nd, 2007 15:36 on Alt2
-
Updated !is to check Alts, but the updated OnlineDB is required for last seen message
-
gettin this : Fatal error: Call to undefined method Bot::get_uid() in D:\<mybotname\>\modules\Is.php on line 144
:( any ideas ?
-
Those commands are based on the trunk version.
-
my bad, sorry. didnt realized what category i am in.
-
Updated Files to Latest SVN
-
i just completely updated my orgs bot (didnt re-do SQL) and when i try the !is command, it only give the character i did the !is on. Example, i have alts
!is Metaphblade
Metaphblade is offline, last seen at December 5th, 2007 04:47
i am logged on another toon, that is in my alt list, but didnt show in the !is. Did i do something wrong/need to edit some setting?
-
There is a Setting but its on by Default
!set is
make sure the bot knows it ur alt too by doing !alts
i just tested to make sure too
[Leet] Chris05: !is chris96
[Leet] Leetboss: Chris96 is offline, Chris05 is online
-
yup, settings are on....and i have done an !alts. still same thing :( Guess ill try restarting the bot next
edit....restarting didnt help either.
-
well the code looks fine, it works fine for me
i do plan on reviewing the code and making improvement tomorrow anyway so hopefully it will work then
-
ok, ill just wait till then :)
-
done, i have changed the working of it alot so hopefully ur bug is gone
EDIT:Fixed a few Bugs
including what i think ur bug was.
were if your main wasnt on buddy list and wasnt the name u used for !is
the bug would use the name u used for !is and not ur main.