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: Got a wierd problem here.  (Read 1595 times)

0 Members and 1 Guest are viewing this topic.

Offline locci

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Got a wierd problem here.
« on: November 18, 2005, 04:02:29 pm »
[2005-11-18 15:04:33]   [PGRP]  [MSG]   [bot] me: !member antrim



 (Data too long for column 'guild' at row 1)



[2005-11-18 15:04:33]   [TELL]  [OUT]   -> antrim: me has added you to
the bot.
[2005-11-18 15:04:34]   [BUDDY] [LOG]   Antrim logged [off] (not member)

He is the onlyone that i can't add to the bot.

Can't find the problem ether. Any ideas?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Got a wierd problem here.
« Reply #1 on: November 18, 2005, 04:09:45 pm »
Row one is ID, could be that the ID gets too long on new player - no idea really though.

You could try to run
Code: [Select]
ALTER TABLE `members` CHANGE `id` `id` INT( 15 ) NOT NULL DEFAULT '0' which will add allow 4 more numbers in the IDs.
That's a mysql command, so you need to use it in some mysql client, like phpMyAdmin.

Offline locci

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Got a wierd problem here.
« Reply #2 on: November 18, 2005, 04:24:08 pm »
Still get the same msg

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Got a wierd problem here.
« Reply #3 on: November 18, 2005, 04:30:06 pm »
Actually, the problem is that the guild coloumn only allows 25 characters in the default database (anyone happen to know the real limit on guild names lenght?)

Antrim is a member of "Preservers of the Predators"
Thats a 27 character long name, hence the error.

The solution is to increase the size of the coloumn.
Code: [Select]

ALTER TABLE 'members' CHANGE 'guild' 'guild' VARCHAR(35)


Alternatively, if you are just setting the bot up and it does not yet contain any data in the database, start with a fresh one after making the following change in Rooster_RAID:
Code: [Select]

                guild VARCHAR(25),

Change to:
Code: [Select]

                guild VARCHAR(35),
BeBot Founder and Fixer Kingpin

Offline locci

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Got a wierd problem here.
« Reply #4 on: November 18, 2005, 08:14:27 pm »
Thanks mate..

 

* 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: 682
  • 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