Недавнее содержимое от batonkal

  1. batonkal

    raknetEmulRpcReceiveBitStream(113, bs)

    Did you write the wrong amount of bytes? raknetBitStreamWriteInt16 (bs, 1) - what the fuck -> raknetBitStreamWriteInt32 (bs, 1) raknetBitStreamWriteInt16 (bs, 42214) --model -> raknetBitStreamWriteInt32 (bs, 42214) raknetBitStreamWriteInt16 (bs, 32768) --bone -> raknetBitStreamWriteInt32 (bs...
  2. batonkal

    RakNet read and emulate

    See the second post. I parsed the bitstream data and wrote byte by byte to a file. Also I am reading that file byte by byte and writing in the bitstream that was created. I used a print function to output that bytes that I read to console. This is a part of that and looks good. [ML] (script)...
  3. batonkal

    RakNet read and emulate

    UPDATE: - Writing to the file now works as intended. - The remaining question is that I can't emulate the RPC packet. It just doesn't work. function onReceiveRpc(id, bs, priority, reliability) if id == 61 then local f = io.open(getGameDirectory().."//moonloader//demos//demo.dem"...
  4. batonkal

    RakNet read and emulate

    I'm trying to read the bs data, write it to file and later read it from file. I have a onRecieveRpc function which writes the bs "data" to the file. The data in the text file is: 24638064 24638068 - I want to get all the data from the bitstream and write it to a file - I want to read that data...