Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Ragnarok Online
You last visited: Today at 23:32

  • 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 07/25/2020, 15:47   #31
 
elite*gold: 0
Join Date: Nov 2008
Posts: 15
Received Thanks: 0
holy shete hirap pag begginer sa ganto heheh pero Maraming Salamat po
gmalexis is offline  
Old 07/25/2020, 17:09   #32
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by gmalexis View Post
holy shete hirap pag begginer sa ganto heheh pero Maraming Salamat po
if you can master this you can easily make a treasure hunter bot.

add another imagesearch the botchecker as PNG make a png of the text "You are suspected as a bot-user" (again not 100% exact with this since i no longer play.)

Code:
#include <Vis2>

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 200
		ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, botchecker.png
		if (ErrorLevel = 0)
		{
			sleep 500
			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
			}
			
			sleep 500
			ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, add.png
			if (ErrorLevel = 0)
			{
				 gosub, addsubtract
			}

			sleep 500
			ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, sub.png
			if (ErrorLevel = 0)
			{
				 gosub, addsubtract
			}
		}
		else
		{
			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
			}
		}
	}
}


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
nozomi.gusta is offline  
Old 07/26/2020, 00:15   #33
 
elite*gold: 0
Join Date: Nov 2008
Posts: 15
Received Thanks: 0
meron na ako token bot
botchecker autocaptcha na lang kulang ko ^^,
pag aralan ko tlaga to

Maraming salamat po talga...
gmalexis is offline  
Old 07/26/2020, 00:53   #34
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by nozomi.gusta View Post
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

will definitely gonna try this but maybe not now because the new management of darkro rebirth is a bit vigilant in hunting botters >.<

by the way how about for the detection of gepard? kind of wondering what remedy can be with that problem...
jzordick is offline  
Old 07/26/2020, 05:52   #35
 
elite*gold: 0
Join Date: Nov 2008
Posts: 15
Received Thanks: 0
i got this error when im trying to run the script

the autocaptcha



#include <Vis2>

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 200
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, botchecker.png
if (ErrorLevel = 0)
{
sleep 500
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
}

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

sleep 500
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
gmalexis is offline  
Old 07/26/2020, 06:10   #36
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by gmalexis View Post
i got this error when im trying to run the script
the autocaptcha


Sorry replace "addsubtract::" with "addsubtract:"

1 : only
nozomi.gusta is offline  
Old 07/26/2020, 15:31   #37
 
elite*gold: 0
Join Date: Nov 2008
Posts: 15
Received Thanks: 0
where do i put the subtract/ count the char // add .png file??

and their 1 more new captcha Enter The Generated Text

how can i add that
gmalexis is offline  
Old 07/28/2020, 19:10   #38
 
elite*gold: 0
Join Date: Sep 2012
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by nozomi.gusta View Post
Sorry replace "addsubtract::" with "addsubtract:"

1 : only
Got this working but Gepard Shield still detects it after around 10-15 minutes. It says bot tool detected and client crashes. Is there a fix for that?

I tried adding random delays between key strokes, jitter movements on mouse etc. to simulate a more human like behavior but it still does not work.
asnavar2 is offline  
Old 07/28/2020, 20:01   #39
 
elite*gold: 0
Join Date: Jul 2020
Posts: 1
Received Thanks: 0
hi, can this macro/bot do auto farm and auto storage?
man0kegg is offline  
Old 08/01/2020, 13:43   #40
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2
Received Thanks: 0
is this still working? any updates?
masterpref is offline  
Old 08/04/2020, 19:33   #41
 
elite*gold: 0
Join Date: Aug 2020
Posts: 3
Received Thanks: 0
During the 15th step, the message box appears as "Not found" even if I'm seeing the mob.

Any suggestions?

I guess I'm having difficulties in coloring the sprites.
JohnIsland is offline  
Old 08/05/2020, 16:59   #42
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by JohnIsland View Post
During the 15th step, the message box appears as "Not found" even if I'm seeing the mob.

Any suggestions?

I guess I'm having difficulties in coloring the sprites.
have you tried this
nozomi.gusta is offline  
Old 08/05/2020, 22:54   #43
 
elite*gold: 0
Join Date: Aug 2020
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by nozomi.gusta View Post
have you tried this
Hey man, thanks for your support. Apparently I was having troubles when coloring the sprite. For some reason I couldn't get the same color ID for the whole monster, so the script would never find a square that matches perfectly with the monster.

First I tried to color it my way, since the monster I wanted to hunt is the Alligator and not the Grand Peco, but I couldn't at all get the same color.

So I gave up and just changed the Alligator sprite for your Grand Peco sprite and it worked fine. Now I'm hunting Alligators that are blue Grand Peco shaped hahahahaha but it's fine for me.

Thank you and nice script!! I'm new at this, but I found really nice the many possibilities we have by using them.
JohnIsland is offline  
Old 08/06/2020, 12:32   #44
 
nozomi.gusta's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 122
Received Thanks: 18
Quote:
Originally Posted by JohnIsland View Post
Hey man, thanks for your support. Apparently I was having troubles when coloring the sprite. For some reason I couldn't get the same color ID for the whole monster, so the script would never find a square that matches perfectly with the monster.

First I tried to color it my way, since the monster I wanted to hunt is the Alligator and not the Grand Peco, but I couldn't at all get the same color.

So I gave up and just changed the Alligator sprite for your Grand Peco sprite and it worked fine. Now I'm hunting Alligators that are blue Grand Peco shaped hahahahaha but it's fine for me.

Thank you and nice script!! I'm new at this, but I found really nice the many possibilities we have by using them.
You can also do it like this.

1. Extract the alligator.act
2. Open it in Act Editor
3. Act Editor > Edit > Import Pallete
4. Find my Grand_peco.act
5. Save

Now your Alligator should be the same color as the grand peco.
nozomi.gusta is offline  
Thanks
1 User
Old 08/06/2020, 21:41   #45
 
elite*gold: 0
Join Date: Aug 2020
Posts: 3
Received Thanks: 0
It worked fine!

Thanks
JohnIsland 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 +1. The time now is 23:34.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.