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?
August 29, 2008, 08:21:17 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Information > News > Topic: BeBot v0.2.10 released
Pages: [1]   Go Down
« previous next »
Print
Author Topic: BeBot v0.2.10 released  (Read 1063 times)
0 Members and 1 Guest are viewing this topic.
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
BeBot v0.2.10 released
« on: November 30, 2006, 03:40:16 PM »

This is a major maintenance and bugfix release which primarily addresses the character lookup problems due to character id's now being 2^31 and also dealing with the logoff spam that occurs both on first start of a new bot or when the chatserver link is reset.

Changelog
===============================================================================
- Important note for module developers
  Due to character id's now being 2^31 in size and how the bot deals with this, you must remember to use the int_to_string and string_to_int whenever   you want to work with the "real" character id's. Internally the bot will happily churn on using overflowed integers that goes negative.
  Remember also to convert any "real" character id's back to an overflowed integer before passing something back to the bot to handle internally.
  Database entries will be stored with the overflowed integer value, NOT the "real" character id's.
===============================================================================
- Backported buddylist caching from 0.3 to eliminate logoff spam during first roster update
  aswell as when chatserver is having issues.
  The bot will still spam logons when this happens however.
- Added missing IRC module help.
- Replaced start.bat with StartBot.bat and StartDebugBot.bat to make it easier for people running on Windows.
- Fix a long standing typo bug in RaidSingle.
- Fix from Gridfan to allow the bot to handle overflowed integer value userid as a result of userid's now being 2^31 in size and php does not have unsigned integers to deal with it gracefully.
- Added the bot functions int_to_string and string_to_int to convert between int and string and converting overflowed integers to unsigned integer string values and vice versa.

Downloads
http://files.shadow-realm.org/bebot/BeBot_v0.2.10.tar.gz
http://files.shadow-realm.org/bebot/BeBot_v0.2.10.zip

The php bundle:
http://files.shadow-realm.org/bebot/BeBot-php_v5.1.5.zip
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
mesa
Freshman
*
Offline Offline

Posts: 14


Re: BeBot v0.2.10 released
« Reply #1 on: December 20, 2006, 12:18:57 PM »

Im not sure if it's just me having and old members table, but to implement this (and all the other fixes)  I had to modify Roster_Raid.php to allow for the char lookup to fail as well.

in other words, for all the fields other than nickname and ID i had to put something like

if($level=="")
{
  $level=0;
}

I put this in right before the SQL insert into members so that members with these IDs could be added.

However, im guessing this will be something fixed (at least partially) by having the Whois-cache since you could do

$this -> bot -> whois -> lookup ($name);

but this will only work once the whois cache is updated for that character. 

Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: BeBot v0.2.10 released
« Reply #2 on: December 20, 2006, 01:23:15 PM »

It's actually better to make a default value in the mysql database for the level and other details instead of modifying the code.

ALTER TABLE members MODIFY COLUMN level DEFAULT 0;
Logged

Eternalist
General of The Syndicate
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Information > News > Topic: BeBot v0.2.10 released
« previous next »
 
Jump to:  

Recent
Dont get any TowerAttack ...
by Ziodberg
[Today at 06:15:35 PM]

Org Relaying
by Nytridr
[Today at 03:43:06 PM]

Auto reinvite not setting...
by Temar
[Today at 02:12:59 PM]

Link 2 Guilds via 2 Bots?
by Nytridr
[Today at 01:19:39 PM]

Question about Logon.php
by Temar
[Today at 07:17:13 AM]

MOTD module from 2.x to 4...
by Karsta
[Today at 04:14:55 AM]

Upcoming Channels
by Temar
[Today at 04:00:07 AM]

Reducing the load on a se...
by Alreadythere
[August 28, 2008, 03:29:35 PM]

Ported Modules
by krommel
[August 28, 2008, 12:01:19 PM]

Communication between gui...
by Temar
[August 27, 2008, 08:28:49 PM]
Stats
Members
Total Members: 949
Latest: pobo
Stats
Total Posts: 10356
Total Topics: 1406
Online Today: 20
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 40
Total: 41
Chakki

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.223 seconds with 29 queries. (Pretty URLs adds 0.033s, 4q)
Loading...