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 12, 2008, 10:59:46 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 1114 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
Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

!security Levels
by Nytridr
[Today at 02:00:16 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10808
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 18
Total: 20
Zeephonz
Temar

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