|
You last visited: Today at 04:54
Advertisement
Bot For Excavation QTE
Discussion on Bot For Excavation QTE within the Lost Ark forum part of the MMORPGs category.
03/06/2022, 21:53
|
#16
|
elite*gold: 0
Join Date: Aug 2019
Posts: 3
Received Thanks: 0
|
Quote:
Originally Posted by Millionairez
I'm getting an error in line 15. Is this a autoit script or ahk?
The problem seems to be
if @  = 0 then
if ^ ERROR
Wow, i figured it out. It has to say @ 
|
How did you fix this? Same error but I cannot work it out :/
|
|
|
03/06/2022, 23:19
|
#17
|
elite*gold: 0
Join Date: Nov 2011
Posts: 72
Received Thanks: 51
|
Elitepvpers tries to convert the "@ error" without a space between @ and error to a user mention. Stupid to do that in a code block, but whatever.
I edited the original code to make it more obvious. Just remove the space between @ and error.
|
|
|
03/07/2022, 02:16
|
#18
|
elite*gold: 0
Join Date: Aug 2019
Posts: 3
Received Thanks: 0
|
Quote:
Originally Posted by Herzlos95
Elitepvpers tries to convert the "@ error" without a space between @ and error to a user mention. Stupid to do that in a code block, but whatever.
I edited the original code to make it more obvious. Just remove the space between @ and error.
|
Thankyou its working now, but misses the blue markers, I am on 2k monitor, 2560x1440 and forcing widescreen
|
|
|
03/07/2022, 06:38
|
#19
|
elite*gold: 0
Join Date: Oct 2008
Posts: 97
Received Thanks: 5
|
Quote:
Originally Posted by Concretepete
Thankyou its working now, but misses the blue markers, I am on 2k monitor, 2560x1440 and forcing widescreen
|
You will need to edit the script slightly depending on if it's too early or too late. I managed to get this to hit in the middle as well as hit all 3 with no mini game level decrease
|
|
|
03/07/2022, 19:51
|
#20
|
elite*gold: 0
Join Date: Aug 2019
Posts: 3
Received Thanks: 0
|
Quote:
Originally Posted by Millionairez
You will need to edit the script slightly depending on if it's too early or too late. I managed to get this to hit in the middle as well as hit all 3 with no mini game level decrease
|
Complete noob here, but which values should I be editing to alter the time it would press?
EDIT: Managed to work it out by editing the sleep section of the script
|
|
|
03/10/2022, 14:01
|
#21
|
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
|
Quote:
Originally Posted by Herzlos95
great script.
|
Hey man. Itīs my first time with autoit (Iīm kind of used to AutoHotkey with basic scripts for games). Iīm able to edit the coordinates from my screenshot, but the program is running weirdly.
It looks like itīs lagging, pause is not working, when I rclick in notification area and want to pause / exit script it does nothing most of the time. Sometimes it opens the menu like 10s after I tried..
Do you have idea what is going on please?
edit: I tried this script on 2 computers and the behavior is the same. Terminate with +! sometimes work, but pause donīt. I tried different hotkey and changed tooltip to MsgBox to be sure and nothing
|
|
|
03/11/2022, 06:29
|
#22
|
elite*gold: 0
Join Date: Aug 2019
Posts: 38
Received Thanks: 18
|
Quote:
Originally Posted by wASQ
Hey man. Itīs my first time with autoit (Iīm kind of used to AutoHotkey with basic scripts for games). Iīm able to edit the coordinates from my screenshot, but the program is running weirdly.
It looks like itīs lagging, pause is not working, when I rclick in notification area and want to pause / exit script it does nothing most of the time. Sometimes it opens the menu like 10s after I tried..
Do you have idea what is going on please?
edit: I tried this script on 2 computers and the behavior is the same. Terminate with +! sometimes work, but pause donīt. I tried different hotkey and changed tooltip to MsgBox to be sure and nothing
|
Had the same issue at first. It takes a short time to start up and it seems you have to press "Pause" once to activate it. I usually wait like 10 seconds, press "Pause" once and a few seconds later the tooltip appears in the top left. After that the script works.
And in case anybody here wants to make Herzlos95's script work for the old-school 1920x1080 (16:9) here are the values that work for me:
Code:
Func FindPixels()
$Search1 = Pixelsearch(741, 720, 1168, 739, $Color1, 100)
if @ error = 0 then
$Search2 = Pixelsearch($Search1[0], 744, $Search1[0], 760, $Color2, 50)
if @ error = 0 then
Sleep(25) ;Delay before the space press. Delay depends on your excavation tool. This works for minigame difficulty decrease 3.
Send("{SPACE}")
Sleep(1000) ; Pause after success to prevent spamming spacebar
ENDIF
ENDIF
EndFunc
Just replace the corresponding lines in his original code with the above ones. And remove the space between both @ error, had to add it so epvp doesn't fuck up the code.
The Sleep(25) works for my Minigame Difficulty -2 tool. If you have a -1 or -3 you might need to adjust that value up or down.
Again, credit goes to @  , I just adjusted the values for my own use and wanted to share for others on 1920x1080.
|
|
|
03/11/2022, 07:27
|
#23
|
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
|
Quote:
Originally Posted by TheBlindLeader
Had the same issue at first. It takes a short time to start up and it seems you have to press "Pause" once to activate it. I usually wait like 10 seconds, press "Pause" once and a few seconds later the tooltip appears in the top left. After that the script works.
And in case anybody here wants to make Herzlos95's script work for the old-school 1920x1080 (16:9) here are the values that work for me:
|
I found (almost) same setup on FHD monitor, but it still doesnīt work. Seems like itīs weirdly laging. Itīs pressing space even without the minigame and I canīt pause it. When I somehow manage to pause the script (multiple tries) it minimize my game.
I tough that the pixel search is maybe taking to much processor power, but nope thatīs not the case.
I want this scrip to work, because my reflexes are so bad with the minigame
|
|
|
03/11/2022, 11:49
|
#24
|
elite*gold: 0
Join Date: Aug 2019
Posts: 38
Received Thanks: 18
|
Quote:
Originally Posted by wASQ
I found (almost) same setup on FHD monitor, but it still doesnīt work. Seems like itīs weirdly laging. Itīs pressing space even without the minigame and I canīt pause it. When I somehow manage to pause the script (multiple tries) it minimize my game.
I tough that the pixel search is maybe taking to much processor power, but nope thatīs not the case.
I want this scrip to work, because my reflexes are so bad with the minigame 
|
Then I don't know, thought it is the same issue, because it definitely is very laggy at first for me too, and the same issues with right clicking it in the system tray. But for me, waiting 10-20 seconds after starting it and then pressing pause once and then waiting again until the tooltip shows up definitely got it to work.
I guess you could try compiling it and try this process then, as a last idea I have. Right click the script, compile and it generates an .exe file in the same folder. Maybe try running that with admin rights. Also make sure that there is always only once instance of the script running, close the other via task manager if needed.
|
|
|
03/11/2022, 12:51
|
#25
|
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
|
Quote:
Originally Posted by TheBlindLeader
Then I don't know, thought it is the same issue, because it definitely is very laggy at first for me too, and the same issues with right clicking it in the system tray. But for me, waiting 10-20 seconds after starting it and then pressing pause once and then waiting again until the tooltip shows up definitely got it to work.
I guess you could try compiling it and try this process then, as a last idea I have. Right click the script, compile and it generates an .exe file in the same folder. Maybe try running that with admin rights. Also make sure that there is always only once instance of the script running, close the other via task manager if needed.
|
I already tried all of this, but thanks for the info!
edit: seems like it kinda works now, I can finally see "Script is "Paused" in the top left corner, but I I cant go back to the game. When I alt tab back it will automatically minimize game window again
edit2: it works wit borderless finally. Now Iīm going to try it. Oh man!
|
|
|
03/11/2022, 13:35
|
#26
|
elite*gold: 0
Join Date: Aug 2019
Posts: 38
Received Thanks: 18
|
Quote:
Originally Posted by wASQ
I already tried all of this, but thanks for the info!
edit: seems like it kinda works now, I can finally see "Script is "Paused" in the top left corner, but I I cant go back to the game. When I alt tab back it will automatically minimize game window again
edit2: it works wit borderless finally. Now Iīm going to try it. Oh man! 
|
Oh, I just assumed you would be on borderless lol. Have been using AHK and AutoIt for so long that I didn't even think about asking if you are on borderless. It is basically required for any scripts to work.
|
|
|
03/11/2022, 13:46
|
#27
|
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
|
Quote:
Originally Posted by TheBlindLeader
Oh, I just assumed you would be on borderless lol. Have been using AHK and AutoIt for so long that I didn't even think about asking if you are on borderless. It is basically required for any scripts to work.
|
Yea same. I donīt even know why I had full screen on. Rookie mistake!
|
|
|
03/18/2022, 12:24
|
#28
|
elite*gold: 3
Join Date: May 2006
Posts: 818
Received Thanks: 60
|
Thanks for the Script, was looking for that, my excavation is 50 by now, so I doing **** lot of gold with.
|
|
|
03/21/2022, 17:57
|
#29
|
elite*gold: 0
Join Date: Nov 2008
Posts: 2
Received Thanks: 0
|
Hello all, long time lurker but never really a poster.
Would someone be able to share the basics of using autscript (coding) to level up mining?
|
|
|
03/24/2022, 15:20
|
#30
|
elite*gold: 0
Join Date: Oct 2020
Posts: 56
Received Thanks: 3
|
Quote:
Originally Posted by TheBlindLeader
Had the same issue at first. It takes a short time to start up and it seems you have to press "Pause" once to activate it. I usually wait like 10 seconds, press "Pause" once and a few seconds later the tooltip appears in the top left. After that the script works.
And in case anybody here wants to make Herzlos95's script work for the old-school 1920x1080 (16:9) here are the values that work for me:
Code:
Func FindPixels()
$Search1 = Pixelsearch(741, 720, 1168, 739, $Color1, 100)
if @ error = 0 then
$Search2 = Pixelsearch($Search1[0], 744, $Search1[0], 760, $Color2, 50)
if @ error = 0 then
Sleep(25) ;Delay before the space press. Delay depends on your excavation tool. This works for minigame difficulty decrease 3.
Send("{SPACE}")
Sleep(1000) ; Pause after success to prevent spamming spacebar
ENDIF
ENDIF
EndFunc
Just replace the corresponding lines in his original code with the above ones. And remove the space between both @ error, had to add it so epvp doesn't fuck up the code.
The Sleep(25) works for my Minigame Difficulty -2 tool. If you have a -1 or -3 you might need to adjust that value up or down.
Again, credit goes to @  , I just adjusted the values for my own use and wanted to share for others on 1920x1080.
|
Thanks for the help, I have zero knowledge of coding but your post helped me.
|
|
|
All times are GMT +1. The time now is 04:54.
|
|