Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.01.2006, 19:47   #1
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default [SHARE] Aquire EXP Formula

At isoGames, we use a custom formula to determine the aquire exp rate of each mob. While it is not perfect to NCSoft rates, it is a nice calculation to deliver consistent exp for a mob based on its level and HP throughout the entire server. Easier mobs give less exp and harder mobs give more.

We wrote a simple PHP script to recalculate all our mobs aquire exp rates and it has been working nicely to deliver a percise and consistent exp system on our server.

acquire_exp_rate = ((($hp*0.69)+($level*$level))/($level*$level))*rate

This is being shared in case any of you other server admins would like to start implimenting higher level HP mobs based on c3 official HP stats and want to deliver a precise exp amount since the mobs are harder. Most of the NPC scripts that I see floating around have their aquire exp rates all over the place and I am assuming they were just made up and not based on any real mathematical calculation.
Firedaemon is offline  
Old 03.01.2006, 20:13   #2
melwidh
Архивный участник
 
Join Date: Oct 2005
Posts: 99
Default

The formula is great, but what I do for use it? i dont use PHP, for nothing
melwidh is offline  
Old 03.01.2006, 20:39   #3
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Then stick it between two slices of bread, and eat it ! =D
(you can add some sliced pickles with it, tastes fabulous =D)
Truffe is offline  
Old 03.01.2006, 20:41   #4
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

nothing beats sliced bread
however nice share...
this will help a lot for the new boss mobs
toolpunk is offline  
Old 03.01.2006, 23:28   #5
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

If you dont know how to program, you can manually make your aquire exp rate. I would share my PHP but its part of a larger program I use to generate my own NPC scripts from mysql and its not ready to share yet.

I manage all my NPC data from mysql so I can perform large operations through scripting. I already released a prior version but the new one is much better. I will probably share it in a couple of weeks.
Firedaemon is offline  
Old 03.01.2006, 23:35   #6
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Tnx for the share i am sure it will help !!!
TheOrder is offline  
Old 04.01.2006, 07:02   #7
SL_Sky
Архивный участник
 
Join Date: Dec 2005
Posts: 3
Default

this is really nice, but you still need the correct hps for it to work...
and those aren't easy to find either...
SL_Sky is offline  
Old 04.01.2006, 11:01   #8
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

actually correct hp is very easy to find. Full stats are offered on the Korean Lineage II site as well as sources like the L2WH project. Also, org_hp in the npcdata is in-game hp/1.58. So when the site sources say 15k hp, in the database it would really be 94xx.xx08860759493670886075949367

I use l2wh for most mobs hp because they are the most updated source of info.
Firedaemon is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:41.