Register for your free account! | Forgot your password?

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

  • 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 11/24/2009, 19:10   #946
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
hecavante@
the following will not work in background mode as background send keystrokes doesnt work
Code:
SetKeyDelay,0,100
Gui, Add, Checkbox, vC glabel, Checkbox
Gui, Add, Edit, r1 vS w200, Text 
Gui, Show
return
GuiClose:
exitapp
return
label:
Gui, Submit, NoHide
if C = 1
settimer, function, 2000
else
settimer, function, off
return
function:
IfWinNotActive, [C
return
send {enter}
send %S%
send {enter}
return
Evan Lim is offline  
Thanks
1 User
Old 11/24/2009, 19:34   #947
 
hecavante's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 42
Received Thanks: 167
Quote:
Originally Posted by Evan Lim View Post
hecavante@
the following will not work in background mode as background send keystrokes doesnt work
-edited-
thanks..no prob for cant be bg...
hecavante is offline  
Old 11/25/2009, 23:37   #948
 
TomasLT's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 286
Received Thanks: 38
Need fast answer:
How to send f keys to ahk_id %client% besouse ControlSend,,{F2}, ahk_id %hook% dont work anymore
TomasLT is offline  
Old 11/26/2009, 00:11   #949
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
TomasLT@
controlsend never works
its always done by right controlclick at x150, y760 (F2 slot)
Evan Lim is offline  
Thanks
1 User
Old 11/26/2009, 00:12   #950
 
TomasLT's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 286
Received Thanks: 38
Thx man for ur help. Ur great
TomasLT is offline  
Old 12/15/2009, 09:43   #951
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
Yo,
Evan was wondering if you could make and auto loot ,Like you could have choices of which item the autoloot to pickup ,sorry cant be more clear
Sammy
SaM.ThE.MaN is offline  
Old 12/15/2009, 10:37   #952
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
SaM.ThE.MaN@
dont know how to read text to pick up
if u got a method, i dont mind trying it

other than that, i would recommend find the item ID that u want
change them to a pink dds image, then it can be picked up from most pixel search bots
Evan Lim is offline  
Old 12/15/2009, 19:29   #953
 
elite*gold: 0
Join Date: Sep 2008
Posts: 128
Received Thanks: 8
Where i can download it ? tell me pls
StefanHAKER is offline  
Old 12/15/2009, 23:52   #954
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
StefanHAKER@
i assume u are asking to download ?
Evan Lim is offline  
Old 01/08/2010, 20:56   #955
 
elite*gold: 20
Join Date: Jul 2007
Posts: 89
Received Thanks: 31
hey bro,can u make a background autoclicker,it is for ZeroOnline,well is a tq game,so i think it can work as in CO,thx if i know how to make it i wsnt asking =P <3
ShadowTro is offline  
Old 01/09/2010, 02:50   #956
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
ShadowTro@
i dont have zero online, so not sure about the coordinates
but if u are interested in modifying scripts, u can edit the COELSE's script
the part u need to change is:
Code:
click 20,721 ; <- line 230, this is the HP bar coordinate check point
PixelGetColor, listThree9, 20, 721
click 20,721
Code:
click 60, 735 ; <- line 241, this is the MP bar coordinate check point
PixelGetColor, listThree12, 60, 735
click 60, 735
Code:
PixelSearch, , , 10, 720, 60, 722, %listThree9%, 10, Fast ; line 680,684
Code:
PixelSearch, , , 53, 720, 90, 740, %listThree12%, 40, Fast ; line704,708
to whereever zeroonline hp bar is
Evan Lim is offline  
Old 01/09/2010, 04:38   #957
 
elite*gold: 20
Join Date: Jul 2007
Posts: 89
Received Thanks: 31
well,i just remember that long time ago evanxxx gave me a bg autoclicker,and it worked on co and zero,i found it today,but i cant extract it,i dont know why,probably because is a old file
ShadowTro is offline  
Old 01/16/2010, 20:49   #958
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
Just to highlight and comment on a piece of code:

Code:
leftclick:

    [COLOR="Red"]hwnd := ControlFromPoint(X, Y, "ahk_id " id,"", cX, cY)[/COLOR]
    PostMessage, 0x201, 0x8 | 0x1, cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
    PostMessage, 0x202, 0x8      , cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
return

ControlFromPoint(X, Y, WinTitle="", WinText="", ByRef cX="", ByRef cY="", ExcludeTitle="", ExcludeText="")
{
    if !(hwnd := WinExist(WinTitle, WinText, ExcludeTitle, ExcludeText))
        return false
    
    VarSetCapacity(pt,8)

    VarSetCapacity(wi,60), NumPut(60,wi)
    DllCall("GetWindowInfo","uint",hwnd,"uint",&wi)
    NumPut(X + (w:=NumGet(wi,4,"int")) - (cw:=NumGet(wi,20,"int")), pt,0)
    NumPut(Y + (h:=NumGet(wi,8,"int")) - (ch:=NumGet(wi,24,"int")), pt,4)
    
    Loop {
        child := DllCall("ChildWindowFromPointEx","uint",hwnd,"int64",NumGet(pt,0,"int64"),"uint",0x5)
        if !child or child=hwnd
            break
      
        DllCall("MapWindowPoints","uint",hwnd,"uint",child,"uint",&pt,"uint",1)
        hwnd := child
    }
    cX := NumGet(pt,0,"int")
    cY := NumGet(pt,4,"int")
    return hwnd
}
I noticed even though it runs in background that if you minimize the window the left click won't trigger. I tested and it's not the PostMessage function so I'm guessing either GetWindowInfo() or MapWindowPoints() requires a non-minimized window. A solution to this would be to place the line highlighted in red outside of the leftclick sub. It also stops the script from finding the handle repeatedly.

P.S. ControlFromPoint() is very useful much thnx.
Belth is offline  
Thanks
1 User
Old 01/16/2010, 22:30   #959
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Belth@
ehm i am quite sure that function works in minimized client (at least on XP 1-2 years ago)
so the function itself works, probably either OS handles thing differently or the client itself has been modified
Evan Lim is offline  
Thanks
1 User
Old 01/17/2010, 02:44   #960
 
elite*gold: 0
Join Date: Mar 2007
Posts: 78
Received Thanks: 5
Hey evan I have a question Im trying to make a zoom hack but Im not sure how to find the address in ce think you can give me some pointers?
redshadow 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 13:32.


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.