Zombie Panic! Source

Zombie Panic! Source

View Stats:
The "Missing Map" error: A working workaround.
Introduction:

Ever since the release of ZPS 3.1 there has been an annoying bug that affects all the servers in the game.

And after several months of this issue, a workaround has been discovered
that seem to work (in order to get around this error).

(special thanks to Pikouchu for bringing the workaround to my attention).





How custom content used to be hosted prior to the ZPS 3.1 Update:

Normally one would place custom maps (.bsp and other uncompressed custom files) on the game-server itself as follows:

https://steamcommunity.com/sharedfiles/filedetails/?id=2479665972
And compressed (.bz2) versions of the same files, on the FastDL-server as seen here:

https://steamcommunity.com/sharedfiles/filedetails/?id=2479667159




The workaround:

ZPS 3.1 has a new bug that causes players to get a "Missing Map" error
(upon downloading maps).

The only way to work around this issue right now (for the time being),
is to not use any compressed ".bz2" files at all.


This is how one should place custom maps on their game-server now:

https://steamcommunity.com/sharedfiles/filedetails/?id=2479665972
And do the same on the FastDL-server as follows:

https://steamcommunity.com/sharedfiles/filedetails/?id=2479670377
So basically, you will be using uncompressed files in both places (no .bz2 files).


Important note:

Due to the nature of this bug (and it's temporary solution), it is not possible to host custom content and maps without a FastDL/Redirect service.

Trying to host custom content without a FastDL/Redirect will result in another bug
(where the loading-screen gets stuck on "1 seconds remaining").





Technical information about the bug (for those who are interested):

There are two ways, in which the game will fail to write custom files:


Scenario 1:

When using a FastDL/Redirect service with compressed (.bz2) files,
clients will get a "Missing Map" error as seen here:

https://www.youtube.com/watch?v=9NdhAMju2_w
https://steamcommunity.com/sharedfiles/filedetails/?id=2479661381
You can see that the game downloads the compressed .bz2 file correctly,
but then it fails to write it's content (a .bsp file) upon extraction.


Scenario 2:

If a FastDL/Redirect is not being used, by leaving sv_downloadurl blank
(or by removing it altogether).

Then the Download will not complete, and simply hang at "1 seconds remaining"
with no error message:
https://youtu.be/c6U7QhuRxLU
https://steamcommunity.com/sharedfiles/filedetails/?id=2479663344
In this example the game is also unable to write the ".bsp" file.

So in both scenarios, the game is for whatever reason unable to write the ".bsp" file for the Map.





This is a strange bug that has to do with the game being unable to write the ".bsp" file after a few maps.

Relaunching the game will fix it temporary (but the issue comes back again after a few maps).

Since relaunching the game works, it would seem unlikely that it is a Write-permission issue with Windows/Linux.

This seems to be a strange client-side bug when writing files within the game itself,
that occurs after a few maps (typically after 3-4 custom maps).





Other types of downloads are also affected by this bug, like Materials / Models / Sound
(and even custom Sprays).

All of these downloads are also unable to write whenever this write-error occurs
(these downloads will not give any error-message, except for Custom Sprays).

Custom Sprays will show the following error in the players Console:

Download file 'user_custom/2c/2cf374b4.dat' failed to write!





So how does this new workaround work?

By placing uncompressed files (and not .bz2) on the FastDL/Redirect server,
you are basically bypassing the issue with the game being unable to write.

This will allow downloads to download correctly, (at the cost of using 2-3 times more disk-space).

As for custom Sprays:
There seem to be no workaround to make Sprays work at the moment.
< >
Showing 1-4 of 4 comments
I'm still getting the missing map error even after doing this on my server. I think it has something to do with how they changed custom maps location. I've been messing with the folder structure on my fastdl website but still cant get it right. Any ideas?
Are you sure you are using only .bsp (and not any .bz2 files) in the correct folders?

On the Game-server, the maps go here:
\zps\custom\maps\

And on the FastDL-server they go here:
\zps\maps\

(two slightly different folders in other words)
I just noticed you guys said you are putting the files in a custom directory on the server and that made me wonder if that was the issue. Has anyone tried placing the custom maps/sounds/etc. in their respective directories on the server as opposed to putting them in a "custom" folder with a similar file structure and checked to see if that worked correctly with .bz2/fastdl?

I know TF2 and ZPS aren't the same game, but both use the same engine (Source 2013) so they both share a number of similarities on both the client and server side. I think at one point, after TF2 moved to Source 2013, there was some issue with downloading files from the server and I believe it was due to server owners putting their files in a "custom" folder on the server-side. They were trying to mimic how things worked client-side on the server due to confusion on how client and server would interact with one another for downloading maps. Not long after the TF2 update, I remember it being suggested that server owners put their files in their respective directories on the server, such as tf/maps or tf/sounds, instead of in tf/custom/maps or tf/custom/sounds as it caused problems. I have run several TF2 servers over the years and I have never used the custom folder on the server-side for custom maps and sounds (or anything else for that matter).

Again, TF2 and ZPS aren't the same game and I could be wrong, but given that they share the same engine, maybe using the normal directories for custom files on the server instead of a "custom" directory on the server might fix the issue with fastdl for ZPS. If it works, the files should consistently show up in the "download" directory client-side and also be playable after the download finishes (or at least, thats how it works in TF2 and I assume ZPS should be the same).
< >
Showing 1-4 of 4 comments
Per page: 1530 50