Search Unity

GetAckBufferCount How to use it?

Discussion in 'Multiplayer' started by Leoo, Sep 14, 2017.

  1. Leoo

    Leoo

    Joined:
    May 13, 2013
    Posts:
    96
    Hey!

    Am trying to check how many msgs are in queue to be sent before sending a big fragmented message, and it seems that no matter what i do, GetAckBufferCount always returns 0.

    Is this a known issue? Is there a workaround?

    Thanks!
     
  2. TwoTen

    TwoTen

    Joined:
    May 25, 2016
    Posts:
    1,168
    The ackBuffer is just a buffer for the acknowledgement messages. If you send a reliable message and then check the buffer it should return > 0
     
    Leoo likes this.
  3. Leoo

    Leoo

    Joined:
    May 13, 2013
    Posts:
    96
    Am pretty sure i know how the HLAPI core works, the actual question is how AckBuffer should be used when trying to use a Reliable fragmented channel. Buffer keeps saying 0. Any1 uses this and can you show an example? Ty!
     
    Last edited: Sep 17, 2017