SCLT03

From SWGANH Wiki
Revision as of 22:18, 16 January 2007 by Schmunzel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ByteBuffer ZoneClient::TCLS_3(uint64 id, uint8 num){
	ByteBuffer packet;
	uint32 len;

	packet << (uint16) 0x0005;
	packet.opcode2(SMSG_OBJ_UPDATE);//0c5fa768
	
	packet << (uint64) id;//itemid
	
	packet << (uint32) 0x53434c54; //54 4c 43 53

	packet << (uint8) 0x03;        //  
	//kind = "";
	//dir = "";
	
	packet << (uint32) 0x1c;//61	//bytecount rest Packet size
	packet << (uint16) 6;
	packet << (float) 0;	// float 1
				
	
	
	packet << (uint32) 0;		
	packet << (uint32) 0x00000000;
	packet << (uint32) 0;
	packet << (uint32) 0;

	
	packet << (uint8) num;
	packet << (uint8) 0;
	packet << (uint8) 0;
	packet << (uint8) 0;

	packet << (uint8) 0;
	packet << (uint32) 0;
		
	return packet;
}