If this isn't the right place to post it im sorry...
The problem is here :
skill.c: In function ‘skill_parse_row_nonearnpcrangedb’:
skill.c:18315: warning: comparison is always false due to limited range of data type
and here :
[Error]: pc_skill: Skill with id 0 does not exist in the skill database
[Error]: pc_skill: Skill with id 0 does not exist in the skill database
[Error]: pc_skill: Skill with id 0 does not exist in the skill database
[Error]: pc_skill: Skill with id 0 does not exist in the skill database
This is the line on skill.c
/// Reads additional range [Cydh]
static bool skill_parse_row_nonearnpcrangedb(char* split[], int column, int current) {
uint16 skill_id = skill_name2id(split[0]), idx; // -- This is the line 18315
if ((idx = skill_get_index(skill_id)) < 0) { // invalid skill id
ShowError("skill_parse_row_nonearnpcrangedb: Invalid skill '%s'\n",split[0]);
return false;
}
skill_db[idx].unit_nonearnpc_range = max(atoi(split[1]),0);
skill_db[idx].unit_nonearnpc_type = (atoi(split[2])) ? cap_value(atoi(split[2]),1,15) : 15;
return true;
}
Can anyone help me with this.. I don't know what this is
Addition :
Im also have this problem on my mapserver log.
Whenever I use the command @reloaditemdb the mapserver crashes here is the log :
[Error]: Server received crash signal! Attempting to save all online characters!
[Status]: Memory manager initialised: log/map-server.leaks
Question
NexusXVI
If this isn't the right place to post it im sorry...
The problem is here :
and here :
This is the line on skill.c
Can anyone help me with this.. I don't know what this is
Addition :
Im also have this problem on my mapserver log.
Whenever I use the command @reloaditemdb the mapserver crashes here is the log :
Edited by NexusXVILink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.