HOME FORUM
* *

Content

  •    Links
  •        Downloads
  •        Bugtracker
  •        Code repository
  •        Documentation (Wiki)

User

Welcome, Guest. Please login or register.
Did you miss your activation email?
July 04, 2009, 06:15:07 PM

Login with username, password and session length

Search




Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot Hyborian support > Topic: Add User issue
Pages: 1 2 [3]   Go Down
« previous next »
Print
Author Topic: Add User issue  (Read 2067 times)
0 Members and 1 Guest are viewing this topic.
Elesar1
Rookie
**
Offline Offline

Posts: 47


Re: Add User issue
« Reply #30 on: September 26, 2008, 06:02:03 PM »

The Botname.Module.ini file is generated on first start, so off of a clean install, it is not there.

I just checked the 03_Security.php file, and the <?php and ?> tags are in place.

I'm still not to familiar with the way the bot loads up the different modules. Is there a hard-coded place that is supposed to load the security file? If so, I can check that for a typo or syntax error, but that is all I will know to look for, as I am just starting to learn PHP.

Iheaca:
Is this working for you now? Or are you getting pretty much the same issues that I am?
« Last Edit: September 26, 2008, 06:04:59 PM by Elesar1 » Logged
Iheaca
Rookie
**
Offline Offline

Posts: 23


Re: Add User issue
« Reply #31 on: September 26, 2008, 09:28:16 PM »


the bot did not ban me, but it does not change the situation versus prior version.

I can still add members by giving twice the !member add name command.

I am looking into the 5.2 Hyborian version to understand what this could be and why 5.2 works and not 5.3

Checked all errors in Logs ---

------------ Error while Booting
BotName [2008-09-17 08:39:09]   [MOD]   [LOAD]   Autouseradd.php
BotName [2008-09-17 08:39:09]   [SETTINGS]   [SAVED]   Set table_version for module Blacklist to 0
MySQL error (# 0) on query: ALTER TABLE BotName_blacklist ADD noteid INT NOT NULL
Duplicate column name 'noteid'
MySQL error (# 0) on query: ALTER TABLE BotName_blacklist ADD expire INT UNSIGNED DEFAULT 0
Duplicate column name 'expire'
BotName [2008-09-17 08:39:09]   [BLACKLIST]   [UPDATE]   Updated blacklist table to version 1.
BotName [2008-09-17 08:39:09]   [SETTINGS]   [SAVED]   table_version for module Blacklist set to 1 as datatype int
MySQL error (# 0) on query: ALTER TABLE BotName_blacklist ADD INDEX expire (expire)
Duplicate key name 'expire'
BotName [2008-09-17 08:39:09]   [BLACKLIST]   [UPDATE]   Updated blacklist table to version 2.
BotName [2008-09-17 08:39:09]   [SETTINGS]   [SAVED]   table_version for module Blacklist set to 2 as datatype int
BotName [2008-09-17 08:39:09]   [SETTINGS]   [SAVED]   table_version for module Blacklist set to 2 as datatype int
BotName [2008-09-17 08:39:09]   [BLACKLIST]   [UPDATE]   Blacklist table update complete.
BotName [2008-09-17 08:39:09]   [MOD]   [LOAD]   Blacklist.php
--------------
BotName [2008-09-24 19:19:22]   [ERROR]   [AOChatWrapper_Core]   No user specified
-------------- When adding a Member
BotName [2008-09-25 22:03:13]   [TELL]   [INC]   AdminName: !member add PlayerName
BotName [2008-09-25 22:03:13]   [BUDDY]   [BUDDY-ADD]   PlayerName
MySQL error (# 0) on query: INSERT INTO BotName_users (char_id, nickname, added_by, added_at, user_level, notify) VALUES('', '', 'AdminName', '1222380193', '2', '1')
Duplicate entry '0' for key 2
BotName [2008-09-25 22:03:13]   [TELL]   [OUT]   -> PlayerName: AdminName has added you to the bot.
BotName [2008-09-25 22:03:13]   [TELL]   [OUT]   -> AdminName: Player PlayerName has been added to the bot as a member
BotName [2008-09-25 22:03:18]   [TELL]   [INC]   AdminName: !member add PlayerName
BotName [2008-09-25 22:03:18]   [BUDDY]   [BUDDY-ADD]   PlayerName
BotName [2008-09-25 22:03:18]   [TELL]   [OUT]   -> PlayerName: AdminName has added you to the bot.
BotName [2008-09-25 22:03:18]   [TELL]   [OUT]   -> AdminName: Player PlayerName has been added to the bot as a member
BotName [2008-09-25 22:03:22]   [TELL]   [INC]   AdminName: !member add PlayerName
BotName [2008-09-25 22:03:22]   [TELL]   [OUT]   -> AdminName: PlayerName is already a member.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1251


Re: Add User issue
« Reply #32 on: September 27, 2008, 04:19:49 AM »

Did you use all 3 new updated files?

main/03_Security.php
core/User.php
modules/aoc/Autouseradd.php

Because I think the bug with !member add should be fixed.
Logged
Iheaca
Rookie
**
Offline Offline

Posts: 23


Re: Add User issue
« Reply #33 on: September 27, 2008, 04:54:22 AM »

Oups sorry, indeed missed one.

Fixing asap. thanks
Logged
Iheaca
Rookie
**
Offline Offline

Posts: 23


Re: Add User issue
« Reply #34 on: September 27, 2008, 05:13:32 AM »

Updated and tester !member add

Works fine now. Thank you very much for your support !
I will check if autoadd users works.

Check also Logs, I do not have the same error mentioned.

[CORE] [ERROR] Module 'security' does not exist or is not loaded.
[ERROR] [security] Undefined function cache_mgr(del,maincache,0)!
Logged
Elesar1
Rookie
**
Offline Offline

Posts: 47


Re: Add User issue
« Reply #35 on: September 27, 2008, 08:51:24 AM »

I will try and new download again, fresh DB and updated modules. Will notify of any changes to my current status.
Logged
Elesar1
Rookie
**
Offline Offline

Posts: 47


Re: Add User issue
« Reply #36 on: September 27, 2008, 09:03:48 AM »

Well, no auto-banning, but also no auto adding. Will check my config again and see what is going on.

Thanks for all the support that you have provided so farĀ  Grin

UPDATE:
The !say command will not work if sent by tell. This would be useful for my second bot that I am running in an Ally guild's chat.
The !quote command crashes the bot.

Now if I can just figure out how to get the DB ChatRelay working, I would be set other than the three current issues Tongue
« Last Edit: September 27, 2008, 11:43:07 AM by Elesar1 » Logged
Pages: 1 2 [3]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot Hyborian support > Topic: Add User issue
« previous next »
 
Jump to:  

Recent

  • bind module to group? by Alreadythere [Today at 06:07:10 PM]
  • multiple bots on one acco... by WeZoN [Today at 04:52:37 PM]
  • No Auto-notify for new Me... by Wolfbiter [Today at 12:04:14 PM]
  • Player Quotes by clashbot [Today at 09:53:22 AM]
  • Quotes module by clashbot [Today at 09:44:54 AM]
  • unable to load by Khalem [Today at 09:01:07 AM]
  • Bebot 6.3 installation pr... by Gridsurge [Today at 05:58:27 AM]
  • Installing v0.6.3 by Vulkor [Today at 12:34:46 AM]
  • AoC and Patch 1.05 by Apollyon [July 03, 2009, 10:00:56 PM]
  • !items error now by Rekkx [July 03, 2009, 07:29:43 PM]

Stats

Members
  • Total Members: 1225
  • Latest: Apollyon
Stats
  • Total Posts: 12812
  • Total Topics: 1743
  • Online Today: 29
  • Online Ever: 168
  • (July 01, 2007, 09:30:02 PM)
Users Online
Users: 6
Guests: 17
Total: 23
WeZoN
DJKRose
Crazy
Gridsurge
TinyPortal v1.0 beta 3 © Bloc

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
| NewDef design by Bloc
Page created in 1.224 seconds with 36 queries. (Pretty URLs adds 0.037s, 4q)
Loading...