Christopher Freitas 1 Posted May 5, 2015 pls help [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_login.so' (error: plugins/HPMHooking_login.so: cannot open shared object file: No such file or directory), skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so' (error: plugins/costumeitem.so: cannot open shared object file: No such file or directory), skipping... Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted May 5, 2015 pls help [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_login.so' (error: plugins/HPMHooking_login.so: cannot open shared object file: No such file or directory), skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so' (error: plugins/costumeitem.so: cannot open shared object file: No such file or directory), skipping... Make sure that you compiled does two completely. and you add it in conf/plugins.conf Quote Share this post Link to post Share on other sites
Christopher Freitas 1 Posted May 5, 2015 plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", //"db2sql", //"sample", //"other", "costumeitem", Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted May 5, 2015 plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", //"db2sql", //"sample", //"other", "costumeitem", make sure that you compile it both without error just like what the error says.. it cant detect does two files.. meaning it not yet compiled or have error on compilation.. Quote Share this post Link to post Share on other sites
Christopher Freitas 1 Posted May 5, 2015 make[1]: Leaving directory `/home/emulador/src/map'building conf/import folder...[root@@projectro emulador]# ./athena-start start dont have error in compilation ... Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted May 5, 2015 make[1]: Leaving directory `/home/emulador/src/map' building conf/import folder... [root@@projectro emulador]# ./athena-start start dont have error in compilation ... hmm.. you must compile the plugins not the map? check this out http://herc.ws/wiki/Building_HPM_Plugin_for_gcc Quote Share this post Link to post Share on other sites
Christopher Freitas 1 Posted May 5, 2015 MAKE plugin.omake[1]: Entering directory `/home/emulador/src/plugins'make[1]: *** No rule to make target `o'. Stop.make[1]: Leaving directory `/home/emulador/src/plugins'make: *** [plugin.o] Error 2 used command "make plugins" costumeitem.c: In function 'status_calc_mine':costumeitem.c:552: error: 'struct status_interface' has no member named 'base_pc_maxhp'costumeitem.c:577: error: 'struct status_interface' has no member named 'base_pc_maxsp'make[1]: *** [../../plugins/costumeitem.so] Error 1make[1]: Leaving directory `/home/emulador/src/plugins'make: *** [plugins] Error 2 Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted May 5, 2015 @ChristopherLokki™, I think you are using outdated version.. Please make sure that you download the latest version 3.4 Quote Share this post Link to post Share on other sites
Christopher Freitas 1 Posted May 5, 2015 i'm used version 3.4 '-' any more idea ? Quote Share this post Link to post Share on other sites
buczak 1 Posted May 6, 2015 Hello, I was having these errors: Error 3 error C2039: 'base_pc_maxhp' : is not a member of 'status_interface' c:usersandredocumentsherculeshercules-mastersrcpluginscostumeitem.c 552 1 costumeitemError 4 error C2039: 'base_pc_maxsp' : is not a member of 'status_interface' c:usersandredocumentsherculeshercules-mastersrcpluginscostumeitem.c 577 1 costumeitem So I changed those lines: sd->status.max_sp = status->base_pc_maxsp(sd, bstatus);sd->status.max_sp = status->base_pc_maxhp(sd, bstatus); for this sd->status.max_sp = status->get_base_maxsp(sd, bstatus);sd->status.max_sp = status->get_base_maxsp(sd, bstatus); With the changes, the errors are gone and compiled But I do not know if my changes are correct Is this right? 1 Christopher Freitas reacted to this Quote Share this post Link to post Share on other sites
Christopher Freitas 1 Posted May 6, 2015 Hello, I was having these errors: Error 3 error C2039: 'base_pc_maxhp' : is not a member of 'status_interface' c:usersandredocumentsherculeshercules-mastersrcpluginscostumeitem.c 552 1 costumeitemError 4 error C2039: 'base_pc_maxsp' : is not a member of 'status_interface' c:usersandredocumentsherculeshercules-mastersrcpluginscostumeitem.c 577 1 costumeitem So I changed those lines: sd->status.max_sp = status->base_pc_maxsp(sd, bstatus);sd->status.max_sp = status->base_pc_maxhp(sd, bstatus); for this sd->status.max_sp = status->get_base_maxsp(sd, bstatus);sd->status.max_sp = status->get_base_maxsp(sd, bstatus); With the changes, the errors are gone and compiled But I do not know if my changes are correct Is this right? WOOOWWWW !!! NICE NICE NICE !!! TY ! Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted May 7, 2015 i'm used version 3.4 '-' any more idea ? are you sure? because I've fixed that error on 3.4 update.. so maybe you've downloaded the wrong file.. anyways I'm glad that you fixed it already Quote Share this post Link to post Share on other sites
rans 7 Posted May 7, 2015 I also got a problem on line 552 and 577.and i tried replacing those line with this552- sd->status.max_hp = status->get_base_maxhp(sd, bstatus);577- sd->status.max_sp = status->get_base_maxsp(sd, bstatus);and it work.thnx Quote Share this post Link to post Share on other sites
loliserver 0 Posted June 12, 2015 This plugin works in pre-re? Quote Share this post Link to post Share on other sites
koko24 1 Posted June 12, 2015 This plugin works in pre-re? yes Quote Share this post Link to post Share on other sites
Paladian 0 Posted June 22, 2015 (edited) Ok, how do I solve this thing? should I download that said .dll file? If yes, where do I put it? EDIT: .dll solved. But this is the prob now. I have the same problem, could u tell me how did u solve it, please?? Edited June 22, 2015 by Paladian Quote Share this post Link to post Share on other sites
loliserver 0 Posted June 23, 2015 Why cant load the plugin? make[1]: Entering directory `/home/ro/Hercules/src/plugins' CC sample.c PLUGIN sample CC db2sql.c PLUGIN db2sql CC HPMHooking.c (CHAR) PLUGIN HPMHooking_char CC HPMHooking.c (LOGIN) PLUGIN HPMHooking_login CC HPMHooking.c (MAP) PLUGIN HPMHooking_mapmake[1]: Leaving directory `/home/ro/Hercules/src/plugins' I have enable the plugin in Plugins.conf plugins_list: [ "HPMHooking", "costumeitem", //"db2sql", //"sample", //"other",] Quote Share this post Link to post Share on other sites
MoGuri 1 Posted June 23, 2015 Add it to the makefile Why cant load the plugin? make[1]: Entering directory `/home/ro/Hercules/src/plugins' CC sample.c PLUGIN sample CC db2sql.c PLUGIN db2sql CC HPMHooking.c (CHAR) PLUGIN HPMHooking_char CC HPMHooking.c (LOGIN) PLUGIN HPMHooking_login CC HPMHooking.c (MAP) PLUGIN HPMHooking_mapmake[1]: Leaving directory `/home/ro/Hercules/src/plugins' I have enable the plugin in Plugins.conf plugins_list: [ "HPMHooking", "costumeitem", //"db2sql", //"sample", //"other",] Quote Share this post Link to post Share on other sites
loliserver 0 Posted June 23, 2015 @MoGuri Thanks works now Quote Share this post Link to post Share on other sites
Skyline 23 Posted June 24, 2015 Ok, how do I solve this thing? should I download that said .dll file? If yes, where do I put it? EDIT: .dll solved. But this is the prob now. I have the same problem, could u tell me how did u solve it, please?? I just followed the directions again and compiled it. Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted June 25, 2015 @@Axl, that error has been resolved already.. please download the latest version which is 3.4 Thanks! 1 astralprojection reacted to this Quote Share this post Link to post Share on other sites
ρixєℓ 21 Posted June 30, 2015 (edited) Error and compiling: 1>Build started 29/06/2015 22:31:16.1>InitializeBuildStatus:1> Touching "costumeitemDebugcostumeitem.unsuccessfulbuild".1>ClCompile:1> costumeitem.c1>e:ragnaemuladortrunksrccommonmalloc.h(7): fatal error C1083: Cannot open include file: 'common/cbasetypes.h': No such file or directory1>1>Build FAILED.1>1>Time Elapsed 00:00:00.09 Does anyone know what can it be? Edited June 30, 2015 by ρixєℓ Quote Share this post Link to post Share on other sites
buczak 1 Posted July 1, 2015 Same here ... With the latest version of Hercules, all plugins give this error ... @@ρixєℓ Solved, copy sample plugin settings and everything worked. Quote Share this post Link to post Share on other sites
ρixєℓ 21 Posted July 1, 2015 Same here ... With the latest version of Hercules, all plugins give this error ... @@ρixєℓ Solved, copy sample plugin settings and everything worked. Sorry, most do not understand, can you elaborate? Quote Share this post Link to post Share on other sites
buczak 1 Posted July 3, 2015 @@ρixєℓ In my case I use Windows, along with the server is a plugin called "sample". Open the file in MVS, for example, and see the plugin properties the right way to set up. Quote Share this post Link to post Share on other sites