Jump to content
Mhalicot

Costume Item Plugins

Recommended Posts

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...

Share this post


Link to post
Share on other sites

 

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

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

MAKE   plugin.o
make[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  

Share this post


Link to post
Share on other sites

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?

 

Share this post


Link to post
Share on other sites

 

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 !

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

I also got a problem on line 552 and 577.
and i tried replacing those line with this

552- 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

Share this post


Link to post
Share on other sites

mMkOX2m.jpg

 

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.

D0ozDQ6.jpg

 

 

 

 I have the same problem, could u tell me how did u solve it, please??

Edited by Paladian

Share this post


Link to post
Share on other sites

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",]

Share this post


Link to post
Share on other sites

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",]

Share this post


Link to post
Share on other sites

 

mMkOX2m.jpg

 

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.

D0ozDQ6.jpg

 

 

 

 I have the same problem, could u tell me how did u solve it, please??

 

I just followed the directions again and compiled it. :D

Share this post


Link to post
Share on other sites

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 by ρixєℓ

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.