Ukiram Posted November 9, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Share Posted November 9, 2019 Hi, Can i request @afk command players without vend and not merchant all jobs. Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted November 9, 2019 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted November 9, 2019 Oh como'n man, there are several of this system here in rA, please use the search button. Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted November 9, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Author Share Posted November 9, 2019 1 minute ago, Kakaroto said: Oh como'n man, there are several of this system here in rA, please use the search button. Hi, Thanks. But my problem is i find outdated files of @afk command and not working. I can't find the latest @afk command. Quote Link to comment Share on other sites More sharing options...
0 BeWan Posted November 9, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 8 hours ago Share Posted November 9, 2019 (edited) src/map/atcommand.c add this Find ACMD_FUNC(camerainfo){ nullpo_retr(-1, sd); if( message == nullptr || message[0] == '\0' ){ clif_camerainfo( sd, true ); return 0; } float range = 0; float rotation = 0; float latitude = 0; if( sscanf( message, "%f %f %f", &range, &rotation, &latitude ) < 3 ){ clif_displaymessage( fd, msg_txt( sd, 793 ) ); // Usage @camerainfo range rotation latitude return -1; } clif_camerainfo( sd, false, range, rotation, latitude ); return 0; } Add Below /*========================================== * @afk *------------------------------------------*/ ACMD_FUNC(afk) { nullpo_retr(-1, sd); sd->state.autotrade = 1; sd->state.block_action |= PCBLOCK_IMMUNE; if( battle_config.afk_timeout ) { int timeout = atoi(message); status_change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.afk_timeout) : battle_config.afk_timeout)*60000,0); } clif_authfail_fd(fd, 15); return 0; } Find: ACMD_DEFR(camerainfo, ATCMD_NOCONSOLE|ATCMD_NOAUTOTRADE), Add Below ACMD_DEF(afk) Edited November 9, 2019 by BeWan 1 Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted November 9, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Author Share Posted November 9, 2019 Error @BeWan Quote Link to comment Share on other sites More sharing options...
1 BeWan Posted November 9, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 8 hours ago Share Posted November 9, 2019 10 minutes ago, Ryo Osaki said: Error @BeWan src/map/battle.cpp Find : { "at_timeout", &battle_config.at_timeout, 0, 0, INT_MAX, }, Add [ Below ] : { "afk_timeout", &battle_config.afk_timeout, 0, 0, INT_MAX, }, src/map/battle.hpp Find : int at_timeout;Add [ Below ] : int afk_timeout; Find : mail_show_status: 0Add [ Below ] : // Set this to the amount of minutes afk chars will be kicked from the server.afk_timeout: 0 1 Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted November 9, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Author Share Posted November 9, 2019 9 minutes ago, BeWan said: src/map/battle.cpp Find : { "at_timeout", &battle_config.at_timeout, 0, 0, INT_MAX, }, Add [ Below ] : { "afk_timeout", &battle_config.afk_timeout, 0, 0, INT_MAX, }, src/map/battle.hpp Find : int at_timeout;Add [ Below ] : int afk_timeout; Find : mail_show_status: 0Add [ Below ] : // Set this to the amount of minutes afk chars will be kicked from the server.afk_timeout: 0 where can i find mail_show_status: 0? Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted November 9, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Yesterday at 08:53 AM Share Posted November 9, 2019 6 minutes ago, Ryo Osaki said: where can i find mail_show_status: 0? conf/battle/misc.conf Quote Link to comment Share on other sites More sharing options...
Question
Ukiram
Hi,
Can i request @afk command
players without vend and not merchant all jobs.
Link to comment
Share on other sites
7 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.