Traceur3RUN 75 Posted August 22, 2014 Share Posted August 22, 2014 hi dev. i have a question. where i can edit max lvl? Link to comment Share on other sites More sharing options...
TheSLZ 105 Posted August 22, 2014 Share Posted August 22, 2014 /usr/src/mainline/Srcs/Server/common/length.h PLAYER_EXP_TABLE_MAX = 120, PLAYER_MAX_LEVEL_CONST = 120, to PLAYER_EXP_TABLE_MAX = 300, PLAYER_MAX_LEVEL_CONST =300, And you may need to edit the exp table in this file (3x) /usr/src/mainline/Srcs/Server/game/src/constants.cpp Under this: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = But i think need to edit the navicat/player/player level tinyint-->int (for 255+level) (In Design table) 2 Link to comment Share on other sites More sharing options...
Panda88 9 Posted August 22, 2014 Share Posted August 22, 2014 On 8/22/2014 at 10:03 AM, TheSLZ said: /usr/src/mainline/Srcs/Server/common/length.h PLAYER_EXP_TABLE_MAX = 120, PLAYER_MAX_LEVEL_CONST = 120, to PLAYER_EXP_TABLE_MAX = 300, PLAYER_MAX_LEVEL_CONST =300, And you may need to edit the exp table in this file (3x) /usr/src/mainline/Srcs/Server/game/src/constants.cpp Under this: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = But i think need to edit the navicat/player/player level tinyint-->int (for 255+level) (In Design table) need edit more he need change Byte to unsigned long long and packet.h Server/Cient 2 1 Link to comment Share on other sites More sharing options...
Night 366 Posted August 22, 2014 Share Posted August 22, 2014 /usr/src/mainline/Srcs/Server/common/length.h PLAYER_EXP_TABLE_MAX = 120, PLAYER_MAX_LEVEL_CONST = 120, to PLAYER_EXP_TABLE_MAX = 300, PLAYER_MAX_LEVEL_CONST =300, And you may need to edit the exp table in this file (3x) /usr/src/mainline/Srcs/Server/game/src/constants.cpp Under this: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = But i think need to edit the navicat/player/player level tinyint-->int (for 255+level) (In Design table) based on this http://msdn.microsoft.com/fr-fr/library/ms187745.aspx i think that smallint will do what he want 3 1 Link to comment Share on other sites More sharing options...
Bloddi 17 Posted August 22, 2014 Share Posted August 22, 2014 I have made it months ago you have to change the packet too because the level is a DWORD so the max is 255. Link to comment Share on other sites More sharing options...
Denis 1474 Posted August 22, 2014 Share Posted August 22, 2014 I have made it months ago you have to change the packet too because the level is a DWORD so the max is 255. According to this: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx DWORD value = 0 - 4294967295 1 4 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 23, 2014 Author Share Posted August 23, 2014 (edited) On 8/22/2014 at 8:52 PM, Panda88 said: /usr/src/mainline/Srcs/Server/common/length.h PLAYER_EXP_TABLE_MAX = 120, PLAYER_MAX_LEVEL_CONST = 120, to PLAYER_EXP_TABLE_MAX = 300, PLAYER_MAX_LEVEL_CONST =300, And you may need to edit the exp table in this file (3x) /usr/src/mainline/Srcs/Server/game/src/constants.cpp Under this: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = But i think need to edit the navicat/player/player level tinyint-->int (for 255+level) (In Design table) need edit more he need change Byte to unsigned long long and packet.h Server/Cient what i need edit i know length.h packet.h constains.h and end? or more cpp edit? give name navicat i change to smallint 5 common length.h const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 100, 150, 260, 380, 600, 1300, 3300, 5700, 8700, 12800, // 10 18000, 25000, 36000, 52000, 73000, 100000, 125000, 160000, 220000, 280000, // 20 370000, 540000, 670000, 880000, 1000000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2100000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한) 2100000000, // 100 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 105 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 110 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 115 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 300, 800, 1500, 2500, 4300, 7200, 11000, 17000, 24000, 33000, // 10 43000, 58000, 76000, 100000, 130000, 169000, 219000, 283000, 365000, 472000, // 20 610000, 705000, 813000, 937000, 1077000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2050000000, // 99레벨 일 때 필요경험치 (100레벨이 되기 위한) 2150000000, // 100 2210000000, 2250000000, 2280000000, 2310000000, 2330000000, // 105 2350000000, 2370000000, 2390000000, 2400000000, 2410000000, // 110 2420000000, 2430000000, 2440000000, 2450000000, 2460000000, // 115 2470000000, 2480000000, 2490000000, 2490000000, 2500000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = { 300, // 0 800, // 1 1500, 2500, 4300, 7200, 11400, 17000, 24000, 33000, 46000, // 10 62000, 83000, 111000, 149000, 200000, 268000, 360000, 482000, 647000, 868000, // 20 996000, 1143000, 1312000, 1506000, 1729000, 1984000, 2277000, 2614000, 3000000, 3443000, // 30 3952000, 4536000, 5206000, 5975000, 6858000, 7730000, 8504000, 9307000, 10140000, 11330000, // 40 12320000, 13370000, 14490000, 15670000, 16920000, 18240000, 19630000, 21090000, 22630000, 24670000, // 50 26890000, 29310000, 31950000, 34820000, 37960000, 41370000, 45100000, 49160000, 53580000, 58400000, // 60 63660000, 69390000, 75630000, 82440000, 89860000, 97950000, 106760000, 136370000, 151800000, 168300000, // 70 250000000, 340000000, 450000000, 570000000, 690000000, 810000000, 912600000, 1004000000, 1094000000, 1182000000, // 80 1269000000, 1354000000, 1438000000, 1521000000, 1603000000, 1684000000, 1764000000, 1844000000, 1922000000, 2000000000, // 90 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한).. 현재 CIBN이 어떻게 운영하고 있는 지 모르니 신규 테이블을 쓰지 않고 기존값 계속 연장 유지 2000000000, // 100 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 105 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 110 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 115 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1] = { 0, 10, 10, 10, 10, 15, 15, 20, 25, 30, 40, // 1 - 10 50, 60, 80, 100, 120, 140, 160, 184, 210, 240, // 11 - 20 270, 300, 330, 360, 390, 420, 450, 480, 510, 550, // 21 - 30 600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, // 31 - 40 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, // 41 - 50 1860, 1920, 2000, 2100, 2200, 2300, 2450, 2600, 2750, 2900, // 51 - 60 3050, 3200, 3350, 3500, 3650, 3800, 3950, 4100, 4250, 4400, // 61 - 70 4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6200, 6400, // 71 - 80 6600, 6900, 7100, 7300, 7600, 7800, 8000, 8300, 8500, 8800, // 81 - 90 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, // 91 - 100 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, // 101 - 110 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 111 - 120 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 121 - 130 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 131 - 140 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 141 - 150 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 151 - 160 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 161 - 170 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 171 - 180 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 181 - 190 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 191 - 200 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 201 - 210 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 211 - 220 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 221 - 230 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 231 - 240 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 241 - 250 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 251 - 260 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 261 - 270 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 271 - 280 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 281 - 290 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 291 - 300 }; const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1] = { 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, // 1 - 10 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 11 - 20 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, // 21 - 30 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 31 - 40 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, // 41 - 50 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 51 - 60 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, // 61 - 70 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 71 - 80 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 81 - 90 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 91 - 100 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 101 - 110 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 111 - 120 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 121 - 130 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 131 - 140 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 141 - 150 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 151 - 160 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 161 - 170 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 171 - 180 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 181 - 190 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 191 - 200 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 201 - 210 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 211 - 220 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 221 - 230 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 231 - 240 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 241 - 250 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 251 - 260 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 261 - 270 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 271 - 280 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 281 - 290 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 291 - 300 }; Tables.h Tables.h fixed typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; INT level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable; and edit client binary BYTE to int . end Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Denis 1474 Posted August 23, 2014 Share Posted August 23, 2014 You have to edit length.h,packet.h,constants.cpp(exp_table_common) 2 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 23, 2014 Author Share Posted August 23, 2014 You have to edit length.h,packet.h,constants.cpp(exp_table_common) on packet.h only CHARACTER_NAME_MAX_LEN + 1 i find this typedef struct packet_char_additional_info { BYTE header; DWORD dwVID; char name[CHARACTER_NAME_MAX_LEN + 1]; WORD awPart[CHR_EQUIPPART_NUM]; BYTE bEmpire; DWORD dwGuildID; DWORD dwLevel; short sAlignment; BYTE bPKMode; DWORD dwMountVnum; } TPacketGCCharacterAdditionalInfo; on packet.h all BYTE change to int? i know i looking on tables.h and i now know where byte to change int typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; BYTE level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable; Tables.h fixed typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; INT level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable; Link to comment Share on other sites More sharing options...
Premium ahynoa 15 Posted August 26, 2014 Premium Share Posted August 26, 2014 anyone tried this? Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 29, 2014 Author Share Posted August 29, 2014 (edited) anyone tried this? yea i test it here screenshots it work: https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Thanks to Denis And Night Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Lolman 0 Posted August 30, 2014 Share Posted August 30, 2014 Which entries do you've changed in the packet.h? I can change the level in the database already, but if i want to levelup ingame it doesn't work and also if i change the level in the database, my client shows me that i'm level 44. So, it would be nice if you or somebody else could make a short guide about that. Thanks Link to comment Share on other sites More sharing options...
Premium ahynoa 15 Posted September 2, 2014 Premium Share Posted September 2, 2014 I can change the level in the database already, but if i want to levelup ingame it doesn't work and also if i change the level in the database, my client shows me that i'm level 44 Its happen same Link to comment Share on other sites More sharing options...
mroczna 0 Posted October 16, 2014 Share Posted October 16, 2014 i have problem constants.cpp:377: error: too many initializers for 'const DWORD [301]' constants.cpp:692: error: too many initializers for 'const DWORD [301]' constants.cpp:1007: error: too many initializers for 'const DWORD [301]' how to fix it Link to comment Share on other sites More sharing options...
mroczna 0 Posted October 23, 2014 Share Posted October 23, 2014 I can change the level in the database already, but if i want to levelup ingame it doesn't work and also if i change the level in the database, my client shows me that i'm level 44 Its happen same anyone know what's going on, and how to fix it Link to comment Share on other sites More sharing options...
YukiPowa 5 Posted December 27, 2014 Share Posted December 27, 2014 Hello, One solution ? Thx Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted December 27, 2014 Share Posted December 27, 2014 (edited) i have problem constants.cpp:377: error: too many initializers for 'const DWORD [301]' constants.cpp:692: error: too many initializers for 'const DWORD [301]' constants.cpp:1007: error: too many initializers for 'const DWORD [301]' how to fix it try change the DWORD to DWORDLONG Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal https://m2admin.net/ Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted December 28, 2014 Former Staff Share Posted December 28, 2014 what about level ?? it's BYTE it only takes 255 i guess i'v changed every thing but i can only make /level command for level 255 how to fix that ? Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted December 28, 2014 Share Posted December 28, 2014 what about level ?? it's BYTE it only takes 255 i guess i'v changed every thing but i can only make /level command for level 255 how to fix that ? try search for "dwlevel" ( in all source ) and change the BYTE to int in all sites. Sorry my english. https://m2admin.net/ Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted December 28, 2014 Former Staff Share Posted December 28, 2014 (edited) guys i need help level 255 after /set [GM]FlyGun exp 210000000... this happened Edited August 23, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted December 28, 2014 Former Staff Share Posted December 28, 2014 #sorry for posts lag Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted December 28, 2014 Former Staff Share Posted December 28, 2014 #sorry for posts lag Link to comment Share on other sites More sharing options...
Night 366 Posted December 28, 2014 Share Posted December 28, 2014 (edited) i have problem constants.cpp:377: error: too many initializers for 'const DWORD [301]' constants.cpp:692: error: too many initializers for 'const DWORD [301]' constants.cpp:1007: error: too many initializers for 'const DWORD [301]' how to fix it try change the DWORD to DWORDLONG PLAYER_EXP_TABLE_MAX > exp table || exp table > PLAYER_EXP_TABLE_MAX Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
milykot 0 Posted January 10, 2015 Share Posted January 10, 2015 (edited) On 8/23/2014 at 12:46 PM, Traceur3RUN said: /usr/src/mainline/Srcs/Server/common/length.h PLAYER_EXP_TABLE_MAX = 120, PLAYER_MAX_LEVEL_CONST = 120, to PLAYER_EXP_TABLE_MAX = 300, PLAYER_MAX_LEVEL_CONST =300, And you may need to edit the exp table in this file (3x) /usr/src/mainline/Srcs/Server/game/src/constants.cpp Under this: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = And this: const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = But i think need to edit the navicat/player/player level tinyint-->int (for 255+level) (In Design table) need edit more he need change Byte to unsigned long long and packet.h Server/Cient what i need edit i know length.h packet.h constains.h and end? or more cpp edit? give name navicat i change to smallint 5 common length.h const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 100, 150, 260, 380, 600, 1300, 3300, 5700, 8700, 12800, // 10 18000, 25000, 36000, 52000, 73000, 100000, 125000, 160000, 220000, 280000, // 20 370000, 540000, 670000, 880000, 1000000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2100000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한) 2100000000, // 100 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 105 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 110 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 115 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = { 0, // 0 300, 800, 1500, 2500, 4300, 7200, 11000, 17000, 24000, 33000, // 10 43000, 58000, 76000, 100000, 130000, 169000, 219000, 283000, 365000, 472000, // 20 610000, 705000, 813000, 937000, 1077000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2050000000, // 99레벨 일 때 필요경험치 (100레벨이 되기 위한) 2150000000, // 100 2210000000, 2250000000, 2280000000, 2310000000, 2330000000, // 105 2350000000, 2370000000, 2390000000, 2400000000, 2410000000, // 110 2420000000, 2430000000, 2440000000, 2450000000, 2460000000, // 115 2470000000, 2480000000, 2490000000, 2490000000, 2500000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] = { 300, // 0 800, // 1 1500, 2500, 4300, 7200, 11400, 17000, 24000, 33000, 46000, // 10 62000, 83000, 111000, 149000, 200000, 268000, 360000, 482000, 647000, 868000, // 20 996000, 1143000, 1312000, 1506000, 1729000, 1984000, 2277000, 2614000, 3000000, 3443000, // 30 3952000, 4536000, 5206000, 5975000, 6858000, 7730000, 8504000, 9307000, 10140000, 11330000, // 40 12320000, 13370000, 14490000, 15670000, 16920000, 18240000, 19630000, 21090000, 22630000, 24670000, // 50 26890000, 29310000, 31950000, 34820000, 37960000, 41370000, 45100000, 49160000, 53580000, 58400000, // 60 63660000, 69390000, 75630000, 82440000, 89860000, 97950000, 106760000, 136370000, 151800000, 168300000, // 70 250000000, 340000000, 450000000, 570000000, 690000000, 810000000, 912600000, 1004000000, 1094000000, 1182000000, // 80 1269000000, 1354000000, 1438000000, 1521000000, 1603000000, 1684000000, 1764000000, 1844000000, 1922000000, 2000000000, // 90 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 99 99레벨일 때 필요경험치 (100레벨이 되기 위한).. 현재 CIBN이 어떻게 운영하고 있는 지 모르니 신규 테이블을 쓰지 않고 기존값 계속 연장 유지 2000000000, // 100 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 105 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 110 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 115 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, // 120 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 125 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 130 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 135 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 140 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 145 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 150 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 155 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 160 2100000000, 2100000000, 2100000000, 2100000000, // 165 2100000000, 2100000000, 2100000000, 2100000000, // 170 2100000000, 2100000000, 2100000000, 2100000000, // 175 2100000000, 2100000000, 2100000000, 2100000000, // 180 2100000000, 2100000000, 2100000000, 2100000000, // 185 2100000000, 2100000000, 2100000000, 2100000000, // 190 2100000000, 2100000000, 2100000000, 2100000000, // 195 2100000000, 2100000000, 2100000000, 2100000000, // 200 2100000000, 2100000000, 2100000000, 2100000000, // 205 2100000000, 2100000000, 2100000000, 2100000000, // 210 2100000000, 2100000000, 2100000000, 2100000000, // 215 2100000000, 2100000000, 2100000000, 2100000000, // 220 2100000000, 2100000000, 2100000000, 2100000000, // 225 2100000000, 2100000000, 2100000000, 2100000000, // 230 2100000000, 2100000000, 2100000000, 2100000000, // 235 2100000000, 2100000000, 2100000000, 2100000000, // 240 2100000000, 2100000000, 2100000000, 2100000000, // 245 2100000000, 2100000000, 2100000000, 2100000000, // 250 2100000000, 2100000000, 2100000000, 2100000000, // 255 2100000000, 2100000000, 2100000000, 2100000000, // 260 2100000000, 2100000000, 2100000000, 2100000000, // 265 2100000000, 2100000000, 2100000000, 2100000000, // 270 2100000000, 2100000000, 2100000000, 2100000000, // 275 2100000000, 2100000000, 2100000000, 2100000000, // 280 2100000000, 2100000000, 2100000000, 2100000000, // 285 2100000000, 2100000000, 2100000000, 2100000000, // 290 2100000000, 2100000000, 2100000000, 2100000000, // 295 2100000000, 2100000000, 2100000000, 2100000000, // 300 }; const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1] = { 0, 10, 10, 10, 10, 15, 15, 20, 25, 30, 40, // 1 - 10 50, 60, 80, 100, 120, 140, 160, 184, 210, 240, // 11 - 20 270, 300, 330, 360, 390, 420, 450, 480, 510, 550, // 21 - 30 600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, // 31 - 40 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, // 41 - 50 1860, 1920, 2000, 2100, 2200, 2300, 2450, 2600, 2750, 2900, // 51 - 60 3050, 3200, 3350, 3500, 3650, 3800, 3950, 4100, 4250, 4400, // 61 - 70 4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6200, 6400, // 71 - 80 6600, 6900, 7100, 7300, 7600, 7800, 8000, 8300, 8500, 8800, // 81 - 90 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, // 91 - 100 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, // 101 - 110 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 111 - 120 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 121 - 130 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 131 - 140 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 141 - 150 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 151 - 160 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 161 - 170 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 171 - 180 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 181 - 190 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 191 - 200 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 201 - 210 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 211 - 220 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 221 - 230 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 231 - 240 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 241 - 250 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 251 - 260 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 261 - 270 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 271 - 280 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 281 - 290 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 291 - 300 }; const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1] = { 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, // 1 - 10 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 11 - 20 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, // 21 - 30 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 31 - 40 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, // 41 - 50 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 51 - 60 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, // 61 - 70 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 71 - 80 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 81 - 90 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 91 - 100 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 101 - 110 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 111 - 120 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 121 - 130 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 131 - 140 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 141 - 150 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 151 - 160 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 161 - 170 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 171 - 180 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 181 - 190 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 191 - 200 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 201 - 210 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 211 - 220 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 221 - 230 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 231 - 240 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 241 - 250 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 251 - 260 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 261 - 270 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 271 - 280 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 281 - 290 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 291 - 300 }; Tables.h Tables.h fixed typedef struct SPlayerTable { DWORD id; char name[CHARACTER_NAME_MAX_LEN + 1]; char ip[IP_ADDRESS_LENGTH + 1]; WORD job; BYTE voice; INT level; BYTE level_step; short st, ht, dx, iq; DWORD exp; INT gold; BYTE dir; INT x, y, z; INT lMapIndex; long lExitX, lExitY; long lExitMapIndex; short hp; short sp; short sRandomHP; short sRandomSP; int playtime; short stat_point; short skill_point; short sub_skill_point; short horse_skill_point; TPlayerSkill skills[SKILL_MAX_NUM]; TQuickslot quickslot[QUICKSLOT_MAX_NUM]; BYTE part_base; WORD parts[PART_MAX_NUM]; short stamina; BYTE skill_group; long lAlignment; char szMobile[MOBILE_MAX_LEN + 1]; short stat_reset_count; THorseInfo horse; DWORD logoff_interval; int aiPremiumTimes[PREMIUM_MAX_NUM]; } TPlayerTable; and edit client binary BYTE to int . end Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Damixxx0101 6 Posted January 13, 2015 Share Posted January 13, 2015 how i add this ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now