Jump to content
metin2dev
Metin2International
  • 0
Traceur3RUN

Source Max lvl 300.

Question

Recommended Posts

  • 0

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

 

  • Like 2

Share this post


Link to post
Share on other sites
  • 0

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

 

http://piclair.com/lnpbh

 

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

 

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

/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

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

 

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

 

http://piclair.com/lnpbh

 

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 Traceur3RUN
  • Like 1

Share this post


Link to post
Share on other sites
  • 0

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;

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

 

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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 ?

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

 

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

Share this post


Link to post
Share on other sites
  • 0

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

http://piclair.com/lnpbh

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×