Z2Doggo / H1Z1-C-Server

A server-emulator for H1Z1: King of the Kill, Preseason 3; Built in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An H1Z1: King of the Kill server made in the C programming language!

Current Status

  • Compile for use, send and receive packets
  • Handle Client connection request (you'll still be on the loading screen but the BaseApi is setup & connected)
  • Send Session, Fingerprint and Encryption
  • Make sure the client gets the right data to get to the server list screen
  • Zone in-to the game with a character
  • Reverse all vital packets in-order to function as it was then in 2017

Credits

  • Rhett (Indie/H1Emu - Made the server to begin with)
  • LegendsNeveerrDie (Indie)
  • GhostsKappa (On Break - H1Emu)
  • Doggo (Me - Working on the server currently - H1Emu)

Contributions

  • Thank you to Jacob Seidelin and QuentinGruber without whom none of this would have been possible.
  • Also Thank you to EVERYONE over at H1Emu Project for helping us learn many great things.

Dependencies

The game requirements are the following DirectX and Visual C++ libraries to be installed to work.

VC 2015 Redist Download from Microsoft

DirectX June 2010 Redist Download from Guru3D

How to Download

WARNING: This will only work if you have Z1: Battle Royale formerly known as H1Z1: King of the Kill in your steam library!

Use the latest version of DepotDownloader

Example (Downloading H1Z1: King of the Kill) AppID: 433850 DepotID: 433851 ManifestID: 6098349229565958949

cmd : dotnet .\DepotDownloader.dll -app 433850 -depot 433851 -manifest 6098349229565958949 -username YOURUSERNAME -password YOURPASSWORD

Setup ClientConfig.ini

In the H1Z1 Folder you will have a file called ClientConfig.ini.

Remove the line Server=Lvshaa-liv-l02.h1z1.net:20042;Lvshaa-liv-l02.h1z1.net:20043;Lvshaa-liv-l02.h1z1.net:20044;Lvshaa-liv-l02.h1z1.net:20045

Add the following:

  • World=None
  • Server=127.0.0.1:1115
  • usenewui=1
  • SessionId=0

At the beginning of this file.

Building the Server

Make sure you have the GNU C Compiler (GCC) installed on your system, if it isn't installed on your system, here is a great tutorial on how to install it!

  • Double click the build_kotk_login.bat file to build the Login Server
  • Double click the build_kotk_zone.bat file to build the Game Server

Launching the Server

Double click the run_all.bat file in the H1Z1-C-Server folder to run the login-server and zone-server.

Legal Notes

This project is for Educational Purposes. We are NOT Responsible for your actions using it.

About

A server-emulator for H1Z1: King of the Kill, Preseason 3; Built in C.

License:MIT License


Languages

Language:C 100.0%Language:Batchfile 0.0%