I have a hard headache, plz someone that know good the packets can tell me
what is wrong here ? The server don't crash but don't showme the recipebook empty.
Code:
const char * format = "cddd";
__asm
{
push 0x0000 //Number of Items
push 0x06EA //MaxMP (TODO) should show 1770 =x06EA Mp
push is_dwarf //is dwarven ?
push 0x00D6 //the packet header
push format //packet format 'cddd'
push pSocket //push address of the start of the packet
call fCUserSocketSend
add esp, 0x18 //fix our stack pointer (6 * 0x04 = 0x18)
}
Plz take a look