Jump to content
  • 0
wallaby

Can't seem to get Mhalicot's Plugins to work...

Question

I've read the related topics on the forums but there isn't one thread that gives a clear explanation how to get Mhalicot's plugins to work on Linux. The plugins that I'm looking at:

 

- afk.c

- costumeitem.c

- Critical-Magic.c

 

It always return me the message addbattleconf, requires 3 arguments, but 2 provided? Anyone kind enough to guide me thru this? Thanks for your time.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Thank you Samuel and Dastgir for replying. I am using the ones that was posted but I keep getting error messages with addBattleConf

 

Error afk.c:

afk.c:128:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given
afk.c: In function 'server_preinit':
afk.c:128: error: 'addBattleConf' undeclared (first use in this function)
afk.c:128: error: (Each undeclared identifier is reported only once
afk.c:128: error: for each function it appears in.)
make[1]: *** [../../plugins/afk.so] Error 1
 

 

My plugins.conf:

*/
plugins_list: [
 /* Enable HPMHooking when plugins in use rely on Hooking */
 "HPMHooking",
 "noitem",
 "itemmap",
 "afk",
 "costumeitem",
 "Critical-Magic",
 "ExtendedVending",
 "whosell",
]

 

 

My Makefile.in

# Note: DO NOT include the .c extension!!! #

MYPLUGINS = noitem itemmap afk costumeitem Critical-Magic ExtendedVending whosell

 

 

Even if I removed afk.c, now I get this:

costumeitem.c:334:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given
costumeitem.c: In function 'server_preinit':
costumeitem.c:334: error: 'addBattleConf' undeclared (first use in this function)
costumeitem.c:334: error: (Each undeclared identifier is reported only once
costumeitem.c:334: error: for each function it appears in.)
make[1]: *** [../../plugins/costumeitem.so] Error 1
 

 

It's always the addBattleConf... I don't know what I should do =/ Thanks for helping!

Edited by wallaby

Share this post


Link to post
Share on other sites
  • 0

Thank you Samuel and Dastgir for replying. I am using the ones that was posted but I keep getting error messages with addBattleConf

 

Error afk.c:

afk.c:128:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given

afk.c: In function 'server_preinit':

afk.c:128: error: 'addBattleConf' undeclared (first use in this function)

afk.c:128: error: (Each undeclared identifier is reported only once

afk.c:128: error: for each function it appears in.)

make[1]: *** [../../plugins/afk.so] Error 1

 

 

My plugins.conf:

*/

plugins_list: [

 /* Enable HPMHooking when plugins in use rely on Hooking */

 "HPMHooking",

 "noitem",

 "itemmap",

 "afk",

 "costumeitem",

 "Critical-Magic",

 "ExtendedVending",

 "whosell",

]

 

 

My Makefile.in

# Note: DO NOT include the .c extension!!! #

 

MYPLUGINS = noitem itemmap afk costumeitem Critical-Magic ExtendedVending whosell

 

 

 

Even if I removed afk.c, now I get this:

costumeitem.c:334:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given

costumeitem.c: In function 'server_preinit':

costumeitem.c:334: error: 'addBattleConf' undeclared (first use in this function)

costumeitem.c:334: error: (Each undeclared identifier is reported only once

costumeitem.c:334: error: for each function it appears in.)

make[1]: *** [../../plugins/costumeitem.so] Error 1

 

 

It's always the addBattleConf... I don't know what I should do =/ Thanks for helping!

IT was updated yesterday, so update it and it will work

Share this post


Link to post
Share on other sites
  • 0

@@Dastgir, thanks so much for updating them... I've found something odd with the costume plugin...

 

After it's made into a costume, the costume HG overwrites or nullifies the effects of the non-costume HG... for example... HG A gives 100Str... making it into a Costume it shouldn't give any stats right? But with it a Costume, and when I equip another normal HG A, the 100Str is removed as well... Issit just me experiencing this?

 

Thanks a lot for your time =)

Edited by wallaby

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
Answer this question...

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