GameSpy Alternative Hosts File on VPS/VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
threshersow
New to forums
New to forums
Posts: 5
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Aug 10, 2014 2:59 pm

GameSpy Alternative Hosts File on VPS/VDS

Post by threshersow »

Hello,

I've updated the Hosts file on my Linux VDS/VPS (Ubuntu 12.04-LTS x64, clean install) to reflect changes for a GameSpy master server replacement for Painkiller.

I've made the changes shown here: http://qtracker.com/master-gamespy-hostfile.php

I then saved the changes and rebooted the server, but my server still isn't being picked up by the tracker. I've helped others make this change with little-to-no issue, so I'm wondering if anyone here might have any ideas on what might be causing this?

I'm able to connect to the server via the Painkiller game client by manually typing in the IP, and everything is set to have the server listed as public.

Let me know if I'm missing any information!

Thanks!
User avatar
Edge100x
Founder
Founder
Posts: 13190
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by Edge100x »

If you type "ping painkiller.master.gamespy.com" from the command line, do you see it resolve to their IP (65.112.87.186)?
threshersow
New to forums
New to forums
Posts: 5
Joined: Sun Aug 10, 2014 2:59 pm

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by threshersow »

Edge100x wrote:If you type "ping painkiller.master.gamespy.com" from the command line, do you see it resolve to their IP (65.112.87.186)?

Yes, the IP resolves to qtracker's address. :F
User avatar
Edge100x
Founder
Founder
Posts: 13190
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by Edge100x »

You might try manually setting the masters in the server.cfg file in that case (using whatever commands Painkiller needs, like sv_master). Also double-check to make sure that no firewall is running and that SELinux isn't enabled.
threshersow
New to forums
New to forums
Posts: 5
Joined: Sun Aug 10, 2014 2:59 pm

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by threshersow »

Edge100x wrote:You might try manually setting the masters in the server.cfg file in that case (using whatever commands Painkiller needs, like sv_master). Also double-check to make sure that no firewall is running and that SELinux isn't enabled.
Unfortunately there is no way to alter this in the config file, which is why we are using the hosts file. :(

I've looked to see if SELinux is installed/enabled, and it isn't. :oops:

Thanks for the input
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by soja »

Some quick googling returned a batch file that sets all of these changes in the hosts file:

painkiller.master.gamespy.com=65.112.87.186
painkiller.available.gamespy.com=65.112.87.186
painkiller.ms0.gamespy.com=65.112.87.186
painkiller.ms1.gamespy.com=65.112.87.186
painkiller.ms2.gamespy.com=65.112.87.186
painkiller.ms3.gamespy.com=65.112.87.186
painkiller.ms4.gamespy.com=65.112.87.186
painkiller.ms5.gamespy.com=65.112.87.186
painkiller.ms6.gamespy.com=65.112.87.186
painkiller.ms7.gamespy.com=65.112.87.186
painkiller.ms8.gamespy.com=65.112.87.186
painkiller.ms9.gamespy.com=65.112.87.186
painkiller.ms10.gamespy.com=65.112.87.186
painkiller.ms11.gamespy.com=65.112.87.186
painkiller.ms12.gamespy.com=65.112.87.186
painkiller.ms13.gamespy.com=65.112.87.186
painkiller.ms14.gamespy.com=65.112.87.186
painkiller.ms15.gamespy.com=65.112.87.186

Maybe give these a shot?
Not a NFO employee
threshersow
New to forums
New to forums
Posts: 5
Joined: Sun Aug 10, 2014 2:59 pm

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by threshersow »

soja wrote:Some quick googling returned a batch file that sets all of these changes in the hosts file:

painkiller.master.gamespy.com=65.112.87.186
painkiller.available.gamespy.com=65.112.87.186
painkiller.ms0.gamespy.com=65.112.87.186
painkiller.ms1.gamespy.com=65.112.87.186
painkiller.ms2.gamespy.com=65.112.87.186
painkiller.ms3.gamespy.com=65.112.87.186
painkiller.ms4.gamespy.com=65.112.87.186
painkiller.ms5.gamespy.com=65.112.87.186
painkiller.ms6.gamespy.com=65.112.87.186
painkiller.ms7.gamespy.com=65.112.87.186
painkiller.ms8.gamespy.com=65.112.87.186
painkiller.ms9.gamespy.com=65.112.87.186
painkiller.ms10.gamespy.com=65.112.87.186
painkiller.ms11.gamespy.com=65.112.87.186
painkiller.ms12.gamespy.com=65.112.87.186
painkiller.ms13.gamespy.com=65.112.87.186
painkiller.ms14.gamespy.com=65.112.87.186
painkiller.ms15.gamespy.com=65.112.87.186

Maybe give these a shot?

Thanks Soja, I made that batch file! :) It makes the changes to hosts file, but doesn't reflect on the tracker. I contacted QTracker to see if they can troubleshoot.
threshersow
New to forums
New to forums
Posts: 5
Joined: Sun Aug 10, 2014 2:59 pm

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by threshersow »

Ended up being on qtracker's side of things, we got it fixed! Had something to do with a heartbeat variation for Painkiller and they adjusted there master server accordingly.
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: GameSpy Alternative Hosts File on VPS/VDS

Post by TacTicToe »

They actually responded to you? And if so, what email address did you use?
Post Reply