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, 04:00:12 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: Level.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Level.php  (Read 331 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Level.php
« on: September 30, 2007, 11:16:35 PM »

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
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Level.php
« Reply #1 on: October 01, 2007, 06:17:09 PM »

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.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Zacix
Rookie
**
Offline Offline

Posts: 72


Re: Level.php
« Reply #2 on: October 03, 2007, 06:47:07 AM »

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
Logged

Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network
Tichy
Rookie
**
Offline Offline

Posts: 42



Re: Level.php
« Reply #3 on: October 03, 2007, 08:19:02 AM »

Code:
$this -> bot -> accesscontrol -> create('all', 'test', 'OWNER');

Missed to remove debug stuff Wink ?!
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: Level.php
« Reply #4 on: October 03, 2007, 10:35:34 AM »

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
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: Level.php
« previous next »
 
Jump to:  

Recent
Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[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]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11145
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 10
Total: 11
Temar

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.507 seconds with 28 queries. (Pretty URLs adds 0.026s, 4q)
Loading...