Jump to content

Alternative to modifying windows hosts file


Recommended Posts

Unlike Nolf1 and Nolf2 that store the master server info in CSHELL.DLL, Contract Jack uses a file called Gamespy.dll to store master server info. This means that you can alter this file without changing the actual game version. (no mod needed).

A simple string edit changed the file from looking for Gamespy to instead contact Qtracker and will let you connect to servers without having to use the Qtracker software or windows hosts forwarding.

Here's a patched gamespy.dll that goes in the Contract Jack base directory. I'd call it beta for now.

Updated GameSpy.dll

Remember to back up the original gamespy.dll, backups are always a good idea :)

 

Progress so far:

- Patched out gamespy urls with qtracker ones.

- Works well for the joining players.

- You can use mods like normal

- Game stays at the retail v1.1 if no other mod is loaded.

Bug: I had issues maintaining server heartbeat when hosting sometimes, Works like a charm when a player is online but if server is left alone empty for a period of time it sometimes disapear from the ingame query. the Qtracker uplink tool should take care of that though, this could have something to do with how qtracker register heartbeats as as well. Not sure.

 

  • Like 2
Link to post
Share on other sites

Added this to the downloads. 😎

Link to post
Share on other sites
  • 4 weeks later...
Posted (edited)
On 5/7/2020 at 1:00 AM, Spawn said:

Bug: I had issues maintaining server heartbeat when hosting sometimes, Works like a charm when a player is online but if server is left alone empty for a period of time it sometimes disapear from the ingame query. the Qtracker uplink tool should take care of that though, this could have something to do with how qtracker register heartbeats as as well. Not sure.

Good job! Just replacing GameSpy.dll is a good solution for Gamers, it is the easiest solution.
***
I think if someone starts a game server (HOST), then he should do as recommended by Qtracker.
http://www.qtracker.com/master-gamespy-hostfile.php
+ He needs to set his router or firewall to block outgoing UDP traffic to port 29910.
More details here.
https://nolfgirl.net/Unityhq/forums/topic/7638-installing-%E2%80%9Ccontract-jack%E2%80%9D-and-host-without-valid-cd-key/

***
Now many Gamers download the NOLF-games from the popular “Nolfrevival” website http://nolfrevival.tk/
If someone downloaded the game from this site, then to play online he must make corrections:

1. In the properties of the game’s shortcut, specify the launch from the Administrator:
Game shortcut ContractJACK -> right mouse button -> Properties -> Compatibility -> Run this program as Administrator
2. Disable in the Launcher WideScreenFix. This must be done because WideScreenFix is not compatible with playing online.
ContractJACK game shortcut - Custom - uncheck WideScreenFix - Ok
3. Clear Command-Line:
 Game Shortcut ContractJACK - Options - Remove All from Command-Line - Ok
Also check  “Restore Defaults”.
4. Disable Dynamic Lighting in the game menu. This must be done so that the game does not turn off when flashes from grenades.
Options -> Perfomance -> Perfomance -> High Detail -> Display -> Dinamic light -> Off
Or set medium detail in the game menu:
Options -> Perfomance -> Perfomance -> Medium Detail
5. If you want to play with a high screen resolution (up to 1920x1080) then set this WideScreenFix_CJ.  The WideScreenFix_CJ fix is compatible with the game online.
https://nolfgirl.net/Unityhq/forums/topic/47208-widescreen-fix-for-169-and-1610-displays-resolution-up-to-1920x1080-solved/
6. Replacing GameSpy.dll
https://nolfgirl.net/Unityhq/forums/topic/47325-alternative-to-modifying-windows-hosts-file/
7. Install an individual CD-Key for the game. This must be done because Gamers on the server must have different CD-keys, but a game from the Nolfrevival website has only one CD-key. You can choose from this list. These are unlicensed CD-keys, but they will work for playing online.


TEJ4-XER4-RED6-MUN8-5455
LUR5-XUF9-FUM3-RUM5-5354
ZYN6-CEJ4-DUP3-WES9-6554
ZYG3-CUT3-WYS9-XUL7-2364
NED9-GUR7-NUW4-MYP5-8538

DEP2-LYJ9-ZEG7-NEF3-2499
LYF5-ZYW9-TEW2-GUT6-4733
RUL2-TYJ3-TER4-WUD8-9969
TYP5-XUG7-WYL8-CUP6-2677
GUS5-CUZ5-LYJ9-LUM7-5236

PYN2-ZEC8-MEZ6-FEC8-8549
JEX9-PUJ7-CES5-MUN6-6548
TEX9-FUN4-FEC8-RUN3-9875
TUC6-XYW9-WYL3-LEL5-6574
PYJ6-JUN6-DEW6-CEG4-2596

FUG4-MYP5-WUC8-ZYZ9-5733
CUJ6-PYP5-DYW9-SUP4-9289
GUW3-GEC6-JYG3-NYG5-6797
MEG9-DYW8-DUM2-GEZ8-9668
NUL7-JEL4-JUS4-TEP4-8257

LUW7-ZEZ5-REN3-GEL2-4453
SUM9-NYD2-CYG3-NYP8-2938
ZEG3-RES8-NER5-RUJ2-5966
NEN8-CER3-RUW8-TYL9-6462
SUW6-RYT8-XUT4-FEM8-9887

TYJ5-LER2-XUZ4-PYL4-7937
DYF7-DYJ5-RUT4-JUD8-4898
GUC8-CYM8-CYG2-WUS7-5372
XER2-GUT7-ZYP7-MEC4-4378
CED8-WYM6-WER8-ZEW4-2956

WYG3-XEW4-SUW7-LYS2-8859
LES9-PUM5-WUW5-TEX6-3567
CYT4-PEN9-GYZ7-CEX4-3563
LEL7-ZEJ9-TUX4-NUD8-2482
SYW9-DYF4-ZUJ7-NYD6-2359

 

 

Edited by orion98
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines Privacy Policy.