HINO03

From SWGANH Wiki
Revision as of 10:46, 9 August 2007 by Rouse (Talk | contribs) (Deltas Struct)

Jump to: navigation, search


HINO Packet Type QuickNav
HINO03 - HINO06 - HINO07

BaseLine Struct


ByteBuffer ZoneClient::ONIH_3(uint64 id, char *installation){
	ByteBuffer packet;
	uint32 len;

	packet << (uint16) 0x0005;
	packet.opcode2(SMSG_OBJ_UPDATE);//0c5fa768
	
	packet << (uint64) id;//itemid
	
	packet << (uint32) 0x48494e4f; //0x494e534f; //OSNI Packet 

	packet << (uint8) 0x03;        //  

	char* dir = "installation_n";
	char* kind = "fusion_generator";
	uint32 oncr3size = strlen(kind)+strlen(dir);

	packet << (uint32) (oncr3size+58);//61	//bytecount rest Packet size
	packet << (uint16) 0x000e;		//object operands 13	???	//57
	packet << (float) 0;//0x3f800000;	// float 1
				
	len = strlen(dir);	
	packet << (uint16) len;
	for (int i=0;i<len;i++){
		packet << (char)dir[i];	
	}
		
	packet << (uint32) 0;
		
	len = strlen(kind);	
	packet << (uint16) len;
	for (int i=0;i<len;i++){
		packet << (char)kind[i];	
	}
	
	packet << (uint32) 0;	//string	
	packet << (uint32) 1;//1H inv load
	packet << (uint32) 0;//string
	packet << (uint32) 0;

	packet << (uint32) 0x00000000;
	packet << (uint32) 0;
	packet << (uint16) 0;
	packet << (uint16) 900;//thats the damage the structure has taken that gets deducted from its health
	
	packet << (uint16) 0;
	packet << (uint16) 1000;//Condi2 (right of the c1 / c2)
	packet << (uint16) 0;//(evtl 32bitCondi2 (right of the c1 / c2))
	packet << (uint8) 0; //probably 1 resource item
	packet << (uint8) 0; //probably 1 resource item
		
	packet << (uint32) 0; //amount
	packet << (uint32) 0; //amount

	
	return packet;
}

Deltas Struct


05 00 
53 21 86 12             // DeltaMessage
AB 56 89 27 00 00 00 00 // character id
59 41 4C 50 08          // YALP 8
35 02 00 00 
01 00 01 00 
07 00 00 00 
07 00 00 00 
00 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57       
0E 00 00 00 
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00 
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00 
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00 
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00        
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5      
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00    
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00    
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 01 02 

3E 21 FF FB 1A 00 00 00 
00 00 00 00 
B8 BE 6E C5 
CB DB DD 40 
A4 E0 D0 C5 
00 00 00 00 
00 00 00 00 
21 91 27 57 
0E 00 00 00 
57 00 69 00 6E 00 64 00 20 00 47                     // W.i.n.d...
00 65 00 6E 00 65 00 72 00 61 00 74 00 6F 00 72 00   // G.e.n.e.r.a.t.o.r.
3E 21 FF FB 1A 00 00 00 
01 
01 49 E9                 .>!........I.

Sample Packet


 

Variable Descriptions


Obj_OperandCount = ??



Tags


0% This packet has not been reversed.