Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 14:19

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

Advertisement



Tailor Made Tools/Programs for You - AHK

Discussion on Tailor Made Tools/Programs for You - AHK within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 01/07/2009, 12:27   #106
 
Darkyy's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 396
Received Thanks: 473
Quote:
Originally Posted by Evan Lim View Post
Alexisppp12345@
for image search, use BMP 24-bit format
Code:
msgbox, Ctrl+Q to pause

loop
{
ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image1.bmp
if ErrorLevel = 0
click 659,222

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image2.bmp
if ErrorLevel = 0
click 410,243

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image3.bmp
if ErrorLevel = 0
click 667,244

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image4.bmp
if ErrorLevel = 0
click 667,244

sleep 50
}

^q::pause
Darkyy@
tnx
Darkyy is offline  
Old 01/07/2009, 13:25   #107
 
elite*gold: 0
Join Date: Nov 2006
Posts: 105
Received Thanks: 137
Evan,
First I want thank you for wasting your time with my requests.
I have one question: The program works pretty good on my screen,but if I open CO it does not detect the image/answers. Why is that? The image I give at the AHK program is the same with the one that scans at the screen! I PrintedScreen and gave the image. Why can't it detect it/does not click?

Quote:
Originally Posted by Evan Lim View Post
i have no idea how to do the choosing option part
i can guarantee u pixel search to ocr scan words is definitely not going to work, furthermore, CO has a semi-transparent dialog environment, which makes pixel search even more unstable
It is the same reason that can't detect pixel search?
saying semi-transparent you mean that every time it changes? :S
Alexisppp12345 is offline  
Old 01/07/2009, 14:20   #108
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexisppp12345@
exactly, you answered yourself already
image searching doesnt work well with semi-transparent screen, especially the background always change
Evan Lim is offline  
Old 01/07/2009, 17:17   #109
 
elite*gold: 0
Join Date: Nov 2006
Posts: 105
Received Thanks: 137
I can have the same background if I always be at the same coordinates.
Can you make a program that will answer it self the question by reading memory address?

Maybe the following help you.
Quote:
Originally Posted by IAmHawtness View Post
You could use AutoIt to make your macro. You can use this code for inspiration:
Code:
[B]#include <NomadMemory.au3>[/B]

While $paused3 = 0
	$pos2 = MouseGetPos()
	$sleep = 350
	$Mem_Answer1 = 0x01E0EFCC ;the memory address for the first answer
	$Mem_Answer2 = 0x01E0F104
	$Mem_Answer3 = 0x01E0F23C
	$Mem_Answer4 = 0x01E0F374
	$Process1 = WinGetProcess("[Conquer2.0]")

	MouseClick ("left", $pos2[0], $pos2[1], 1, 1)
	sleep ($sleep)
	
		$Mem_Open = _MemoryOpen($Process1) 
	$Mem_Read1 = _MemoryRead($Mem_Answer1, $Mem_Open, "char[16]") 
	If $Mem_Read1 = "Of course." Then
	TogglePause()
Else

sleep($sleep)
	MouseClick ("left", 443, 222, 1, 5)
	Sleep($sleep)
	
			$Mem_Read1 = _MemoryRead($Mem_Answer1, $Mem_Open, "char[16]")
			sleep(5)
			$Mem_Read2 = _MemoryRead($Mem_Answer2, $Mem_Open, "char[16]")
			sleep(5)
			$Mem_Read3 = _MemoryRead($Mem_Answer3, $Mem_Open, "char[16]")
			sleep(5)
			$Mem_Read4 = _MemoryRead($Mem_Answer4, $Mem_Open, "char[16]")
			sleep(5)
			
		If $Mem_Read1 = "Level 40" Or $Mem_Read1 = "20" Or $Mem_Read1 = "Boxer" Then
				
			MouseClick ("left", 407, 226, 1, 10)
			
		ElseIf $Mem_Read2 = "Level 40" Or $Mem_Read2 = "20" Or $Mem_Read2 = "Boxer" Then
			
			MouseClick ("left", 667, 223, 1, 10)
			
		ElseIf $Mem_Read3 = "Level 40" Or $Mem_Read3 = "20" Then
			
			MouseClick ("left", 410, 246, 1, 10)
			
		ElseIf $Mem_Read4 = "Level 40" Or $Mem_Read4 = "20" Or $Mem_Read4 = "Boxer" Then
			
			MouseClick ("left", 674, 243, 1, 10)
			
		EndIf
		EndIf
		
sleep($sleep)
MouseClick ("left", 422, 222, 1, 10)
MouseMove ($pos2[0], $pos2[1], 10)
_MemoryClose($Mem_Open)

WEnd
The memory addresses wont work on your client, of course, you'll have to find them yourself, and the MouseClick coordinates probably wont work on your pc either.

What this code does is:
It clicks where your mouse is (you have to place it on the NPC guy in Phoenix Castle yourself), then it clicks on the "Let's go" answer (or whatever it is, I kinda forgot) and then it check the values of the choices you get and clicks the correct one.
Alexisppp12345 is offline  
Old 01/07/2009, 21:24   #110
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexisppp12345@
u are missing a lot of things
people can be there, guards can be at the background
if plants, can blink or move
but since u insist, lets try something small first

Code:
loop
{
sleep 1000
ImageSearch, FoundX, FoundY, 0 ,0, 1000, 500, *5 C:\image1.bmp
if errorlevel = 0
{
tooltip, image found,1,1
}
else
{
tooltip, image not found,1,1
}
}
when u take the bmp, try to make it as small as possible
like this:


if it works, u dont even need 4 IF-function, just do:

Code:
loop
{
sleep 1000
ImageSearch, FoundX, FoundY, 0 ,0, 1000, 500, *5 C:\image1.bmp
if errorlevel = 0
{
click %FoundX%, %FoundY%
break
}
}
msgbox, image found`nscript contines
and about memory address, if autoIT works, then use it
why bother using others
PS* i dont know autoIT
Evan Lim is offline  
Old 01/08/2009, 02:24   #111
 
elite*gold: 0
Join Date: Nov 2008
Posts: 18
Received Thanks: 2
Hi , is it possible to make a toxic fog lvler with AHK ?? Can u make one that works in the background and in resolution 1024 * 768 window mode ?
VirginHunterS is offline  
Old 01/08/2009, 04:20   #112
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
VirginHunterS@
describe how to level toxic fog (location, method)
background mode no problem, just that u send to click jail in few mins if u dont mind
Evan Lim is offline  
Old 01/08/2009, 05:12   #113
 
elite*gold: 0
Join Date: Sep 2007
Posts: 442
Received Thanks: 21
o well evan i want a dual weapon hackfor patch 5065...i know how to make my war use 2 weps with cheatengine...but i wanna know how to make a little program instead of open cheatengine all the time...

like what programs do i need to make interfacce and that stuff...
ha.ho.a is offline  
Old 01/08/2009, 05:15   #114
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
ha.ho.a@
if it can be done by cheatengine, then obviously u can just make a CE trainner
Evan Lim is offline  
Old 01/08/2009, 06:18   #115
 
elite*gold: 0
Join Date: Sep 2007
Posts: 442
Received Thanks: 21
omg...i cant do it...i thought it would be the same as patch 5017...
ha.ho.a is offline  
Old 01/08/2009, 16:04   #116
 
elite*gold: 0
Join Date: Nov 2006
Posts: 105
Received Thanks: 137
Evan,
I tried that you said,but it does no work
Thanks anyway and sorry for wasting your time.
Alexisppp12345 is offline  
Old 01/08/2009, 20:00   #117
 
elite*gold: 0
Join Date: Sep 2007
Posts: 442
Received Thanks: 21
alexis i think it can be done in patch 5065...so i specify but i dunno how to now...
ha.ho.a is offline  
Old 01/08/2009, 21:53   #118
 
elite*gold: 0
Join Date: Aug 2007
Posts: 12
Received Thanks: 0
Can you make an AutoMiner for DC mine that will give me a function that lets me pick what ores i want dropped for the auto ore dropper. I prefer if it could run mini, but if not its ok.

I want it to be simple . Doesn't have to have auto dc or reconnect. Just drops ores i don't want.
Zune is offline  
Old 01/10/2009, 02:39   #119
 
elite*gold: 0
Join Date: Nov 2008
Posts: 18
Received Thanks: 2
Quote:
Originally Posted by Evan Lim View Post
VirginHunterS@
describe how to level toxic fog (location, method)
background mode no problem, just that u send to click jail in few mins if u dont mind
oh .. but how come autostig can run in background ? But not toxic fog lvler?
VirginHunterS is offline  
Old 01/10/2009, 04:57   #120
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Zune@
the only way i can think of is image search, so cant be minimized
if its ok for u, please provide a 24-bit BMP screenshot of ores that u dont want (no need crop screenshots, i can do it for u)

VirginHunterS@
if it involve left control click, then it will send u to click jail
thats why i am asking u the location and method u going to use
Evan Lim is offline  
Thanks
1 User
Reply

« :) | question »

Similar Threads Similar Threads
Tailer-made Tools thread - make ur dreams come true
10/28/2008 - Conquer Online 2 - 1577 Replies
Closed Thread discontinued due to personal reasons Thanks for the previous support Hi elite users, I am Evan. Not quite well-known in forum due to the fact i only release wicky and unpopular programs...Thx for a1 and others to scan/explain when others flame or questioned me. anyhow, i am a AHK (autohotkey) user, and i like programming more than games. Lets get to the main point: Tell me your ideas, i will try to create a tool that satisfy ur needs Please be specific, examples:
Packet Crafter/CO2/CO 2/Hacks/Tools/Programs
06/27/2007 - CO2 Exploits, Hacks & Tools - 13 Replies
================================================== ================== TCP/IP Packet Injector ====-v1.4-======================================= =================== This Project is designed to be a command line based, portable human IP stack for UNIX-like and Windows systems. The suite is broken down by protocol, and should allow for useful scripting of injected packets from simple shell scripts.
Net Tools /EXE Binder/CO2/Tools/Hacks/Programs
06/26/2007 - CO2 Exploits, Hacks & Tools - 22 Replies
Net Tools is cutting-edge security and network monitoring software for the Internet and Local Area Networks, providing clients with the ability and confidence to meet the challenges of tomorrow's technology. Keeping pace with the industry trends, we offer professional tools that support the latest standards, protocols, software, and hardware for both wired and wireless networks. The main goal is the creation of high quality software. Net Tools is a very strong combination of network scanning,...



All times are GMT +1. The time now is 14:20.


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.