Register for your free account! | Forgot your password?

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

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

Advertisement



[autoit] a lil help please guys

Discussion on [autoit] a lil help please guys within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2006
Posts: 151
Received Thanks: 58
[autoit] a lil help please guys

Hi, seeing as you guys are great with autoit thought id see if
you would help me out a little seeing as ive got lost.
see what im looking to do is:
Code:
00486874   .  74 0F         JE SHORT Conquer.00486885
00486876   .  FF75 EC       PUSH DWORD PTR SS:[EBP-14]
00486879   .  8BCE          MOV ECX,ESI
0048687B   .  FF75 E8       PUSH DWORD PTR SS:[EBP-18]
0048687E   .  E8 04F70300   CALL Conquer.004C5F87
using autoit id like to be able to replace the two PUSH's for the x,y.
in olly when i set a breakpoint on them it shows like:
Code:
Stack SS:[0012F194]=000002C4
and converted from the hexadecimal to decimal would be 708.
Im not really sure im explaining myself properly
but what im aiming to do is set the ctrl down(well change the JE to JG which swaps the ctrl up down,which i can do)
then have it read my own coords and PUSH those
then call the Jump function all using autoit.
sighs.. not sure if you understand what im trying to do or even if its possible.
any tips or pointers would be great, thanks in advance.
trash is offline  
Old 01/16/2009, 21:31   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 490
Received Thanks: 595
Quote:
Originally Posted by trash View Post
Hi, seeing as you guys are great with autoit thought id see if
you would help me out a little seeing as ive got lost.
see what im looking to do is:
Code:
00486874   .  74 0F         JE SHORT Conquer.00486885
00486876   .  FF75 EC       PUSH DWORD PTR SS:[EBP-14]
00486879   .  8BCE          MOV ECX,ESI
0048687B   .  FF75 E8       PUSH DWORD PTR SS:[EBP-18]
0048687E   .  E8 04F70300   CALL Conquer.004C5F87
using autoit id like to be able to replace the two PUSH's for the x,y.
in olly when i set a breakpoint on them it shows like:
Code:
Stack SS:[0012F194]=000002C4
and converted from the hexadecimal to decimal would be 708.
Im not really sure im explaining myself properly
but what im aiming to do is set the ctrl down(well change the JE to JG which swaps the ctrl up down,which i can do)
then have it read my own coords and PUSH those
then call the Jump function all using autoit.
sighs.. not sure if you understand what im trying to do or even if its possible.
any tips or pointers would be great, thanks in advance.
Been there done that

Alright I'm not familiar with autoit at all, but i do know you can do like Read/WriteProcessMemory right?
I did the exact same thing but not with AutoIt, but just plain old VB, I'd say hardcode it into the exe to a static location, so change the push to something PUSH DWORD PTR DS:[some free mem. loc.]
and use Read/WriteProcessMemory to do the trick with AutoIt.

So for example:
1) Read location
2) if equal to <blabla>
3) Write to location
4) And do it all again

Would do the trick for setting coordinates but u still need to click to actually make the jump to the coordinates you have set.
Because all you do is set the coordinates that way, the clicking "triggers" the call

And since you cant send clicks to background windows u will still need to have the window active or face clicking jail
But the window on top kind of defeats the purpose right?
Because theres easier ways to jump to a certain spot

You need a way to call that function and well for that I cant suggest AutoIt, You'll need to write a dll with that function and inject it and trigger the function
But all that is beside what u asked so i'll shut it lol

Anyway hoped it helped some
_fobos_ is offline  
Old 01/17/2009, 11:07   #3
 
elite*gold: 0
Join Date: Feb 2006
Posts: 151
Received Thanks: 58
thanks for the responce,
I really did want to keep away from using dlls but i guess if youve already tried this
you know whats what.
Youve given me something to think about
thanks again.
trash is offline  
Old 01/17/2009, 16:56   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 490
Received Thanks: 595
Quote:
Originally Posted by trash View Post
thanks for the responce,
I really did want to keep away from using dlls but i guess if youve already tried this
you know whats what.
Youve given me something to think about
thanks again.
Youre welcome, I'm working on a same kind of thing it's why I responded
Right now i can make jumps on a minimized screen as long as the coordinates I set are correct and I found the attack function after some digging, which are the main things in a memory based bot. I think those two are most important things the rest should be a piece of cake.

Let me know if you need some help

(before anyone asks no, im not gonna give the addresses to the attack function just yet sorry but if you do some digging you'll find it! )
_fobos_ is offline  
Reply




All times are GMT +1. The time now is 17:39.


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.