Jump to content

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

 

Share this post


Link to post
Share on other sites

 

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.

 

 

 

Share this post


Link to post
Share on other sites

 

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 :meow:

Share this post


Link to post
Share on other sites

 

 

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 :meow:

Sorry man but i dont know how to do that. 

Share this post


Link to post
Share on other sites

@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)

Share this post


Link to post
Share on other sites

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 !!

Share this post


Link to post
Share on other sites

^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

 

Share this post


Link to post
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
Reply to this topic...

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