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?
December 02, 2008, 12:06:42 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 1118 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: 1085


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: 414



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
********
Online Online

Gender: Male
Posts: 877



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

easy thing is just make the mysql field bigger
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
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
********
Online Online

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
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: 1085


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
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 15
Total: 17
Temar
Elesar1

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