BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.5.x Custom/Unofficial Modules => Topic started by: Temar on October 01, 2007, 06:16:35 am

Title: Level.php
Post by: Temar on October 01, 2007, 06:16:35 am
Converted Level and PvP Level to a Formula instead of storing each range
Converted Missions to formula too

Added !mission commands (got from other module)

Only thing not as formula for !level is XP/SK i have no clue even if there is 1, if any 1 knows please tell :p. but far as i can tell there is no pattern

Module is Smaller in size with more stuff :p
Title: Re: Level.php
Post by: Blueeagle on October 02, 2007, 01:17:09 am
I tried to find a formula for the XP needed per level, but such a formula eludes me. The 2nd and 3rd derivatives suggests that this isn't a formual at all but something made semi-randomly and put in a table. Even for individual title levels I cannot seem to find a formula.
Title: Re: Level.php
Post by: Zacix on October 03, 2007, 01:47:07 pm
For SK it works with this formula:

80000+16000*(1,2^(X-200)-1)/(1,2-1) where X >= 200, and round the answer, no floor or ceil functions.

Sum of a geometric sequence for those interested ^^

As for XP...it's totally random it seems.

Missions work with this formula:
floor(<level> - (X*<level>*0.05)) for missions under your level
floor(<level> + (X*<level>*0.05)) for missions over your level

X can be 0,2,3,4,5 and 6. that makes 11 different qls on missions
Title: Re: Level.php
Post by: Tichy on October 03, 2007, 03:19:02 pm
Code: [Select]
$this -> bot -> accesscontrol -> create('all', 'test', 'OWNER');
Missed to remove debug stuff ;) ?!
Title: Re: Level.php
Post by: Temar on October 03, 2007, 05:35:34 pm
hehe that command was to test formulas, it output how accurate the result was compared to values on old module

ill remove when i add those formulas above

altho as for the mission levels,, its already a formula
what u prob looking at is the !mission command data
SimplePortal 2.3.7 © 2008-2024, SimplePortal