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!
  • Shaidar: haha, sorry about the spam. Was trying to search :D
    August 21, 2010, 10:20:00 AM
  • Drizzurdeen: on holiday
    August 06, 2010, 04:04:41 AM
  • dillinger: Where is Getrixxxxx?? :/
    August 01, 2010, 04:17:36 PM
  • Yite: oh noes
    July 27, 2010, 09:07:27 AM
  • Khalem: Vacation time, expect things to be more quiet than usual for a week or two
    July 26, 2010, 04:26:32 PM
  • WeZoN: neve too late to make you even more nuts ^^
    July 22, 2010, 02:19:47 PM
  • Khalem: I've been nute for years. Too late :)
    July 21, 2010, 01:10:19 PM
  • Glarawyn: Driving you nuts with suggestions yet Khalem?
    July 13, 2010, 11:05:18 PM
  • Tyrence: I can't seem to reply to a thread either.  Says "Database Error"
    July 08, 2010, 11:51:29 AM
  • risenlore: shouty shout
    June 27, 2010, 06:34:06 PM
  • risenlore: yo
    June 27, 2010, 06:33:58 PM
  • ubermensch: i need halp! :P
    June 15, 2010, 06:48:01 AM
  • Getrix: PM bugging again :S waiting tomorrow to reply some ItemDB requests
    June 13, 2010, 04:29:50 PM
  • Yite: for what it's worth I got a PM from someone :)
    June 07, 2010, 04:08:59 AM
  • Khalem: PM's appear to be sent as intended, but for some reason things are timing out. Will investigate tomorrow.
    June 03, 2010, 03:16:59 PM
  • Getrix: Looks like the PM on forum have some problem.. Getting white page when trying to send
    June 02, 2010, 04:11:06 PM
  • Patromonus: not sure of my PM's are working :S
    June 02, 2010, 12:18:55 PM
  • Bhaltair: Yite, you are the best!
    May 19, 2010, 10:53:03 PM
  • Yite: Ah that's not the items (db) module but the gitems (items craftable by guild) you're looking for [url]http://bebot.shadow-realm.org/aoc-0-6-x-customunofficial-modules/items-crafted-by-guild/msg12293/#msg12293[/url]
    May 18, 2010, 03:19:48 AM
  • Bhaltair: I was pretty sure that was doable before. I think that was for gemcutting only.
    May 17, 2010, 09:23:46 PM

* Board Stats

  • stats Total Members: 1633
  • stats Total Posts: 15863
  • stats Total Topics: 2158
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

Author Topic: Add User issue  (Read 2869 times)

0 Members and 3 Guests are viewing this topic.

Offline Iheaca

  • BeBot User
  • **
  • Posts: 29
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: 29
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: 29
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: 1133
    • 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: 29
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: 1133
    • 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: 29
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: 29
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: 29
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
  • BeBot Hero
  • ******
  • 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: 29
Re: Add User issue
« Reply #14 on: September 24, 2008, 02:11:33 PM »
Thanks trying asap

 


* Recent Posts

Autogratz Modul for Verison 0.6.5 by Yite
[Today at 02:42:16 AM]


Online Active Users by Argothep
[September 02, 2010, 05:47:40 PM]


New Central itemDB (!item[s|reg]) by Tsamoonia
[September 02, 2010, 01:10:32 PM]


Changing time by Tsamoonia
[September 02, 2010, 11:25:04 AM]


Autoinvite not working? by lulifuz
[September 02, 2010, 07:18:51 AM]


* Who's Online

  • Dot Guests: 14
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Forum Staff

Khalem admin Khalem
Administrator
Temar gmod Temar
Developer