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: -1 appearing randomly  (Read 2602 times)

0 Members and 1 Guest are viewing this topic.

Offline GBH

  • BeBot Hero
  • ******
  • Posts: 69
  • Karma: +0/-0
-1 appearing randomly
« on: May 23, 2009, 02:05:52 pm »
Hi,

For some reason I randomly get names of members changing from what they've always been to -1. This means when they log on the logon sees them as "-1" and any tells to the bot get ignored as not being from a member the bot knows. I have no idea why it does it or what conditions cause it but it is pretty annoying. I'm also not completely sure how to rectify it. I go through the Db and delete all the records with -1 in them and eventually things seem to resync.

Any ideas whats causing it and how I can avoid it?

G

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: -1 appearing randomly
« Reply #1 on: May 26, 2009, 08:12:51 am »
Happens to me as well.. But I don't know of any fix. :/

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: -1 appearing randomly
« Reply #2 on: May 26, 2009, 05:07:41 pm »
It would be nice to have some more details on this issue.

Could you provide an example of a database row in which this has happened?
Also, if you search the bot's log or console output for the proper character name are there any clues in the log towards what might have happened?
Which version of the bot are you running? Is the code modified in any ways? Do you have any third party mods?
BeBot Founder and Fixer Kingpin

Offline GBH

  • BeBot Hero
  • ******
  • Posts: 69
  • Karma: +0/-0
Re: -1 appearing randomly
« Reply #3 on: May 26, 2009, 08:29:30 pm »
Yes sorry I wasn't sure what details you'd want but I should have given more than I did.

Game is AoC
Bot is 0.6.2 and there are some custom modules running but nothing out of the ordianary (Deot, ginfo, guides, homer, love, mpython, mquote, rquote, supplies and trek)
PHP 5.2.6
MySql 5.0

Code: [Select]
Database row from whois looks like this
+-----------+--------------+-------+-----------------+-------------+-------------+------------+--------+------+-------------+----------+----------+------------+
| ID        | nickname     | level | class           | craft1      | craft2      | location   | online | used | org_rank_id | org_rank | org_name | updated    |
+-----------+--------------+-------+-----------------+-------------+-------------+------------+--------+------+-------------+----------+----------+------------+
|  33571282 | -1           |    80 | Assassin        |             |             | 1243246464 |      0 |    0 |           0 |        0 |          | 1243246617 |

Code: [Select]
+-------------+---------------+-----------+----------------------+-----------+----------------------+----------+-------+
| nickname    | botname       | status_gc | status_gc_changetime | status_pg | status_pg_changetime | reinvite | level |
+-------------+---------------+-----------+----------------------+-----------+----------------------+----------+-------+
| -1          | Sancbot       |         0 |           1243246257 |         0 |                    0 |        0 |     0 |


The entry in the users table is strangely correct though.
Unfortunately I don't have the capture from the login and as I mentioned it sort of rights itself once I've deleted the database entries.

From the log you get this

[GROUP]   [MSG]   [Sancturay] Sancbot: "-1" (Lvl 80 Assassin) Logged On :: Alt of 33725007 :: [link]Details[/link]

and when I sent a tell to the bot you get

[TELL]   [INC]   -1: !guides ventrilo
[TELL]   [OUT]   -> 33725007:  Guide :ventrilo: [link]click to view[/link]

The bot complains when the error happens (which is the capture I don't have) that it could not find the details for use <number>.

It's not even the same user who I get the issues with, it changes.

So hope that helps. Anything else you need I'll try help.

Offline GBH

  • BeBot Hero
  • ******
  • Posts: 69
  • Karma: +0/-0
Re: -1 appearing randomly
« Reply #4 on: May 28, 2009, 08:33:48 pm »
So any ideas with my problem?

Thanks

GBH

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: -1 appearing randomly
« Reply #5 on: May 28, 2009, 10:29:08 pm »
I'm assuming that it might actually be some error occuring on the server side or somesuch.

We currently have no devs playing AoC which makes it hard to actually test this.

A workaround and also probably a debugging version of the bot could be used to help narrow down the issue.
BeBot Founder and Fixer Kingpin

 

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