Fix ingame server query

Nolf1 talk
Post Reply
User avatar
Spawn
Admin
Admin
Posts: 1124
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Fix ingame server query

Post by Spawn » Wed Feb 13, 2019 2:55 pm

Fix the No One Lives Forever ingame server query.

1. Why?

You will be able to connect and host servers just like you did before gamespy was shut down, all you need to do is to edit your windows hosts file. The content in this file will override domain requests, an example would be:
65.112.87.186 master.gamespy.com
The first part 65.112.87.186 is Qtracker's master server for nolf1 and then after the white space it says master.gamespy.com.
When the game asks for master.gamespy.com, windows will tell it to go to 65.112.87.186 instead. and Qtracker's server will reply instead of gamespy. this method will also work with Contract J.A.C.K

To read more about Qtracker, click HERE

2. How do I make this change?

Open Notepad by rightclicking your notepad shortcut or notepad.exe file and "run as administrator"

1) browse to c: --> windows --> System32 --> drivers --> etc
2) Select to view "All Files (*.*)"
3) Open hosts

Image

Before editing I would recommend saving a backup of the file, for instance hosts.old just in case you accidently delete everything or need it later.

Go to the bottom of the file and add these lines: (will also fix contract J.A.C.K)
65.112.87.186 contractjack.available.gamespy.com
65.112.87.186 contractjack.master.gamespy.com
65.112.87.186 contractjack.ms11.gamespy.com
63.239.170.53 motd.gamespy.com
65.112.87.186 master.gamespy.com
65.112.87.186 master0.gamespy.com
Image

Then replace the original hosts, make sure that the file is named hosts and not hosts.txt

This is windows 7, but the same method is confirmed working in windows 10 as well
You may need to reboot your computer to make the changes active.

When you launch nolf, the server query should look just like in the good old days:

Image

You won't need to have Qtracker installed for this to work.
Image

User avatar
Legbat
Pegasus Modteam
Pegasus Modteam
Posts: 132
Joined: Thu Oct 14, 2004 4:29 pm
Location: North Carolina, USA
Contact:

Re: Fix ingame server query

Post by Legbat » Sat Feb 16, 2019 5:27 pm

I edited the hosts file successfully but am now having a different problem altogether. The servers are now listed just as they should be but I'm completely unable to join ANY of them. I get one of three different error messages every time. It's either:

Connection to server timed out

OR

Missing (fill in the blank) DAT file

OR

Invalid cshell.dll file. Please make sure you are running the same version and modifications as the server

Any ideas as to what I'm doing wrong?
Image

User avatar
Spawn
Admin
Admin
Posts: 1124
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Re: Fix ingame server query

Post by Spawn » Sat Feb 16, 2019 7:42 pm

Version conflicts is my bet. Are you sure it is version 1.004?
I believe you also have to use a nocd patch in windows 10 to make it work.


Sent a PM to you as well.
Image

User avatar
Legbat
Pegasus Modteam
Pegasus Modteam
Posts: 132
Joined: Thu Oct 14, 2004 4:29 pm
Location: North Carolina, USA
Contact:

Re: Fix ingame server query

Post by Legbat » Sat Feb 16, 2019 7:51 pm

Yes. It's the NOLF Revival version I downloaded. Plus I double-checked - It's version 1.004.
Image

User avatar
Spawn
Admin
Admin
Posts: 1124
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Re: Fix ingame server query

Post by Spawn » Mon Feb 18, 2019 8:56 pm

Check the dates for REZ files such as NOLFGOTY.REZ, it should be 09-15-2001, I think the game will ignore the previous versions of the dll files. From what I can tell, the actual version of the game is specified in the dll files. And since it will load NOLFGOTY after all the others, I believe that's the version of the dll files the game will pick. Unless you are running a mod. Atleast that's the thing that makes sense to me :)

If these files are modified compared to a different stock version of Nolf GOTY, the server will kick you.

I haven't checked the nolfrevival installation myself, so I have no idea if these are modified or not.

L.Icepick for the eGo clan sent me this picture btw, he had to run his nolf this way:
Attachments
52598440_990011531387301_1339386040883871744_n.png
52598440_990011531387301_1339386040883871744_n.png (136.27 KiB) Viewed 83 times
Image

User avatar
Legbat
Pegasus Modteam
Pegasus Modteam
Posts: 132
Joined: Thu Oct 14, 2004 4:29 pm
Location: North Carolina, USA
Contact:

Re: Fix ingame server query

Post by Legbat » Wed Feb 20, 2019 2:03 am

I've never checked the box marked 'Disable display scaling on high DPI settings'. I've also only set it up for Windows XP compatibility - not Windows 7. I'll give it another go tomorrow and will keep my fingers crossed the whole time. :thumb:

P.S. - I stopped using the Nolfrevival version altogether so that's not the problem at least.
Image

User avatar
Spawn
Admin
Admin
Posts: 1124
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Re: Fix ingame server query

Post by Spawn » Wed Feb 20, 2019 9:16 am

Fats sent me a screenshot from his windows10 regkey. Seems like it is from a virtual machine though. Values should be correct though.
Attachments
received_2039138779540665.png
received_2039138779540665.png (152.66 KiB) Viewed 76 times
Image

Post Reply