I found some things on the internet but I do not understand almost anything
I understand a bit of .AHK codes only
And I was wondering if anyone knows of any skill check bot working in the current version of the game ?!
Some Useful Posts: (if someone can create a script / trainer / executable via these codes)
mpgh.net/forum/showthread.php?t=1220540 (
Outdated skill check bot )
mpgh.net/forum/showthread.php?t=1253792 (
Outdated skill check bot )
Outdated code: (found on the internet)
Code:
PlayerController->Pawn + 0x0828 = interactionHandler -> ptr
interactionHandler + 0x0140 = skillCheck -> ptr
skillCheck + 0x01D0 = bDisplayed -> bool
skillCheck + 0x01B4 = ProgressRate -> float
skillCheck + 0x01B8 = SuccessZoneStart -> float
skillCheck + 0x01BC = SuccessZoneEnd ->float
skillCheck + 0x01C0 = BonusZoneLength -> float
skillCheck + 0x01D4 = currentProgress -> float
if(bDisplayed && (currentProgress > SuccessZoneStart && currentProgress < SuccessZoneEnd))
{
executeSkillCheck();
}
AHK code: (autohotkey.com/boards/viewtopic.php?t=19928)
Code:
find_inside_and_outside(byref px, byref py, outx1, outy1, outx2, outy2, inx1, iny1, inx2, iny2, color)
{
px :=
py :=
;search top block
PixelSearch, Px, Py, outx1, outy1, outx2, iny1, color, 0, Fast
if (ErrorLevel == 0)
{
MsgBox, A color was found at X%Px% Y%Py% in the top block.
return, 1
}
;search bottom block
PixelSearch, Px, Py, outx1, iny2, outx2, outy2, color, 0, Fast
if (ErrorLevel == 0)
{
MsgBox, A color was found at X%Px% Y%Py% in the bottom block.
return, 1
}
;search left block
PixelSearch, Px, Py, outx1, iny1, inx2, iny2, color, 0, Fast
if (ErrorLevel == 0)
{
MsgBox, A color was found at X%Px% Y%Py% in the left block.
return, 1
}
;search right block
PixelSearch, Px, Py, inx2, iny1, outx2, iny2, color, 0, Fast
if (ErrorLevel == 0)
{
MsgBox, A color was found at X%Px% Y%Py% in the left block.
return, 1
}
return, 0
}
AHK code: (autohotkey.com/boards/viewtopic.php?t=38248&p=175690)
Code:
Loop
{
CoordMode Pixel
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight,*110, C:\Users\AHKFORUM\Pictures\tiny6.png
if ErrorLevel = 2
{
MsgBox Could not conduct the search.
break
}
else if ErrorLevel = 1
{
}
else {
MsgBox The icon was found at %FoundX%x%FoundY%. ; Here I'll swap with send space hotkey, for now it's just for testing purposes
break
}
}
Code:
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
plot(x1, y1, a, r, byref x2, byref y2) {
rad := (a * 0.01745329252)
x2 := (x1 - sin(rad) * r)
y2 := (y1 + cos(rad) * r)
}
xMidScrn := A_ScreenWidth //2
yMidScrn := A_ScreenHeight //2
f1::
loop{
coordmode mouse
coordmode pixel
setformat floatfast, 0
mousegetpos x, y
arc := 15, radius := 53, time := a_tickcount
loop {
plot(xMidScrn, yMidScrn, a_index * arc, radius, x2, y2)
PixelSearch, oX, oY, x2, y2, x2, y2, 0xFFFFFF , 100, Fast
;mousemove x2,y2 ;this is just here to check if the radius being searched is the correct one.
if !ErrorLevel
Break
}
loop{
PixelSearch, oX1, oY1, Ox, Oy, Ox, Oy, 0xCD0009 , 145, Fast
if !ErrorLevel
Break
}
Send {Space down}
sleep 10
Send {Space up}
}
return
Code:
f1::
loop{
coordmode mouse
coordmode pixel
setformat floatfast, 0
mousegetpos x, y
arc := 3, radius := 53, time := a_tickcount
loop {
plot(xMidScrn, yMidScrn, a_index * arc, radius, x2, y2)
PixelSearch, oX, oY, x2, y2, x2, y2, 0xFFFFFF , 100, Fast RGB
;mousemove x2,y2 ;this is just here to check if the radius being searched is the correct one.
if !ErrorLevel{
mousemove oX, oY
pixelgetcolor white, oX, oY, rgb
Break
}
}
loop
{
pixelgetcolor c, oX, oY, rgb
if c <> white
{
MsgBox first loop block was %white% - Second was %c%
;Send {Space down}
;Sleep 10
;Send {Space up}
break
}
}
}
return
thanks !