WebDev

SMF Arcade => SMF Arcade Support + Plugins => Topic started by: Chen Zhen on February 12, 2022, 01:00:13 AM

Title: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 12, 2022, 01:00:13 AM
SMF Arcade 2.6.7 is now available in the download section.

This version includes many updates and bug fixes.

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 bugs or issues in this section of the forum.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 16, 2022, 02:47:09 AM
Just a small thing.

I have v2.6.7 installed but all the info in the admin shows v2.6.6.

Not a biggy but thought you should know
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 23, 2022, 07:07:24 AM
I have just updated the site to SMF 2.1.1 and I'm getting an error, as seen below.

I have run repair_settings. I have been into maintenance and done everything in there but it still keep popping up every 1 minute. I also removed the shouts from the database table but it's still happening every minute.



Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 04:50:00 PM

That error is showing on several different parts of your forum.
If you backtrace one of those json errors from a page that is not arcade related, it doesn't reference the arcade.
IMO this is something else causing the error.


Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 04:52:19 PM
PHP has a function to look at recent JSON errors.
I don't have permission to run a PHP block on your forum else I would have tested this myself.

ref.
https://php-legacy-docs.zend.com/manual/php4/en/function.json-last-error
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 23, 2022, 05:14:01 PM
If I was to run the upgrade again would that help to clear it? I don't know what to do with that link you posted
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 05:21:07 PM

With your portal you can run PHP code by creating a PHP block that is not active.
Then you punch in some code and use preview to test it.



I see you emptied your other shoutbox.
Is that other shoutbox part of TinyPortal?
Are you having issues with people posting smileys from their smart phone?
I saw your comment in it & am wondering if you are having an issue like that?
This may be the cause of your error.
I can fix it..
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 23, 2022, 05:33:38 PM
Quote from: Chen Zhen on February 23, 2022, 05:21:07 PMWith your portal you can run PHP code by creating a PHP block that is not active.
Then you punch in some code and use preview to test it.



I see you emptied your other shoutbox.
Is that other shoutbox part of TinyPortal?
Are you having issues with people posting smileys from their smart phone?
I saw your comment in it & am wondering if you are having an issue like that?
This may be the cause of your error.
I can fix it..


Ok I think I get the idea about the link.

Before I did the upgrade I uninstalled all the themes and packages, this includes Nibogo's shoutbox, but his shoutbox leaves behind database tables which I didn't remove from the database so could that be the issue.

If not I did a backup of the site and the database so I might just revert back and start again. I did activate the arcade shoutbox briefly and post 2 messages in it, then I disabled it again. When the error messages appeared I deleted the messages directly from the database table. The TP shoutbox hasn't been used on the site before today.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 23, 2022, 06:20:49 PM
Ok I tried to sleep and couldn't, so I go the site and no errors...what did you do  ;D

Whatever it was thank you
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 07:18:41 PM
I didn't do anything except activate & test the arcade shoutbox.
Also, I thought you cleared the error log because it wasn't me.

If you look at the moderation log it doesn't show anyone clearing the error log.

Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 23, 2022, 07:30:39 PM
Quote from: Chen Zhen on February 23, 2022, 07:18:41 PMI didn't do anything except activate & test the arcade shoutbox.
Also, I thought you cleared the error log because it wasn't me.

If you look at the moderation log it doesn't show anyone clearing the error log.



Hmmm...how odd is all that then. I did clear the log prior to going to bed as it was showing 300+ errors, when I went back I expected to see anther load but there were none. If the arcade shoutbox is disabled does the error come back?
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 07:54:34 PM

There was approx. 64 errors when I checked your site about 2 hours ago but they are gone now.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 07:59:36 PM

IMO it was likely nneonneo's shoutbox.
That mod is old and unless someone updated it for 4 byte emoji's, those will likely jam it up.
All someone had to do was use an emoji from their smart phone & it will likely crash it.
It's easily amended if you know how to do it.
I used a wordpress code for my EhPortal shoutbox.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 23, 2022, 08:38:57 PM

If the error comes up again let me know.
Post the reference line to Load.php because I forgot which one it was  ???
I think it had something to do with a funny character in a cache file and I'm thinking it might be a SMF 2.1 glitch that may need to be fixed.

Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 24, 2022, 02:06:55 AM
I've just been there and the only errors are ones related to a guest trying to register and giving an sslredirect error.

Thank you very much for looking into and fixing it. In the mean time I'll delete the tables for the old shoutbox
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on February 24, 2022, 07:05:47 PM

I can always fix the older shoutbox if you really like it.
Unless the TP shoutbox is ok.
You might need to edit the user permissions for that TP shoutbox because I was only able to read the shouts.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on February 26, 2022, 11:31:08 AM
Quote from: Chen Zhen on February 24, 2022, 07:05:47 PMI can always fix the older shoutbox if you really like it.

Yes please
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: FrizzleFried on March 07, 2022, 01:53:13 AM
Oddly... I can play flash games without issue,  but I can not play any H5 games.  Is there something I need to do to configure my system to play H5 games?
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on March 08, 2022, 03:11:21 AM
I get the errors shown in the error log attached from guests. Now I'm not sure if this is an SMF issue or an Arcade issue (it references arcade;ssl in the error). The settings I have for SSL are as seen below

I'm going to temporarily disable ssl and see what happens.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on March 12, 2022, 06:12:10 PM
My apologies for the late replies as I have been preoccupied with other things.

@FrizzleFried:
As long as you're using an up-to-date browser then it should work fine.
Other things on the arcade page from mods or manual edits can sometimes conflict with JavaScript which may cause your problem.
If the HTML5 game plays here on this arcade then download it and try it on your arcade.
If it doesn't work then on that arcade page you can right-click & inspect (developer mode) the page in your browser.
Use the "console" option to view JavaScript errors. This will likely provide clues as to what is wrong.

@Dave:
I will investigate your report although this does not occur on this forum.
However I may have different settings for guests.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: FrizzleFried on March 12, 2022, 10:24:41 PM
New SMF 2.1.1 install with only 12 mods running (mostly with hooks)...

New browser (of course).

Flash games work great (95% of them anyway).

HTML 5 games... just a blank screen.

I've downloaded the HTML 5 pack here thinking maybe I had the wrong ones.... same result.

I am at a loss.

I'll check the developer console.  Thanks.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Chen Zhen on March 13, 2022, 01:53:02 AM

I can take a look myself if it's a live arcade forum.
The only link I see on SMF forum's under your user-name points to idahogaragecade but I don't know the sub-path to a possible SMF forum if one exists.
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: FrizzleFried on March 14, 2022, 10:40:02 AM
This is the error I am getting in the console when I run a HTML5 game downloaded from a gamepack here in it's own window...

QuoteMixed Content: The page at 'https://www.aha-forums.com/index.php?action=arcade;sa=play;game=307;pop=1;full=0' was loaded over HTTPS, but requested an insecure frame 'http://www.aha-forums.com/Games/2048/2048.html'. This request has been blocked; the content must be served over HTTPS.

Now,  looking at it,  I went in and noticed that my setting for URL TO GAMES setting in the Arcade Admin section had HTTP:// versus HTTPS:// ...

A switch to HTTPS:// and... HTML5 games are working!!

Woo hoo!

:)
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on March 14, 2022, 10:58:46 AM
Quote from: FrizzleFried on March 14, 2022, 10:40:02 AMThis is the error I am getting in the console when I run a HTML5 game downloaded from a gamepack here in it's own window...

QuoteMixed Content: The page at 'https://www.aha-forums.com/index.php?action=arcade;sa=play;game=307;pop=1;full=0' was loaded over HTTPS, but requested an insecure frame 'http://www.aha-forums.com/Games/2048/2048.html'. This request has been blocked; the content must be served over HTTPS.

Now,  looking at it,  I went in and noticed that my setting for URL TO GAMES setting in the Arcade Admin section had HTTP:// versus HTTPS:// ...

A switch to HTTPS:// and... HTML5 games are working!!

Woo hoo!

:)

Good news FF
Title: Re: SMF Arcade 2.6.7 - Stable -> Released!
Post by: Dave on May 06, 2022, 03:31:48 AM
I have just noticed that the search function in 2.6.7 in the Arcade>Admin>Edit Games, doesn't seem to work at all, not even an error.

As you will see from the screenshot, I searched for 'Aquacubes' which I know is there, but the screen just reverted to the default first page.
EhPortal 1.39.6 © 2024, WebDev