Jump to content

About This File

HPM @afk complete package.

 

Compatible with Windows System Only

 

if you are using Linux, ignore other files and use only afk.c

some Linux System got many bugs with files what are all ready compiled under VS2012 .

(Windows Compiled wont work on *nix)

Instruction.

 

1. Download and extract files using any application that can extract it.

2. extract it in your server directory ex: C:/RO Server/Hercules/

2.1. edit conf/plugins.conf and add afk

3. Open Hercles/afk/afk.vcxproj and recompile.

4.Your done. you can now try your plugins

 

Note: It is compiled already, so don't bother to recompile it.

use recompile if you modify the script.

the command is @afk

If you want to edit look for src/plugins/afk.c

you can also add alias in atcommand.conf

 

If you have any questions feel free to drop a comment.

 

for more info on how to to use HPM visit Here

(Tested on Hercules rev. e9d695)

Credit: Original file by Rebel and converted by Me


What's New in Version 2.2   See changelog

Released

  • 1.0 Initial Script
  • Topic: http://goo.gl/vbmQnr
  • 2.0 Added Map restriction "izlude", GVG/PVP.
  • You can't use @afk when your dead.
  • 2.1 Update compilation compatibility in latest
  • rev. 13300
  • 2.2 Fixed bug when using @afk.



User Feedback

Recommended Comments

Hi Good day

 

         Im new in plugins, i've try to add to use your plugin @afk, the time out is not working even i set it on 60sec, after i execute the command i logged out immediately even i set the time_out to 60sec and can you help me for some reference/link for the syntax/explanation of the commands used in generating plugins? example "status->change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, afk_timeout*1000,0);"  or "sd->state.monster_ignore = 1;" < where can i get the reference docs 

 

thank you ^^

Share this comment


Link to comment
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
Add a comment...

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