collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: XP calculation  (Read 3495 times)

0 Members and 1 Guest are viewing this topic.

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
XP calculation
« on: September 10, 2005, 02:14:14 pm »
A little module that shows how much sk/xp you need for one lvl or between lvls

Commands
!xp 218
- Shows how much xp/sk you need for this lvl

!xp 200 220
- Shows how much sk you need from lvl 200 to 220

You need these 2 files:
http://nne-clan.clanintern.de/bebot/XP.phps
http://nne-clan.clanintern.de/bebot/_Colors.phps
Derroylo 220/23 NT RK2

Offline krosis

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
XP calculation
« Reply #1 on: November 20, 2005, 01:11:51 am »
I updated this script a little
-works in privategroup
-command 'xp 200' reports 80k SK instead of 80k XP
-command 'axp' added with AI xp values

Still uses your _Colors.php

http://lasziv.reprehensible.net/~krosis/bebot/XP.phps
Emphorix   /    Krosis   / Phoremix
   Death      /  Balance  /    Life

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
XP calculation
« Reply #2 on: November 20, 2005, 09:00:55 am »
Ooh hey, nice. I had a org member asking for something like this a few days ago... well the AXP part anyway. :)

Thanks
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Jarras

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: XP calculation
« Reply #3 on: April 13, 2006, 05:02:14 pm »
An org mate noticed that this module was giving incorrect numbers when determining the xp/sk for a level range.

Bot would say
Code: [Select]
From the beginning of 201 to 202, you need 211,200 SKwhen it should be
Code: [Select]
From the beginning of 201 to 202, you need 96,000 SK
Change the following two lines to fix:
Code: [Select]
for($i=$start;$i<=$end;$i++) {
to
for($i=$start;$i<=$end-1;$i++) {
and
Code: [Select]
for($i=$start;$i<=$end;$i++) {
to
for($i=$start;$i<=$end-1;$i++) {

Offline Tsuyoi

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
  • BigT
    • Adrenaline Rush Forums
Re: XP calculation
« Reply #4 on: April 13, 2006, 05:24:12 pm »
Pfft, it's always better to find out you've over-judged anyways.  Makes victory come sooner than you think! ^^

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: XP calculation
« Reply #5 on: April 13, 2006, 05:47:54 pm »
The original intended method of the Calc was from the Begining of the first level requested to the End if the second level requested.

In your example: 96000 + 115200 = 211200

P.S. The command for the amount needed for a specific level for example is !xp 201 201
« Last Edit: April 13, 2006, 05:49:47 pm by Xenixa »
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Tsuyoi

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
  • BigT
    • Adrenaline Rush Forums
Re: XP calculation
« Reply #6 on: April 13, 2006, 06:33:18 pm »
To bring another side to it, IGN's is worded slightly different to prevent ambiguous assumptions like this, (Ex: 176,000 total SK needed to get from 200 to the beginning of 202)

It's easy to see how this version can be mis-interperated with the current wording as it states no where in teh description of the 2nd level whether it is to the beginning, middle or end of that level.

Possible change could be:
Code: [Select]
From the beginning of 201 to 202, you need 211,200 SKto:
Code: [Select]
From the beginning of 201 to the end of 202, you need 211,200 SK
Just a thought :D

Offline Jarras

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: XP calculation
« Reply #7 on: April 13, 2006, 08:44:31 pm »
The original intended method of the Calc was from the Begining of the first level requested to the End if the second level requested.

In your example: 96000 + 115200 = 211200

P.S. The command for the amount needed for a specific level for example is !xp 201 201

Might be like Tsuyoi said, wording might cause assumptions. From what Derroylo said A little module that shows how much sk/xp you need for one lvl or between lvls and by the output of the bot, it seemed to me that if whatever levels i typed are the two ranges I would want to see the result of. Between 201 and 202 or the beginning of 201 to 202 did not make me think it should give the sk amount to get the end of 202. Ahh well, it is there if anyone is interested.  ;)

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: XP calculation
« Reply #8 on: April 14, 2006, 12:34:19 am »
Makes a lot more sense if I type !xp 201 202 that it gives the sk required to go from 201 to 202 and not the whole 202 level included as well.
Eternalist
General of The Syndicate

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 510
  • 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