2.4.3
send packets=004203B0?
or other?
2.4.3
send packets=004203B0?
or other?
I use 0x0055F8A0
//////////////////////// 0055F8A0-/////=Send packets ////////////////////////////////
0055F8A0 /$ 55 push ebp
0055F8A1 |. 8BEC mov ebp, esp
0055F8A3 |. 56 push esi
0055F8A4 |. 8BF1 mov esi, ecx
0055F8A6 |. 837E 70 06 cmp dword ptr [esi+70], 6
0055F8AA |. 75 68 jnz short 0055F914
0055F8AC |. 8B45 08 mov eax, dword ptr [ebp+8]
0055F8AF |. 57 push edi
0055F8B0 |. 8B78 10 mov edi, dword ptr [eax+10]
0055F8B3 |. 2B78 14 sub edi, dword ptr [eax+14]
0055F8B6 |. 74 5B je short 0055F913
0055F8B8 |. 8B8E 98210000 mov ecx, dword ptr [esi+2198]
0055F8BE |. 6A 00 push 0
0055F8C0 |. 50 push eax
0055F8C1 |. E8 EA0AECFF call 004203B0
0055F8C6 |. 8B96 98210000 mov edx, dword ptr [esi+2198]
0055F8CC |. 013D A898D200 add dword ptr [D298A8], edi
0055F8D2 |. 01BE F4210000 add dword ptr [esi+21F4], edi
0055F8D8 |. 80BA 20010000>cmp byte ptr [edx+120], 0
0055F8DF |. 75 32 jnz short 0055F913
0055F8E1 |. 6A 28 push 28
0055F8E3 |. 8BCE mov ecx, esi
0055F8E5 |. E8 06FBFFFF call 0055F3F0
0055F8EA |. 50 push eax
0055F8EB |. 8BCA mov ecx, edx
0055F8ED |. E8 FE01ECFF call 0041FAF0
0055F8F2 |. 8B86 98210000 mov eax, dword ptr [esi+2198]
0055F8F8 |. C680 23010000>mov byte ptr [eax+123], 4
0055F8FF |. C680 26010000>mov byte ptr [eax+126], 2
0055F906 |. 8B8E 98210000 mov ecx, dword ptr [esi+2198]
0055F90C |. 6A 01 push 1
0055F90E |. E8 CDFEEBFF call 0041F7E0
0055F913 |> 5F pop edi
0055F914 |> 5E pop esi
0055F915 |. 5D pop ebp
0055F916 \. C2 0400 retn 4
///////////////////////////////////////////////////////////////////
How can i code for using it to Send packets?
Send what packet to where? I don't think you can just grab any piece of code and make it work without any context.
This function takes 4-bytes as an input. I would suggest you start by figuring out what this input should be.
Last edited by object; 08-18-2008 at 11:02 PM.
I want to send movement packets to Blizzard Server like this way
void MyGame::CallGame()
{
__asm
{
pushad;
mov ebp,123456;//packets
call 0x0055F8A0;
popad;
}
}
I don't know,how to code this
You can figure the rest out for yourself.Code:void SendAPacket( CDataStore* pDataStore ) { __asm { MOV EDX, pDataStore PUSH EDX MOV EAX, CurrentConnection__GetConnection CALL EAX MOV ECX, EAX MOV EAX, CurrentConnection__SendPacket CALL EAX } }
THX
But,
CurrentConnection__GetConnection=?
CurrentConnection__SendPacket=?
what are these?
#define CurrentConnection__SendPacket 0x0055F8A0
#define CurrentConnection__ReceivePacket 0x0055F440
#define CurrentConnection__GetConnection 0x005B3B80
I find right or not
And
CDataStore* pDataStore
What is data format/struct?
thx
You obviously don't know how to read. I said "You can figure the rest out for yourself.".
I'm not going to spoon feed you.