L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 07, 2008, 05:09:16 AM

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 0.2 support > Topic: Weird bug
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: Weird bug  (Read 1004 times)
0 Members and 1 Guest are viewing this topic.
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Weird bug
« on: June 21, 2007, 12:23:25 AM »

[2007-06-21 04:02:45]   [GROUP] [MSG]   [All Towers] 0: Cyborg Lieutenant Genera
l just attacked the omni organization Transcendence's tower in Perpetual Wastela
nds at location (3796, 2559).

MySQL error (# 0) on query: INSERT INTO tower_attack (time, off_guild, off_side,
 off_player, off_level, off_profession,
                                      def_guild, def_side, zone, x_coord, y_coor
d) VALUES ('1182398566', '', '',
                                      'Cyborg Lieutenant General', '0', 'Unknown
', 'Transcendence', 'Omni',
                                      'Perpetual Wastelands', '3796', '2559')
Data too long for column 'off_player' at row 1

what the heckler ?
Logged

-*tinkers*-
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1052


Re: Weird bug
« Reply #1 on: June 21, 2007, 02:20:25 AM »

off_player can hold 20 letters. The mob name was longer. Anyways, it's no character so I doubt it should be entered into the table anyways.
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 395



Re: Weird bug
« Reply #2 on: June 21, 2007, 10:45:45 AM »

Quote from: Alreadythere on June 21, 2007, 02:20:25 AM
off_player can hold 20 letters. The mob name was longer. Anyways, it's no character so I doubt it should be entered into the table anyways.

Or we should trim the input before inserting as mob attacks on towers happen often enough.
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Weird bug
« Reply #3 on: June 21, 2007, 11:02:40 AM »

Indeed using a charmed mob or a pet to attack is an old trick.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 773



WWW
Re: Weird bug
« Reply #4 on: June 21, 2007, 02:20:53 PM »

easy thing is just make the mysql field bigger
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Weird bug
« Reply #5 on: June 21, 2007, 03:13:10 PM »

And even simpler, just check if its a valid character name (ie, if it contains spaces, its a mob) and if not, insert just NPCMonster as the attacker in the database.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Re: Weird bug
« Reply #6 on: June 22, 2007, 08:26:38 AM »

How about :
[Helpbot]: Moqtada (L 24/AL 0), opifex Fixer, Clan, Applicant of Good Spirits
while my bot goes : www.anarchy-online.com was too slow to respond ? xD
mine goes like that even with my guildies Shocked 2.11 running on 6.0 mysql
Logged

-*tinkers*-
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Weird bug
« Reply #7 on: June 22, 2007, 10:03:59 AM »

Sounds like your bot is unable to connect to Funcom servers at all if you never get a response, you have been blocked by Funcom (not all that likely), or MySQL 6 which is Alpha software is causing issues.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
tonyuh
Rookie
**
Offline Offline

Posts: 48


Re: Weird bug
« Reply #8 on: June 22, 2007, 11:13:23 AM »

I do have that problem sometimes when the character has been created on the same day. So I assume FC's database hasn't been updated to include that char yet.
Logged
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Re: Weird bug
« Reply #9 on: June 22, 2007, 12:15:15 PM »

Nope had same problem with bot pre upgrade to 2.11 and mysql -> 6.0
also then it didnt show who attacked what where, and went completely boinkers when we got attacked
Logged

-*tinkers*-
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 773



WWW
Re: Weird bug
« Reply #10 on: June 22, 2007, 01:21:32 PM »

Maybe ur running Local Whois but arnt Getting Name for ur Local Database?
Logged
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Re: Weird bug
« Reply #11 on: July 05, 2007, 12:12:04 PM »

Quote from: Chris96 on June 22, 2007, 01:21:32 PM
Maybe ur running Local Whois but arnt Getting Name for ur Local Database?
Maybe I'm running what ? It says Anarchy online's database aint working not mine lol
Logged

-*tinkers*-
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Re: Weird bug
« Reply #12 on: July 12, 2007, 04:47:29 AM »

How do I disable Local Whois if that's what my bot is doing ?
Logged

-*tinkers*-
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1052


Re: Weird bug
« Reply #13 on: July 12, 2007, 05:14:21 AM »

If you haven't installed the whois cache module you got no lookup cache at all in 0.2.

Otherwise it does look like you got some connection problems to the FC website.
Logged
Aesgaard
Rookie
**
Offline Offline

Gender: Male
Posts: 73


.:.Alpha.:.


Re: Weird bug
« Reply #14 on: July 12, 2007, 05:35:24 AM »

Does bebot need port forwarding ?
Logged

-*tinkers*-
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.2 support > Topic: Weird bug
« previous next »
 
Jump to:  

Recent
!points
by IKShadow
[Today at 05:00:38 AM]

TWC
by Temar
[Today at 02:49:27 AM]

raid/point system suggest...
by Vain
[October 06, 2008, 08:53:00 PM]

!items database
by cthulhu
[October 05, 2008, 11:36:16 AM]

Supplies needed module
by viper
[October 05, 2008, 11:11:13 AM]

Assist
by Foxy
[October 05, 2008, 05:09:02 AM]

How's 0.5.x coming? Wonde...
by Hyde
[October 04, 2008, 04:59:20 PM]

Org in AoC
by Alreadythere
[October 04, 2008, 04:50:00 AM]

OnlineOrg
by Slacklin
[October 04, 2008, 03:06:00 AM]

Learning .NET, Mono, C#, ...
by Vhab
[October 04, 2008, 02:39:03 AM]
Stats
Members
Total Members: 983
Latest: Titerris
Stats
Total Posts: 10744
Total Topics: 1449
Online Today: 11
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 8
Guests: 49
Total: 57
Csavarkulcs
Mildar
IKShadow
Baja
Karsta
cthulhu
Noer
Wolfbiter

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.181 seconds with 29 queries. (Pretty URLs adds 0.036s, 4q)
Loading...