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 February 28, 2008, 08:24:11 am

Title: PlayerNotes
Post by: Temar on February 28, 2008, 08:24:11 am
Ok a Done alot of Fixing and Stuff
Added Remove instead of ("pretending to remove") :p
Added a list of names that have notes when no subcommand or name put after command

also Updated Whois.php (not required)
to get notes when u do !whois
this 1 is for 0.5.0

also note the !whois.php output is the User is Banned not Blacklisted.

the core/PlayerNotes.php
and modules/PlayerNotesUI.php
should work for 0.5.0 and 0.4.3
Title: Re: PlayerNotes
Post by: Temar on February 28, 2008, 08:27:28 am
This is the modules/whois.php for 0.4.3 with notes output added
Title: Re: PlayerNotes
Post by: Temar on February 28, 2008, 08:31:00 am
These are the SVN patch Files.
Title: Re: PlayerNotes
Post by: clashbot on February 28, 2008, 02:37:18 pm
with that patch you posted before to allow certain .5 mods to work in .4.3, would that also work for the whois that you have posted here, or use only the whois that is version specific?
Title: Re: PlayerNotes
Post by: clashbot on February 28, 2008, 04:09:30 pm
noticed one thing, there is no display when there are no notes in the system when you do !notes. Also when there are notes, it shows who has notes, but when you click on their name, it displays "system message: unknown command O"

Also the help file seems to be nerfed, not sure if it wasn't put in or not...
Title: Re: PlayerNotes
Post by: clashbot on February 28, 2008, 05:01:00 pm
nevermind, it's a bug due to AORC and technically not being in a channel...it works in game..

Title: Re: PlayerNotes
Post by: Temar on February 28, 2008, 09:46:19 pm
yes u can use the 0.5.0 whois
with the support module
and u will need core/whois.php too

posted core/whois.php below

few slight changes are
the ability to disabled XML lookup of whois (good if both sites go down)
Title: Re: PlayerNotes
Post by: Temar on February 28, 2008, 09:50:41 pm
/o does not work in aorc (i wish it did)
Title: Re: PlayerNotes
Post by: Temar on February 29, 2008, 08:34:35 am
Commited to SVN
Title: Re: PlayerNotes
Post by: Glarawyn on March 05, 2008, 03:57:13 am
Huh...so it looks like I finished this for 0.4 on the org bot but forgot to commit it to BeBot SVN before 0.4 release. Whoops.  ;D
Title: Re: PlayerNotes
Post by: Diablo on March 07, 2008, 10:29:00 am
When i do notes to see who has notes it shows banned chars as having notes and when you click on them causes bot to restart. This is on 4.3 bot. Should ban char be showing up on that list?
Title: Re: PlayerNotes
Post by: Blueeagle on March 07, 2008, 11:01:22 am
...causes bot to restart.
Please pay attention to what is output to console as the bot restarts.

That error message is very, very helpful when we attempt to debug the error.
Title: Re: PlayerNotes
Post by: Diablo on March 09, 2008, 12:46:28 am
Sorry bout that when you first do commands notes an array shows up in console window. Then when you click on a anyones notes this error msg comes up.

Code: [Select]
Fatal error: Call to a member function get_uid() on a non-object in /PlayerNotesUI.php on line 214
Title: Re: PlayerNotes
Post by: Temar on March 09, 2008, 04:03:23 am
what version bot do you have?
Title: Re: PlayerNotes
Post by: Temar on March 09, 2008, 04:07:02 am
if u dont have 0.5 then you need this

http://bebot.link/0-4-x-customunofficial-modules/0-5-0_support-php-(so-0-5-0-modules-work)/

would of posted but i think i missed the fact that is was needed
Title: Re: PlayerNotes
Post by: Diablo on March 09, 2008, 06:00:39 am
That fixed the problem. Thank You
SimplePortal 2.3.7 © 2008-2024, SimplePortal