core Posted January 14, 2018 Posted January 14, 2018 I request @afk command that you can pub any where I've been looking for that script but they says use @autotrade what i need is you can pub while your account is log out thanks in advance for those you have it ... Quote
0 Cyro Posted January 15, 2018 Posted January 15, 2018 Thats how ot works, Jist dear for @sleep @afk site:rathena.org in google 1 Quote
0 core Posted January 15, 2018 Author Posted January 15, 2018 20 hours ago, Cyro said: Thats how ot works, Jist dear for @sleep @afk site:rathena.org in google Hi sir i cant understand any other guide that have a detailed on hot to put it ? Quote
0 Cyro Posted January 15, 2018 Posted January 15, 2018 8 minutes ago, core said: Hi sir i cant understand any other guide that have a detailed on hot to put it ? just copy paste that code into to your atcommand.c , like any other commands in it, just open the file and go through it and youll know what to do xD Quote
0 core Posted January 15, 2018 Author Posted January 15, 2018 16 hours ago, Cyro said: just copy paste that code into to your atcommand.c , like any other commands in it, just open the file and go through it and youll know what to do xD This is my atcommand /* Atcommands and charcommands configuration file */ /* The symbol that will be used to recognize commands. You can set any one character except: - control-characters (0x00-0x1f), - '%' (party chat symbol) - '$' (guild chat symbol) - '/' (client commands symbol) atcommand_symbol represents @commands used locally. charcommand_symbol represents #commands used on other players. */ atcommand_symbol : "@" charcommand_symbol: "#" /* Command aliases You can define aliases for any command. Aliases work just like original command. Format is <commandname>: ["<alias>", ...] */ aliases: { mobinfo: ["monsterinfo", "mi"] iteminfo: ["ii"] time: ["date", "serverdate", "servertime"] autotrade: ["at"] help: ["h"] jumpto: ["goto", "warpto"] mount: ["mountpeco"] who: ["whois"] npctalk: ["npctalkc"] gvgon: ["gpvpon"] gvgoff: ["gpvpoff"] jobchange: ["job"] load: ["return"] warp: ["rura", "mapmove"] dye: ["ccolor"] hairstyle: ["hstyle"] haircolor: ["hcolor"] monster: ["spawn"] blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"] jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"] glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"] resetstat: ["streset"] resetskill: ["skreset"] allskill: ["allskills", "skillall", "skillsall"] allstats: ["allstat", "statall", "statsall"] ban: ["banish"] unban: ["unbanish"] unjail: ["discharge"] homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"] homevolution: ["homevolve"] mutearea: ["stfu"] monsterignore: ["battleignore"] raise: ["revive"] kill: ["die"] guildstorage: ["gstorage"] accinfo: ["accountinfo"] itemreset: ["clearinventory"] channel: ["main"] autoloottype: ["aloottype"] cloneequip: ["eqclone"] clonestat: ["stclone"] reloadnpcfile: ["reloadnpc"] } /* Commands help file */ help: { @include "conf/help.txt" } so i will put it on there sir ? Quote
0 Gerzzie Posted January 16, 2018 Posted January 16, 2018 On 1/15/2018 at 5:02 PM, core said: This is my atcommand /* Atcommands and charcommands configuration file */ /* The symbol that will be used to recognize commands. You can set any one character except: - control-characters (0x00-0x1f), - '%' (party chat symbol) - '$' (guild chat symbol) - '/' (client commands symbol) atcommand_symbol represents @commands used locally. charcommand_symbol represents #commands used on other players. */ atcommand_symbol : "@" charcommand_symbol: "#" /* Command aliases You can define aliases for any command. Aliases work just like original command. Format is <commandname>: ["<alias>", ...] */ aliases: { mobinfo: ["monsterinfo", "mi"] iteminfo: ["ii"] time: ["date", "serverdate", "servertime"] autotrade: ["at"] help: ["h"] jumpto: ["goto", "warpto"] mount: ["mountpeco"] who: ["whois"] npctalk: ["npctalkc"] gvgon: ["gpvpon"] gvgoff: ["gpvpoff"] jobchange: ["job"] load: ["return"] warp: ["rura", "mapmove"] dye: ["ccolor"] hairstyle: ["hstyle"] haircolor: ["hcolor"] monster: ["spawn"] blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"] jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"] glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"] resetstat: ["streset"] resetskill: ["skreset"] allskill: ["allskills", "skillall", "skillsall"] allstats: ["allstat", "statall", "statsall"] ban: ["banish"] unban: ["unbanish"] unjail: ["discharge"] homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"] homevolution: ["homevolve"] mutearea: ["stfu"] monsterignore: ["battleignore"] raise: ["revive"] kill: ["die"] guildstorage: ["gstorage"] accinfo: ["accountinfo"] itemreset: ["clearinventory"] channel: ["main"] autoloottype: ["aloottype"] cloneequip: ["eqclone"] clonestat: ["stclone"] reloadnpcfile: ["reloadnpc"] } /* Commands help file */ help: { @include "conf/help.txt" } so i will put it on there sir ? On 5/5/2013 at 4:19 AM, Anakid said: 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), This guide belongs to Anakid Quote
0 core Posted January 16, 2018 Author Posted January 16, 2018 16 hours ago, Gerzzie said: This guide belongs to Anakid i dont know but how to add that sir Quote
0 Gerzzie Posted January 16, 2018 Posted January 16, 2018 3 hours ago, core said: i dont know but how to add that sir This is where you locate your file : [ 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), Quote
0 core Posted January 16, 2018 Author Posted January 16, 2018 (edited) 17 hours ago, Gerzzie said: This is where you locate your file : [ 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), i cant find this line sir ACMD_FUNC(reloadmsgconf) { map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. return 0; } but this i find it AtCommandInfo atcommand_base[] = { Edited January 16, 2018 by core Quote
0 Gerzzie Posted January 16, 2018 Posted January 16, 2018 18 minutes ago, core said: i cant find this line sir ACMD_FUNC(reloadmsgconf) { map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. return 0; } but this i find it AtCommandInfo atcommand_base[] = { If you have a Facebook you can add me and i'll teach you step by step : Gerzzie Sundiam Quote
0 core Posted January 16, 2018 Author Posted January 16, 2018 16 hours ago, Gerzzie said: If you have a Facebook you can add me and i'll teach you step by step : Gerzzie Sundiam i dont have facebook sir can i request a screen shot sir where exactly to add this line > ACMD_FUNC(reloadmsgconf) i cant find it to my atcommand.cpp Quote
Question
core
I request @afk command that you can pub any where I've been looking for that script but they says use @autotrade what i need is you can pub while your account is log out
thanks in advance for those you have it ...
11 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.