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
-
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
-
so it chashes couse bot adding member with 0 value right? so why bot crashes and dont send "u have 0 Raidpoints"
-
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
-
Modified the files a bit again to fix an error.
-
Fatal error: Call to a member function in_group() on a non-object in C:\bebot\Bot.php on line 230
-
using only points.php all works fine now :) big thanks
putted back old bot.php
-
Updated Bot.php again. Should work now.
-
Looks like new Bot.php working fine
-
hmm can't download bot.php atm :-\
-
You using SVN?
-
SVN is unreachable atm. Trying to find out whats going on.
-
Send a tell to your pr0n bot, !shutdown
:P
-
thx got it now.
look like it works now