GitHub | Documentation | Become a Patron

Send to clients only within proximity?



  • I guess it could be done with client messages and a seperate update loop, but if i could, i'd rather do it with the patch. Is there such a feature or any nifty suggestions?
    Also, is there a way to add methods to patch interval?

    Edit: currently using broadcastPatch for this


  • administrators

    @veggis currently there's no support for sending different patches to target players. You can do it on your own by sending messages directly to specific clients.

    I'm interested in your use-case for changing the state just before patch. Do you mind describing what're you doing on the overriden broadcastPatchmethod?

    Cheers!



  • @endel I should've said 'trying to use broadcastPatch'. I didn't want to ovverride it rather add to it, but it ended up being a recursive mess. I instead have a seperate interval for proximity messages.