|
You last visited: Today at 01:14
Advertisement
Bot For Excavation QTE
Discussion on Bot For Excavation QTE within the Lost Ark forum part of the MMORPGs category.
03/26/2022, 21:42
|
#31
|
elite*gold: 3
Join Date: May 2006
Posts: 818
Received Thanks: 60
|
3440x1440 (real Widescreen) - no Minigame Bonus.
Quote:
;2560x1440 monitor with Force Widescreen option enabled
Global $g_bPaused = False
Global $Color1 = 0x1675B0 ;Blue
Global $Color2 = 0xEA9305 ;Orange
HotKeySet( "{PAUSE}", "TogglePause") ;Pause the program
HotKeySet( "+!{ESC}", "Terminate") ;Close the program
While 1
FindPixels()
WEnd
Func FindPixels()
$Search1 = Pixelsearch(1429, 961, 2004, 990, $Color1, 100)
if @error = 0 then
$Search2 = Pixelsearch($Search1[0], 985, $Search1[0], 1011, $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
Func TogglePause()
$g_bPaused = Not $g_bPaused
While $g_bPaused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func Terminate()
Exit
EndFunc ;==>Terminate
|
|
|
|
03/28/2022, 00:28
|
#32
|
elite*gold: 0
Join Date: May 2015
Posts: 12
Received Thanks: 5
|
Quote:
Originally Posted by Littledagger
3440x1440 (real Widescreen) - no Minigame Bonus.
|
is the pausing/unpausing laggy for you? having a hard time with that
|
|
|
03/29/2022, 13:07
|
#33
|
elite*gold: 3
Join Date: May 2006
Posts: 818
Received Thanks: 60
|
Quote:
Originally Posted by Timmy812
is the pausing/unpausing laggy for you? having a hard time with that
|
actually not. It sometimes fail tho, so it only get 2 out of 3, but in very rare cases.
|
|
|
03/29/2022, 14:47
|
#34
|
elite*gold: 0
Join Date: Mar 2022
Posts: 16
Received Thanks: 5
|
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.
|
worked like a charm, for those who dont have minigame difficulty on tool, chnage it to 5, worked like a charm to me
|
|
|
03/30/2022, 09:55
|
#35
|
elite*gold: 0
Join Date: Mar 2022
Posts: 5
Received Thanks: 1
|
Does the game need to be in full screen for this to works? I was running 1920*1080 window mode on a 2560*1440 res and it does not seem to works.
|
|
|
03/30/2022, 16:00
|
#36
|
elite*gold: 0
Join Date: Jun 2020
Posts: 3
Received Thanks: 2
|
Quote:
Originally Posted by Arvian11
Does the game need to be in full screen for this to works? I was running 1920*1080 window mode on a 2560*1440 res and it does not seem to works.
|
I use these coords for 2560x1440 borderless ( without the forced widescreen) and they work flawless
Code:
$Search1 = Pixelsearch(987, 957, 1558, 986, $Color1, 100)
$Search2 = Pixelsearch($Search1[0], 986, $Search1[0], 1020, $Color2, 50)
|
|
|
03/30/2022, 23:14
|
#37
|
elite*gold: 0
Join Date: Mar 2022
Posts: 5
Received Thanks: 1
|
thanks, gonna try it later and hope it works now.
|
|
|
03/31/2022, 01:01
|
#38
|
elite*gold: 0
Join Date: Mar 2012
Posts: 3
Received Thanks: 2
|
Keeps saying there's an error with WEnd line, have no effing clue why and apparently I'm the only one with this problem, fml xD
|
|
|
03/31/2022, 10:51
|
#39
|
elite*gold: 0
Join Date: Mar 2022
Posts: 5
Received Thanks: 1
|
Look like it works for me, using a -3 difficulty so have to increase wait time. Thanks
|
|
|
04/01/2022, 15:40
|
#40
|
elite*gold: 0
Join Date: Mar 2022
Posts: 14
Received Thanks: 1
|
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.
|
Could you share you insight on how to fix this? I keep getting the same issue as you with just random space bar input and nothing else
|
|
|
04/02/2022, 13:58
|
#41
|
elite*gold: 0
Join Date: Mar 2022
Posts: 2
Received Thanks: 0
|
Quote:
Originally Posted by PROSTI2012
Keeps saying there's an error with WEnd line, have no effing clue why and apparently I'm the only one with this problem, fml xD
|
yeah i'm getting the same error for "Wend"
|
|
|
04/03/2022, 17:08
|
#42
|
elite*gold: 0
Join Date: Sep 2020
Posts: 1
Received Thanks: 2
|
Quote:
Originally Posted by xlifer
yeah i'm getting the same error for "Wend"
|
Wend error its when script saved as .ahk u need to save as myscript.au3 and use AutoIt
|
|
|
05/18/2022, 02:06
|
#43
|
elite*gold: 0
Join Date: May 2022
Posts: 1
Received Thanks: 0
|
what is "WEnd"? im getting an error at line 11 saying that line doesnt contain a recognized action
edited- nvm i just saw the posts above lol ill get autoit!
|
|
|
07/11/2022, 14:21
|
#44
|
elite*gold: 0
Join Date: Aug 2017
Posts: 1
Received Thanks: 0
|
this still works ? anyone can tell me?
|
|
|
07/16/2022, 07:47
|
#45
|
elite*gold: 0
Join Date: May 2017
Posts: 3
Received Thanks: 0
|
Can someone help me to monitor 3840*2160 wide screen forced please?
|
|
|
All times are GMT +1. The time now is 01:15.
|
|