Jump to content
  • 0

R> @afk command with pub


core

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

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 ...

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Thats how ot works,

Jist dear for @sleep @afk site:rathena.org in google

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

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 ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

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 ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  136
  • Reputation:   48
  • Joined:  06/18/12
  • Last Seen:  

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 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

16 hours ago, Gerzzie said:

This guide belongs to Anakid 

i dont know but how to add that sir

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  136
  • Reputation:   48
  • Joined:  06/18/12
  • Last Seen:  

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),
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

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 by core
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  136
  • Reputation:   48
  • Joined:  06/18/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  11
  • Reputation:   2
  • Joined:  03/15/14
  • Last Seen:  

not work

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...