Search found 6 matches
- Sun May 21, 2017 9:47 pm
- Forum: Support and Development
- Topic: RPC Library? help-me
- Replies: 12
- Views: 15797
Re: RPC Library? help-me
Not directly, but you can write getter and setter RPC methods instead. This way you can make sure a client has permission to change or view data based on whatever rules you want. The only reason I went for "methods" rather than "functions" is so you have access to the relevant s...
- Sun May 21, 2017 9:19 pm
- Forum: Support and Development
- Topic: RPC Library? help-me
- Replies: 12
- Views: 15797
Re: RPC Library? help-me
Not directly, but you can write getter and setter RPC methods instead. This way you can make sure a client has permission to change or view data based on whatever rules you want. The only reason I went for "methods" rather than "functions" is so you have access to the relevant s...
- Sun May 21, 2017 12:56 pm
- Forum: Support and Development
- Topic: RPC Library? help-me
- Replies: 12
- Views: 15797
Re: RPC Library? help-me
I took a crack at it. https://gist.github.com/airstruck/5e0d0336231cfdefd3f6424afe6e75dc Uses binser for serialization. Should be pretty straightforward, see examples. Everything is synchronous. Define your remote procs as methods of the rpc server object (as rpc:method, not rpc.function), and then...
- Fri May 12, 2017 1:47 pm
- Forum: Support and Development
- Topic: RPC Library? help-me
- Replies: 12
- Views: 15797
Re: RPC Library? help-me
RPC is a pretty generic technology though; but i'm guessing you need to have a server which gets requests to call procedures, and then return the results to the client(s)? you can just send 1+n messages, first the function name, then the parameters that the function expects, and it will return the ...
- Fri May 12, 2017 12:51 pm
- Forum: Support and Development
- Topic: RPC Library? help-me
- Replies: 12
- Views: 15797
RPC Library? help-me
Good morning, I'm doing a distributed systems discipline in college ... The first exercise was to create a multiplayer game with sockets. It was easy. My problem is in the second exercise, I need to change the game technology to rpc (remote procedure call), something similar to the Java RMI. Is ther...
- Mon May 01, 2017 6:25 pm
- Forum: Games and Creations
- Topic: Game multiplayer with chat (my first game)
- Replies: 1
- Views: 2313
Game multiplayer with chat (my first game)
Hello developers, first of all, sorry for my bad english :crazy: I'm implementing my first game using love2D called Yoté . My intention is not to show a perfect game, but to contribute in some way with: Multiplayer game Turn control between players Chat without GUI (Suffering) Real-time moving using...