goddameit Posted September 19, 2012 Posted September 19, 2012 (edited) File Name: @AutoAttackFile Submitter: goddameitFile Submitted: 13 Sep 2012File Category: Source ModificationsContent Author: GoddameitIdea : 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 oneif there is no monster in area, you will auto-walk randomly.Click here to download this file@AutoAttack.patch Important Note : #31 #32 Edited June 5, 2013 by goddameit 6 Quote
FenixSSA Posted September 19, 2012 Posted September 19, 2012 idea =) @autoattack <attack skill name>,<heal item id> Quote
gunga555 Posted September 23, 2012 Posted September 23, 2012 idea =) @autoattack <attack skill name>,<heal HP% item id >,<heal SP% item id > ok ^^ Quote
Mystery Posted September 23, 2012 Posted September 23, 2012 Click here to download this file unable to download Quote
goddameit Posted September 24, 2012 Author Posted September 24, 2012 (edited) ... 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 September 24, 2012 by goddameit Quote
jasonch Posted September 27, 2012 Posted September 27, 2012 Or maybe @autoattack <monster name>. Hehe. Quote
devilmadz23 Posted September 28, 2012 Posted September 28, 2012 (edited) 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 btw in status.h with OPTION_AUTOATTACK = 0x08000000 but the 0x08000000 is already taken by OPTION_MOUNTING... Edited September 28, 2012 by devilmadz23 Quote
quesoph Posted October 3, 2012 Posted October 3, 2012 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.. Quote
solid2005 Posted October 11, 2012 Posted October 11, 2012 what packet you change? to 0x0800000? Quote
Dissidia Posted November 4, 2012 Posted November 4, 2012 it is possible.. random unit walk in whole map? Quote
imanbg Posted November 4, 2012 Posted November 4, 2012 Is there any guide how to compile it in a proper way?? Quote
goddameit Posted November 10, 2012 Author Posted November 10, 2012 (edited) does it work with eAthena? O.o no Edited November 10, 2012 by goddameit Quote
GM Takumirai Posted November 19, 2012 Posted November 19, 2012 (edited) 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 November 19, 2012 by GM Takumirai Quote
WhiteEagle Posted November 20, 2012 Posted November 20, 2012 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; } Quote
GM Takumirai Posted November 20, 2012 Posted November 20, 2012 Thanks hope god can add some feature Quote
rocky6861 Posted November 27, 2012 Posted November 27, 2012 (edited) 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 November 27, 2012 by rocky6861 Quote
K e o u g h Posted December 16, 2012 Posted December 16, 2012 idea when @autoattack mode and then player dies, @autoattack will de-activate Quote
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.