Coder Social home page Coder Social logo

lennardf1989 / hitman-5-server Goto Github PK

View Code? Open in Web Editor NEW
34.0 7.0 3.0 953 KB

This project emulates the server used by Hitman: Absolution and the Hitman: Sniper Challenge and aims to restore all its features, including the Contracts feature.

Home Page: https://discord.gg/5WW3C3G2M3

License: GNU Affero General Public License v3.0

C++ 4.72% C 0.02% C# 30.03% HTML 65.22%
hitman achievements challenge server sniper absolution

hitman-5-server's People

Contributors

lennardf1989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rejedai gv2zx

hitman-5-server's Issues

Error on Launching HM5.Server.exe

Just tested the first release and i get this error on launching it
Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date. To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'. For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054. at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Reload() at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Load() at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication 1 application, CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token) at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host) at HM5.Server.Program.Main(String[] args) in G:\Projects\Lennard\Temp\HM5\Src\HM5.Server\Program.cs:line 9
If i run "dotnet dev-certs https" it does fix the problem, i tested it on 2 PC's and both did this and a VM which also did this.

EDIT:- If i remove the https from the appsettings.json it does fix the problem too (tested on VM)

Small Issue with Runtime Required

Noticed a small bug if you run the "Portable" version with only the .NET 6.0 runtime it will fail to open, you get this error

`
You must install or update .NET to run this application.

App: C:\Users\test\Desktop\Portable\HM5.Server.exe
Architecture: x64
Framework: Microsoft.AspNetCore.App, version 6.0.0 (x64)
.NET location: C:\Program Files\dotnet\

No frameworks were found.

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=6.0.0&arch=x64
`

You need to install "ASP.NET Core Runtime" too
THIS ONLY APPLIES TO PORTABLE, the published version works great without that runtime.
Also on a sidenote the Hook DLL requires VC_redist 2015 installed which should probably be noted (or you could recompile with MT flag).

Also great work on fixing the HTTPS bug and adding money to the appsettings.json, you are doing great work thank you.

Steam Friends contracts

Firstly, thank you so much for creating this wonderful project.

Secondly, I would like to use this project to unlock achievements on steam, there is an achievement to launch a contract created by a friend, how does the game technically distinguish whether a contract was created by a friend, by steamid? Is it possible to implement it in this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.