Archive 17/01/2023.

[Scripting] Logging Server Side Network Events

rasteron

Hi,

I’m still familiarizing myself again with Urho3d events, particularly network management and debugging it. I’m trying to log connection status from server but somehow it does not appear in the console. I already tried log.Info() or Print() with connect and disconnect events and using OpenConsoleWindow(); The only thing that works so far is on the client side and if I place the log commands in the main loop (server side).

Is there a way to get client info everytime it connects/disconnects through Scripting API?