Setup Painkiller Overdose Windows server
Painkiller Overdose does not have an official Linux server so it's only possible to host a server on Windows. This is one of the reasons that no one hosts servers for this game nowadays.
This guide will give you step-by-step instructions on how to set up the Painkiller Overdose Windows server and play with your friends.
Here is a brief description of the game releases. The official international versions of the game were:
- 66.2 Demo
- 75.3
- 84.4
These are the only recommended versions to host your server.
There also were several versions in-between 75.3 and 84.4 from the local publishers but the additional singleplayer and multiplayer game content was only introduced in 84.4.
This unofficial version of the patch will upgrade your game to 84.4 from 75.3 and it already incorporates the Gamespy fix.
It's also worth mentioning the competition multiplayer mod called PROverdose made by OriOn and PrimeviL which was intended to be similar to PK++ for the original Painkiller.
Windows Server Setup
The server setup includes the following steps:
- Router configuration
- Windows Firewall configuration (optional)
- OpenSpy configuration
- Server launching
- PROverdose setup (optional)
- Custom Mappack (optional)
Router configuration
If you use a router, you need to forward a port to the Overdose server. The game's default port is 4974
but you can change it to another one. I highly recommend reserving a local IP address for this purpose. Please refer to this guide for more information on the router configuration.
I'll take the local IP 192.168.0.104
in further examples.
Firewall configuration
This step is not always required. In my case, all worked without this configuration. However, you may need to create firewall inbound and outbound rules for the game via TCP and UDP protocols. Refer to this information for more details.
GameSpy to OpenSpy
GameSpy was a server browser for online games. A public game server could advertise its IP address to GameSpy master servers and all clients could see it in the browser list. GameSpy also checked the game CD key and prevented the clients with bogus keys from joining a server.
GameSpy was shut down in 2013 and since then the community created its open-source clone OpenSpy.
OpenSpy does not have any CD key checks during the online play. However, a game may have its own CD key validation. The international version of Painkiller Overdose did not have any CD key validations.
To use OpenSpy, you can either replace all instances of gamespy.com with openspy.net in OverdoseEngine.dll
, OverdoseEngineEditor.dll
, OverdoseEngineServer.dll
or modify the Windows hosts
file.
This guide will give you more detailed information on how to do it.
Server launching
There are several ways to run a public server:
- In-game public server
- Dedicated server
- Dedicated console server
In-game public server
The important thing here is to run the game with the correct network interface.
In the previous examples, I ran a server on 192.168.0.104
thus I need to pass this parameter to the game because it may try to run the game under a different interface.
-
Create a Windows shortcut or a BAT file in the
..\Overdose\Bin\
directory with this content:Additionally, for your convenience, copy
C:\Users\%USERNAME%\AppData\Local\Painkiller Overdose\Overdose.ini
to..\Overdose\Bin\
and rename it toOverdoseServer.ini
. Add the following parameters: -
Run the game via that file and select
Multiplayer
->Start Game
-> TickPublic Server
, make the necessary configurations, andStart
the public server.To check if the server is available publicly, minimize the game and after some time the server will be present on this page. It means that a client should be able to see it in his in-game server list provided they also made modifications regarding OpenSpy on their side.
Dedicated server
It is similar to the steps above but we'll run a server via a different program.
-
For your convenience, copy
C:\Users\%USERNAME%\AppData\Local\Painkiller Overdose\Overdose.ini
to..\Overdose\Bin\
and rename it toOverdoseServer.ini
.Let's modify
OverdoseServer.ini
and change WarmUpTime and MaxFpsMP: -
Create a Windows shortcut or a BAT file in the
..\Overdose\Bin\
directory with this contentOverdoseDedicated.bat
: -
Open the server via that file and select the
Network interface
to which you forwarded traffic from your router (192.168.0.104
in my example); select thePublic(GameSpy)
mode. Make the necessary configurations and clickStart
.After some time, the server should be present on this page
-
Clients should see your server and will be able to join provided they also made modifications regarding OpenSpy on their side. However, you will not be able to see your server on the in-game list or you'll see it as a broken server and if you try to join it, you'll get an error that this IP does not respond. It seems that the game was implemented in a way that a server can only be seen from a different external IP.
So you need to type in manually in the game to join the server either via the internal IP address
192.168.0.104:4974
or via the external one50.153.139.143:4974
and add toFavourites
for your convenience.Then you will be able to find your server on the
Favourites
tab and join it from there. -
As a server administrator, you can use all console commands via the
Painkiller Dedicated Server
GUI menu. Let's add a bot to the server session. Click theConsole
tab and type in the following command and hitEnter
:You will not be able to use all console commands if you join a server as a client and run commands via the in-game console.
-
Stop
or close the server when you decide to close the multiplayer session.
Dedicated console server
The dedicated console server OverdoseServer.exe
doesn't have any command line options and can only be run with the default options, thus it is not recommended.
PROverdose server (optional)
PROverdose is a competitive mod. Its server is compatible with the original Overdose and PROverdose so the client doesn't need to have this mod installed but the client still needs to have the OpenSpy fix.
-
Download the PROverdose mod. PROverdose 0.4 only supports the latest official Painkiller Overdose v84.4. Earlier versions of PROverdose support Painkiller Overdose v75.3 and lower.
-
Extract the archive's content to your
..\Painkiller Overdose\Data
directory. -
For your convenience, copy
C:\Users\%USERNAME%\AppData\Local\Painkiller Overdose\Overdose.ini
to..\Overdose\Bin\
and rename it toOverdoseServerPro.ini
. -
Create a Windows shortcut or a BAT file in the
..\Overdose\Bin\
directory with this contentOverdoseDedicatedPro.bat
: -
Run the server via that file.
Install custom multiplayer mappack (optional)
Recommended additional maps can be downloaded here
Copy the files to C:/Painkiller Overdose/Data/
.
Possible errors
It is possible that you ran the in-game public server with the +interface
command so make sure the local IP address exists.