Hitman: Absolution

Hitman: Absolution

414 ratings
Hitman: Absolution - self-hosted Contract server
By Rejedai
Running self-hosted Hitman: Absolution for Achievements
14
6
16
2
3
5
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Introduction
I'm just the author of the guide, server developer is LennardF1989, send all thanks to him.
1. Starting the server
Only on Windows
Download archive: https://github.com/LennardF1989/Hitman-5-Server/releases/download/v1.2.2/Windows-x64.zip and unpack to any directory.

Only on Linux
Download archive: https://github.com/LennardF1989/Hitman-5-Server/releases/download/v1.2.2/Linux-x64.zip and unpack.

Editing the config, WIndows and Linux
Before launching, need to edit appsettings.json in directory with server executable:
{ "Kestrel": { "Endpoints": { "Http": { "Url": "http://localhost:40147" } } }, "Options": { "FixAddMetricsContentType": true, "EnableRequestLogging": true, "EnableRequestBodyLogging": false, "EnableResponseBodyLogging": false, "MockedContractSteamId": "76xxxxxxxxxxxxxxx", "WalletAmount": 1999999, "UseCustomContracts": false } }
1. If some service is running on port 40147, you can replace it with any other in Url section, but if you want to play other players contracts, I don't recommend doing it.
2. In MockedContractSteamId replace 76xxxxxxxxxxxxxxx to any friend steamID64 (for Partners in Crime achievement). You can ask a friend to give numbers from here: https://steamhost.cn/account/.
3. In WalletAmount need to put a value greater than 1000000 (for Set for Life achievement).
4. You can set true in UseCustomContracts, if you want to play contracts of other players. Then you will have to save money from scratch and ask a friend to share the contract.
5. Save.

Starting the server
On windows launch HM5.Server.exe.

On Linux HM5.Server (don't forget to add the execution permission)
chmod +x HM5.Server

Server started!
2. Launching Сontracts in the game
1. Download archive: https://github.com/LennardF1989/Hitman-5-Server/releases/download/v1.2.2/Hook.zip, unzip dinput8.dll and hook.ini to game root.

2. Edit hook.ini:
[options] enabled=true log=true ;Can be set to either hm5 or sniper game=hm5 [hm5] webserviceurl=http://localhost:40147/hm5 skiplauncher=true [sniper] webserviceurl=http://localhost:40147/sniper
In webserviceurl set port from appsettings.json.

2.9 (linux only) Set in Launch opitons:
WINEDLLOVERRIDES=dinput8=n,b %command%


3. Launch the game, Сontracts should work

3. Launching contracts of other players.
Join LennardF1989 discord https://discord.gg/5WW3C3G2M3.

In the #share-contacts[discord.com] channel you can find links to create contracts, open it and contract should appear in the game.

You can see the list of contacts at the link: http://localhost:40147/contracts
Achievements
With this server, you can unlock all achievements.



Contender
Lots of questions about the Contender achievement, to get it you need to run in Quick Play -> Find Contrats -> FakeContract48
Special Thanks
Thanks for the research DevilDwarf and Venom.
112 Comments
Aaron2003 8 Jul @ 6:37pm 
After earning some currency after completing the tutorial, I closed the game and server and reopened them. Nothing saved. Why is this?
CSavaros 31 May @ 6:17am 
when I want to download a contract I click on it and then it goes to a website this is the URL :http://localhost:40147/contracts/create/G8oCwJwFdjvHR0qbNpZ2Zy77zuVW6mR-g1O5N2VTdI6bS5WR6c9vahnzi6YOS1eIDN7k4QDtPH_YPRTQuYALLOE04cRjDDDTk0aDxVzxtyJ6QRr23iqiYFNAmANCBXTRRc4gJFmx6L2NqpXZCPVsIEzqtKHaY6GxeicIF2hWv7N5RHfDP1D6VFC1JwJn5FfyNvm-SO38mtF91a9_pJloHZYw9FBDFDyE71uROBfC-TBUN_1BFm-pYFg53mKYouUB-jx3a1YG2_sS-iLf-s9SqV1MvY-TQKY43tKcEgW9yhGsSLBqn3anBgf66-5-yEN5hwNsDRHgMcE2EgZxRBtcJAZhZtRMFYlNGaSMx31uERI3r04iel5rKHAQpwCt-gE

then it just says the website is unavaible:steamsad:
CSavaros 31 May @ 6:14am 
not working
Rassolli 3 May @ 10:52pm 
Good guide, it was very helpful
N7Rogue 20 Apr @ 7:16am 
All contract related achievements now can be unlocked, thanks!
Ooopsy! 18 Apr @ 12:30am 
i press on link in discord, but there is no contracts appear in my game
selimmbey 15 Apr @ 3:42am 
Explanatory guide. thanks. :steamthumbsup: :steamhappy:
Khaleesi 11 Mar @ 2:21am 
works perfectly..
thanks, man. :steamthumbsup:
aboodbashussein 11 Mar @ 1:41am 
i know its like arkham origins server host but what i meant is he don't have trojan horse
Rejedai  [author] 10 Mar @ 9:50pm 
Port is part URL, in this case localhost is address, 40147 is port.