October 28, 2020, 12:49:45 AM

Recent posts

Pages1 2 3 ... 10
1
SMF Arcade Support + Plugins / Re: Seal Bounce not saving sco...
Last post by vince - October 25, 2020, 08:56:29 PM
Quote from: Chen Zhen on October 25, 2020, 08:34:28 PMOk I see now.. we had 2 of the same game installed but one wasn't saving score.
The one that was not working has been uninstalled.

Thanks for the report.


Yes Exactly you're welcome
2
SMF Arcade Support + Plugins / Re: Seal Bounce not saving sco...
Last post by Chen Zhen - October 25, 2020, 08:34:28 PM

Ok I see now.. we had 2 of the same game installed but one wasn't saving score.
The one that was not working has been uninstalled.

Thanks for the report.
3
SMF Arcade Support + Plugins / Re: Seal Bounce not saving sco...
Last post by Chen Zhen - October 25, 2020, 08:07:23 PM

It's one of those games I have to fix.
You can use the report button in the arcade to put it on my admin list.
If the button is not available it means someone or myself has already reported it.

4
SMF Arcade Support + Plugins / Re: Seal Bounce not saving sco...
Last post by vince - October 25, 2020, 06:38:47 PM
Quote from: vince on October 25, 2020, 06:37:52 PMits the one thats like this seal bounce not the one thats sealbounce <-- that one works fine

it does it here on web-dev also
5
SMF Arcade Support + Plugins / Re: Seal Bounce not saving sco...
Last post by vince - October 25, 2020, 06:37:52 PM
its the one thats like this seal bounce not the one thats sealbounce <-- that one works fine
6
SMF Arcade Support + Plugins / Seal Bounce not saving score
Last post by vince - October 25, 2020, 06:24:33 PM
i keep getting this message on yete sealbounce game i cleared cache and tryed again but still happened
7
SMF Arcade Support + Plugins / HTML5 new save code file (v2)
Last post by Chen Zhen - October 25, 2020, 02:48:37 PM
This one works for Invision Arcade & SMF Arcade

possible file: arcade.html52.js
// CZ score submit
function Html52_scorepost(href, named, scored, scoreid, scoretoken, scoretimex, gamepop, gamefull, gameexit, savetype) {
var currentArcadeTime = Math.floor(new Date().getTime() / 1000);
var gform = document.createElement('form');
gform.method = 'post';
gform.action = href;
gform.id = "anygameid";
gform.target = '_parent';
var input = document.createElement('input');
input.setAttribute('name', 'game_name');
input.setAttribute('value', named);
gform.appendChild(input);
var input2 = document.createElement('input');
input2.setAttribute('name', 'score');
input2.setAttribute('value', scored);
gform.appendChild(input2);
var input3 = document.createElement('input');
input3.setAttribute('name', 'game');
input3.setAttribute('value', scoreid);
gform.appendChild(input3);
var input4 = document.createElement('input');
input4.setAttribute('name', 'gtime');
input4.setAttribute('value', currentArcadeTime);
gform.appendChild(input4);
var input5 = document.createElement('input');
input5.setAttribute('name', 'gamesessid');
input5.setAttribute('value', scoretoken);
gform.appendChild(input5);
var input6 = document.createElement('input');
input6.setAttribute('name', 'popup');
input6.setAttribute('value', gamepop);
gform.appendChild(input6);
var input7 = document.createElement('input');
input7.setAttribute('name', 'smfgametime');
input7.setAttribute('value', scoretimex);
gform.appendChild(input7);
var input8 = document.createElement('input');
input8.setAttribute('name', 'gameSmfFullscreen');
input8.setAttribute('value', gamefull);
gform.appendChild(input8);
var input9 = document.createElement('input');
input9.setAttribute('name', 'gameexit');
input9.setAttribute('value', gameexit);
gform.appendChild(input9);
var input10 = document.createElement('input');
input10.setAttribute('name', 'html52');
input10.setAttribute('value', savetype);
gform.appendChild(input10);
document.body.appendChild(gform);
gform.submit();
document.body.removeChild(gform);
return true;
}
function Html52_scorepostSimple(href, named, scored) {
var currentArcadeTime = Math.floor(new Date().getTime() / 1000);
var gform = document.createElement('form');
gform.id = "anygameid";
gform.method = 'post';
gform.action = href;
gform.target = '_parent';
var input = document.createElement('input');
input.setAttribute('name', 'gname');
input.setAttribute('value', named);
gform.appendChild(input);
var input2 = document.createElement('input');
input2.setAttribute('name', 'gscore');
input2.setAttribute('value', scored);
gform.appendChild(input2);
document.body.appendChild(gform);
gform.submit();
document.body.removeChild(gform);
return true;
}
function saveHtml5GameHtml52(newhighscore, gamename)
{
var gamename = typeof gamename != "undefined" ? gamename : "";
if (parent.document.getElementById("gameSmfToken") && parent.document.getElementById("gameSmfToken").value)
var gameSessid = parent.document.getElementById("gameSmfToken").value;
else
gameSessid = "";

if (gameSessid != "")
{
var siteUrl = parent.document.getElementById("html5smfGameUrl").value;
var gameFull = parent.document.getElementById("gameSmfFullscreen").value;
var gameExit = parent.document.getElementById("gameexit").value;
var gameTimex = parent.document.getElementById("smfgametime").value;
var gameId = parent.document.getElementById("game").value;
var gname = parent.document.getElementById("game_name").value;
var gamePop = parent.document.getElementById("popup").value;
var gameSessid = parent.document.getElementById("gameSmfToken").value;
var gscore = parseInt(newhighscore);
var saveType = "html5";
var n = siteUrl.lastIndexOf("/");
//send data using Ajax
if (gameSessid && !sessionStorage.getItem("scoreLoop_" + gameSessid))
{
var newUrl = siteUrl.slice(0, n) + "/index.php?action=arcade;sa=html52Game";
sessionStorage.setItem("scoreLoop_" + gameSessid, new Date().getTime() / 1000);
Html52_scorepost(newUrl, gname, gscore, gameId, gameSessid, gameTimex, gamePop, gameFull, gameExit, saveType);
throw new Error("saving score...");
}
else
{
if (new Date().getTime() / 1000 - (sessionStorage.getItem("scoreLoop_" + gameSessid)) < 1)
throw new Error("saving score...");
else
throw new Error("");
}
}
else
{
var gameFrameSrc, arcadeHtml52Pop = getArcadeUrlParamHtml52("pop");
if (arcadeHtml52Pop == 1)
gameFrameSrc = window.location.href;
else
gameFrameSrc = typeof window.frameElement.src != "undefined" ? window.frameElement.src : "";
var gameSessid = parent.document.getElementById("gameSmfToken") && parent.document.getElementById("gameSmfToken").value ? parent.document.getElementById("gameSmfToken").value : "";
var gnameQuery = gameFrameSrc.substr(gameFrameSrc.lastIndexOf('/') + 1);
var gscore = parseInt(newhighscore);
var gname = gamename;
var gameId = parent.document.getElementById("game") && parent.document.getElementById("game").value ? parent.document.getElementById("game").value : 0;
var siteUrl = parent.window.location.href;
var n = siteUrl.lastIndexOf("/");
var newUrl = siteUrl.slice(0, n) + "/index.php?act=Arcade&do=newscore";
//send data using Ajax
if (gameSessid && !sessionStorage.getItem("scoreLoop_" + gameSessid))
{
sessionStorage.setItem("scoreLoop_" + gameSessid, new Date().getTime() / 1000);
Html52_scorepostSimple(newUrl, gname, gscore);
throw new Error("saving score...");
}
else if(siteUrl.includes("playgame"))
{
var o = siteUrl.lastIndexOf("/index.php");
var newInvisionUrl = siteUrl.slice(0, o) + "/index.php?act=Arcade&do=newscore";
Html52_scorepostSimple(newInvisionUrl, gname, gscore);
throw new Error("saving score...");
}
else
{
sessionStorage.setItem("scoreLoop_" + gameSessid, new Date().getTime() / 1000);
}
}
return false;
}
8
SMF Arcade Support + Plugins / Re: SMF Arcade 2.6.1 - Stable ...
Last post by origon - October 25, 2020, 05:57:31 AM
I am on it now, and it seem to work fine  :)
9
SMF Arcade Support + Plugins / SMF Arcade 2.6.1 - Stable Has ...
Last post by Chen Zhen - October 23, 2020, 10:24:38 PM
SMF Arcade 2.6.1 is now available in the download section.

The download link is here:
https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade

The changelog can be seen here:
https://web-develop.ca/index.php?page=arcade_changelog


Thanks to all that help contribute by beta testing, reporting issues/errors in the forum and for giving suggestions regarding its development.

We hope you & your users will enjoy the updated SMF gaming platform.

Please report any bug reports or issues in this section of the forum.
10
SMF Arcade Support + Plugins / Re: E-Arcade to SMF Arcade con...
Last post by Skhilled - October 22, 2020, 10:20:57 AM
Is it one of these packages???
Pages1 2 3 ... 10