BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Brianich on July 18, 2006, 03:30:09 am

Title: !member xxxxx - halp plz.
Post by: Brianich on July 18, 2006, 03:30:09 am
Heys, Anyone know how to fix problem with !member command?
Problem:
Have Raidbot, then i adding new member and he sending !points bot crashes with Fatal error: Cannot use string offset as an array in modules\Points.php on line 106 :).
If i adding him to raid and giving point bot workig fine after. But this is nightmare if i need add 20 members per time. maybe anyone kto how to fix it?

I'm not php programmer so i need some halp plz

Bebot 0.2.5
Php 5.1.4
sql 5.1
Title: Re: !member xxxxx - halp plz.
Post by: Brianich on July 18, 2006, 01:10:24 pm
so it chashes couse bot adding member with 0 value right? so why bot crashes and dont send "u have 0 Raidpoints"
Title: Re: !member xxxxx - halp plz.
Post by: Khalem on July 18, 2006, 10:58:04 pm
Please download the following two files to replace the versions you have now and let me know if that works:
http://svn.shadow-realm.org/svn/BeBot/branches/0.2/Bot.php
http://svn.shadow-realm.org/svn/BeBot/branches/0.2/modules/Points.php
Title: Re: !member xxxxx - halp plz.
Post by: Khalem on July 19, 2006, 12:18:01 am
Modified the files a bit again to fix an error.
Title: Re: !member xxxxx - halp plz.
Post by: Brianich on July 19, 2006, 05:06:34 am
Fatal error: Call to a member function in_group() on a non-object in C:\bebot\Bot.php on line 230
Title: Re: !member xxxxx - halp plz.
Post by: Brianich on July 19, 2006, 05:17:56 am
using only points.php all works fine now :) big thanks
putted back old bot.php
Title: Re: !member xxxxx - halp plz.
Post by: Khalem on July 20, 2006, 05:47:15 am
Updated Bot.php again. Should work now.
Title: Re: !member xxxxx - halp plz.
Post by: Brianich on July 25, 2006, 07:54:43 pm
Looks like new Bot.php working fine
Title: Re: !member xxxxx - halp plz.
Post by: neongen on July 28, 2006, 05:15:55 pm
hmm can't download bot.php atm  :-\
Title: Re: !member xxxxx - halp plz.
Post by: Naturalistic on July 28, 2006, 09:29:03 pm
You using SVN?
Title: Re: !member xxxxx - halp plz.
Post by: Khalem on July 29, 2006, 04:32:43 pm
SVN is unreachable atm. Trying to find out whats going on.
Title: Re: !member xxxxx - halp plz.
Post by: Naturalistic on July 31, 2006, 06:09:53 pm
Send a tell to your pr0n bot, !shutdown

:P
Title: Re: !member xxxxx - halp plz.
Post by: neongen on August 01, 2006, 08:52:19 am
thx got it now.

look like it works now
SimplePortal 2.3.7 © 2008-2024, SimplePortal