#Manipulating incoming mirror data in proxy.

3 messages · Page 1 of 1 (latest)

turbid jewel
#

Soo I have proxy which sometimes needs to ignore some messages being sent to client
I have method ProcessMirrorDataFromServer which does it but not sure if its correct, I want to get positions where this message is stored in this batch and while sending it to client ignore these, for example in my case network message from spectator system crashes client because it thinks that client is connected but I want to avoid it and maintaing connection by not sending this message to client by ignoring it in proxy.

#

Example 2 messages are in this batch which server sent, I want to for example ignore second one which sends map seed but I want to sent ping message to client

#

I did this way where if some message is in this batch it will ignore whole batch being sent to client but problem is sometimes batch contains more than one message