mrlongshen 22 Posted November 9, 2013 rightclick afk>Configuration Properties>General> search for Platform Toolset, change VS2012(v110) to VS2010(v100) then try to recompile again.. nvm. problem solve. i create manually hehe. Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 9, 2013 okay, just in case for the others 1 Happy reacted to this Quote Share this post Link to post Share on other sites
SSky 2 Posted November 19, 2013 I followed everything, But still can't makt it work. @afk still cannot be used. Any suggestions?afk is in my plugin.conf, Also i extracted the files into my Hercules folder then i compiled afk.sln inside the afk folder. Quote Share this post Link to post Share on other sites
SSky 2 Posted November 19, 2013 I am using Hercules latest SVN Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 20, 2013 is there any error on console? when you type @afk in game, is there any error like "@afk unknown command", please give specific detail. is there any warning on your compilation?. what rev. you are using? 1 Happy reacted to this Quote Share this post Link to post Share on other sites
SSky 2 Posted November 21, 2013 is there any error on console? when you type @afk in game, is there any error like "@afk unknown command", please give specific detail. is there any warning on your compilation?. what rev. you are using? Yes, it says that @afk is an unknown command. This is what i did 1.Extracted the files to my Hercules Folder 2.Added afk to plugin.conf 3.Compiled afk.sln Am i missing something? Quote Share this post Link to post Share on other sites
karazu 33 Posted November 21, 2013 can u add a timer on this please? like the player that is @afk will be kick out after 12 hours Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 22, 2013 is there any error on console? when you type @afk in game, is there any error like "@afk unknown command", please give specific detail. is there any warning on your compilation?. what rev. you are using? Yes, it says that @afk is an unknown command. This is what i did 1.Extracted the files to my Hercules Folder 2.Added afk to plugin.conf 3.Compiled afk.sln Am i missing something? is it load properly in console ? did you check your map-server.exe if it load all the plugins ? are you sure this is the format of your plugins.conf? plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", "afk", <- without // "autopots", //"db2sql", //"sample", //"other",] and did you read this note? Please note that your scripts need to be saved in the .c (source code) extension and placed in the /src/plugin/ folder. 1 Happy reacted to this Quote Share this post Link to post Share on other sites
karazu 33 Posted November 22, 2013 can u add a timer on this please? like the player that is @afk will be kick out after 12 hours up for this one. Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 22, 2013 can u add a timer on this please? like the player that is @afk will be kick out after 12 hours up for this one. you can try to use bindatcmd 1 Happy reacted to this Quote Share this post Link to post Share on other sites
karazu 33 Posted November 22, 2013 can u add a timer on this please? like the player that is @afk will be kick out after 12 hours up for this one. you can try to use bindatcmd Sorry man but i dont know how to do that. Quote Share this post Link to post Share on other sites
SSky 2 Posted November 23, 2013 I am getting this [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking.dll', skipping... Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 23, 2013 ^ you can disable HPMHooking in plugins.conf by adding // // "HPMHooking", "afk", 1 Happy reacted to this Quote Share this post Link to post Share on other sites
SSky 2 Posted November 23, 2013 ^ you can disable HPMHooking in plugins.conf by adding // // "HPMHooking", "afk", Got it! Thank you Sevenzz! Quote Share this post Link to post Share on other sites
SSky 2 Posted November 30, 2013 Plugin is not working anymore on latest revision. /sob Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted November 30, 2013 ~ Update compilation compatibility rev. 13300~ 1 Happy reacted to this Quote Share this post Link to post Share on other sites
SSky 2 Posted November 30, 2013 ~ Update compilation compatibility rev. 13300~ Thank you Mr Sevenzz! Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 1, 2013 ~ Update 2.2 fixed bug when using @afk on game.. 1 Happy reacted to this Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted December 2, 2013 @seventh, no permission to download.. i have update to latest version of rathena. i got this error. im using this plugin HPExport struct hplugin_info pinfo = { "afk", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "1.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated) Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 2, 2013 Latest revision of rAthena? this plugin feature is for Herules.. 1 Happy reacted to this Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted December 2, 2013 Latest revision of rAthena? this plugin feature is for Herules.. oit @seventh im using hercules lol. hahaa please give alternative link to download your afk plugin. the staff not approving yet !! Quote Share this post Link to post Share on other sites
SSky 2 Posted December 2, 2013 Yes, We can't download the plugin. Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 3, 2013 ^try to download it again.. 1 Happy reacted to this Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted December 4, 2013 ^try to download it again.. i got this error afk.c: In function 'plugin_init': afk.c:69: warning: implicit declaration of function 'ACMD_A' afk.c:69: error: 'afk' undeclared (first use in this function) afk.c:69: error: (Each undeclared identifier is reported only once afk.c:69: error: for each function it appears in.) make[1]: *** [../../plugins/afk.so] Error 1 make[1]: Leaving directory `/root/hercules/src/plugins' make: *** [plugins] Error 2 Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted December 4, 2013 please download the latest release version 2.2 Quote Share this post Link to post Share on other sites