[AtCommand] afk

but I fol, and unfortunately gave this error ai the top
You're not building the project within the Hercules Solution Project.

Open the hercules-10.sln in your file then do the adding their.

 
Gave just right now, I apologize for having work for you. Many Voices thank you!

 
Your welcome and I'm happy to hear that, its my pleasure
default_no1.gif


 
Sir, I follow like your step

Instruction.

1. Download and extract files using 7z or 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. find  afk/afk.sln and recompile it.

4. You can now start using your ready made plugins
default_no1.gif
isnt correct ?

here the ss for you.

I extract than I put on my hercules folder like this..

09-Nov-13 1-26-06 AM.png

then i edit the conf/plugins.conf

like this

09-Nov-13 1-31-58 AM.png

then when open the afk/afk.sln I open with Microsoft Visual Studio 2010 and get this error..

09-Nov-13 1-26-34 AM.png

09-Nov-13 1-24-30 AM.png

How to fix it sir ?

 
rightclick afk>Configuration Properties>General>

search for Platform Toolset, change VS2012(v110) to VS2010(v100)

then try to recompile again..

 
Last edited by a moderator:
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.

 
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?

 
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?

 
can u add a timer on this please? like the player that is @afk will be kick out after 12 hours

 
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.

 

 
^ you can disable HPMHooking in plugins.conf by adding //

Code:
//	"HPMHooking",	"afk",
 
Back
Top