Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 14:52

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

Advertisement



[Q] Formatting Sending of packets.

Discussion on [Q] Formatting Sending of packets. within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
[Q] Formatting Sending of packets.

Hello, I have a question regarding the best way of formatting packets with detours. I'm making my own source well to have more fun but am having trouble figuring out the best way to send packets with detours.

I guess the function send(); with detours would be the way? But how do I format it? For example if I want to send that, I dunno, I wanna teleport.
Hate123 is offline  
Old 10/10/2010, 13:29   #2
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
You don't have to detour the send function, if you do, you also have to patch the hackshield or it will be detected.

For the format thingy, it's va_arg function. Possible formats are:

U -> DWORD (not required)
b -> BYTE
w -> WORD
d -> DWORD
s -> STRING
m -> DWORD

So: PacketType (BYTE), Format (String), va_args


You can call it like this:
Code:
__declspec(naked) int __cdecl mysend (BYTE type , LPCSTR format , ... )
{
	__asm
	{
		push ebp
		mov ebp, esp
		sub esp, 0x18
		jmp sendadr
	}
}

Example (teleport to cop)
mysend(0x30,"ww",4,6002);
aSynx is offline  
Old 10/10/2010, 13:38   #3
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
Ah thanks I was messing around with it and was just wondering about the hackshield.
This makes it more clear ^^.

Edit: What's the sendadr?
Hate123 is offline  
Old 10/10/2010, 13:45   #4
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
it's the adress of the function (+6), you can try this pattern to find it (dunno if it still works)

Code:
55 8B EC 83 EC 18 83 3D x x x x 00 74 07 33 C0 E9 x x x x 8A 45 08 A2 x x x 00 83 3D x x x 00 01 75 0C
aSynx is offline  
Old 10/10/2010, 17:12   #5
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
if u patch the hackshield if it not dedact it u got cl after 10 minutes because the crc packet 0x03 =D
meak1 is offline  
Old 10/10/2010, 18:24   #6
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
Quote:
Originally Posted by meak1 View Post
if u patch the hackshield if it not dedact it u got cl after 10 minutes because the crc packet 0x03 =D
Wieso gehts dann bei mir immer ne Stunde ohne das ich die HS Packets selber schicke.
aSynx is offline  
Old 10/11/2010, 11:48   #7
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
Yeah if I understood the german here you should just be able to fake the hackshield? xD
Hate123 is offline  
Old 10/11/2010, 11:55   #8
 
BoXxX's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 1,860
Received Thanks: 882
asynx just said that his kal is staying online for 1hr without sending the hs packets by himself. :q
BoXxX is offline  
Old 10/11/2010, 12:09   #9
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
ah ok :P
Hate123 is offline  
Old 10/11/2010, 12:29   #10
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
But you don't have to care about the Hackshield as long as you don't detour/patch stuff.

But detouring the api calls is not detected, ws2_32 -> recv, (send is crypted already at this point)
aSynx is offline  
Reply


Similar Threads Similar Threads
Sending Packets
03/26/2019 - PW Hacks, Bots, Cheats, Exploits - 432 Replies
As per Smurfin's request: reposting of what I posted in the Prophet's bot thread. some example of functions you could use with sending packets (AutoIt code, see link below for C#): ;////Code for sending packets.
Help with sending packets in autoit
08/16/2010 - AutoIt - 1 Replies
ive been lookin around different sites for ways to send packets to the game server. the only examples i see is to create a server and a client which i dont need, i think. well to the point now, can someone lead me in a direction or tell me how to send packets to a game? also if i send packets then that means i dont need the game to be active, correct? Because in autoit when u use keys u need to have the game active, and control send does not work. ty
Sending Packets !!!
09/07/2008 - Kal Online - 14 Replies
now i know how to sniff / analyse packets ... but what then ? :) how can i send packets ?? to pimp or mix weapon for example i just need the way to send , and then i can depend on myself :D
Scamming by sending packets???
04/15/2006 - Conquer Online 2 - 1 Replies
Well my friend and i came up with the idea to send packets to the server to show a certain item in the trade window. We want to use this as a type of scam. I didnt see this in any other threads and was wondering if anyone knew if this is possible and if they could point use in the right direction. My friend was pretty good with packets in CO 1.0 but we arent really sure to go about doing it. If anyone one could please lend a helping hand? P.S.- Before I get flamed for this because i know i...
Sending packets
10/12/2005 - Conquer Online 2 - 10 Replies
I've a question. Is it possible to send 1 packet multiple times at the exact same time?



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


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.