Register for your free account! | Forgot your password?

You last visited: Today at 16:51

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

Advertisement



Send packet C++

Discussion on Send packet C++ within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2016
Posts: 38
Received Thanks: 0
Question Send packet C++

I want to know what the problem with my function...

void Packet()
{
DWORD chamar = 0x7B8970;
byte rato1[2];
rato1[0] = 0x2E;
rato1[1] = 0x00;
byte*point ;
point = rato1;
__asm
{
PUSHAD
MOV ECX, 0xDA433C
MOV ECX, DWORD PTR DS:[ECX]
MOV ECX, DWORD PTR DS:[ECX + 0x20]
PUSH 2
PUSH point
CALL chamar
POPAD
}
}

This function run perfectly , but when i try to send it sequence ...

void Packet()
{
DWORD chamar = 0x7B8970;
byte rato1[7];
rato1[0] = 0x0E;
rato1[1] = 0x00;
rato1[2] = 0x00;
rato1[3] = 0x01;
rato1[4] = 0x00;
rato1[5] = 0x00;
rato1[6] = 0x00;
byte*point ;
point = rato1;
__asm
{
PUSHAD
MOV ECX, 0xDA433C
MOV ECX, DWORD PTR DS:[ECX]
MOV ECX, DWORD PTR DS:[ECX + 0x20]
PUSH 7
PUSH point
CALL chamar
POPAD
}
}

it run but my game crash ... if my sequence is bigger than 4 bytes , the crash happen... why ? thx
derleyvolt is offline  
Old 03/10/2017, 22:08   #2
 
elite*gold: 0
Join Date: Nov 2016
Posts: 5
Received Thanks: 3
works fine for me with unsigned char, what's byte for you?
gnitargetnisid is offline  
Reply

Tags
c++, packet




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


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