CursorX Posted February 14, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.02 Content Count: 168 Reputation: 0 Joined: 11/20/13 Last Seen: November 23, 2021 Share Posted February 14, 2014 seems the other thread is not working anymore in the latest revision... Quote Link to comment Share on other sites More sharing options...
Brave Posted February 14, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 208 Reputation: 11 Joined: 05/31/12 Last Seen: May 15, 2016 Share Posted February 14, 2014 File Location: trunk/src/map atcommand.c Find: ACMD_FUNC(reloadmsgconf) { map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. return 0; } Add Below ACMD_FUNC(afk) { nullpo_retr(-1, sd); trade_tradeack(sd,4); 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_authfail_fd(fd, 15); return 0; } Find: AtCommandInfo atcommand_base[] = { Add Below: ACMD_DEF(afk), NOTE : ALWAYS BACKUP BEFORE EDITING 1 Quote Link to comment Share on other sites More sharing options...
CursorX Posted February 14, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.02 Content Count: 168 Reputation: 0 Joined: 11/20/13 Last Seen: November 23, 2021 Author Share Posted February 14, 2014 i want to try this.. but i was wondering if someone can fix this @afk to the latest revision http://rathena.org/board/topic/71389-afk-with-afk-hat/ Quote Link to comment Share on other sites More sharing options...
Brave Posted February 14, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 208 Reputation: 11 Joined: 05/31/12 Last Seen: May 15, 2016 Share Posted February 14, 2014 i want to try this.. but i was wondering if someone can fix this @afk to the latest revision http://rathena.org/board/topic/71389-afk-with-afk-hat/ it is almost similar with that thing but the thing was the Waiting room is disabled Quote Link to comment Share on other sites More sharing options...
CursorX Posted February 14, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.02 Content Count: 168 Reputation: 0 Joined: 11/20/13 Last Seen: November 23, 2021 Author Share Posted February 14, 2014 and besides.. i dont see any of this file in latest revision... ACMD_FUNC(reloadmsgconf){ map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. return 0;} i only see is this clif_displaymessage(fd, msg_txt(sd,100)); // Scripts have been reloaded. } else if (strstr(command, "msgconf") || strncmp(message, "msgconf", 3) == 0) { map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. } else if (strstr(command, "questdb") || strncmp(message, "questdb", 3) == 0) { do_reload_quest(); clif_displaymessage(fd, msg_txt(sd,1377)); // Quest database has been reloaded. } else if (strstr(command, "packetdb") || strncmp(message, "packetdb", 4) == 0) { packetdb_readdb(); clif_displaymessage(fd, msg_txt(sd,1477)); // Packet database has been reloaded. } else if (strstr(command, "instancedb") || strncmp(message, "instancedb", 4) == 0) { instance_readdb(); clif_displaymessage(fd, msg_txt(sd,516)); // Instance database has been reloaded. Quote Link to comment Share on other sites More sharing options...
Brave Posted February 14, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 208 Reputation: 11 Joined: 05/31/12 Last Seen: May 15, 2016 Share Posted February 14, 2014 (edited) just got this if you can't see those but not really sure just seen code it like 5 minutes ago - script atcmd_afk -1,{ OnInit: bindatcmd("afk","atcmd_afk::Onafk"); bindatcmd("unafk","atcmd_afk::Onunafk"); end; Onafk: headupper=getlook(4); changelook 4,471; end; Onunafk: changelook 4,headupper; end; } Edited February 14, 2014 by Ceejay Abne Quote Link to comment Share on other sites More sharing options...
Question
CursorX
seems the other thread is not working anymore in the latest revision...
Link to comment
Share on other sites
5 answers to this question
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.