Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.09.2005, 16:53   #1
rawrz
Архивный участник
 
Join Date: Sep 2005
Posts: 33
Default npcdata exp issues......? O.o

ok now i have been making some mobs to put in some places and ive come accross a little problem, how does the l2server calc the actual ingame exp that a mob gives, because the exp in npcdata is WAAAAAAAAAAAY higher than what u get ingame, i know its gonna be something retarded like exp / exp aquire / level or something but i was wondering if anyone knows exactly what it is ... o.o
rawrz is offline  
Old 29.09.2005, 17:21   #2
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

The calculation works with the aquire_exp_rate - not sure exactly how. Same goes for the SP.
bwgreen is offline  
Old 29.09.2005, 17:37   #3
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

Yes. How calculation XP and SP?
superkent is offline  
Old 29.09.2005, 17:50   #4
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

sp is acquire_sp_rate thats not a big problem but the acquire_exp_rate is a bit weird...
gremlin says exp=1 acquire_exp_rate=29.3 gives 29 exp
karik says exp=400mil acquire_exp_rate=1.2 gives 5880 exp...
Phantom2005 is offline  
Old 29.09.2005, 18:25   #5
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

The Exp you get is (level)^2 * adquire_exp_rate. Exp=400mil doesnt have to do with anything on "exp given". Exp=400mil denotes the level of the NPC. If you set level=70, and exp = 1, the mob becomes lvl 1. I figured this out when i was editing summons, because i didnt change the "exp" value, and they got entire different levels.

So, in resume: Exp you get = level*level*adquire_exp_rate. For karik: 70*70*1.2 = 5880 ^^.

Oso
Osito2Dancer is offline  
Old 29.09.2005, 18:41   #6
rawrz
Архивный участник
 
Join Date: Sep 2005
Posts: 33
Default

Quote:
Originally Posted by Osito2Dancer
The Exp you get is (level)^2 * adquire_exp_rate. Exp=400mil doesnt have to do with anything on "exp given". Exp=400mil denotes the level of the NPC. If you set level=70, and exp = 1, the mob becomes lvl 1. I figured this out when i was editing summons, because i didnt change the "exp" value, and they got entire different levels.

So, in resume: Exp you get = level*level*adquire_exp_rate. For karik: 70*70*1.2 = 5880 ^^.

Oso
omg thnx alot
rawrz is offline  
Old 29.09.2005, 19:12   #7
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

mmm nice, XD

good info ^^

thanks osito
wton is offline  
Old 29.09.2005, 20:49   #8
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

It is necessary or not fill exp=400mil? It is possible to write everything?
superkent is offline  
Old 30.09.2005, 08:47   #9
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

Thanks Osito

superkent: Quote from Osito :: If you set level=70, and exp = 1, the mob becomes lvl 1.
Which is basically like doing //setparam exp 1 to a PC. They'll become level 1.
bwgreen is offline  
Old 01.10.2005, 00:48   #10
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

superkent - set yourself to level xy (//setparam level xy) then //debug yourname and you see how much xp you have.
set that xp as exp= and monster get that level what u have
rodier is offline  
Old 03.10.2005, 21:15   #11
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by rodier
superkent - set yourself to level xy (//setparam level xy) then //debug yourname and you see how much xp you have.
set that xp as exp= and monster get that level what u have
Hum... didnt thought of that xD. Nice one Rodier.

OMG, i actually did something good... i gave USEFUL INFO xD. I feel so good i just wanna cry. :cry:

Oso
Osito2Dancer is offline  
Old 03.10.2005, 23:33   #12
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

My contribution on exp by level for PC:

EXP by Level:
Lvl 1: 0 / Lvl 2: 68 / Lvl 3: 363 / Lvl 4: 1168 / Lvl 5: 2884 / Lvl 6: 6038 / Lvl 7: 11287 / Lvl 8: 19423 / Lvl 9: 31378 / Lvl 10: 48229 / Lvl 11: 71202 / Lvl 12: 101607 / Lvl 13: 141193 / Lvl 14: 191454 / Lvl 15: 254330 / Lvl 16: 331867 / Lvl 17: 426288 / Lvl 18: 540000 / Lvl 19: 675596 / Lvl 20: 835862 / Lvl 21: 1023784 / Lvl 22: 124546 / Lvl 23: 1495543 / Lvl 24: 1786379 / Lvl 25: 2118876 / Lvl 26: 2497077 / Lvl 27: 2925250 / Lvl 28: 3407897 / Lvl 29: 3949754 / Lvl 30: 4555796 / Lvl 31: 5231246 / Lvl 32: 5981576 / Lvl 33: 6812513 / Lvl 34: 7730044 / Lvl 35: 8740422 / Lvl 36: 9850166 / Lvl 37: 11066072 / Lvl 38: 12395215 / Lvl 39: 13844951 / Lvl 40: 15422929 / Lvl 41: 17137087 / Lvl 42: 18995665 / Lvl 43: 21007203 / Lvl 44: 23180550 / Lvl 45: 25524868 / Lvl 46: 28049635 / Lvl 47: 30764654 / Lvl 48: 33680052 / Lvl 49: 36806289 / Lvl 50: 40154162 / Lvl 51: 45525133 / Lvl 52: 51262490 / Lvl 53: 57383988 / Lvl 54: 63907911 / Lvl 55: 70853089 / Lvl 56: 80700831 / Lvl 57: 91162654 / Lvl 58: 102265881 / Lvl 59: 114038596 / Lvl 60: 126509653 / Lvl 61: 146308200 / Lvl 62: 167244337 / Lvl 63: 189364894 / Lvl 64: 212717908 / Lvl 65: 237352644 / Lvl 66: 271975263 / Lvl 67: 308443198 / Lvl 68: 346827154 / Lvl 69: 387199547 / Lvl 70: 429634523 / Lvl 71: 474207979 / Lvl 72: 532694979 / Lvl 73: 606322775 / Lvl 74: 696381369 / Lvl 75: 804225364 / Lvl 76: 931275828 / Lvl 77: 1108571463 / Lvl 78: 1309482881 / Lvl 79: 1535687304 / Lvl 80: 1788937097
BiGBoY is offline  
Old 04.10.2005, 04:29   #13
vaskes
Архивный участник
 
Join Date: Feb 2005
Posts: 156
Default

one more thing for lazy devs.

procedure TForm1.Button2Click(Sender: TObject);
var i, level:integer;
exp:real;
begin
for i:=0 to maxindex do begin
level := strtoint(npcarray[i].level);
if level=1 then exp:=1;
if level=2 then exp:=69;
if level=3 then exp:=364;
if level=4 then exp:=1169;
if level=5 then exp:=2885;
if level=6 then exp:=6038;
if level=7 then exp:=11287;
if level=8 then exp:=19423;
if level=9 then exp:=31378;
if level=10 then exp:=48229;
if level=11 then exp:=71202;
if level=12 then exp:=101677;
if level=13 then exp:=141194;
if level=14 then exp:=191454;
if level=15 then exp:=127159;
if level=16 then exp:=331868;
if level=17 then exp:=426289;
if level=18 then exp:=540000;
if level=19 then exp:=675596;
if level=20 then exp:=835863;
if level=21 then exp:=1023784;
if level=22 then exp:=1242547;
if level=23 then exp:=1495543;
if level=24 then exp:=1786379;
if level=25 then exp:=2118876;
if level=26 then exp:=2497077;
if level=27 then exp:=2925251;
if level=28 then exp:=3407898;
if level=29 then exp:=3949754;
if level=30 then exp:=4555796;
if level=31 then exp:=5231246;
if level=32 then exp:=5981576;
if level=33 then exp:=6812513;
if level=34 then exp:=7730045;
if level=35 then exp:=8512004;
if level=36 then exp:=9850166;
if level=37 then exp:=11066073;
if level=38 then exp:=12395215;
if level=39 then exp:=13844952;
if level=40 then exp:=15422929;
if level=41 then exp:=17137088;
if level=42 then exp:=18995665;
if level=43 then exp:=21007203;
if level=44 then exp:=23180550;
if level=45 then exp:=25524868;
if level=46 then exp:=28049636;
if level=47 then exp:=30764654;
if level=48 then exp:=33680052;
if level=49 then exp:=36806290;
if level=50 then exp:=40154163;
if level=51 then exp:=45525133;
if level=52 then exp:=51262491;
if level=53 then exp:=57383988;
if level=54 then exp:=63907912;
if level=55 then exp:=73000000;
if level=56 then exp:=79000000;
if level=57 then exp:=91162654;
if level=58 then exp:=102265881;
if level=59 then exp:=114038597;
if level=60 then exp:=126509654;
if level=61 then exp:=141000000;
if level=62 then exp:=153000000;
if level=63 then exp:=167000000;
if level=64 then exp:=183000000;
if level=65 then exp:=200000000;
if level=66 then exp:=217000000;
if level=67 then exp:=231000000;
if level=68 then exp:=249000000;
if level=69 then exp:=264000000;
if level=70 then exp:=280000000;
if level=71 then exp:=294000000;
if level=72 then exp:=310000000;
if level=73 then exp:=326000000;
if level=74 then exp:=340000000;
if level=75 then exp:=354000000;
if level=76 then exp:=370000000;
if level=77 then exp:=389000000;
if level=78 then exp:=409000000;
if level=79 then exp:=427000000;
if level=80 then exp:=444000000;
if level=81 then exp:=461000000;
if level=82 then exp:=479000000;
if level=83 then exp:=496000000;
if level=84 then exp:=512565656;
if level=85 then exp:=527000000;
if level=86 then exp:=541845444;
if level=87 then exp:=560000000;
if level=88 then exp:=573000000;
if level=89 then exp:=595000000;
if level=90 then exp:=612000000;
npcarray[i].exp := inttostr(round(exp));
if (npcarray[i].class1 <> 'warrior')
or (Pos('gludio', npcarray[i].sysname) > 0)
or (Pos('giran', npcarray[i].sysname) > 0)
or (Pos('aden', npcarray[i].sysname) > 0)
or (Pos('oren', npcarray[i].sysname) > 0)
or (Pos('dion', npcarray[i].sysname) > 0)
or (Pos('innadrile', npcarray[i].sysname) > 0)
or (Pos('betrayer', npcarray[i].sysname) > 0)
or (Pos('cubic', npcarray[i].sysname) > 0)
or (Pos('mercenary', npcarray[i].sysname) > 0)
then npcarray[i].acquire_exp_rate := '0';
end;
end;
vaskes is offline  
Old 04.10.2005, 09:48   #14
Adelaide
Архивный участник
 
Join Date: Jun 2005
Posts: 82
Default

How do you work out then the acquire_exp_rate ?
I mean, did you leave the same value as for C1 for all C1 monsters ?
And raid bosses? They should have for sure an higher rate .

Any table showing this?
Adelaide is offline  
Old 04.10.2005, 15:15   #15
jouvmaster
Архивный участник
 
Join Date: Aug 2005
Posts: 84
Default oh thx

vaskes thanks for help but any people have table of SP and exp.rate, but no is problen i create many mobs this, now with exp fix create more , only more information create more mobs
jouvmaster 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 20:33.