collapse collapse

Menu


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search



* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • Kyr: Quote
    Live free or die.


    March 03, 2010, 03:28:21 AM
  • Kyr: cancel that
    March 03, 2010, 03:27:53 AM
  • Kyr: I never do!
    March 03, 2010, 03:27:41 AM
  • Kyr: I never use it
    March 03, 2010, 03:26:11 AM
  • TBK: nope :P
    March 01, 2010, 10:17:40 PM
  • WeZoN: no one uses this shoutbox ? :P
    February 26, 2010, 07:11:06 AM
  • WeZoN: check out aoc custom modules ^^  alliance chat from Borgan is up
    February 03, 2010, 06:48:24 AM
  • Yite: I see dead people
    February 02, 2010, 06:47:32 AM
  • squattinbull: I love Bebot!
    January 12, 2010, 12:16:03 PM
  • Riccarr: First Shout of 2010! Woohoo!
    January 07, 2010, 01:09:48 PM
  • Shakor: Happy new year!
    December 31, 2009, 01:04:18 PM
  • Shelly: Merry Christmas Everyone!
    December 25, 2009, 09:17:35 PM
  • Iheaca: Happy Christmas to all !
    December 24, 2009, 04:07:01 AM
  • Getrix: Happy xmas everytone! =)
    December 24, 2009, 01:07:49 AM
  • Temar: why does forum keep rolling back
    December 23, 2009, 02:05:48 PM
  • Shakor: Bebot not working for AoC patch 1.06 :)
    December 13, 2009, 06:33:00 PM
  • Khalem: Seems there is something wrong with the dutch language files :\
    December 10, 2009, 06:12:35 AM
  • WeZoN: i thnk you guys should check your footer.php ^^
    December 04, 2009, 08:12:07 AM
  • BongTechnician: O.o
    December 03, 2009, 09:39:54 PM
  • PBbot: Hi
    November 17, 2009, 11:12:10 AM

* Board Stats

  • stats Total Members: 1448
  • stats Total Posts: 14822
  • stats Total Topics: 2016
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

Author Topic: Add User issue  (Read 2634 times)

0 Members and 2 Guests are viewing this topic.

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Add User issue
« on: September 14, 2008, 03:11:44 PM »
I installed version 5.3 using with Age of Conan.

MySQL 4.1.14 and PHP5

Bot seems to work fine, except addition to the bot_user table. Even manual additions are not stored over time. As a result, the !member and !buddylist are always empty (maybe I am wrong on the dependance).

Any clue on what I could have missed, done wrong with installation to have an issue only with the member addition ? (manual and automatic).

Thanks for help.

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #1 on: September 14, 2008, 08:31:51 PM »
MySQL error (# 0) on query:
Scribe [2008-09-15 00:45:27]   [TELL]   [INC]   NAME: !adduser NAME

INSERT INTO scribe_users (char_id, nickname, added_by, added_at, user_level, updated_at)
VALUES (, '', 'NAME', 1221439527, 1, 1221439527)
ON DUPLICATE KEY UPDATE added_by = 'NAME', added_at = 1221439527, user_level=1, updated_at = 1221439527

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', 'NAME', 1221439527, 1, 1221439527) ON DUPLICATE KEY UPDATE added_by = 'D' at line 1

-----------------

This is an error I have in the log file, scribe_users has no entries.

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #2 on: September 15, 2008, 09:59:07 PM »
Nobody has a clue on what the issue could be ?

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
    • Rising Sun
Re: Add User issue
« Reply #3 on: September 16, 2008, 02:24:07 AM »
verify your php and mysql

php --version
mysql --version

and post them here.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Temar

  • Developer
  • ********
  • Posts: 1132
    • AoFiles
Re: Add User issue
« Reply #4 on: September 19, 2008, 07:01:35 AM »
the char_id is missing
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #5 on: September 19, 2008, 11:02:02 AM »
Sorry, for delay, was trvalling back from the US to Europe.

MySQL 4.1.14 and PHP 5.2.6

To me it seems the bot maybe does not identify the peoples and can not get infos on them. Would explain why autoadduser does not work, buddylist and members.

Manually set access rights with caracter name work and are correctly attributed.

So was wondering if there are conditions, like minimum level for the bot or I do not what.

Why would "chard_id" be missing ?
« Last Edit: September 19, 2008, 11:06:12 AM by Iheaca »

Offline Temar

  • Developer
  • ********
  • Posts: 1132
    • AoFiles
Re: Add User issue
« Reply #6 on: September 19, 2008, 03:11:37 PM »
VALUES (, '', 'NAME', 1221439527, 1, 1221439527)

as you cacn see there is nothing before the 1st ,
this means the variable for the char_id is empty when its trying to add
as to why i dont know im just letting you know exactly what the problem is
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #7 on: September 20, 2008, 10:31:00 AM »
Thanks, but as I do not really know the Bebot code, I have no idea on why he would not be able to have that piece of data.

Server is Stygia, a french european server. Is that one not supported ?

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #8 on: September 23, 2008, 05:18:28 AM »
Does anybody have a clue ?

What piece of information could help to identify the issue ?

Note: Using BeBot v0.5.3 released (development version) downloaded here, not the version found on Google.

Thanks for support.
« Last Edit: September 23, 2008, 06:28:23 AM by Iheaca »

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #9 on: September 23, 2008, 11:38:26 AM »
My issue seems strangely similar to that one:

http://bebot.shadow-realm.org/bebot-0-5-support/add-guild-members/

Please let me know what type of info could help to fix this.

Thanks

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
Re: Add User issue
« Reply #10 on: September 23, 2008, 02:36:33 PM »
I too am having this issue with the bot I setup for AoC lastnight.

I checked the mySQL database, and it is not entering any information into the users table. When I add a member, (!adduser Elesar member for example) it is added to the security table, but not to the users table.

This is hindering the functionality of the !online and !members commands to always show 0 players.

PHP version 5.2.6
MySQL version 5.0.51b

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
Re: Add User issue
« Reply #11 on: September 23, 2008, 03:21:12 PM »
I have also noticed that the whois table is empty and never gets written to, the information just gets cached, and when it expires or the bot is reset, it is gone until someone calls for that information again, then they have to issue the command twice, since the first command does not return anything while to bot is gathering information.

I think that there may be an issue with the communication between the core and AoC modules, but I know very very little PHP, so I am hard pressed to see it.

I will keep looking and see if I stumble upon something, but I wouldn't hold my breath if I were you :P

EDIT:
I have noticed that trying to add a character to the buddylist always results in a response tell of "/tell BotName !help"
No information is passed to the database that I can see.

The whois table is now being populated, though I didn't change anything :\
« Last Edit: September 23, 2008, 04:51:15 PM by Elesar1 »

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
Re: Add User issue
« Reply #12 on: September 24, 2008, 09:32:53 AM »
Changed to 0.5.2 Hyborian instead of 0.5.3 and it is working perfectly as far as I can tell.

Offline Alreadythere

  • BeBot Maintainer
  • Administrator
  • ********
  • Posts: 1288
Re: Add User issue
« Reply #13 on: September 24, 2008, 02:02:52 PM »
Finally found time to track this down. Should be fixed in most current version of Security.

The main supported command to add users is !guest add or !member add though ;)
« Last Edit: September 24, 2008, 02:04:53 PM by Alreadythere »

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #14 on: September 24, 2008, 02:11:33 PM »
Thanks trying asap

 


* Recent Posts

AoChatwrapper_Core error by the hundreds by Runemy
[March 11, 2010, 07:44:14 PM]


MOVED: New Commands Module plz :) by Temar
[March 11, 2010, 05:18:21 PM]


Raid armor search module by TBK
[March 11, 2010, 12:32:45 PM]


AOChat Lib for Java by TBK
[March 11, 2010, 12:27:40 PM]


AoC Raid weapon search module by TBK
[March 11, 2010, 08:19:06 AM]


* Who's Online

  • Dot Guests: 13
  • Dot Hidden: 0
  • Dot Users: 6
  • Dot Users Online:

* Forum Staff

Khalem admin Khalem
Administrator
admin Alreadythere
Administrator
Temar gmod Temar
Developer