[AtCommand] afk

Mhalicot

Gamers Republic
Messages
1,971
Points
0
Location
Asia
Github
mhalicot
Emulator
File Name: [AtCommand] afk

File Submitter: Mhalicot

File Submitted: 24 Oct 2013

File Category: Plugins

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

Click here to download this file

 
Last edited by a moderator:
    if(sd->bl.m == map->mapname2mapid("izlude")) {        clif->message(fd, "@afk is not allowed on this map.");        return false;        }
why ? i like afking in izlude.
default_smile.png


 
Last edited by a moderator:
please check the console if theres an error, make sure that you edit conf/plugins.conf

or else recompile it, find  afk/afk.sln and recompile it..

 
work after recompile
so the dll need to recompile for each computer

 
work after recompile

so the dll need to recompile for each computer
yes, this is why u NEVER should use Pre-Compiled Plugins ,  only use the SRC/PLUGIN  files and compile the plugin in yourself.

Pre  Compild plugins are crap ^^

 
work after recompile

so the dll need to recompile for each computer
yes, this is to update current location.

Pre-Compiled features, ready made MSVC. you can easily rebuild and its ready to go without any trouble on setup.

 
 

I have a big problem, when I use the command message appears: disconnected from the server, and map_server falls.

 
Last edited by a moderator:
are you using linux? then get only the src/plugins/afk.c then follow HPM instruction.

 
obviously you have a wrong setting.

please follow this

Under Configuration Properties click C/C++ and open General, change Additional Include Directories to ..srccommon;..3rdpartymsinttypesinclude

and make sure that you extract all of the files in a proper directory.. hercules/trunk



 
Last edited by a moderator:
obviously you have a wrong setting.

please follow this

Under Configuration Properties click C/C++ and open General, change Additional Include Directories to ..srccommon;..3rdpartymsinttypesinclude

and make sure that you extract all of the files in a proper directory.. hercules/trunk




erro:

2uopi81.jpg




Print of Error:

2mewb2x.jpg


 
Last edited by a moderator:
Back
Top