View Single Post
silentwolf
New Member
Join Date: Apr 2019
Old 04-14-2019 , 10:43   Re: Sank Sounds (Luke Sankey) (v1.8.4)
Reply With Quote #1147

Quote:
Originally Posted by RaZ_HU View Post
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 141: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"
silentwolf is offline