Absolutely Zero
New member
- Messages
- 5
- Points
- 0
I'm using the latest GIT, I tried the @afk patch that posted on some topic here in the forum but it doesn't work. Can someone share a working @afk.patch? Thanks in advance!
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 workI tried it and it's not compatible in Linux.
NOTE: this is not compatible in Linux.
see forum www.herc.ws for more information..
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;}
We use essential cookies to make this site work, and optional cookies to enhance your experience.