Quote from: phum on January 14, 2023, 12:15:07 PMOk. So I seemed to have fixed the save game for Clumsy Bird on my site (maybe it is only a Clumsy Bird issue???) Here is what I did: commented out the first line of code in saveGameSmf() that tries to grab the 'savegamescore' field. I don't see this field existing in any code anywhere in Clumsy Bird, and it seems to be getting passed in as a parameter. So is this a bug?function saveGameSmf(newhighscore)
{
//var newhighscore = document.getElementById('savegamescore').innerHTML;
var gameSmfFullscreen = document.getElementById("gameSmfFullscreen") != undefined ? document.getElementById("gameSmfFullscreen").value : 0;
if (parseInt(gameSmfFullscreen) == 1)
...
function saveGameSmf(newhighscore)
{
//var newhighscore = document.getElementById('savegamescore').innerHTML;
var gameSmfFullscreen = document.getElementById("gameSmfFullscreen") != undefined ? document.getElementById("gameSmfFullscreen").value : 0;
if (parseInt(gameSmfFullscreen) == 1)
...
#<!-- Apache File Created by SMF Arcade 2.6.9.4 -->
<IfModule mod_headers.c>
<FilesMatch "\.(html)$">
Header always set X-Frame-Options SAMEORIGIN
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} arcade_score\.php
RewriteRule ./* ../arcade/arcade_score.php?act=arcade&scoreprep=prepscore
RewriteCond %{REQUEST_URI} highscore=1
RewriteRule ./* ../arcade/arcade_score.php?scoreprep=1&gameid=45&highscore=1
RewriteCond %{QUERY_STRING} ^act=Arcade&do=(.*)$
RewriteRule ./* ../index.php?act=Arcade&do=newscore
</IfModule>
<IfModule mod_security.c>
<FilesMatch ".(zip|tar|rar|gz)$">
SecFilterEngine Off
SecFilterScanPOST Off
</FilesMatch>
</IfModule>
<Files ^(*.jpeg|*.jpg|*.png|*.gif|*.tiff|*.bmp|*.php|*.html)>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>
AddCharset UTF-8 .php
AddCharset UTF-8 .html
AddCharset UTF-8 .htm
AddCharset UTF-8 .js
RemoveHandler .php3 .phtml .cgi .fcgi .pl .fpl .shtml