BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Snarfblatt on August 15, 2007, 04:33:09 am
-
Ok.. I don't think I'm that big of an idiot, but it seems to me that my calc command doesn't work. When the bot starts, there are no errors indicated when the calc.php module loads. But I don't see any calc command in the !help and !calc responds with "/tell bot !help".
-
check !commands
it should be on that list and see what the access level is
-
I know it should be there.. but it isn't. Its as if the module isn't even there.
-
sounds like it isnt being loaded then
look at console when bot boots up and look at the list to see if it is there
also make sure it is there and doesnt have a _ in front fo filename :D
and what version? 0.4.1?
-
I checked the loading of the modules... it is listed for sure. And yes, this is 0.4.1
-
I replaced the calc module with the one from 0.2.x and it works now.. go figure.
-
well i just downloaded the 0.4.1 and looked at it and there is a problem with it :p
*/ is missing from the top text
if you want to get 0.4.1 again edit it and add */ on line 35 and that will fix it
or get SVN calc.php
(http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Calc.php?view=log)
-
Yup.. I see it. This is why I shouldn't look at code that late at night. Always miss those silly syntax errors. :)
-
Fixed in 4.1 (already was fixed in trunk).
-
I'm running 4.1 (just installed today) and mine doesnt work either ???
-
well i just downloaded the 0.4.1 and looked at it and there is a problem with it :p
*/ is missing from the top text
if you want to get 0.4.1 again edit it and add */ on line 35 and that will fix it
or get SVN calc.php
(http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Calc.php?view=log)
Please read topic as a fix is already in it :p
-
No offense, I'm an idiot, but where is line 35? Do I just count down from top as line one and insert directly into line 35 ? :p
-
* Revision: $Id: Calc.php 818 2007-07-25 19:09:30Z shadowmaster $
change to
* Revision: $Id: Calc.php 818 2007-07-25 19:09:30Z shadowmaster $
*/
-
ยด??Betacom [2007-08-23 14:29:55] [MOD] [LOAD] Calc.php
Not sure I did this right ? got some weird spam infront, would you mind posting the entire file all text+corrected text to be copy/pasted into calc.php please ?
-
This is 0.4.1 Calc.php with the Fix
-
SVN (http://svn.shadow-realm.org/index.py/BeBot/branches/0.4/modules/Calc.php?revision=915) version, save as .php into your module directory.
-
This is 0.4.1 Calc.php with the Fix
Thank you very much :D
Worked perfectly to the total enjoyment of my org members :D