KnightOnline icon indicating copy to clipboard operation
KnightOnline copied to clipboard

Some of the structs from the tbl files parsing are incompatible with 1299 tbl files

Open ohad258 opened this issue 7 years ago • 0 comments

This struct:

typedef struct __TABLE_UPC_SKILL_TYPE_4
{
	uint32_t		dwID;			// 일련번호
	
	
	int			iBuffType;		// 버프타입
	//int iIDK0;
	int iIDK1;
	
	int			iDuration;
	int			iAttackSpeed;	// 공격속도
	int			iMoveSpeed;		// 이동속도
	int			iAC;			// 방어력
	int			iAttack;		// 공격력
	int			iMaxHP;			// MAXHP
	int			iStr;			// 힘
	int			iSta;			// 체력
	int			iDex;			// 민첩
	int			iInt;			// 지능
	int			iMAP;			// 마력
	int			iFireResist;	// 불저항
	int			iColdResist;	// 냉기저항
	int			iLightningResist;// 전기저항
	int			iMagicResist;	// 마법저항
	int			iDeseaseResist;	// 저주저항
	int			iPoisonResist;	// 독저항

	int iIdk0;
	int	iIdk2;
	int	iIdk3;
	int	iIdk4;
	int	iIdk5;
	int	iIdk6;
} TABLE_UPC_SKILL_TYPE_4;

supposed to be filled in with Skill_Magic_4.tbl data. Sadly this struct is not compatible with the actual tbl file and neither with the database. We should verify each of those structs. The database columns names will help with it.

This issue causes a lot of weird UI bugs.

ohad258 avatar Sep 08 '18 15:09 ohad258