C
Carcophan
Guest
Hello everyone!
Happy New Year to all.
So... it is a new year - a new project - a new set of questions.
I have a small simple shooter game made from a set of youtube tutorials, which is running well when it uses my own internal-networking.
It uses a server/client set up and points to 127.0.0.1 and port 9000 for example. The game runs and plays well when I run the server, and clients on my one machine. Both the server and client are in one set of code, and respond as expected. (Buttons to choose - click "make server" first, then load a second/third/etc exe and load it is a client).
I then uploaded this to a Windows based Remote Desktop environment on a VPS server provided by Liquid Web. I have an IP address there, 209.x.x.x. I change to the new IP address in the code and recompile and upload and install it on the remote desktop/liquid server... the game runs ON the server when I run it in both server and client mode, same as it did on MY machine with a 127 address - but I cannot get my pc to connect to the new 209 IP on that remote desktop.
Not sure how well I am explaining this. I am new to the networking side of things.
Basically, my end goal, is to get this windows exe file on MY machine, to connect to a separate windows exe file on YOUR machine - where they both go through the windows exe file on the remote server that uses the 209 IP address (instead of the 127 because that is local to an individuals own PC).
Any direction/thoughts? Haven't found a lot of support for this online yet, I am not asking the right questions.
All I am really doing is changing this one line:
client_connect("127.0.0.1", 9000, async_load[? "result"]);
with a new IP. No?
Happy New Year to all.
So... it is a new year - a new project - a new set of questions.
I have a small simple shooter game made from a set of youtube tutorials, which is running well when it uses my own internal-networking.
It uses a server/client set up and points to 127.0.0.1 and port 9000 for example. The game runs and plays well when I run the server, and clients on my one machine. Both the server and client are in one set of code, and respond as expected. (Buttons to choose - click "make server" first, then load a second/third/etc exe and load it is a client).
I then uploaded this to a Windows based Remote Desktop environment on a VPS server provided by Liquid Web. I have an IP address there, 209.x.x.x. I change to the new IP address in the code and recompile and upload and install it on the remote desktop/liquid server... the game runs ON the server when I run it in both server and client mode, same as it did on MY machine with a 127 address - but I cannot get my pc to connect to the new 209 IP on that remote desktop.
Not sure how well I am explaining this. I am new to the networking side of things.
Basically, my end goal, is to get this windows exe file on MY machine, to connect to a separate windows exe file on YOUR machine - where they both go through the windows exe file on the remote server that uses the 209 IP address (instead of the 127 because that is local to an individuals own PC).
Any direction/thoughts? Haven't found a lot of support for this online yet, I am not asking the right questions.
All I am really doing is changing this one line:
client_connect("127.0.0.1", 9000, async_load[? "result"]);
with a new IP. No?