help RPC BitStream.Read ? help

Статус
В этой теме нельзя размещать новые ответы.

randomusername

Новичок
Автор темы
1
0
hey.. i have the cleo code to write bitstreams to RPC, how do i read them properly?

for example i'd like to read the bitstream from the RPC of the AIM DATA


I can write rpc bitstreams like this:
:exampleRPC
4@ = BitStream.New()
BitStream.Write(4@, 0, BS_TYPE_BOOL, 1)
BitStream.Write(4@, 0@, BS_TYPE_SHORT, 2)
BitStream.Write(4@, 1@, BS_TYPE_FLOAT, 4)
BitStream.Write(4@, 2@, BS_TYPE_INT, 4)
BitStream.Write(4@, 3, BS_TYPE_INT, 4)
RakNet.LiteRPC(RPC_IDNUMBER, 4@)
BitStream.Delete(4@)
ret 0


How do i read it? in this case for the AIM sync which the RPC_NUMBER is
203. thanks

i need to read the aim sync data to coordinates x y z
 

itsLegend

Фонд борьбы за жуков 🐞
Администратор
2,696
1,468
Aim sync data is not a RPC, it's a packet.
Difference packet's struct from RPC's in that first byte is a packet id.
 
Статус
В этой теме нельзя размещать новые ответы.