BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: Elesar1 on September 27, 2008, 09:10:03 pm

Title: 0.5.3 Issues in AoC
Post by: Elesar1 on September 27, 2008, 09:10:03 pm
This is going to be a list of all issues that I find with the bot in AoC.
Not really a complaint as much as a cumulative post so that people know what is not working, and we can hopefully find some answers to.

This is 0.5.3 with These Changes (http://bebot.link/aoc-support/add-user-issue/msg10899/#msg10899)
Also using the Ventrilo Info (http://bebot.link/aoc-modules/ported-modules/?action=dlattach;attach=742) and Script (http://bebot.link/aoc-modules/script-module/msg10381/#msg10381) modules.

1. Autouseradd - Currently does not function. Members must be manually input to the bot.
    Fixed : modules/aoc/Autouseradd.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/Autouseradd.php?view=co)
2. !quote - Crashes the bot, bot restarts.
    Fixed : modules/aoc/Quotes.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/Quotes.php?view=co)
3. !say - Does not work in /tell, cannot announce things to alliance guilds through their bot (I am the owner of their bot).
    Fixed : modules/Say.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Say.php?view=co)
4. !whois - Does not show crafting information on players that have it set.
    Fixed : modules/aoc/craftclasses.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/craftclasses.php?view=co)

There is also a lack of information on how to setup the ChatRelay using the DataBase method. I would like to attempt this, but don't know where to start. Also, AoC does not have privategroup channels, so I don't think that I could do an IRC relay.

Any help would be greatly appreciated. I will update the list with more issues and/or fixes as I find them.
Title: Re: 0.5.3 Issues in AoC
Post by: Alreadythere on September 28, 2008, 11:28:50 am
Let's give autouseradd another try...

New version: modules/aoc/Autouseradd.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/Autouseradd.php?view=co)
Title: Re: 0.5.3 Issues in AoC
Post by: Alreadythere on September 28, 2008, 12:08:06 pm
2. !quote - Crashes the bot, bot restarts.
3. !say - Does not work in /tell, cannot announce things to alliance guilds through their bot (I am the owner of their bot).
Please provide some more information about the quote crash, looking at the code I can't find any obvious error. If the bot crashes there should be some error output on the console or in php_errors.txt if you got that enabled.

I've modified the Say module, in the old state it wasn't supposed to sent output to org when called in tells. In the new version you can define the behaviour via setting now.
New version: modules/Say.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Say.php?view=co)
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 28, 2008, 02:09:07 pm
wow, thanks :D

Updating with the two fixes posted.

I will look for the errors on the !quote crash, or enable logging and call the command to try and catch it.
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 28, 2008, 02:37:41 pm
Autouseradd - Is working, thank you.
!whois - Does show crafting information after a player either re-logs, levels, or changes instances/zones, or the bot is restarted.
!quote - appears to be ok for now. I did not have error logging on when it was crashing the bot. I will keep an eye out for it.

!say - Always results in "/tell botname !help" now.
Title: Re: 0.5.3 Issues in AoC
Post by: Alreadythere on September 28, 2008, 03:08:13 pm
Redownload Say.php for a new version.
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 28, 2008, 03:49:51 pm
About to raid, will try later today. Thanks for all your help :D
Title: Re: 0.5.3 Issues in AoC
Post by: Alreadythere on September 28, 2008, 11:02:41 pm
Updated !setcraft and !quotes modules.

In modules/aoc/Quotes.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/Quotes.php?view=co) there weren't any functional changes, just added support for table prefixes.

!setcraft now updates the whois table too, so any info should show up on !whois at once.
New file: modules/aoc/craftclasses.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/aoc/craftclasses.php?view=co)
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 29, 2008, 12:01:28 am
Updated the three modules.

!say is now generating an error that is pointing toward it not loading properly.
Code: [Select]
[TELL] [INC] Elesar: !say testing testing....
[CORE] [ERROR] Module 'setting' does not exist of is not loaded.
[ERROR] [setting] Undefined function get(Say, OutputChannel)!
[CORE] [ERROR] Module 'setting' does not exist of is not loaded.
[ERROR] [setting] Undefined function get(Say, OutputChannel)!
[OUTPUT] [ERROR] Broken plugin, type: [error:  ]the module [setting] returned the error [undefined function get(say, outputchannel)!] is unknown to me; source: Elesar, message: say testing testing....
Title: Re: 0.5.3 Issues in AoC
Post by: Temar on September 29, 2008, 02:28:51 am
should be settings not setting redownload i have fixed it
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 29, 2008, 05:24:58 am
Ok, updated and working...kinda.

It functions properly except that the word "say" is at the start of anything that it says.
Title: Re: 0.5.3 Issues in AoC
Post by: Temar on September 29, 2008, 06:56:56 am
done
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 29, 2008, 05:40:55 pm
Latest version of say is back to responding with "/tell botname !help"
Title: Re: 0.5.3 Issues in AoC
Post by: Alreadythere on September 29, 2008, 06:16:34 pm
Try again please.
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 30, 2008, 06:50:17 am
Updating the Say file now.

Any hints on how to setup a DB relay for AoC? Does this method require a pgroup channel?

EDIT:
Say works perfectly now. Thank you all.

For the ChatRelay, I looked at This Wiki Doc (http://bebot.link/wiki/org_relay), but it doesn't seem to be up to date with 0.5.3, as I don't see a good deal of the settings described there.
Title: Re: 0.5.3 Issues in AoC
Post by: Temar on September 30, 2008, 07:29:33 am
DB works very similar to privgroup relay
you need to set the bots to have access to !grc command in extprivgroup
this is so DB support more complex relaying like org1 <=> org2 <=> org3 but org1 and 3 dont relay
but yer it all mostly the same like turn relay on etc as you would with privgroup but u set as DB instead.
Title: Re: 0.5.3 Issues in AoC
Post by: IKShadow on September 30, 2008, 12:30:49 pm
So does the bot works now in AoC ?
I rolled back to bebot hyborian because autouser add did not work and there were wierd things when you use !member add nick.
Title: Re: 0.5.3 Issues in AoC
Post by: Temar on September 30, 2008, 02:55:49 pm
far as i know yes alreadythere has been fixiing it
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on September 30, 2008, 03:37:00 pm
With the changes listed on the first page, it should work fine.

Servers are down for an update atm. I may have a chance to try out the relay when they are back up, but I won't have much time to do so.
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on October 01, 2008, 02:06:47 am
I am still using 0.5.3 for the moment, but this morning when I tried to setup a relay, I could not find any place in the settings, online, or relay pages to actually enable the relay or select which type to use.

I also noticed that !grc is not a valid command on my bots, so I couldn't just call a help file to get the proper syntax for enabling the relay by command line input.
Title: Re: 0.5.3 Issues in AoC
Post by: Temar on October 01, 2008, 03:23:53 am
ah i think relay was disabled in the aoc only version so when i merged i kept it the same
u should find Relay.php inside /modules/ao/
simply move it to /modules/ and it will load
Title: Re: 0.5.3 Issues in AoC
Post by: Elesar1 on October 01, 2008, 04:00:57 am
Will try in about an hour or so when I get home from work.

May take a bit for me to get it up, but I should have it by morning, will post any questions I get :D

Thanks again for all your help.
SimplePortal 2.3.7 © 2008-2024, SimplePortal