How to send key input to the server (Was: Communicate from client to server)
All right. I noticed that the base of my problem is that I don't know how to send key input from client to server.
Are there some examples, that could be read for this?
I've found some posts on this forum, but there were rather old and for UT2003. It didn't work.
So how to communicate key input from Client to Server? Do I need an Interaction class? Where I will put my function handling key input on the server? And where will be the function handling client input on client?
I was playing with this yesterday for 4 hours and didn't get any result... :-/ I was able to detect key input all the time just on the client side... :-/
My goal is to change the state of the game on the server (move to the custom state), when the player press certain key.
Thx a lot for any help or information!
SK
All right. I noticed that the base of my problem is that I don't know how to send key input from client to server.
Are there some examples, that could be read for this?
I've found some posts on this forum, but there were rather old and for UT2003. It didn't work.
So how to communicate key input from Client to Server? Do I need an Interaction class? Where I will put my function handling key input on the server? And where will be the function handling client input on client?
I was playing with this yesterday for 4 hours and didn't get any result... :-/ I was able to detect key input all the time just on the client side... :-/
My goal is to change the state of the game on the server (move to the custom state), when the player press certain key.
Thx a lot for any help or information!
SK
Last edited: