Star Gladiator LOV/Parrying SL

Thanks for sharing this Myriad! I hope you can help us about the @pk off and on plugin too. It's a most requested to modify too. Dastgir's pk plugin is a good one too but it cannot be used on a PK Server. If you want an explanation, I will.

 
Update:

- skill_get_requirement_post was missing a 'sd' check. 
- Configuration for which skills become available is now set in an array.
- Console will print a warning if the array is not configured correctly.

Code:
// Configuration
int extra_skill[] = {
	// Add the skills/levels here
	// Format: skill_id, skill_lv,
	WZ_VERMILION, 10,
	LK_PARRYING, 10
};
// End Configuration
 
Last edited by a moderator:
In file included from sg_parrylov.c:23:0:
sg_parrylov.c: In function 'plugin_init':
../plugins/HPMHooking.h:54:11: error: 'HPMHOOK_post_pc_calc_skilltree_clear' undeclared (first use in this function)
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
^
../plugins/HPMHooking.h:54:11: note: each undeclared identifier is reported only once for each function it appears in
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
^
../plugins/HPMHooking.h:54:52: error: expected ')' before numeric constant
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
^
../plugins/HPMHooking.h:54:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
^


@Myriad I got this when i compile..

 
Have you edited file at all? Using updated Hercules? I am using updated Hercules and it works fine.
bTjhSjo.png


 
Hello! Sorry for reviving this thread, I don't like to post it bc i know this request is too much..

Well I installed this plugin by @bWolfie, the skill shows up when SG gets Linked, however I cannot use the skill even tho I made changed on skilldb to enable the skill on Books (Weapon) also LOV doesn't work.

 
Back
Top