Jump to content
  • 0
Danzon

AFK Plugins

Question

afk.c: In function 'server_preinit':afk.c:125:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given  addBattleConf("afk_timeout",afk_timeout_adjust);                                                ^afk.c:125:2: error: 'addBattleConf' undeclared (first use in this function)  addBattleConf("afk_timeout",afk_timeout_adjust);  ^afk.c:125:2: note: each undeclared identifier is reported only once for each function it appears in

I need help for fixing this can anyone ? thank you.

 

The plugins from Dastgir.

afk.c

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

add this into the first line of afk.c

#include "common/hercules.h"

 

It's already there , look at the script again.

Edited by Max

Share this post


Link to post
Share on other sites
  • 0

I should really remove all plugins from download section and force to download from repo or else

 

@@Mysterious

Enable the link in download section please....

Share this post


Link to post
Share on other sites
  • 0

I should really remove all plugins from download section and force to download from repo or else

 

@@Mysterious

Enable the link in download section please....

 

I downloaded it from your github , also have the same prob with Extended Vending System, tho from github is "updated".

Share this post


Link to post
Share on other sites
  • 0

 

I should really remove all plugins from download section and force to download from repo or else

 

@@Mysterious

Enable the link in download section please....

 I downloaded it from your github , also have the same prob with Extended Vending System, tho from github is "updated".
Then you might really be using old Hercules, Travis build says everything compiles properly, and it was updated roughly 2 months ago(and was tested that time)

Share this post


Link to post
Share on other sites
  • 0

 

 

I should really remove all plugins from download section and force to download from repo or else

 

@@Mysterious

Enable the link in download section please....

 I downloaded it from your github , also have the same prob with Extended Vending System, tho from github is "updated".
Then you might really be using old Hercules, Travis build says everything compiles properly, and it was updated roughly 2 months ago(and was tested that time)

 

I'm using the newest hercules, just downloaded it yesterday because I got some problem with the guild.c , and using github. I did git pull and already on latest version , no updates today.

 

And already installed HPMHooking if you by any chance thinking of that.

 

 

Help me :3

Edited by Max

Share this post


Link to post
Share on other sites
  • 0

@@Dastgir,

afk.c: In function 'server_preinit':afk.c:125:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given
you should know our sample.c has changed again, don't you ?

whenever Haru change the srcplugin folder, that also means our plugin break every time

 

https://github.com/HerculesWS/Hercules/commit/f102c913b2aa093ef40c7846e25850ebb1106d71

Share this post


Link to post
Share on other sites
  • 0

@@Dastgir,

afk.c: In function 'server_preinit':afk.c:125:48: error: macro "addBattleConf" requires 3 arguments, but only 2 given
you should know our sample.c has changed again, don't you ?

whenever Haru change the srcplugin folder, that also means our plugin break every time

 

https://github.com/HerculesWS/Hercules/commit/f102c913b2aa093ef40c7846e25850ebb1106d71

Aw, didn't saw that commit go through master branch...

 

Time to update all plugins once again :x

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.