Register for your free account! | Forgot your password?

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

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

Advertisement



Need some help hooking the jump function

Discussion on Need some help hooking the jump function within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
Need some help hooking the jump function

is this what i need to execute from my proxy in order to make the player jump where i wanted him to jump ?
PHP Code:
005C943F   FF75 D0        PUSH DWORD PTR SS:[EBP-30]
005C9442   FF75 D4        PUSH DWORD PTR SS:[EBP-2C]
005C9445   E8 9FABE3FF CALL Conquer.00403FE9
005C944A   
8BC8            MOV ECX,EAX
005C944C   
E8 03C20B00 CALL Conquer.00685654
005C9451   
EB 6E           JMP SHORT Conquer.005C94C1

aka 
(jump function) 
If so.. then what makes the client crash when i execute this ?
PHP Code:
writer.Write((byte)0x68);
writer.Write(Xh);
            
writer.Write((byte)0x68);
writer.Write(Yh);

writer.Write((byte)0xE8);
writer.Write(0x403FE9);

writer.Write(new byte[] { 0x8B0xC8 });

writer.Write((byte)0xE8);
writer.Write(0x685654); 
Thanks.
{ Angelius } is offline  
Old 03/03/2012, 10:51   #2
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Code:
//push x
writer.Write((byte)0x68); 
writer.Write((uint)Xh); 

//push y             
writer.Write((byte)0x68); 
writer.Write((uint)Yh); 

//mov eax, 0x403FE9
writer.Write((byte)0xB8); 
writer.Write((uint)0x403FE9); 

//call eax
writer.Write(new byte[] { 0xFF, 0xD0 }); 

//mov ecx, eax
writer.Write(new byte[] { 0x8B, 0xC8 });

//mov eax, 0x685654
writer.Write((byte)0xB8); 
writer.Write((uint)0x685654); 

//call eax
writer.Write(new byte[] { 0xFF, 0xD0 }); 

//ret
writer.Write((byte)0xC3);
This is what you want your assembly output to look like:

Code:
push X
push Y
mov eax,00403FE9
call eax
mov ecx,eax
mov eax,00685654
call eax
ret
IAmHawtness is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[tutorial]Injection & Function Hooking
11/06/2010 - Tutorials - 5 Replies
First let me say this: This is not written by me, i found it posted on game deception a while ago and just rediscoverd it on my hd. Thought it might be interesting for some ppl here. Credits go to whoever originally wrote it. This contains a demo project for vc 2003 and a tutorial. You can find the tutorial in the readme folder!!!!!! oh, if you don't trust me, don't download it....
[C++] Function Hooking.
08/25/2010 - CO2 Programming - 4 Replies
Well I hate writing tutorials where you need no brain at all, but this is as simple as its gonna get! Here's an example i whipped together for Minesweeper :p Ofcourse within CO theres stuff you can do aswell, once you know a function! (for example sending magic attacks like stig *hint hint*) So after trying this out I suggest you to read more about this subject! (if you're not experienced with function hooks) And share your sources in this section!
[Help]Jump function..
01/30/2010 - CO2 Programming - 9 Replies
Hello fellow elitepvpers, I have been searching forever for the beginning of the jump function (made it halfway in 2 hours and all i ran into is errors :o) may someone who has it for the current patch share it please? And there is another question, is sending clicks via SendMessage or PostMessage safe? Mfg, Nullable.



All times are GMT +1. The time now is 10:34.


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.