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 Elesar1

  • BeBot User
  • **
  • 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 »

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
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.

Offline Alreadythere

  • BeBot Maintainer
  • Administrator
  • ********
  • Posts: 1288
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.

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
Re: Add User issue
« Reply #33 on: September 27, 2008, 04:54:22 AM »
Oups sorry, indeed missed one.

Fixing asap. thanks

Offline Iheaca

  • BeBot User
  • **
  • Posts: 26
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)!

Offline Elesar1

  • BeBot User
  • **
  • 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.

Offline Elesar1

  • BeBot User
  • **
  • 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Ā  ;D

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 :P
« Last Edit: September 27, 2008, 11:43:07 AM by Elesar1 »

 


* 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