Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 00:53

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

Advertisement



[Guide] Handling Client Networking @ Any State Process

Discussion on [Guide] Handling Client Networking @ Any State Process within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 10/05/2021, 15:40   #31
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
Hi! I want to parse packet in login screen. Does anyone know the offset to hook?
Thanks
WolfgangNeverDie is offline  
Old 10/05/2021, 16:04   #32
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Quote:
Originally Posted by WolfgangNeverDie View Post
Hi! I want to parse packet in login screen. Does anyone know the offset to hook?
Thanks
Hello,

this 0086d2a0 & 0086bfc0

PHP Code:
0085fc60    CPSCharacterSelect::OnNetMsg
00863ad0    CPSQuickStart
::OnNetMsg
0086bfc0    CPSTitle
::OnNetMsg
0046fd80    CObjChild
::OnNetMsg
0084cab0    CPSMission
::OnNetMsg
0084df10    CPSCharacterCreateChina
::OnNetMsg
00851a80    CPSCharacterCreateEurope
::OnNetMsg
008645e0    CPSRestart
::OnNetMsg
0086d2a0    CPSVersionCheck
::OnNetMsg 
Special thanks to: florian0
Laag#82 is offline  
Thanks
1 User
Old 10/05/2021, 16:20   #33
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
Quote:
Originally Posted by khaleed2010 View Post
Hello,

this 0086d2a0 & 0086bfc0

PHP Code:
0085fc60    CPSCharacterSelect::OnNetMsg
00863ad0    CPSQuickStart
::OnNetMsg
0086bfc0    CPSTitle
::OnNetMsg
0046fd80    CObjChild
::OnNetMsg
0084cab0    CPSMission
::OnNetMsg
0084df10    CPSCharacterCreateChina
::OnNetMsg
00851a80    CPSCharacterCreateEurope
::OnNetMsg
008645e0    CPSRestart
::OnNetMsg
0086d2a0    CPSVersionCheck
::OnNetMsg 
Special thanks to: florian0
Thank's you!

But bro! Can you explain more?
2 offsets need to replace. idk
Code:
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
	switch (dwReason)
	{
	case DLL_PROCESS_ATTACH:
	{
		replaceAddr(0x00DD440C, addr_from_this(&CPSMission::OnPacketRecv));
		DisableThreadLibraryCalls(hInstance);
	}
	break;
	}
	return TRUE;
}
Code:
int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer)
{
	return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
}
WolfgangNeverDie is offline  
Old 10/05/2021, 17:41   #34
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Quote:
Originally Posted by WolfgangNeverDie View Post
Thank's you!

But bro! Can you explain more?
2 offsets need to replace. idk
Code:
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
	switch (dwReason)
	{
	case DLL_PROCESS_ATTACH:
	{
		replaceAddr(0x00DD440C, addr_from_this(&CPSMission::OnPacketRecv));
		DisableThreadLibraryCalls(hInstance);
	}
	break;
	}
	return TRUE;
}
Code:
int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer)
{
	return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
}


Code:
replaceAddr(0x00dd92d4, addr_from_this(&CPSTitle::OnPacketRecv));

Code:
return reinterpret_cast<int(__thiscall*)(CPSTitle*, MsgStreamBuffer*)>(0x0086bfc0)(this, MsgBuffer);
Laag#82 is offline  
Thanks
1 User
Old 10/05/2021, 18:54   #35
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
Quote:
Originally Posted by khaleed2010 View Post
Code:
replaceAddr(0x00dd92d4, addr_from_this(&CPSTitle::OnPacketRecv));

Code:
return reinterpret_cast<int(__thiscall*)(CPSTitle*, MsgStreamBuffer*)>(0x0086bfc0)(this, MsgBuffer);
Oh yeah. Thank's youuuuuu!
WolfgangNeverDie is offline  
Old 10/16/2021, 06:42   #36
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
@ Bro! How to handle the outgoing packets? (Client -> Server)
WolfgangNeverDie is offline  
Old 10/17/2021, 08:29   #37
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Quote:
Originally Posted by WolfgangNeverDie View Post
@ Bro! How to handle the outgoing packets? (Client -> Server)
What you mean
Laag#82 is offline  
Old 10/17/2021, 12:05   #38
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
Quote:
Originally Posted by khaleed2010 View Post
What you mean
I want to read some packet from client-side (7021 7074 etc) and re-build it
WolfgangNeverDie is offline  
Reply

« BAN2OZZ | BSK2OZZ »

Similar Threads Similar Threads
Any legit networking site here ?
12/13/2017 - Cryptocurrencies - 1 Replies
Permision to post admin im just asking here if they got legit networking site TIA
Mit Process Explorer /Process Hacker Hs umgehen
05/22/2010 - General Gaming Discussion - 1 Replies
Ich habe hier im Forum gelesen, das man mit Process Explorer bzw. Process Hacker das HS umgehen kann. Leider ist mir irgendwie schleierhaft wie das gehen soll. Vllt erbarmt sich jemand und erklärt es (:, da man den sogenannten Bypasser nur noch las Premium Dings Da bei Upload.to runterladen kann :rolleyes:
C# how to pause a process/freeze process
12/08/2008 - CO2 Programming - 2 Replies
ya so i was semi bored and after little bit of looking around i didnt find to many examples of how to do this so attached is a demo project to show you how. basically it comes down to calling ResumeThread() and SuspendThread() (API functions) on all the threads of a process...simple enough http://img388.imageshack.us/img388/9762/exampleil 6.png please note when you enter the process name there's no ".exe" to the end Warning: this isn't idiot proof . .



All times are GMT +1. The time now is 00:54.


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.