Petey Pablo Posted October 23, 2012 Posted October 23, 2012 change the 471 to your AFK hat view id. ..... by default...in latest client / server...471 is the AFK Hat view sprite... Thank you! It works now. Quote
VladimirCastro Posted October 24, 2012 Posted October 24, 2012 i dont want to use hat how can i do that? Quote
Emistry Posted October 24, 2012 Posted October 24, 2012 remove clif_changelook(&sd->bl,LOOK_HEAD_TOP,471); Quote
Rebel Posted October 25, 2012 Author Posted October 25, 2012 (edited) Make sure you remove the // in the item_db. //5474,Notice_Board,AFK Hat,5,20,,700,,2,,0,0xFFFFFFFF,7,2,256,,10,0,471,{},{},{} change to 5474,Notice_Board,AFK Hat,5,20,,700,,2,,0,0xFFFFFFFF,7,2,256,,10,0,471,{},{},{} Haha. im wrong sorry. Edited October 26, 2012 by Rebel Quote
Petey Pablo Posted October 25, 2012 Posted October 25, 2012 how to remove pub from @afk? So that players can't use @afk with pub. See the image below Quote
Rebel Posted October 26, 2012 Author Posted October 26, 2012 how to remove pub from @afk? So that players can't use @afk with pub. See the image below Download the @afk_mod_v1.1 Quote
Thanna Posted October 26, 2012 Posted October 26, 2012 is it possible to make a config on this mod like @autotrade the time can be change in misc.conf which is (at_timeout: 10000) is it possible to make a (afk_timeout:100000) so that afk players will be kicked after the set time Quote
Rebel Posted October 29, 2012 Author Posted October 29, 2012 is it possible to make a config on this mod like @autotrade the time can be change in misc.conf which is (at_timeout: 10000) is it possible to make a (afk_timeout:100000) so that afk players will be kicked after the set time I updated the patch.. and I added a config just like @autotrade .. just download the new patch.. for now let's wait til someone approve what i uploaded.. Quote
Natsu Dragneel Posted October 29, 2012 Posted October 29, 2012 Just want to ask how can I implement this in my server? I will just insert the code in my atcommand.c? Quote
Thanna Posted October 31, 2012 Posted October 31, 2012 (edited) thanks for applying my suggestion Just want to ask how can I implement this in my server? I will just insert the code in my atcommand.c? yes, then recompile your server Edited October 31, 2012 by Thanna Quote
Nyashuki Posted December 17, 2012 Posted December 17, 2012 (edited) I added this command to my server but it keeps giving me "@afk is not allowed on this map. " I even deleted this part but still giving me the not allowed map. if( sd -> bl . m == map_mapname2mapid ( "prontera" )) { clif_displaymessage ( fd, "@afk is not allowed on this map." ); return 0 ; } any idea's why? EDIT: Nvm. Solved it. Edited December 18, 2012 by Nyashuki Quote
Shogun Posted December 18, 2012 Posted December 18, 2012 I need some modification guide. How to change the pm msg to someone afk? Quote
Shogun Posted December 20, 2012 Posted December 20, 2012 how to make 8 hours? afk_timeout: 0 afk_timeout: 480 Quote
Architekt of Deztruktion Posted January 6, 2013 Posted January 6, 2013 Two suggestions... heheh #1 - When u use @afk with a chat, when u login again your chat will be closed. Right? You can edit this to save the chat, if have some chat. It's a valid idea. #2 - I think this isn't possible, but how can i do to show the afk hat without remove the sprite of the currently in use helm? Anyway, i love this. Great work! I'm already using. Quote
Candy Crush Posted February 19, 2013 Posted February 19, 2013 [root@lyk-ro Desktop]# patch < @afk_mod_v1.2_rAthena.patch (Stripping trailing CRs from patch.) can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: atcommand.c |=================================================================== |--- atcommand.c (revision 16833) |+++ atcommand.c (working copy) Quote
kangfredy Posted February 21, 2013 Posted February 21, 2013 need update to make this is work on rathena latest version Quote
donkeyg Posted March 9, 2013 Posted March 9, 2013 when i type @die, and then type @afk, , i cant login back to my char, it display Failed to connect to the server.... but other char works fine.PLEASE HLEP T_T Quote
Rebel Posted March 9, 2013 Author Posted March 9, 2013 (edited) when i type @die, and then type @afk, , i cant login back to my char, it display Failed to connect to the server.... but other char works fine. PLEASE HLEP T_T add this if( pc_isdead(sd) ) { clif_displaymessage(fd, "Cannot @afk if you are dead."); return -1; } Edited March 9, 2013 by Rebel Quote
donkeyg Posted March 9, 2013 Posted March 9, 2013 when i type @die, and then type @afk, , i cant login back to my char, it display Failed to connect to the server.... but other char works fine. PLEASE HLEP T_T add this if( pc_isdead(sd) ) { clif_displaymessage(fd, "Cannot @afk if you are dead."); return -1; } below where? and btw, my player used that command, and now whenever i login his char, it will display failed to connect to the server. how can i fix it?? his item all inside there Quote
Rebel Posted March 9, 2013 Author Posted March 9, 2013 (edited) below nullpo_retr(-1, sd); sorry cant reproduce ur other problem.. Edited March 9, 2013 by Rebel Quote
donkeyg Posted March 9, 2013 Posted March 9, 2013 below nullpo_retr(-1, sd); ok thanks.. and also btw. previously my player used that command, and now whenever i login his char, it will display failed to connect to the server. how can i fix it?? his item all inside there Quote
kangfredy Posted March 13, 2013 Posted March 13, 2013 (edited) hello guys im using latest rathena.and i've been compiling..i found like this...can you slove it??(im using manual patch) >atcommand.obj : error LNK2001: unresolved external symbol _ATCOMMAND_CONF_FILENAME 1>map.obj : error LNK2001: unresolved external symbol _ATCOMMAND_CONF_FILENAME 1>atcommand.obj : error LNK2001: unresolved external symbol _BATTLE_CONF_FILENAME 1>map.obj : error LNK2001: unresolved external symbol _BATTLE_CONF_FILENAME 1>map.obj : error LNK2019: unresolved external symbol _cli_get_options referenced in function _do_init 1>map.obj : error LNK2001: unresolved external symbol _GRF_PATH_FILENAME 1>map.obj : error LNK2001: unresolved external symbol _MSG_CONF_NAME 1>map.obj : error LNK2001: unresolved external symbol _SCRIPT_CONF_NAME 1>map.obj : error LNK2001: unresolved external symbol _MAP_CONF_NAME 1>map.obj : error LNK2001: unresolved external symbol _LOG_CONF_NAME 1>map.obj : error LNK2001: unresolved external symbol _INTER_CONF_NAME 1>map.obj : error LNK2019: unresolved external symbol __msg_config_read referenced in function _map_msg_config_read 1>map.obj : error LNK2019: unresolved external symbol __msg_txt referenced in function _map_msg_txt 1>map.obj : error LNK2019: unresolved external symbol __do_final_msg referenced in function _map_do_final_msg Edited March 13, 2013 by kangfredy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.