Daily Lucky Numbers:
6
18
23
29
39
48

Recent posts

#91
SMF Arcade Support + Plugins / Re: Game Directory Not Writabl...
Last post by Chen Zhen - February 06, 2022, 11:58:05 AM
Do you have the HTML5 upload option enabled in your main Arcade Settings?
That will allow you to install games that have a larger file size which is common for HTML5 type games.

If you already tried that then attempt the following...
Adjust your upload_max_filesize php setting to 16M via CPanel, reset apache (or the OS) and then attempt to install the games.

If you don't know how to do all that then you can use your FTP client to transfer the compressed game files from your PC/MAC to your games_upload directory path. After which it should show up in your Games Manage Installations list and allow you to install it.
#92
SMF Arcade Support + Plugins / Re: Game Directory Not Writabl...
Last post by Chen Zhen - February 04, 2022, 09:38:06 PM
#93
SMF Arcade Support + Plugins / Re: Game Directory Not Writabl...
Last post by Chen Zhen - February 04, 2022, 08:38:25 PM
Attempt setting the Games directory to 775 (or 0775)
#94
SMF Arcade Support + Plugins / Re: Game Directory Not Writabl...
Last post by PANIC - February 04, 2022, 08:31:20 PM
Quote from: Chen Zhen on February 04, 2022, 08:09:50 PMDid you use arcade maintenance to add a .htaccess file to the Games path?

Yes.
#95
SMF Arcade Support + Plugins / Re: Game Directory Not Writabl...
Last post by Chen Zhen - February 04, 2022, 08:09:50 PM
Did you use arcade maintenance to add a .htaccess file to the Games path?
#96
SMF Arcade Support + Plugins / Re: HTML5 Save Code V3
Last post by Hero - February 04, 2022, 03:32:21 PM
But you haven't used this code origon for a long time.
#97
SMF Arcade Support + Plugins / Re: HTML5 Save Code V3
Last post by origon - February 04, 2022, 07:24:48 AM
This code is inserted in index.html
    <script type="text/javascript">
        function scorepost(href, inputs) {
        var gform = document.createElement('form');
        gform.method = 'post';
        gform.action = href;
        gform.target = '_parent';
            for (var k in inputs) {
            var input = document.createElement('input');
            input.setAttribute('name', k);
            input.setAttribute('value', inputs[k]);

            gform.appendChild(input);
   
    }

        document.body.appendChild(gform);

        gform.submit();

        document.body.removeChild(gform);

}

</script>
    and this is the score code
  let pathArray = window.location.pathname.split('/');
  let newpath = ''; 
  if (pathArray[1] && pathArray[1] != 'arcade') {
      newpath = '/' + pathArray[1];
  }
  scorepost('https://' + window.location.hostname + '/index.php?act=Arcade&do=newscore', {
      gname : '1010Hex_Origon',
      gscore: score
  });

This is the way the code should be used, it's a score code developed at origon-games.dk
#98
SMF Arcade Support + Plugins / Game Directory Not Writable
Last post by PANIC - January 31, 2022, 09:02:33 PM
Hi there.

I've been having issues loading games into the SMF Arcade. When I got to Manage Installations, I get this message:

Directory public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.
I followed the support in this thread, but didn't have much luck. https://web-develop.ca/index.php?topic=505.0

- I have my directories set at 755 and the files set at 644.
- I don't run off of a VPS or dedicated server, so I'm not sure how to go about with changing the ownership.
- I tried uploading the .zip files manually, but nothing shows up on my website.
- I'm running the current Arcade version on SMF 2.0.19
- I use CPanel to manage my files (if that helps).

I was hoping someone would be able to help me.  :)
#99
SMF Arcade Support + Plugins / HTML5 Save Code V3
Last post by Chen Zhen - January 09, 2022, 10:58:00 PM
function saveHTML52score(score, gamename) {
let pathArray = window.location.pathname.split('/');
let newpath = '';
if (pathArray[1] && pathArray[1] != 'arcade' && pathArray[1] != 'games') {
newpath = '/' + pathArray[1];
}
scorepost(window.location.protocol + '//' + window.location.hostname + newpath + '/index.php?act=Arcade&do=newscore', {
gname : gamename,
gscore: score
});
}
function scorepost(href, inputs) {
var gform = document.createElement('form');
gform.method = 'post';
gform.action = href;
gform.target = '_parent';
for (var k in inputs) {
var input = document.createElement('input');
input.setAttribute('name', k);
input.setAttribute('value', inputs[k]);
gform.appendChild(input);
}
document.body.appendChild(gform);
gform.submit();
document.body.removeChild(gform);
}

An example of usage:
var score = parseInt(localStorage.getItem("energizerScore")), gamename = 'energizerCZ';
saveHTML52score(score, gamename);
#100
SMF Arcade Support + Plugins / Re: Game error reporting
Last post by Dave - January 09, 2022, 04:54:24 PM
Quote from: Chen Zhen on January 09, 2022, 02:33:12 PMI can implement a PM option to all admin and arcade moderators.

That would be great, thank you