collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: PlayerNotes  (Read 12476 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
PlayerNotes
« 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #1 on: February 28, 2008, 08:27:28 am »
This is the modules/whois.php for 0.4.3 with notes output added

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #2 on: February 28, 2008, 08:31:00 am »
These are the SVN patch Files.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: PlayerNotes
« Reply #3 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?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: PlayerNotes
« Reply #4 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...

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: PlayerNotes
« Reply #5 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..


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #6 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)
« Last Edit: February 29, 2008, 02:38:22 am by Temar »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #7 on: February 28, 2008, 09:50:41 pm »
/o does not work in aorc (i wish it did)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #8 on: February 29, 2008, 08:34:35 am »
Commited to SVN

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: PlayerNotes
« Reply #9 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

Offline Diablo

  • BeBot User
  • **
  • Posts: 67
  • Karma: +0/-0
Re: PlayerNotes
« Reply #10 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?

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: PlayerNotes
« Reply #11 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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Diablo

  • BeBot User
  • **
  • Posts: 67
  • Karma: +0/-0
Re: PlayerNotes
« Reply #12 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
« Last Edit: March 09, 2008, 12:48:35 am by Diablo »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #13 on: March 09, 2008, 04:03:23 am »
what version bot do you have?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: PlayerNotes
« Reply #14 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

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 72
  • 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