Jump to content
  • 0
Sign in to follow this  
Absolutely Zero

@afk Command

Question

6 answers to this question

Recommended Posts

  • 0

 

I tried it and it's not compatible in Linux.

 

NOTE: this is not compatible in Linux.

see forum www.herc.ws for more information..

 

actually using it in linux is even easier: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc so it does work

Share this post


Link to post
Share on other sites
  • 0

Plugins still not working..

 

Maybe someone please fix this one for latest Hercules version?

ACMD(afk){	nullpo_retr(-1, sd);		if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag ){		chat_createpcchat(sd, "Be Right Back", "", 1, 1);		sd->state.autotrade = 1;		if( battle_config.at_timeout ) {			int timeout = atoi(message);			status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0);		}		clif->chsys_quit(sd);		clif->authfail_fd(sd->fd, 15);	}else{		clif->message(fd, "AFK is not allowed on this map.");	}	return 0;}

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
Answer this question...

×   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...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.