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

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

Author Topic: Deleting members that don't exist anymore  (Read 2656 times)

0 Members and 1 Guest are viewing this topic.

Offline MysterF

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Deleting members that don't exist anymore
« on: March 31, 2009, 11:17:56 am »
As the thread sayz lately some of the members start deleting old chars before I had a chance to remove them from bot.

Now I got the following error:

Code: [Select]
MyBOT [ERROR]       [AOChatWrapper_Core]    I was unable to get the user id
for user: 'blablabla'

I tried to delete  the member name  from bot member  list but still the error is there.
Is there anyway i can do it from bot commands or I need to do SQL surgery :P?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Deleting members that don't exist anymore
« Reply #1 on: April 02, 2009, 05:29:26 pm »
Right now there is no command to remove an entry of the member list.

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Deleting members that don't exist anymore
« Reply #2 on: April 02, 2009, 08:51:32 pm »
Hi m8, place the attached file in your /custom/modules/ folder and use the command in game to delete any user from your DB without further check or warnings. It deletes from USERS table only!

/tell botname deleteuser <username>

Note! Bebot itself normally don't delete FYI, it only marks the character as deleted. This script actually deletes the player from the DB. Should not cause any issue, though have in mind if you have used the Alt/Main system there might be references that are sort of trash data here and there.
« Last Edit: April 03, 2009, 12:56:07 am by Organizer »

Offline MysterF

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: Deleting members that don't exist anymore
« Reply #3 on: April 03, 2009, 03:18:58 pm »
Ty mate!
 I'm testing it right  now, will reply  later with an edit if worked or not.

LATER EDIT: WORKS  GREAT
Will make further tests but I think this can be sticky  it releases the bot  from lot of useless info -)
yes but you can use altadmin to delete the inexisting alt from list then use !deleteuser
« Last Edit: April 03, 2009, 03:47:18 pm by MysterF »

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Deleting members that don't exist anymore
« Reply #4 on: April 03, 2009, 08:25:54 pm »
Sure you can, that said there could be raid points and other tables as well... none the less I've deleted before like this and not had any real issues with that. Been using the bot since 10+ months or so now...

Offline Vulkor

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: Deleting members that don't exist anymore
« Reply #5 on: April 14, 2009, 02:52:16 am »
It Kinda Works, I can still do a !whois Command

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 209
  • 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