collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Add User issue  (Read 10328 times)

0 Members and 1 Guest are viewing this topic.

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
Re: Add User issue
« Reply #30 on: September 27, 2008, 01:02:03 am »
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 27, 2008, 01:04:59 am by Elesar1 »

Offline Iheaca

  • BeBot User
  • **
  • Posts: 33
  • Karma: +0/-0
Re: Add User issue
« Reply #31 on: September 27, 2008, 04:28:16 am »

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
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Add User issue
« Reply #32 on: September 27, 2008, 11: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: 33
  • Karma: +0/-0
Re: Add User issue
« Reply #33 on: September 27, 2008, 11:54:22 am »
Oups sorry, indeed missed one.

Fixing asap. thanks

Offline Iheaca

  • BeBot User
  • **
  • Posts: 33
  • Karma: +0/-0
Re: Add User issue
« Reply #34 on: September 27, 2008, 12:13:32 pm »
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
  • Karma: +0/-0
Re: Add User issue
« Reply #35 on: September 27, 2008, 03:51:24 pm »
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
  • Karma: +0/-0
Re: Add User issue
« Reply #36 on: September 27, 2008, 04:03:48 pm »
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, 06:43:07 pm by Elesar1 »

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 622
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal