|
You last visited: Today at 10:32
-
Did you know? elitepvpers has its own image host, epvpimg.com.
[RELEASE][.NET] Hooking library, take two
This is a discussion on [RELEASE][.NET] Hooking library, take two within the CO2 Programming forum part of the CO2 Main - Discussions / Questions category; August 5th, 2012 update: Restrictions are fixed, meaning you will no longer get banned for using this library
New hooking ...
04-25-2012, 21:28
|
#1
|
Banned
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
|
[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
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.
|
__________________
Last edited by IAmHawtness; 08-05-2012 at 02:59.
|
|
|
|
Thanks
21 Users
|
-Sensei- (05-09-2012), -Shunsui- (04-25-2012), Belth (04-26-2012), Captivate (08-05-2012), ConquerServer (08-05-2012), dego4ever (05-18-2012), denominator (04-27-2012), DyjgK64J451Jhv0 (04-25-2012), I don't have a username (04-26-2012), itachi26 (04-25-2012), KraHen (05-01-2012), metallica556 (08-13-2012), pro4never (05-29-2012), Real~Death (04-26-2012), ruievmonteiro (04-26-2012), shitboi (08-21-2012), stickray (05-29-2012), trash (04-26-2012), XMasterrrr (04-25-2012), Zeroxelli (06-26-2012), { Angelius } (04-26-2012) |
04-25-2012, 21:41
|
#2
|
CodeMaster
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
|
I take a look quicky!
EDIT :
Quote:
private const uint SendPacketAddress = 0x6BFD0C;
private const uint RecvPacketLoopAddress = 0x6C05E8;
|
How do you know that?
Last edited by itachi26; 04-25-2012 at 21:47.
|
|
|
04-25-2012, 21:54
|
#3
|
Banned
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
|
Quote:
Originally Posted by itachi26
I take a look quicky!
EDIT :
How do you know that?
|
Because I found the addresses using olly
|
|
|
04-25-2012, 22:06
|
#4
|
CodeMaster
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
|
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?
|
|
|
04-25-2012, 22:16
|
#5
|
Banned
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
|
Quote:
Originally Posted by itachi26
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
|
|
|
04-25-2012, 22:23
|
#6
|
CodeMaster
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
|
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!
|
|
|
04-25-2012, 22:57
|
#7
|
ConquerAI Mod
Join Date: Apr 2008
Posts: 1,078
Received Thanks: 303
|
Changes?
|
|
|
04-25-2012, 23:05
|
#8
|
Banned
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
|
Quote:
Originally Posted by -Shunsui-
Changes?
|
Uhm, it's a whole different library, the old one was in VB, this one is completely different.
|
|
|
04-25-2012, 23:11
|
#9
|
Sexy Moderator
Join Date: Jul 2005
Posts: 6,682
Received Thanks: 3,835
|
You make me so hot
|
|
|
04-26-2012, 15:35
|
#10
|
Junior Member
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
|
|
|
All times are GMT +2. The time now is 10:32.
|
|