Sup Herc PPL, I know it's a delicated topic and usually not given much attention due to the fact that it is custom stuff development but.... ;o
So, i'm messing arround with custom skill and the client power to handle them and found out that from skill id 3036 foward, it does handle it pretty well, so i changed the index formula to.
//[Ind/Hercules] GO GO GO LESS! - http://herc.ws/board/topic/512-skill-id-processing-overhaul/
else if( skill_id > 1019 && skill_id < 8001 ) {
if( skill_id < 2058 ) // 1020 - 2000 are empty
skill_id = 1020 + skill_id - 2001;
else if( skill_id < 2549 ) // 2058 - 2200 are empty - 1020+57
skill_id = (1077) + skill_id - 2201;
//else if ( skill_id < 3036 ) // 2549 - 3000 are empty - 1020+57+348
else if ( skill_id < 3436 ) // 2549 - 3000 are empty - 1020+57+348
skill_id = (1425) + skill_id - 3001;
else if ( skill_id < 5044 ) // 3436 - 5000 are empty - 1020+57+348+435
//skill_id = (1460) + skill_id - 5001;
skill_id = (1860) + skill_id - 5001;
else
ShowWarning("skill_get_index: skill id '%d' is not being handled!\n",skill_id);
}
So in the end i would have 400 skill ids to play with... It did work on last year's revision, but not in this year's.
Look's like only changing
//#define MAX_SKILL 1510
#define MAX_SKILL 1910
Is printing out "[Error]: chrif_authok: Data size mismatch!"
Any thoughts on what could be the problem here?
This may also create an option for people trying to create custom skills and are not happy on being locked to skills id gaps all arround. x_X
Sup Herc PPL, I know it's a delicated topic and usually not given much attention due to the fact that it is custom stuff development but.... ;o
So, i'm messing arround with custom skill and the client power to handle them and found out that from skill id 3036 foward, it does handle it pretty well, so i changed the index formula to.
Look's like only changing
Is printing out "[Error]: chrif_authok: Data size mismatch!"Any thoughts on what could be the problem here?
This may also create an option for people trying to create custom skills and are not happy on being locked to skills id gaps all arround. x_X
;]
Edited by raPalooza~Share this post
Link to post
Share on other sites