Register for your free account! | Forgot your password?

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

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

Advertisement



[RELEASE][.NET] Hooking library, take two

Discussion on [RELEASE][.NET] Hooking library, take two within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
[RELEASE][.NET] Hooking library, take two

August 5th, 2012 update: Restrictions are fixed, meaning you will no longer get banned for using this library

New hooking library + sample + source. Enjoy.

It probably has bugs (I'm terrible at C#)
I might make a tutorial on how to use although the sample should be enough
Feel free to ask any questions in the thread

Belth's guide on how to find some important memory addresses (Remember to thank him):

Quote:
Originally Posted by Belth View Post
5609 Addresses:
SendPacketFunction = 0x6C8F56
ReceiveLoop = 0x6C9833

This is how I find the addresses:

Recv Loop
1. Search all referenced text strings for "catch error in process msg" without quotes.
2. Trace back until I find "TEST EAX, EAX" followed by "JNZ SHORT <ADDRESS>".

Send Packet Function
1. Search for the binary string "55 8D AC 24 FC DF FF FF B8 04 20 00 00".

Removing the "You can't jump that far." message
1. Search for the constant 186C0.
2. Trace back to the first "JLE <ADDRESS>" command.
3. Replace JLE (7E) with JMP (EB).
*Note: doing this also means that you can attempt to jump further than the server allows (which will disconnect you) so you should validate all jump packets from the client.

Lock client at 60 FPs
1. Search all intermodular calls for Kernel32.Sleep.
2. Trace back and find ADD ECX, 19.
3. Trace back and find LEA EDX, DWORD PTR DS:[ECX+19].
4. Change 19 to another value. The lower the value the higher the FPS and the reverse is true. I use a value of 10 for 60 FPS.


Yes it's very rudimentary as I am as much a noob at this as anyone.
Attached Files
File Type: rar HookingTest.rar (60.6 KB, 358 views)
File Type: rar ConquerTestBot.rar (199.9 KB, 617 views)
File Type: rar Hooking.rar (10.2 KB, 218 views)
IAmHawtness is offline  
Thanks
22 Users
Old 04/25/2012, 21:41   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
I take a look quicky!

EDIT :
Quote:
private const uint SendPacketAddress = 0x6BFD0C;
private const uint RecvPacketLoopAddress = 0x6C05E8;
How do you know that?
itachi26 is offline  
Old 04/25/2012, 21:54   #3
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by itachi26 View Post
I take a look quicky!

EDIT :

How do you know that?
Because I found the addresses using olly
IAmHawtness is offline  
Old 04/25/2012, 22:06   #4
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Well, I've already tried to open up conquer.exe with olly, and it's just a mess... Is there any tutorial to learn or it is logical?
itachi26 is offline  
Old 04/25/2012, 22:16   #5
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by itachi26 View Post
Well, I've already tried to open up conquer.exe with olly, and it's just a mess... Is there any tutorial to learn or it is logical?
There are plenty of olly tutorials around, just search for them
IAmHawtness is offline  
Old 04/25/2012, 22:23   #6
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Okay, I will take a look later. At the moment, the most important thing is to learn how to code in C#, thanks for your advises!
itachi26 is offline  
Old 04/25/2012, 22:57   #7
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Changes?
-Shunsui- is offline  
Old 04/25/2012, 23:05   #8
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by -Shunsui- View Post
Changes?
Uhm, it's a whole different library, the old one was in VB, this one is completely different.
IAmHawtness is offline  
Thanks
1 User
Old 04/25/2012, 23:11   #9
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You make me so hot
pro4never is offline  
Old 04/26/2012, 15:35   #10
 
elite*gold: 0
Join Date: Feb 2012
Posts: 16
Received Thanks: 2
Did you correct the cpu usage problems that sometimes happened with your old lib? Guess Angelius said those were solved after parsing the exceptions thrown at the debug loop
ruievmonteiro is offline  
Old 04/26/2012, 16:09   #11
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by ruievmonteiro View Post
Did you correct the cpu usage problems that sometimes happened with your old lib? Guess Angelius said those were solved after parsing the exceptions thrown at the debug loop
Yeah, that's fixed. The Conquer process does tend to go to 100% (or 25% if you have a quad core) CPU usage when it's closed after opening co.91.com/signout when you've attached to it, so I added a breakpoint at ShellExececuteA to instantly kill the Conquer process when it tries to open up the website (it's in the HookTest sample).
IAmHawtness is offline  
Thanks
1 User
Old 04/27/2012, 22:01   #12


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
I love you with all my heart.
KraHen is offline  
Thanks
1 User
Old 04/28/2012, 03:17   #13
 
elite*gold: 0
Join Date: Feb 2012
Posts: 16
Received Thanks: 2
Thank you so much IAmHawtness for sharing your previous and current work.
This new hooking method works like a rolls royce
ruievmonteiro is offline  
Old 04/29/2012, 12:57   #14
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
another great release
Real~Death is offline  
Old 04/29/2012, 21:56   #15
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Had a look at this and I am impressed, however I've also looked around at trying to make it "clientless" and I did find something about "hidden" on Google but I'm a little confused as to where it would be put?

If somebody would like to whisper me that has enough knowledge on this then I can give a url to the page that I found the "hidden" thing on.

Okay never mind I was looking at something else which basically just hides the console >.<
denominator is offline  
Closed Thread


Similar Threads Similar Threads
Release Library
06/04/2013 - Maestia - 6 Replies
Here are all the working Releases and Tutorials. Speed Hack: This will increase your movement speed http://www.elitepvpers.com/forum/maestia/1288146- release-maestia-speed-hack-v-1-x86-64-a.html Hackshieldkiller, Bot,...: The bot will level automatically. The Hackshieldbypass will bypass the Hackshield, so you wont get kicked.
[Demo-Release] Blackboard Library 2.1
08/17/2012 - Coding Releases - 11 Replies
Wolltest du schon immer mal dein eigenes kleines Spiel programmieren und dich nicht um das Rendern kümmern? Dann hab ich genau die richtige Library für dich. Mithilfe dieser Library - sofern du weißt was das ist - kannst du simple Spiele wie z. B. Pong, Snake und ähnliches programmieren, ohne einen großen Aufwand zu haben. Natürlich solltest du die Sprache C++ einigermaßen beherrschen und nicht mehr nachfragen müssen, was eine Klasse oder eine Schleife ist. Übrigens ist diese...
[Release] Advanced hooking
05/07/2012 - CO2 Programming - 187 Replies
Advanced hooking Have you ever needed a simple way to control an application without having to resort to DLL injection? I decided to release a class library for .NET applications that allows you to easily manipulate a remote process by using debugging techniques. All you have to do is add it as a reference to your project, and you're ready to use it. You can see the sample I provided if you're unsure of how it works (can easily be translated to C#, which someone already did (thanks)) The...
[Release]Big Script Library
07/25/2010 - SRO PServer Guides & Releases - 0 Replies
I think its a good idea to open this Topic. I need Your Help. Sent me your own made Scripts and i upload them here. It does not matter if there is already a script by the mob. Only Self made scripts!!! What To Post? Post me not the text file.Post me the script!!! Scorpion 1 by Th3Stalker
C++ D3D Hooking
08/24/2009 - C/C++ - 12 Replies
Hallo zusammen, ich stehe gerade vor folgendem Problem: ich habe eine DLL und einen Loader gecoded, jedoch will ich anstelle des Loader einen Injecter haben, sprich: das spiel, in das injected werden soll, soll schon laufen. Natürlich hab ich das ganze schon probiert, jedoch werden die D3D-funktionen nicht wirklich gehookt, da die DLL auf ein Direct3DCreate9 wartet. Da diese Funktion aber wahrscheinlich direkt beim Starten des "Opfer-Spiels" ausgeführt wird, werden deswegen die anderen...



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


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.