Skip to content

Instantly share code, notes, and snippets.

View jamiemtdwyer's full-sized avatar

Jamie Dwyer jamiemtdwyer

  • T.O.
View GitHub Profile
// Set variables for our request
$shared_secret = "TBB5wltKarRtKn5mUVZck9RxHePNN6Jo";
$params = $_GET; // Retrieve all request parameters
$hmac = $_GET['hmac']; // Retrieve HMAC request parameter
$params = array_diff_key($params, array('hmac' => '')); // Remove hmac from params
ksort($params); // Sort params lexographically
// Compute SHA256 digest
$computed_hmac = hash_hmac('sha256', http_build_query($params), $shared_secret);

Project Zomboid Dedicated Server Guide

Ubuntu Server 20.04 LTS (64-bit)

1. Install steamcmd

 sudo add-apt-repository multiverse
 sudo dpkg --add-architecture i386
 sudo apt update
 sudo apt install lib32gcc1 steamcmd