Louis T Steinhil Posted September 28, 2020 Posted September 28, 2020 Hey guys! Anyone encountering this? I've been auto-attacking monsters for about 30 mins then this shows up. I installed it on the latest rAthena version. What could be the cause? Quote
Onairda Posted November 21, 2020 Posted November 21, 2020 (edited) On 11/2/2019 at 8:14 AM, LearningRO said: try this On 11/2/2019 at 8:14 AM, LearningRO said: try this Hello How can I Increase the vision of the character when finding a monster to attack?, also how can I decrease the delay of walking after killing a monster ? Edited November 21, 2020 by G-RO Quote
tonn Posted December 28, 2020 Posted December 28, 2020 On 9/27/2020 at 10:33 PM, Ylen X Walker said: Hey guys! Anyone encountering this? I've been auto-attacking monsters for about 30 mins then this shows up. I installed it on the latest rAthena version. What could be the cause? I'm encountering the same issue. Does anyone know how to debug this, at least? Quote
Forshaken Posted March 8, 2021 Posted March 8, 2021 On 12/29/2020 at 5:16 AM, tonn said: I'm encountering the same issue. Does anyone know how to debug this, at least? Im having the same issue. I have fixed the problem. so far there is no disconnection issue. add this codes on your PC.CPP struct map_session_data { struct block_list bl; struct unit_data ud; struct view_data vd; struct status_data base_status, battle_status; struct status_change sc; struct regen_data regen; struct regen_data_sub sregen, ssregen; ++struct autoattack_delay; // autoattack timer //NOTE: When deciding to add a flag to state or special_state, take into consideration that state is preserved in //status_calc_pc, while special_state is recalculated in each call. [Skotlex] struct s_state { unsigned int active : 1; //Marks active player (not active is logging in/out, or changing map servers) unsigned int menu_or_input : 1;// if a script is waiting for feedback from the player unsigned int dead_sit : 2; unsigned int lr_flag : 3;//1: left h. weapon; 2: arrow ------------------------------------------------------------------------------------------------- unsigned int lesseffect : 1; unsigned int vending : 1; unsigned int noks : 3; // [Zeph Kill Steal Protection] ++unsigned autoattack : 1; // Keitenai unsigned int changemap : 1; unsigned int callshop : 1; // flag to indicate that a script used callshop; on a shop ------------------------------------------------------------------------------------------------- int invincible_timer; t_tick canlog_tick; t_tick canuseitem_tick; // [Skotlex] t_tick canusecashfood_tick; t_tick canequip_tick; // [Inkfish] t_tick cantalk_tick; t_tick canskill_tick; // used to prevent abuse from no-delay ACT files t_tick cansendmail_tick; // [Mail System Flood Protection] t_tick ks_floodprotect_tick; // [Kill Steal Protection] ++t_tick autoattack_delay; // Keitenai t_tick equipswitch_tick; // Equip switch Quote
hmwater2231 Posted April 22, 2021 Posted April 22, 2021 Hi all, there are any clear step how to apply this? Why when i type @autoattack its mention unknown command? Quote
iMillenium Posted February 20, 2022 Posted February 20, 2022 (edited) I applied your solution, but when compiling I get the following error.. Edited February 20, 2022 by iMillenium Quote
funtwocrasher Posted March 7, 2022 Posted March 7, 2022 Does anyone has the files to make this use skills? Quote
Diconfrost VaNz Posted September 11, 2023 Posted September 11, 2023 is still working in our latest git? Quote
zomba44 Posted February 7, 2024 Posted February 7, 2024 (edited) On 9/20/2012 at 2:05 AM, goddameit said: 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 attached for recent rathena. file atcommand.cpp is inside rathena/src/map upload atcommand.patch into rathena/src/map patch atcommand.cpp atcommand.patch atcommand.patch Edited February 7, 2024 by zomba44 1 Quote
hendra814 Posted February 23, 2024 Posted February 23, 2024 On 2/7/2024 at 1:26 PM, zomba44 said: attached for recent rathena. file atcommand.cpp is inside rathena/src/map upload atcommand.patch into rathena/src/map patch atcommand.cpp atcommand.patch atcommand.patch 2.4 kB · 9 downloads When i tried to apply it, it's show fail like this is it the right step or not? can someone share how to apply this patch. Quote
emundus Posted February 26, 2024 Posted February 26, 2024 On 9/19/2012 at 3:05 PM, goddameit said: 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 Is working in the latest rAthena? Quote
kimannvu1 Posted March 12, 2024 Posted March 12, 2024 I tried to apply this patch (manually) to the 4cram version but it is giving me the "is Unknown Command" error. Just wondering if I should completely uninstall and try a different version instead, or if anyone is familiar with what other files may need tweaking in the 4cram version. I want autoattack to run while I work so that when I play during breaks I will be rewarded for the hard work I did :) OpenKore seems complicated to start so I thought I'd try my best with autoattack first. Quote
Remix_ Posted March 14, 2024 Posted March 14, 2024 (edited) I was reading this topic yesterday and discovered that most of the requests were not added. Therefore, I am making my debut here to share with you the updated @autoattack function. Added Commands: @autoattack - display all @autoattack commands. @autoattack on/off @autoattack list @autoattack +monsterID @autoattack -monsterID #Edit If you use [ @autoattack on ] without adding monster targets will attack all the monsters (DEFAULT setting.) Auto-attack can be toggled on or off using the @autoattack on/off command. Specific mobs can be added or removed from the target list using @autoattack +<mobID> or @autoattack -<mobID> respectively. Since I'm using the latest version, applying the patch shouldn't be a problem.(I also removed the struct warnings from the map_session_data). Attached(Updated): atcommand[remix] Edited March 17, 2024 by Remix_ 2 1 2 Quote
Rynbef Posted March 15, 2024 Posted March 15, 2024 Pls add to pull request. Rly nice, thank u Rynbef~ Quote
jBoltz Posted March 16, 2024 Posted March 16, 2024 Thanks senpai @Remix_, been using it on my project now and working like a charm! btw sir, how can we make it auto teleport too if its possible? thanks Quote
Remix_ Posted March 17, 2024 Posted March 17, 2024 (edited) On 3/16/2024 at 2:02 AM, Rynbef said: Pls add to pull request. Rly nice, thank u Rynbef~ Thanks Rynbef, will add it to pull request once I get back, I’m out of town atm. Edited March 17, 2024 by Remix_ 1 Quote
Remix_ Posted March 17, 2024 Posted March 17, 2024 8 hours ago, jBoltz said: Thanks senpai @Remix_, been using it on my project now and working like a charm! btw sir, how can we make it auto teleport too if its possible? thanks I’m glad it worked well on you. Yeah, might be a great idea to add auto teleportation to the source code. But, my only goal is to sort the autoattack function compatible to the latest rA. I believe you can achieve that by utilizing the teleportation skill using the ingame script. Quote
Frost Diver Posted March 17, 2024 Posted March 17, 2024 3 hours ago, Remix_ said: I’m glad it worked well on you. Yeah, might be a great idea to add auto teleportation to the source code. But, my only goal is to sort the autoattack function compatible to the latest rA. I believe you can achieve that by utilizing the teleportation skill using the ingame script. hello, i tried @autoattack +1002, it said monster added to list. but if i check using @autoattack list, no any monster added. and if i turn on the command @autoattack on, it will tagetting all monsters Quote
ManokStreZ Posted March 17, 2024 Posted March 17, 2024 On 9/20/2012 at 1:05 AM, goddameit said: Click here to download this file @AutoAttack.patch from this 2 which one should i used it ? Quote
Remix_ Posted March 17, 2024 Posted March 17, 2024 (edited) 1 hour ago, ManokStreZ said: from this 2 which one should i used it ? Use the file I attached on my post. Edited March 17, 2024 by Remix_ Quote
ManokStreZ Posted March 17, 2024 Posted March 17, 2024 8 minutes ago, Remix_ said: Use the file I attached. yesterday i use your diff its fine doesnt have any error or bug, but getting error when i add refineUI diff, i got refineUI diff from SHAKTO, i thing is not match diff SHAKTO refineUI and your diff autoattack Quote
Remix_ Posted March 17, 2024 Posted March 17, 2024 Hello @Frost Diver, I updated the diff attached to my post, I forgot to add the timer_func and unordered set to contain the monsterID. It should work now. @ManokStreZ, I suggest you apply the codes manually, applying multiple custom patches will affect the code structures inside your server files. I'm just finalizing the autoattack and add it to pull request so the co-devs can inspect the codes before it merges as an official update. 1 Quote
Remix_ Posted March 17, 2024 Posted March 17, 2024 33 minutes ago, ManokStreZ said: yesterday i use your diff its fine doesnt have any error or bug, but getting error when i add refineUI diff, i got refineUI diff from SHAKTO, i thing is not match diff SHAKTO refineUI and your diff autoattack If you're having a hard time on installing both custom patches, feel free to dm me on discord, I will help you. 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.