Jump to content

Recommended Posts

/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)

 

  • Love 2
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17652
Share on other sites

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)

 

.gif

 

need edit more he need change Byte to unsigned long long  and packet.h Server/Cient

 

  • Metin2 Dev 2
  • Love 1
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17719
Share on other sites

/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

  • Metin2 Dev 3
  • Love 1
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17720
Share on other sites

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

  • Metin2 Dev 1
  • Love 4
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17741
Share on other sites

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)

 

.gif

 

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

Screen_Shot_08_23_14_at_12_48_PM.jpg

common length.h

Screen_Shot_08_23_14_at_12_50_PM.jpg

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 by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17777
Share on other sites

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
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-17782
Share on other sites

anyone tried this?

yea i test it

 

here screenshots it work:

 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

Screen_Shot_08_29_14_at_03_07_PM.jpg

 

Screen_Shot_08_29_14_at_03_06_PM.jpg

 

 

Thanks to Denis And Night

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-18579
Share on other sites

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
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-18642
Share on other sites

  • 1 month later...

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
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-22848
Share on other sites

 

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
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-23261
Share on other sites

  • 2 months later...

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

 

7615d7ed639670ed6f675ac26b1be75e.png

try change the DWORD to DWORDLONG

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-28778
Share on other sites

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.

Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-28924
Share on other sites

 

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

 

7615d7ed639670ed6f675ac26b1be75e.png

try change the DWORD to DWORDLONG

 

PLAYER_EXP_TABLE_MAX > exp table || exp table > PLAYER_EXP_TABLE_MAX

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-28951
Share on other sites

  • 2 weeks later...
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)

.gif

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

Screen_Shot_08_23_14_at_12_48_PM.jpg

common length.h

Screen_Shot_08_23_14_at_12_50_PM.jpg

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 by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/2626-source-max-lvl-300/#findComment-30489
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.