Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff
You last visited: Today at 15:34

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

Advertisement



bot openCV, need some help with input

Discussion on bot openCV, need some help with input within the Flyff forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2020
Posts: 3
Received Thanks: 0
Question bot openCV, need some help with input

Hi,


Just for fun i make a simple bot with openCV to recognize and auto attack mob.

Everything work well but i had obviously a issue with nProtect GameGuard who block all SendInput (windll).

If i run flyff on virtualbox or use a arduino like a fake usb mouse to send input everything work well but... If anyone have a better solution to send input or bypass gg i take it !

Thx all !
testuser_123 is offline  
Old 11/01/2020, 02:39   #2
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
Quote:
Originally Posted by testuser_123 View Post
Hi,


Just for fun i make a simple bot with openCV to recognize and auto attack mob.

Everything work well but i had obviously a issue with nProtect GameGuard who block all SendInput (windll).

If i run flyff on virtualbox or use a arduino like a fake usb mouse to send input everything work well but... If anyone have a better solution to send input or bypass gg i take it !

Thx all !
Wow you made an openCV bot just to recognize the mobs I guess your CPU is used at 50%
I would like to see that in action out of curiosity...Otherwise you can use a simple PixelSearch Api based on Autoit or c++ (there is a wrapper for c++ based on autoit PixelSearch api)

To bypass gg, you can use a bypass for PostMessage API:

Code:
// PostMessage Bypass
DWORD originalPostMessage = (DWORD)GetProcAddress(LoadLibrary(TEXT("User32.dll")), "PostMessageW") + 5;
__declspec(naked) BOOL WINAPI hPostMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
	UNREFERENCED_PARAMETER(lParam);
	UNREFERENCED_PARAMETER(wParam);
	UNREFERENCED_PARAMETER(uMsg);
	UNREFERENCED_PARAMETER(hWnd);
	__asm
	{
		mov edi, edi
			push ebp
			mov ebp, esp
			jmp dword ptr ds:[originalPostMessage]
	}
}
and use it like this:
hPostMessage(hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0);
cookie69 is offline  
Thanks
1 User
Old 11/02/2020, 08:59   #3
 
elite*gold: 0
Join Date: Oct 2020
Posts: 3
Received Thanks: 0
hmm bypass PostMessage API, thank for your help !
I write this bot in C# i will check if it's possible to write this type of low level func
testuser_123 is offline  
Old 11/02/2020, 12:02   #4
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
Quote:
Originally Posted by testuser_123 View Post
hmm bypass PostMessage API, thank for your help !
I write this bot in C# i will check if it's possible to write this type of low level func
Put the c++ code inside a DLL and export the function. Then use the DLL from c# using the import blah blah..
cookie69 is offline  
Thanks
1 User
Old 11/02/2020, 14:57   #5

 
/Aiden\'s Avatar
 
elite*gold: 1825
Join Date: Apr 2014
Posts: 1,073
Received Thanks: 1,361
Quote:
Originally Posted by cookie69 View Post
Put the c++ code inside a DLL and export the function. Then use the DLL from c# using the import blah blah..
That is a good approach. On the other hand there is another way to do it. Have a look at Senpai Greyb1t's AwaBot Source:



There is the solution directly in C#.
/Aiden\ is offline  
Old 11/02/2020, 17:35   #6
 
elite*gold: 0
Join Date: Oct 2020
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by /Aiden\ View Post


There is the solution directly in C#.
Nice ! big thanks, i will check the repo
testuser_123 is offline  
Reply


Similar Threads Similar Threads
Python opencv Mouse_Events help!
06/27/2020 - General Coding - 0 Replies
#closed
OpenCV python got update EXANE
11/24/2018 - DarkOrbit - 8 Replies
opencv got update and its %30 more efficient on image scaning which means it could help about background pixel bot like exobot. EXANE PLEASE UPDATE!!!
Fast Variance calculation in OpenCV
04/11/2016 - General Coding - 2 Replies
I try to keep my question as short as possible. I have got an Image of around 4048 x 3040 pixels. My task is to find some regions of interest. These regions can be easily found by computing the variance of border of a rectangle. I have to do this for every pixel in image with rectangle size of around 10x10. Just imagine this would be my image (1 are the pixels I want to get variance of, x is my current pixel): Now I want to calculate variance for this small rectangle (width=3,...
Some One Help Me :( I Need Some Tool's
11/06/2011 - Conquer Online 2 - 4 Replies
Hello .. I Play Conquer Online But Not English verison I Play Arabaic Verison .. I Need Some Help And Some Tool's And Program ;) To Get +12 Items :p The Arabic Verison Have Old Batch .. Soo I Need old & New Hack Plz ;) The Btatch On Arabic Verison Is 1226 I wait You All Plzzzzzzzzzzz :D



All times are GMT +1. The time now is 15:36.


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