Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Ragnarok Online
You last visited: Today at 01:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Guide AHK Pixel/Imagesearch Bot (DarkRO)

Discussion on Guide AHK Pixel/Imagesearch Bot (DarkRO) within the Ragnarok Online forum part of the MMORPGs category.

Reply
 
Old 06/13/2020, 21:36   #16
 
elite*gold: 0
Join Date: Jun 2020
Posts: 4
Received Thanks: 0
I fixed that issue. It's working fine now but can you help me for coding random walks? I can't maintain teleporting since SP being drained too quickly.

it's a low rate server.
kgrawr is offline  
Old 06/16/2020, 14:51   #17
 
elite*gold: 0
Join Date: Jun 2020
Posts: 1
Received Thanks: 0
Good day sir...i have a question.what the meaning of.a_screenwith..it says alway peco not found....can u explain what size of screen resulotion to be used...thnx for the answer
zianna25 is offline  
Old 06/30/2020, 02:32   #18
 
elite*gold: 0
Join Date: Apr 2009
Posts: 17
Received Thanks: 0
hi what pallete color you using?

Quote:
Originally Posted by nozomi.gusta View Post
edit your square, make the border red and the blue at the middle.
how to do this?
niwra726 is offline  
Old 06/30/2020, 08:31   #19
 
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 1
Red face

Quote:
Originally Posted by nozomi.gusta View Post
I use OCR, convert image to text. Thou it is not that accurate but it helps alot.
Can you link to the OCR, I tried some of them in the AHK forums but they don't seem to work for me.

Thanks in advance
gohancool is offline  
Old 07/01/2020, 18:19   #20
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by zianna25 View Post
Good day sir...i have a question.what the meaning of.a_screenwith..it says alway peco not found....can u explain what size of screen resulotion to be used...thnx for the answer
a_screenwith means the width of your screen. it automatically finds your screen size, thou you can also manually set it.

Quote:
Originally Posted by gohancool View Post
Can you link to the OCR, I tried some of them in the AHK forums but they don't seem to work for me.

Thanks in advance

nozomi.gusta is offline  
Old 07/01/2020, 18:25   #21
 
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 1
Red face Thank YOU!

Quote:
Originally Posted by nozomi.gusta View Post
a_screenwith means the width of your screen. it automatically finds your screen size, thou you can also manually set it.




THANK YOU SO MUCH!!!!
gohancool is offline  
Old 07/05/2020, 01:12   #22
 
elite*gold: 0
Join Date: Jun 2013
Posts: 5
Received Thanks: 0
Will this also work in MSP?
anthonyako is offline  
Old 07/07/2020, 09:26   #23
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by anthonyako View Post
Will this also work in MSP?
if macro is allowed.
nozomi.gusta is offline  
Old 07/11/2020, 00:55   #24
 
elite*gold: 0
Join Date: Aug 2011
Posts: 5
Received Thanks: 0
hi sir i followed everything but it keeps teleporting not even click the grandpeco.
kevonedmon is offline  
Old 07/20/2020, 14:35   #25
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
(F3)(3), 623, 493#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

f2::Reload

F1::
{
Loop
{
Sleep 750

ImageSearch, FoundX, FoundY, 1, 1, A_ScreenWidth, A_ScreenHeight, Grand.png
if (ErrorLevel = 0)
{
Click, %FoundX%, %FoundY%
sleep 1300
send {H}
}
else if (ErrorLevel = 1)
{
send {H}
}

{

{
Sleep 500

ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, Orc.png
if (ErrorLevel = 0)
{
sleep 200
Send {H}, %FoundX%, %FoundY%


}

}
}
}
}
return



I'm not a pro programmer but I'm trying to learn how to make this config a bit more less hassle in terms of avoiding the orc or when my farmer detected that there's an orc nearby it will automatically gonna use fly wing but I've tried a million times now I really can't figure out what command I should use..I hope the author of this thread could help and check this script that I made
jzordick is offline  
Old 07/21/2020, 14:23   #26
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by jzordick View Post
(F3)(3), 623, 493#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

f2::Reload

F1::
{

Loop
{
Sleep 750

ImageSearch, FoundX, FoundY, 1, 1, A_ScreenWidth, A_ScreenHeight, Grand.png
if (ErrorLevel = 0)
{
Click, %FoundX%, %FoundY%
sleep 1300
send {H}
}
else if (ErrorLevel = 1)
{
send {H}
}

{

{
Sleep 500

ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, Orc.png
if (ErrorLevel = 0)
{
sleep 200
Send {H}, %FoundX%, %FoundY%


}

}
}
}
}
return



I'm not a pro programmer but I'm trying to learn how to make this config a bit more less hassle in terms of avoiding the orc or when my farmer detected that there's an orc nearby it will automatically gonna use fly wing but I've tried a million times now I really can't figure out what command I should use..I hope the author of this thread could help and check this script that I made
Have not test the code since i no longer play DarkRO if there is problem please post again

Code:
F1::
{
	telecounter := 0
	
	Loop
	{
		Sleep 500
		ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, Orc.png
		if (ErrorLevel = 0)
		{
			sleep 200
			Send {H}
		}
		else if (ErrorLevel = 1)
		{
			sleep 500
			ImageSearch, FoundX, FoundY, 1, 1, A_ScreenWidth, A_ScreenHeight, Grand.png
			if (ErrorLevel = 0)
			{
				Click, %FoundX%, %FoundY%
				sleep 500
				
				telecounter++		;; You need this so pixel bot will not get stuck if peco cannot be reached
				if telecounter > 15	;; It will force teleport every 15seconds with or without peco
				{					
					send {H}	        ;; Assuming your teleport or flywing is Letter H
				}					
			}
			else if (ErrorLevel = 1)
			{
				send {H}
				telecounter = 0
			}
			Sleep 500
		}
	}
}
return
nozomi.gusta is offline  
Old 07/22/2020, 00:33   #27
 
elite*gold: 0
Join Date: Jul 2020
Posts: 1
Received Thanks: 0
I follow the instruction but it keep me teleport only. Not even clicking the monster Peco
tjandres23 is offline  
Old 07/22/2020, 20:29   #28
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by tjandres23 View Post
I follow the instruction but it keep me teleport only. Not even clicking the monster Peco
your monster PNG must be color accurate

try this i have upload my orc and peco png, place them in the right grf directory.
the orc and peco png must be in the same folder of your script ahk






Code:
CoordMode, Pixel, Relative
CoordMode, Mouse, Relative

F2::Reload

F1::
{
	telecounter := 0
	WinWaitActive, DarkRO: Rebirth
	WinSetTitle, DarkRO: Rebirth
	WinGetActiveStats, Title, www, hhhh, X, Y
	
	Loop
	{
		Sleep 500
		ImageSearch, FoundX, FoundY, 0, 0, www, hhhh,*50 orc.png
		if (ErrorLevel = 0)
		{
			sleep 200
			Send {H}
		}
		else if (ErrorLevel = 1)
		{
			sleep 500
			ImageSearch, FoundX, FoundY, 0, 0, www, hhhh,*50 grand.png
			if (ErrorLevel = 0)
			{
				Click, %FoundX%, %FoundY%
				sleep 500
				
				telecounter++		;; You need this so pixel bot will not get stuck if peco cannot be reached
				if telecounter > 15	;; It will force teleport every 15seconds with or without peco
				{					
					send {H}	        ;; Assuming your teleport or flywing is Letter H
				}					
			}
			else if (ErrorLevel = 1)
			{
				send {H}
				telecounter = 0
			}
			Sleep 500
		}
	}
}
return
nozomi.gusta is offline  
Old 07/25/2020, 05:24   #29
 
elite*gold: 0
Join Date: Nov 2008
Posts: 15
Received Thanks: 0
do you have a script for auto answering the bot checker captcha?
gmalexis is offline  
Old 07/25/2020, 10:12   #30
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by gmalexis View Post
do you have a script for auto answering the bot checker captcha?
its easy with vis2 ocr
download vis2

place vis2 at the same folder of your script, in your scirpt.ahk include this #include <Vis2>

To input a set of known coordinates, try inputting an array of 4 values, [x, y, w, h] xy as the exact coordinate of the captcha

Code:
text := OCR([x, y, w, h])
You need this to clean the text remove space [ ] and |

Code:
text :=StrReplace(text, "[", "")
text :=StrReplace(text, "]", "")
text :=StrReplace(text, " ", "")
text :=StrReplace(text, "|", "")

For Counting Characters

Code:
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, countchars.png
if (ErrorLevel = 0)
{
        text := OCR([x, y, w, h])
	text := StrLen(text)
        text :=StrReplace(text, "[", "")
        text :=StrReplace(text, "]", "")
        text :=StrReplace(text, " ", "")
        text :=StrReplace(text, "|", "")
	sleep 5000
	send {enter}
	sleep 5000
	send %text%
	sleep 1000
	send {enter}
	sleep 1000
	send {enter}
	sleep 1000
}
For Subtraction and addition

Code:
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, add.png
if (ErrorLevel = 0)
{
     gosub, addsubtract
}

ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, sub.png
if (ErrorLevel = 0)
{
     gosub, addsubtract
}


addsubtract::
{
     text := OCR([x, y, w, h])
     text :=StrReplace(text, "[", "")
     text :=StrReplace(text, "]", "")
     text :=StrReplace(text, " ", "")
     text :=StrReplace(text, "|", "")

     Loop, parse, text, `*/+-
     {
          if A_Index = 1
			number1 := A_LoopField
          if A_Index = 2
			number2 := A_LoopField
     }
     If InStr(text, "-")
     {
	number := number1 - number2
	sleep 5000
	send {enter}
	sleep 5000
	send %number%
	sleep 1000
	send {enter}
	sleep 1000
	send {enter}
	sleep 1000
     }

     If InStr(text, "+")
     {
	number := number1 + number2
	sleep 5000
	send {enter}
	sleep 5000
	send %number%
	sleep 1000
	send {enter}
	sleep 1000
	send {enter}
	sleep 1000
     }
}
return

Before i quit this was the only captcha to appear i dont know if more captcha was added. You need to imagesearch Antibot so that the script would know when to start answering the captcha. For each anti bot question you need a imagesearch for each of them.

nozomi.gusta is offline  
Reply


Similar Threads Similar Threads
All paladium pixel bot+ website service+palavia pixel bot crack (no break,no update)
10/30/2013 - DarkOrbit - 18 Replies
Hello today : All palladium bot : Byfuso98:https://mega.co.nz/#!5p00SAjD!UxUiASLcU9 Qu6V11S1Ub3nUaMUA20x9XWQwHlgAv7cE (official link) Check: ONLINE ByPrdlyAndel: https://mega.co.nz/#!scc03RBR!U1pj1DTh1HsBR-HO-BT 9R35qcRlcExXtEyf_NoabdHI
DarkRO Token Quest Bot
04/19/2010 - Ragnarok Online - 0 Replies
can someone pls help me or post a config here, I can't figure it out. Dx



All times are GMT +2. The time now is 01:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.