Quote:
Originally Posted by RaZ_HU
Thank you for the quick fix
Another problem I just faced:
The sound files does not get precached even if the _download setting is 1.
The extension is missing (developer 1 warning fix causes this) and the game can't download them.
BTW you should update the version number in the OP title.
Temporary fix: comment the dev1 error fix:
PHP Code:
// remove ".wav" from files to prevent runtime warnings (using: developer 1)
/*if ( subData[SOUND_TYPE] == SOUND_TYPE_WAV )
{
new len = strlen(soundfile)
if ( len > 4
&& equali(soundfile[len - 4], ".wav") )
{
soundfile[len - 4] = 0;
}
}*/
|
Thank you so much for this, finally got my sank sounds fast D/L setup working using this work around. Before applying the fix the error log entries on my NGINX looked like this:
2019/04/14 14
1:48 [error] 21955#0: *3 open() "/usr/share/nginx/html/sound/misc/looney" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: localhost, request: "GET /sound/misc/looney HTTP/1.1", host: "51.38.65.57"