The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
56d and X1 Experience system
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: 56d and X1 Experience system
This internal system is just an base that will increase exp/level when you do some actions (PvP, PvM, craft items, etc), it's only useful for who only want some basic "almost" plug-n-play engine

If you already have a custom system doing this, the internal system will be pointless, because doesn't make much sense enable internal formulas to override all these hardcoded formulas with custom formulas later

Honestly I think this should be removed from sphere source, because its not a standard UO feature, and removing all these formulas will clean (optimize) the source code a bit

But anyway, LevelMode=1 (linear) will make the exp required to next level follow an linear order, level will increase when you reach <SERV.LevelNextAt> EXP (eg: if LevelNextAt=1000 your level will always increase +1 at every 1000 exp)
And LevelMode=2 (double) will make level go up at double rates (1000, 2000, 4000, 8000, ...). Required value to level up is based on current level, and uses this formula
Code:
LOCAL.RequiredExp = 0
FOR 1 <LEVEL>
  LOCAL.RequiredExp += <eval <SERV.LevelNextAt>*(<LOCAL._FOR>+1)>
ENDFOR
12-23-2019 01:25 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
56d and X1 Experience system - golfin - 12-18-2019, 02:56 PM
RE: 56d and X1 Experience system - golfin - 12-22-2019, 05:09 PM
RE: 56d and X1 Experience system - Coruja - 12-23-2019 01:25 PM
RE: 56d and X1 Experience system - golfin - 12-23-2019, 08:21 PM
RE: 56d and X1 Experience system - Coruja - 12-24-2019, 01:33 PM
RE: 56d and X1 Experience system - golfin - 12-24-2019, 03:08 PM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)