I am curious if it's possible to make a multiplayer with e.x. using luasocket and NPC's to express other players' positions. Let's say we have sr2mpserver.exe, which will which will share the data with other players connected to the socket/server (if it was possible, we would be also able to make animation sync and more) and then create a NPC which will express this. So:
GetPlayerPosition - > send it to the server via luasocket -> server send these to other players -> those positions are used by client created NPC which will be expressing other players' positions (SetNPCPosition or something).
It sounds quite simply, but as far as me, I couldn't find any functions that would make me able to get player position or to set it. Is it even able to be done? Or maybe the oncoming SDK's will contain something what can help?
GetPlayerPosition - > send it to the server via luasocket -> server send these to other players -> those positions are used by client created NPC which will be expressing other players' positions (SetNPCPosition or something).
It sounds quite simply, but as far as me, I couldn't find any functions that would make me able to get player position or to set it. Is it even able to be done? Or maybe the oncoming SDK's will contain something what can help?