Two servers on the same VDS, how do I keep specific dynamic

Post Reply
EhhDannn
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Jan 08, 2015 12:46 pm

Two servers on the same VDS, how do I keep specific dynamic

Post by EhhDannn »

So my explanation might be a bit vague, since my coding knowledge is quite basic. However, what I am currently needing to do is have specific files inside the DATA folder of GModZ to be mirrored somehow. Basically, on my server each player has money, an inventory, a bank and points. I have now created a second server, and want both to have the EXACT same values in each. These files update every time someone leaves the server, or about every 15 seconds.

As I stated, this is very vague and will probably need better explanation so if anything is needed please ask below!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Two servers on the same VDS, how do I keep specific dyna

Post by soja »

Create 2 different batch files to start the server on different IPs or ports, and put +exec server2.cfg in the command line of the second server(after making a server2.cfg).

This will use one set of server files, and you can run 2 game servers with them.

(This should work, but I have not tested it with GMOD and its sv.db storage)
Not a NFO employee
Post Reply