[AtCommand] afk

where did you extrace the afk files? please follow what you quoted above.

you must extract it in your c:documents and settingsgustavodesktophercules

 
Last edited by a moderator:
where did you extrace the afk files? please follow what you quoted above.

you must extract it in your c:documents and settingsgustavodesktophercules
Friend I played afk folder like you said in hercules and the same error happened.

 
can you tell me where you extract the files? see attachment then compare the location and files inside.

afksln.png

 
open afk.sln 

then complare again
afkprops.png
 
Last edited by a moderator:
no, maybe you are using outdated afk plugins, try to download the last update.

 
Update:

  • 3.0 Added unable to use @afk when receiving damage. rev. 137**

 
^ Try to read this >> Guide for Linux/unix

Note: be sure to place the .c file in src/plugins directory

 and add your plugins to the conf/plugins.conf file

 plugins_list: [


/* Enable HPMHooking when plugins in use rely on Hooking */
"HPMHooking",
"afk",
//"db2sql",
//"sample",
//"other",
]
 
Last edited by a moderator:
Code:
afk.c: In function ‘atcommand_afk’:afk.c:61: warning: passing argument 2 of ‘status->change_start’ makes pointer from integer without a castafk.c:61: note: expected ‘struct block_list *’ but argument is of type ‘int’afk.c:61: error: too few arguments to function ‘status->change_start’make[1]: *** [../../plugins/afk.so] Error 1make[1]: Leaving directory `/root/trunk/src/plugins'make: *** [plugins] Error 2
 
I will check it later after work.
default_smile.png


 
afk.c: In function ‘atcommand_afk’:afk.c:61: warning: passing argument 2 of ‘status->change_start’ makes pointer from integer without a castafk.c:61: note: expected ‘struct block_list *’ but argument is of type ‘int’afk.c:61: error: too few arguments to function ‘status->change_start’make[1]: *** [../../plugins/afk.so] Error 1make[1]: Leaving directory `/root/trunk/src/plugins'make: *** [plugins] Error 2
In the latest REV this has a problem

 
Sir Mhalicot i try to implement you're @afk but i got this warning on console..

i can't use @afk in game, i extracted it on Hercules Folder and add "afk", in plugins.conf..

amAQg.png


 
Last edited by a moderator:
Sir Mhalicot i try to implement you're @afk but i got this warning on console..

i can't use @afk in game, i extracted it on Hercules Folder and add "afk", in plugins.conf..

amAQg.png
add this into your afk.c

#include "../common/HPMDataCheck.h"
Still the same.. can't use and i still see that warning on console
remember that you need to recompile, refer: http://herc.ws/board/topic/4283-introducing-hpm-datacheck/

 
Back
Top