So I’m working on a project, think something similar to GTerminal by Chessnut.
I setup a system where people can connect to ‘addresses’ basically just checks to see if there is a folder serverside with the same name as the address, and all the contents inside it are listed as files that can be read.
Now, I hit a brick wall; as I was doing something else; it came to me that this is all well and good for singleplayer; but if this is multiplayer, the server (DATA) files are stored in a different place to the client (DATA) files.
I’m looking for a way to run file functions serverside from a client then return the data to the client, I’ve tried using the net library for it however it doesn’t work well as you cant directly return data from a net message and then setting variables serverside for the client to read has its own issues with timing.
I am really hoping someone can tell me that there is a way to read files / search for files from clientside > serverside.
Any ideas? Thanks.