Jump to content
metin2dev
  • 0
Sign in to follow this  
Shisui

Skill Table Error

Question

game & db both from mainline_relased, running with sql.

Syserr ch1

SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Initialize: SkillManager::Initialize : cannot find point type on skill: 0 szPointOn: 5
SYSERR: Feb 18 16:57:22 :: Boot: cannot initialize skill table
SYSERR: Feb 18 16:57:25 :: pid_deinit: 
End of pid

How can this be solved?

Thanks.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
struct SPointOnType
{
	const char * c_pszName;
	int		 iPointOn;
} kPointOnTypes[] = {
	{ "NONE",		POINT_NONE		},
	{ "MAX_HP",		POINT_MAX_HP		},
	{ "MAX_SP",		POINT_MAX_SP		},
	{ "HP_REGEN",	POINT_HP_REGEN		},
	{ "SP_REGEN",	POINT_SP_REGEN		},
	{ "BLOCK",		POINT_BLOCK		},
	{ "HP",		POINT_HP		},
	{ "SP",		POINT_SP		},
	{ "ATT_GRADE",	POINT_ATT_GRADE_BONUS	},
	{ "DEF_GRADE",	POINT_DEF_GRADE_BONUS	},
	{ "MAGIC_ATT_GRADE",POINT_MAGIC_ATT_GRADE_BONUS	},
	{ "MAGIC_DEF_GRADE",POINT_MAGIC_DEF_GRADE_BONUS	},
	{ "BOW_DISTANCE",	POINT_BOW_DISTANCE	},
	{ "MOV_SPEED",	POINT_MOV_SPEED		},
	{ "ATT_SPEED",	POINT_ATT_SPEED		},
	{ "POISON_PCT",	POINT_POISON_PCT	},
	{ "RESIST_RANGE",   POINT_RESIST_BOW	},
	//{ "RESIST_MELEE",	POINT_RESIST_MELEE	},
	{ "CASTING_SPEED",	POINT_CASTING_SPEED	},
	{ "REFLECT_MELEE",	POINT_REFLECT_MELEE	},
	{ "ATT_BONUS",	POINT_ATT_BONUS		},
	{ "DEF_BONUS",	POINT_DEF_BONUS		},
	{ "RESIST_NORMAL",	POINT_RESIST_NORMAL_DAMAGE },
	{ "DODGE",		POINT_DODGE		},
	{ "KILL_HP_RECOVER",POINT_KILL_HP_RECOVERY	},
	{ "KILL_SP_RECOVER",POINT_KILL_SP_RECOVER	},
	{ "HIT_HP_RECOVER",	POINT_HIT_HP_RECOVERY	},
	{ "HIT_SP_RECOVER",	POINT_HIT_SP_RECOVERY	},
	{ "CRITICAL",	POINT_CRITICAL_PCT	},
	{ "MANASHIELD",	POINT_MANASHIELD	},
	{ "SKILL_DAMAGE_BONUS", POINT_SKILL_DAMAGE_BONUS	},
	{ "NORMAL_HIT_DAMAGE_BONUS", POINT_NORMAL_HIT_DAMAGE_BONUS	},
	{ "n",		POINT_NONE		},
};

System can't find your type in this table. Check it

 

Kind Regards

Ken ~ TA

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

This is my table.

struct SPointOnType
{
	const char * c_pszName;
	int		 iPointOn;
} kPointOnTypes[] = {
	{ "NONE",		POINT_NONE		},
	{ "MAX_HP",		POINT_MAX_HP		},
	{ "MAX_SP",		POINT_MAX_SP		},
	{ "HP_REGEN",	POINT_HP_REGEN		},
	{ "SP_REGEN",	POINT_SP_REGEN		},
	{ "BLOCK",		POINT_BLOCK		},
	{ "HP",		POINT_HP		},
	{ "SP",		POINT_SP		},
	{ "ATT_GRADE",	POINT_ATT_GRADE_BONUS	},
	{ "DEF_GRADE",	POINT_DEF_GRADE_BONUS	},
	{ "MAGIC_ATT_GRADE",POINT_MAGIC_ATT_GRADE_BONUS	},
	{ "MAGIC_DEF_GRADE",POINT_MAGIC_DEF_GRADE_BONUS	},
	{ "BOW_DISTANCE",	POINT_BOW_DISTANCE	},
	{ "MOV_SPEED",	POINT_MOV_SPEED		},
	{ "ATT_SPEED",	POINT_ATT_SPEED		},
	{ "POISON_PCT",	POINT_POISON_PCT	},
	{ "RESIST_RANGE",   POINT_RESIST_BOW	},
	//{ "RESIST_MELEE",	POINT_RESIST_MELEE	},
	{ "CASTING_SPEED",	POINT_CASTING_SPEED	},
	{ "REFLECT_MELEE",	POINT_REFLECT_MELEE	},
	{ "ATT_BONUS",	POINT_ATT_BONUS		},
	{ "DEF_BONUS",	POINT_DEF_BONUS		},
	{ "RESIST_NORMAL",	POINT_RESIST_NORMAL_DAMAGE },
	{ "DODGE",		POINT_DODGE		},
	{ "KILL_HP_RECOVER",POINT_KILL_HP_RECOVERY	},
	{ "KILL_SP_RECOVER",POINT_KILL_SP_RECOVER	},
	{ "HIT_HP_RECOVER",	POINT_HIT_HP_RECOVERY	},
	{ "HIT_SP_RECOVER",	POINT_HIT_SP_RECOVERY	},
	{ "CRITICAL",	POINT_CRITICAL_PCT	},
	{ "MANASHIELD",	POINT_MANASHIELD	},
	{ "SKILL_DAMAGE_BONUS", POINT_SKILL_DAMAGE_BONUS	},
	{ "NORMAL_HIT_DAMAGE_BONUS", POINT_NORMAL_HIT_DAMAGE_BONUS	},
	{ "HT",	POINT_HT },
	{ "IQ", POINT_IQ },
	{ "ST", POINT_ST },
	{ "DX", POINT_DX },
	{ "STUN_PCT", POINT_STUN_PCT },
	{ "SLOW_PCT", POINT_SLOW_PCT },
	{ "PENETRATE_PCT", POINT_PENETRATE_PCT },
	{ "ATTBONUS_HUMAN", POINT_ATTBONUS_HUMAN },
	{ "STEAL_HP", POINT_STEAL_HP },
	{ "STEAL_SP", POINT_STEAL_SP },
	{ "MANA_BURN_PCT", POINT_MANA_BURN_PCT },
	{ "DAMAGE_SP_RECOVER", POINT_DAMAGE_SP_RECOVER },
	{ "RESIST_SWORD", POINT_RESIST_SWORD },
	{ "RESIST_TWOHAND", POINT_RESIST_TWOHAND },
	{ "RESIST_DAGGER", POINT_RESIST_DAGGER },
	{ "RESIST_BELL", POINT_RESIST_BELL	},
	{ "RESIST_FAN", POINT_RESIST_FAN },
	{ "RESIST_BOW", POINT_RESIST_BOW },
	{ "RESIST_FIRE", POINT_RESIST_FIRE },
	{ "RESIST_ELEC", POINT_RESIST_ELEC	},
	{ "RESIST_MAGIC", POINT_RESIST_MAGIC },
	{ "RESIST_WIND", POINT_RESIST_WIND	},
	{ "REFLECT_CURSE", POINT_REFLECT_CURSE	},
	{ "POISON_REDUCE", POINT_POISON_REDUCE },
	{ "EXP_DOUBLE_BONUS", POINT_EXP_DOUBLE_BONUS },
	{ "GOLD_DOUBLE_BONUS", POINT_GOLD_DOUBLE_BONUS },
	{ "ITEM_DROP_BONUS", POINT_ITEM_DROP_BONUS },
	{ "POTION_BONUS", POINT_POTION_BONUS },
	{ "IMMUNE_STUN", POINT_IMMUNE_STUN	},
	{ "IMMUNE_SLOW", POINT_IMMUNE_SLOW	},
	{ "IMMUNE_FALL", POINT_IMMUNE_FALL	},
	{ "CURSE_PCT", POINT_CURSE_PCT	},
	{ "STA", POINT_MAX_STAMINA },
	{ "ATTBONUS_WARRIOR", POINT_ATTBONUS_WARRIOR },
	{ "ATTBONUS_ASSASSIN", POINT_ATTBONUS_ASSASSIN },
	{ "ATTBONUS_SURA", POINT_ATTBONUS_SURA },
	{ "ATTBONUS_SHAMAN", POINT_ATTBONUS_SHAMAN },
	{ "ATTBONUS_MONSTER", POINT_ATTBONUS_MONSTER },
	{ "MAX_HP_PCT", POINT_MAX_HP_PCT },
	{ "MAX_SP_PCT", POINT_MAX_SP_PCT },
	{ "SKILL_DEFEND_BONUS", POINT_SKILL_DEFEND_BONUS },
	{ "NORMAL_HIT_DEFEND_BONUS", POINT_NORMAL_HIT_DEFEND_BONUS },
	{ "RESIST_WARRIOR", POINT_RESIST_WARRIOR },
	{ "RESIST_ASSASSIN", POINT_RESIST_ASSASSIN	},
	{ "RESIST_SURA", POINT_RESIST_SURA	},
	{ "RESIST_SHAMAN", POINT_RESIST_SHAMAN	},
	{ "ENERGY", POINT_ENERGY },
	{ "RESIST_CRITICAL", POINT_RESIST_CRITICAL	},
	{ "RESIST_PENETRATE", POINT_RESIST_PENETRATE },
	{ "n",		POINT_NONE		},
};

I don't know what I'm missing.

I mean, minutes ago I had game & db from mainline and there was no errors...

Share this post


Link to post
Share on other sites
  • 0
		int iIdx = FindPointType(t->szPointOn);

		if (iIdx < 0)
		{
			snprintf(buf, sizeof(buf), "SkillManager::Initialize : cannot find point type on skill: %s szPointOn: %s", t->szName, t->szPointOn);
			sys_err("%s", buf);
			SendLog(buf);
			bError = true;
			M2_DELETE(pkProto);
			continue;
		}

Check conditions.

 

Kind Regards

Ken ~ TA

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×