BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: onekman on March 06, 2008, 04:28:40 pm

Title: Points.php
Post by: onekman on March 06, 2008, 04:28:40 pm
Hi,

I'm using the latest version downloaded via SVN. Using latest versions of MySQL/PHP. But it seems I've have small problem.

when I use the command !points add <name> 1 it returns with a tell, that it have added 1 point to <name>.

When I do the !points cmd for the user which got the point added, it just tells me the user got 0 points avaible !.

Also if I check the _raid_points table in the MySQL DB its complete empty.

Are the anyone who experience the same troubles ? or have an idea to figure out whats wrong. Is it possible to debug the modules ?

Title: Re: Points.php
Post by: Blueeagle on March 06, 2008, 05:41:21 pm
You should not put angle brackets around the name.

The syntax is for example
Quote
!points add Blueeagl3
and not
Quote
!points add <Blueeagl3>


Title: Re: Points.php
Post by: Blueeagle on March 06, 2008, 05:49:22 pm
Apperantly this module is somewhat broken as entries in the database table is not created.

I am not sure what the best approach is here, but I do think entries should be created on join.

I do not have time to modify this now, but I will when I get back from work. Expect a solution by 3am CET.

Edit: Unless someone beats me to it. ;)
Title: Re: Points.php
Post by: Blueeagle on March 07, 2008, 04:13:56 am
I thought I had it, but apperantly I didn't.

I'll see if I've got time to try again tomorrow.
SimplePortal 2.3.7 © 2008-2024, SimplePortal