Jump to content
BugsBunny

<Help> Experience 100-130

Recommended Posts

Hello guys, i am looking for some help. Id like to make characters max level 130 . 

When i reach lvl 100, even with 100% exp they wont level up. 

Id like to know how i can fix this, and also if there's a way to fix level jumps . Thanks <3


proxy-image (2).jpg

Share this post


Link to post
Share on other sites

If you already got the exp formula for function.lua(getexp), variable.lua(DEXP) and charlvup.bin/txt then you just need to change your

init_attr.lua - > SetChaAttrMax( ATTR_LV --Max level

Make sure the exp required are all the same so wont bug anything.

If dont got some of these, you will either need to calculate the exp or get from a file that has it and paste into yours.

Share this post


Link to post
Share on other sites

Step 1. Go to resource/script/calculate and open Init_Attr.lua

Step 2. Make sure this syntax > SetChaAttrMax( ATTR_LV        ,    130 )  looks like that <

Step 3. Go to resource folder, scroll down and find the file called character_lvup.txt 

Step 4. Replace character_lvup.txt content with this one :

Spoiler

//ID    Lv    Experience Formula
1    1    0
2    2    5
3    3    15
4    4    35
5    5    64
6    6    102
7    7    156
8    8    218
9    9    284
10    10    366
11    11    452
12    12    558
13    13    674
14    14    819
15    15    975
16    16    1156
17    17    1355
18    18    1603
19    19    1904
20    20    2262
21    21    2681
22    22    3183
23    23    3730
24    24    4331
25    25    5046
26    26    5894
27    27    6896
28    28    7997
29    29    9198
30    30    10699
31    31    12690
32    32    15291
33    33    18292
34    34    21993
35    35    26994
36    36    41795
37    37    46796
38    38    52698
39    39    58694
40    40    65693
41    41    73897
42    42    82896
43    43    92197
44    44    102191
45    45    113192
46    46    124697
47    47    136699
48    48    150692
49    49    166694
50    50    184696
51    51    204697
52    52    225696
53    53    248693
54    54    273694
55    55    300691
56    56    328697
57    57    358693
58    58    393698
59    59    433699
60    60    478694
61    61    528696
62    62    588697
63    63    658691
64    64    738697
65    65    828699
66    66    928695
67    67    1038692
68    68    1158694
69    69    1288696
70    70    1428693
71    71    1588696
72    72    1788699
73    73    2018697
74    74    2248691
75    75    2508696
76    76    2808695
77    77    3158694
78    78    3558693
79    79    4008694
80    80    4518699
81    81    5068694
82    82    5768696
83    83    6668690
84    84    8068690
85    85    10068694
86    86    12268693
87    87    15568693
88    88    19568694
89    89    24568696
90    90    30568696
91    91    37068698
92    92    44268691
93    93    51768698
94    94    62368699
95    95    75468695
96    96    89168692
97    97    95368696
98    98    105368693
99    99    127468695
100    100    155851439
101    101    183214903
102    102    213313724
103    103    248031996
104    104    290418870
105    105    335719373
106    106    385410980
107    107    445247010
108    108    507308127
109    109    568063454
110    110    628443101
111    111    683924228
112    112    772633181
113    113    841066696
114    114    917235728
115    115    982836139
116    116    1061451246
117    117    1143792193
118    118    1249383196
119    119    1340900038
120    120    1460571159
121    121    1700571516
122    122    1920071649
123    123    2150571842
124    124    2390571453
125    125    2645071129
126    126    3005571485
127    127    3277010045
128    128    3550571475
129    129    3840571881
130    130    4176709541

Step 5. Go to resource/script/calculate and open variable.lua

Step 6. Search for DEXP_Num in variable.lua

Step 7. Select everything from DEXP_Num syntax to the last line starting with DEXP and then replace it with the text below.

Spoiler

DEXP_Num = 130
DEXP    ={}
DEXP[1]                        =        0
DEXP[2]                        =        5
DEXP[3]                        =        15
DEXP[4]                        =        35
DEXP[5]                        =        64
DEXP[6]                        =        102
DEXP[7]                        =        156
DEXP[8]                        =        218
DEXP[9]                        =        284
DEXP[10]                        =        366
DEXP[11]                        =        452
DEXP[12]                        =        558
DEXP[13]                        =        674
DEXP[14]                        =        819
DEXP[15]                        =        975
DEXP[16]                        =        1156
DEXP[17]                        =        1355
DEXP[18]                        =        1603
DEXP[19]                        =        1904
DEXP[20]                        =        2262
DEXP[21]                        =        2681
DEXP[22]                        =        3183
DEXP[23]                        =        3730
DEXP[24]                        =        4331
DEXP[25]                        =        5046
DEXP[26]                        =        5894
DEXP[27]                        =        6896
DEXP[28]                        =        7997
DEXP[29]                        =        9198
DEXP[30]                        =        10699
DEXP[31]                        =        12690
DEXP[32]                        =        15291
DEXP[33]                        =        18292
DEXP[34]                        =        21993
DEXP[35]                        =        26994
DEXP[36]                        =        41795
DEXP[37]                        =        46796
DEXP[38]                        =        52698
DEXP[39]                        =        58694
DEXP[40]                        =        65693
DEXP[41]                        =        73897
DEXP[42]                        =        82896
DEXP[43]                        =        92197
DEXP[44]                        =        102191
DEXP[45]                        =        113192
DEXP[46]                        =        124697
DEXP[47]                        =        136699
DEXP[48]                        =        150692
DEXP[49]                        =        166694
DEXP[50]                        =        184696
DEXP[51]                        =        204697
DEXP[52]                        =        225696
DEXP[53]                        =        248693
DEXP[54]                        =        273694
DEXP[55]                        =        300691
DEXP[56]                        =        328697
DEXP[57]                        =        358693
DEXP[58]                        =        393698
DEXP[59]                        =        433699
DEXP[60]                        =        478694
DEXP[61]                        =        528696
DEXP[62]                        =        588697
DEXP[63]                        =        658691
DEXP[64]                        =        738697
DEXP[65]                        =        828699
DEXP[66]                        =        928695
DEXP[67]                        =        1038692
DEXP[68]                        =        1158694
DEXP[69]                        =        1288696
DEXP[70]                        =        1428693
DEXP[71]                        =        1588696
DEXP[72]                        =        1788699
DEXP[73]                        =        2018697
DEXP[74]                        =        2248691
DEXP[75]                        =        2508696
DEXP[76]                        =        2808695
DEXP[77]                        =        3158694
DEXP[78]                        =        3558693
DEXP[79]                        =        4008694
DEXP[80]                        =        4518699
DEXP[81]                        =        5068694
DEXP[82]                        =        5768696
DEXP[83]                        =        6668690
DEXP[84]                        =        8068690
DEXP[85]                        =        10068694
DEXP[86]                        =        12268693
DEXP[87]                        =        15568693
DEXP[88]                        =        19568694
DEXP[89]                        =        24568696
DEXP[90]                        =        30568696
DEXP[91]                        =        37068698
DEXP[92]                        =        44268691
DEXP[93]                        =        51768698
DEXP[94]                        =        62368699
DEXP[95]                        =        75468695
DEXP[96]                        =        89168692
DEXP[97]                        =        95368696
DEXP[98]                        =        105368693
DEXP[99]                        =        127468695
DEXP[100]                        =        155851439
DEXP[101]                        =        183214903
DEXP[102]                        =        213313724
DEXP[103]                        =        248031996
DEXP[104]                        =        290418870
DEXP[105]                        =        335719373
DEXP[106]                        =        385410980
DEXP[107]                        =        445247010
DEXP[108]                        =        507308127
DEXP[109]                        =        568063454
DEXP[110]                        =        628443101
DEXP[111]                        =        683924228
DEXP[112]                        =        772633181
DEXP[113]                        =        841066696
DEXP[114]                        =        917235728
DEXP[115]                        =        982836139
DEXP[116]                        =        1061451246
DEXP[117]                        =        1143792193
DEXP[118]                        =        1249383196
DEXP[119]                        =        1340900038
DEXP[120]                        =        1460571159
DEXP[121]                        =        1700571516
DEXP[122]                        =        1920071649
DEXP[123]                        =        2150571842
DEXP[124]                        =        2390571453
DEXP[125]                        =        2645071129
DEXP[126]                        =        3005571485
DEXP[127]                        =        3277010045
DEXP[128]                        =        3550571475
DEXP[129]                        =        3840571881
DEXP[130]                        =        4176709541

Step 8. Enjoy leveling to 130 !

Edited by blankode
  • Like 1

Share this post


Link to post
Share on other sites

@blankode I think you should provide the full getexp from function.lua side too. If exp formula are different it can cause problem within leveling system unless the getexp 1-100 within the function.lua is the same then i guess not.

Share this post


Link to post
Share on other sites
35 minutes ago, DangThao said:

@blankode I think you should provide the full getexp from function.lua side too. If exp formula are different it can cause problem within leveling system unless the getexp 1-100 within the function.lua is the same then i guess not.

I don't know about that, anyways on my server leveling works fine with the settings from above.

Share this post


Link to post
Share on other sites
9 minutes ago, blankode said:

I don't know about that, anyways on my server leveling works fine with the settings from above.

Oh, yea some server got different getexp and so. Just saying, sometimes it doesnt matter cause most of the exp formula gonna be the same.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...