Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:14

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

Advertisement



Pattern and wildcard for hooking in 5517 version

Discussion on Pattern and wildcard for hooking in 5517 version within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Pattern and wildcard for hooking in 5517 version

Hello all,

I'm trying to start and understand what loaders are and how they actually work, So I tried grabbing CSV3 hooking method and try it for the 5517 version but it seems to not work, stucks in this part:
Code:
BYTE pattern[] = { 0x85, 0xC0, 0x75, 0x00, 0x8B, 0x4E, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x4D, 0x00, 0x00, 0x8B, 0x00, 0x00 };
	bool wildcards[] = { 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1 };
	PBYTE match = (PBYTE)FindMemoryPattern(pattern, wildcards, 19);

	if (match==NULL)
	{
			sprintf(szDebug, "failed 1", (DWORD)match);
			MessageBoxA(NULL, szDebug, "ERROR", MB_OK);
			return;
		
	}
, after searching, I found that old version of conquer used this pattern:
0x85, 0xC0, 0x75, 0x00, 0x8B, 4E, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x4D, 0x00, 0x00, 0x8B, 0x00, 0x00 and new version need 4E to be replaced by 4F, however both are not working for a 5517 client, is this correct, am I missing something?

Also another thing, can some one like give me some explanation about what are these and how to understand/find them.

Thanks.
diedwarrior is offline  
Old 01/16/2021, 14:18   #2
 
elite*gold: 0
Join Date: Nov 2008
Posts: 63
Received Thanks: 11
Post

Quote:
Originally Posted by diedwarrior View Post
Hello all,

I'm trying to start and understand what loaders are and how they actually work, So I tried grabbing CSV3 hooking method and try it for the 5517 version but it seems to not work, stucks in this part:
Code:
BYTE pattern[] = { 0x85, 0xC0, 0x75, 0x00, 0x8B, 0x4E, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x4D, 0x00, 0x00, 0x8B, 0x00, 0x00 };
	bool wildcards[] = { 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1 };
	PBYTE match = (PBYTE)FindMemoryPattern(pattern, wildcards, 19);

	if (match==NULL)
	{
			sprintf(szDebug, "failed 1", (DWORD)match);
			MessageBoxA(NULL, szDebug, "ERROR", MB_OK);
			return;
		
	}
, after searching, I found that old version of conquer used this pattern:
0x85, 0xC0, 0x75, 0x00, 0x8B, 4E, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x4D, 0x00, 0x00, 0x8B, 0x00, 0x00 and new version need 4E to be replaced by 4F, however both are not working for a 5517 client, is this correct, am I missing something?

Also another thing, can some one like give me some explanation about what are these and how to understand/find them.

Thanks.
You can get the source code of universal conquer loader here:
darkhc is offline  
Old 01/16/2021, 21:53   #3
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Quote:
Originally Posted by darkhc View Post
You can get the source code of universal conquer loader here:
Thanks mate, but it seems that you only support 5600+,I'm targeting 5517, any idea?

Code:
if (ClientVersion >= 5600) {
		//
		//	hook packet processor
		//

		bool wildcards[] = { 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1 };
		PBYTE match = (PBYTE)FindMemoryPattern(pattern_OLD, wildcards, 19);

		if (ClientVersion >= 5700) {
			match = (PBYTE)FindMemoryPattern(pattern_56XX, wildcards, 19);
		}
		if (ClientVersion >= 6000) {
			match = (PBYTE)FindMemoryPattern(pattern_60XX, wildcards, 19);
		}
		if (ClientVersion >= 6600) {
			match = (PBYTE)FindMemoryPattern(pattern_66XX, wildcards, 19);

		}
diedwarrior is offline  
Old 01/17/2021, 12:34   #4
 
elite*gold: 0
Join Date: Nov 2008
Posts: 63
Received Thanks: 11
Post

Quote:
Originally Posted by diedwarrior View Post
Thanks mate, but it seems that you only support 5600+,I'm targeting 5517, any idea?

Code:
if (ClientVersion >= 5600) {
		//
		//	hook packet processor
		//

		bool wildcards[] = { 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1 };
		PBYTE match = (PBYTE)FindMemoryPattern(pattern_OLD, wildcards, 19);

		if (ClientVersion >= 5700) {
			match = (PBYTE)FindMemoryPattern(pattern_56XX, wildcards, 19);
		}
		if (ClientVersion >= 6000) {
			match = (PBYTE)FindMemoryPattern(pattern_60XX, wildcards, 19);
		}
		if (ClientVersion >= 6600) {
			match = (PBYTE)FindMemoryPattern(pattern_66XX, wildcards, 19);

		}
Not use this part of code for 5517 simple!
darkhc is offline  
Reply


Similar Threads Similar Threads
MeetYourMakers[Classic Style] Version 5517
04/27/2021 - CO2 PServer Archive - 61 Replies
####Currently Shutdown###### Hello everyone. I would like advertise my server MeetYourMakers Classic Style. Heres the following info: Server Info
Reign Conquer - Version 5517
11/24/2020 - CO2 PServer Archive - 3 Replies
💰 𝗥𝗲𝗶𝗴𝗻 𝗖𝗼𝗻𝗾𝘂x 306;𝗿 💰 Welcome new players to Reign Conquer! This server will bring you back to many memories. With our new events, bosses and other stuff, you will enjoy what real conquer is all about. Monk is the last character with others like ninja, trojan, water and others. Our version is 5517. We have arena system , Elite Pk, Team Pk, Skill Team Pk, Capture the Flag , Big monsters, Christmas events and city too, Online points, Auto hunt system, and for limited time u can get full +6, etc....
[Buying] Gamescom Wildcard 2015 Code / Wildcard selber (B) Paypal
02/12/2015 - Trading - 0 Replies
Hallo, ich bin auf der Suche nach Wildcard Codes bzw. der Wildcard selber. Wer welche verkauft, bitte PN
[RELEASE] Kijo Website Version 5517+
08/15/2012 - CO2 PServer Guides & Releases - 10 Replies
Hello everyone this is my first release on the forum is a website for the 5517 + versions, it is a base of a website GunZ, I'm including the SQL table of accounts, so ... website and their respective information below: Print: http://i.epvpimg.com/T7yid.png Informations: --Web-- Home, Register,
help me plz who can help me with this error version 5517
09/30/2011 - Conquer Online 2 Trading - 1 Replies
http://img2.pimp-my-profile.com/i47/5/9/30/f_9ce1d e7dd084.jpg hello need help with that mistake a person who knows how repair it if you could tell me how to fix it I will appreciate endlessly only error is that I Please ask him to give me help with that 58 errors and error screen time GameState.cs 842 help me plz :(



All times are GMT +2. The time now is 00:14.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.