In file included from hBG.c:44:../plugins/HPMHooking.h:25: error: nested redefinition of'enum HPluginHookType'../plugins/HPMHooking.h:25: error: redeclaration of'enum HPluginHookType'../plugins/HPMHooking.h:26: error: redeclaration of enumerator 'HOOK_TYPE_PRE'../common/HPMi.h:75: note: previous definition of'HOOK_TYPE_PRE' was here
../plugins/HPMHooking.h:27: error: redeclaration of enumerator 'HOOK_TYPE_POST'../common/HPMi.h:76: note: previous definition of'HOOK_TYPE_POST' was here
In file included from hBG.c:44:../plugins/HPMHooking.h:46:42: error:HPMHooking/HPMHooking.Defs.inc:No such file or directory
../plugins/HPMHooking.h:48:1: warning:"addHookPre" redefined
In file included from../common/hercules.h:35,from hBG.c:15:../common/HPMi.h:110:1: warning:thisis the location of the previous definition
In file included from hBG.c:44:../plugins/HPMHooking.h:53:1: warning:"addHookPost" redefined
In file included from../common/hercules.h:35,from hBG.c:15:../common/HPMi.h:111:1: warning:thisis the location of the previous definition
In file included from hBG.c:44:../plugins/HPMHooking.h:60:1: warning:"hookStop" redefined
In file included from../common/hercules.h:35,from hBG.c:15:../common/HPMi.h:114:1: warning:thisis the location of the previous definition
In file included from hBG.c:44:../plugins/HPMHooking.h:61:1: warning:"hookStopped" redefined
In file included from../common/hercules.h:35,from hBG.c:15:../common/HPMi.h:115:1: warning:thisis the location of the previous definition
hBG.c:Infunction'hBG_send_guild_member_list':
hBG.c:599: error:'struct mmo_charstatus' has no member named 'class'
hBG.c:Infunction'hBG_add_rank_points':
hBG.c:1559: error: too few arguments to function'clif->disp_message'
hBG.c:1560: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:1564: error: too few arguments to function'clif->disp_message'
hBG.c:1565: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'npc_parse_unknown_mapflag_pre':
hBG.c:3202: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'clif_charnameupdate_pre':
hBG.c:3236: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'skill_check_condition_castbegin_pre':
hBG.c:3247: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'skillnotok_pre':
hBG.c:3255: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'skill_castend_nodamage_id_pre':
hBG.c:3304: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'status_get_guild_id_pre':
hBG.c:3325: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'status_get_emblem_id_pre':
hBG.c:3345: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'bg_team_leave_pre':
hBG.c:3364: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'guild_isallied_pre':
hBG.c:3404: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:Infunction'plugin_init':
hBG.c:3593: error:'HPMHOOK_pre_npc_parse_unknown_mapflag' undeclared (first useinthisfunction)
hBG.c:3593: error:(Each undeclared identifier is reported only once
hBG.c:3593: error:for each function it appears in.)
hBG.c:3593: error: expected ')' before numeric constant
hBG.c:3593: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3593: warning: left-hand operand of comma expression has no effect
hBG.c:3594: error:'HPMHOOK_pre_clif_charnameupdate' undeclared (first useinthisfunction)
hBG.c:3594: error: expected ')' before numeric constant
hBG.c:3594: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3594: warning: left-hand operand of comma expression has no effect
hBG.c:3595: error:'HPMHOOK_pre_status_get_guild_id' undeclared (first useinthisfunction)
hBG.c:3595: error: expected ')' before numeric constant
hBG.c:3595: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3595: warning: left-hand operand of comma expression has no effect
hBG.c:3596: error:'HPMHOOK_pre_status_get_emblem_id' undeclared (first useinthisfunction)
hBG.c:3596: error: expected ')' before numeric constant
hBG.c:3596: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3596: warning: left-hand operand of comma expression has no effect
hBG.c:3597: error:'HPMHOOK_pre_map_quit' undeclared (first useinthisfunction)
hBG.c:3597: error: expected ')' before numeric constant
hBG.c:3597: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3597: warning: left-hand operand of comma expression has no effect
hBG.c:3598: error:'HPMHOOK_pre_guild_isallied' undeclared (first useinthisfunction)
hBG.c:3598: error: expected ')' before numeric constant
hBG.c:3598: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3598: warning: left-hand operand of comma expression has no effect
hBG.c:3599: error:'HPMHOOK_pre_skill_check_condition_castbegin' undeclared (first useinthisfunction)
hBG.c:3599: error: expected ')' before numeric constant
hBG.c:3599: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3599: warning: left-hand operand of comma expression has no effect
hBG.c:3600: error:'HPMHOOK_pre_skill_not_ok' undeclared (first useinthisfunction)
hBG.c:3600: error: expected ')' before numeric constant
hBG.c:3600: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3600: warning: left-hand operand of comma expression has no effect
hBG.c:3601: error:'HPMHOOK_pre_skill_castend_nodamage_id' undeclared (first useinthisfunction)
hBG.c:3601: error: expected ')' before numeric constant
hBG.c:3601: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3601: warning: left-hand operand of comma expression has no effect
hBG.c:3602: error:'HPMHOOK_pre_bg_team_leave' undeclared (first useinthisfunction)
hBG.c:3602: error: expected ')' before numeric constant
hBG.c:3602: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3602: warning: left-hand operand of comma expression has no effect
hBG.c:3605: error:'HPMHOOK_post_clif_pLoadEndAck' undeclared (first useinthisfunction)
hBG.c:3605: error: expected ')' before numeric constant
hBG.c:3605: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3605: warning: left-hand operand of comma expression has no effect
hBG.c:3606: error:'HPMHOOK_post_clif_pUseSkillToId' undeclared (first useinthisfunction)
hBG.c:3606: error: expected ')' before numeric constant
hBG.c:3606: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3606: warning: left-hand operand of comma expression has no effect
hBG.c:3607: error:'HPMHOOK_post_clif_getareachar_pc' undeclared (first useinthisfunction)
hBG.c:3607: error: expected ')' before numeric constant
hBG.c:3607: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3607: warning: left-hand operand of comma expression has no effect
hBG.c:3608: error:'HPMHOOK_post_pc_update_idle_time' undeclared (first useinthisfunction)
hBG.c:3608: error: expected ')' before numeric constant
hBG.c:3608: error:'struct HPMi_interface' has no member named 'hooking'
hBG.c:3608: warning: left-hand operand of comma expression has no effect
hBG.c:3664:89: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:Infunction'server_preinit':
hBG.c:3664: error:'addBattleConf' undeclared (first useinthisfunction)
hBG.c:3665:96: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3666:90: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3667:95: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3668:95: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3669:96: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3670:94: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3671:93: error: macro "addBattleConf" passed 4 arguments, but takes just 3
hBG.c:3672:93: error: macro "addBattleConf" passed 4 arguments, but takes just 3
make[1]:***[../../plugins/hBG.so]Error1
make[1]:Leaving directory `/root/trunk/src/plugins'
make: *** [plugins] Error 2
Hi guys. I'm having this error after adding hBG.c plugin from http://herc.ws/board/topic/14083-hercules-battlegrounds/ . Hoping for some help please. Thanks in advance!
Share this post
Link to post
Share on other sites