Jump to content

@AutoAttack


goddameit

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

File Name: @AutoAttack
File Submitter: goddameit
File Submitted: 13 Sep 2012
File Category: Source Modifications
Content Author: Goddameit

Idea : http://rathena.org/b...k-close-enemys/

Preview :



Use this command you can turn on or off auto-attack.

It will auto-search 9x9 and attack the near one

if there is no monster in area, you will auto-walk randomly.

Click here to download this file

@AutoAttack.patch

 

Important Note : #31 #32

Edited by goddameit
  • Upvote 6
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   0
  • Joined:  08/26/12
  • Last Seen:  

idea =)

@autoattack <attack skill name>,<heal item id>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/06/12
  • Last Seen:  

idea =)

@autoattack <attack skill name>,<heal HP% item id >,<heal SP% item id > ok ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

...

I don't know why, this is my first time use this to release,

anyway, I have uploaded to other space, try it.

oops, forgot change to rA version.

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   1
  • Joined:  12/31/11
  • Last Seen:  

Or maybe @autoattack <monster name>. Hehe.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

is this working on latest rathena svn? i put it in atcommand and status and compiled with no error then try @autoattack but it send as a message not a command /heh btw in status.h with OPTION_AUTOATTACK = 0x08000000 but the 0x08000000 is already taken by OPTION_MOUNTING...

Edited by devilmadz23
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

upload rA version.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

Suggestion.

Place a timer in this command.

example: You can only use this command for a certain amount of time and it automatically turns off after that.. and you can only use it after 1 hour or so..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

what packet you change? to 0x0800000?

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

why is it error when i recompile?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  535
  • Reputation:   23
  • Joined:  11/19/11
  • Last Seen:  

it is possible.. random unit walk in whole map?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/04/12
  • Last Seen:  

Is there any guide how to compile it in a proper way?? /?/help

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  139
  • Reputation:   2
  • Joined:  11/15/11
  • Last Seen:  

does it work with eAthena? O.o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

hmm, i think its not working on ea.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

does it work with eAthena? O.o

no

Edited by goddameit
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

God can you make it .. an item base command? example if we used an custom item autoattack it will allow us to use autoattack and will expire on time.. then the item will disappear if the item expired

Edited by GM Takumirai
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/04/12
  • Last Seen:  

Anyone can answer my question?? /sob /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  455
  • Reputation:   57
  • Joined:  08/28/12
  • Last Seen:  

I've added a message what displayed "You activated Autoattack" and "You deactivated Autoattack".

It make a bit userfriendly.^^

Search:

ACMD_FUNC(autoattack)
{
nullpo_retr(-1, sd);
if (sd->sc.option & OPTION_AUTOATTACK)
{
sd->sc.option &= ~OPTION_AUTOATTACK;
unit_stop_attack(&sd->bl);
}else
{
sd->sc.option |= OPTION_AUTOATTACK;
add_timer(gettick()+200,autoattack_timer,sd->bl.id,0);
}
clif_changeoption(&sd->bl);
return 0;
}

Change it to:

ACMD_FUNC(autoattack)
{
nullpo_retr(-1, sd);
if (sd->sc.option & OPTION_AUTOATTACK)
{
sd->sc.option &= ~OPTION_AUTOATTACK;
unit_stop_attack(&sd->bl);
clif_displaymessage(fd, "You deactivated Autoattack.");
}else
{
sd->sc.option |= OPTION_AUTOATTACK;
add_timer(gettick()+200,autoattack_timer,sd->bl.id,0);
clif_displaymessage(fd, "You activated Autoattack.");

}
clif_changeoption(&sd->bl);
return 0;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  04/02/12
  • Last Seen:  

It seems to me that you could use this @command in a script if you really want to include a timer function to it.

Just start @autoattack, and stop it with an npc timer. Make a function if you want it available for an item. Make the item none trade/storage/drop so that the player cant abuse it. Then have the script delete the item when the timer runs out.

Or just delete the item on usage

Edited by rocky6861
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  255
  • Reputation:   166
  • Joined:  12/06/11
  • Last Seen:  

idea :)

when @autoattack mode and then player dies, @autoattack will de-activate

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

im very sad i cant use it on 3ecam.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

kewl

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
Reply to this topic...

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