Daily Lucky Numbers:
4
5
23
25
26
38

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dave

#1
SMF Arcade Support + Plugins / Re: High Score shouts
August 13, 2022, 02:52:21 PM
Quote from: Chen Zhen on August 13, 2022, 11:48:49 AMYou need to set the "Auxiliary User ID" in arcade settings so it knows which user id is posting in the shoutbox.
You can use user id number 1 or perhaps create a user named ArcadeBot and use its id number for that setting.


I don't remember seeing that in the instructions ;)


Thanks again Chen
#2
SMF Arcade Support + Plugins / Re: High Score shouts
August 13, 2022, 11:42:49 AM
Quote from: Chen Zhen on August 13, 2022, 11:28:52 AMIt has something to do with the sub-directory since I am able to reproduce the issue on a local installation that has that environment.
I am working on a solution & will let you know when I have a fix/update for it.

Thanks for the report.

Thank you Chen
#3
SMF Arcade Support + Plugins / Re: High Score shouts
August 12, 2022, 04:28:14 AM
What I cannot understand is why it works on the EH Portal shoutbox on the test site and here but it wont shout to the Arcade shoutbox ???


UPDATE: I'm at a total loss with this. On the test site I uninstalled the most recent version, cleared all the tables and then installed v2.6.8  and still the shouts don't show.

I might get it if the test site and the main site are on the same host but they're not. I'm going to turn off the shouts so it doesn't bug me anymore
#4
SMF Arcade Support + Plugins / Re: High Score shouts
August 12, 2022, 02:36:01 AM
Quote from: Chen Zhen on August 11, 2022, 10:43:31 PMIt's working on this site & locally.
Are you sure you have the appropriate boxes checked in your Arcade admin settings?

I tested it on here and it shouted my score and I can see it has for others too.

Yes all ticked as should be, although I didn't check the arena or guest box, but now I have it still doesn't work on either the main site or the test site. It's not just me either any scores people make are not being shouted.
#5
SMF Arcade Support + Plugins / High Score shouts
August 10, 2022, 04:12:38 AM
I activated the shout box for Enterprise C and it works for shouts, but even with the 'Shout Member Scores' activated no scores are being posted.

Is there a setting I'm missing?


It should be noted that I can't get it to work on the test site either.


UPDATE: The scores do register on the EH Portal shout box if that helps
#6
SMF Arcade Support + Plugins / Re: Arcade has gone
August 09, 2022, 02:34:43 AM
Thanks Chen
#7
SMF Arcade Support + Plugins / Re: Arcade has gone
August 08, 2022, 12:05:25 PM
There was a glitch this morning with Ruffle, I updated it from the Ruffle site and now it seems to be working. But I can't honestly say it was anything to do with the Arcade itself though as it was working with Firefox,Edge and Chrome but not with Brave.
#8
SMF Arcade Support + Plugins / Re: Arcade has gone
August 08, 2022, 01:15:55 AM
Great idea Chen
#9
You area very clever man.

Since changing to the new host, when a game is played the submit button, if there was one, took you straight to the forums main page. So I followed your instructions above and added the .htaccess file to the domain, then low and behold I can now score games again.

Thank you very much
#10
SMF Arcade Support + Plugins / Re: Arcade has gone
August 07, 2022, 03:53:39 AM
    Quote from: Chen Zhen on August 06, 2022, 11:04:43 PMThere are several things that can cause issues as you describe.

    • Mod-Security should be disabled
    • Forum paths & directories should be checked/adjusted
    • Arcade paths & directories should be checked/adjusted
    • Forum cache settings may need to be adjusted
    • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
    • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
    • Improper SSL (HTTPS) settings
    • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
    • forum resides in a sub-directory that may need a server config file in the parent directory

    There's also another type of cache that people sometimes install for the server itself but it's name slips my mind at the moment. I don't think you have that installed though because it causes problems with SMF itself just like Mod-Security.


    • Mod-Security should be disabled
    Now disabled though .htaccess
    • Forum paths & directories should be checked/adjusted
    Checked with repair settings. The only issues here were change cookie and Queryless URLs: was on now it's off. All other paths correct
    • Arcade paths & directories should be checked/adjusted
    All correct
    • Forum cache settings may need to be adjusted
    All correct
    • Any improper JavaScript (showing errors in the console) from other sources may cause conflicts
    None evident
    • Server config file may be necessary (ensure it exists after creation): Admin -> Arcade Maintenance -> Server Config
    Cannot be seen
    • Improper SSL (HTTPS) settings
    All correct
    • Improperly configured server config file ( ie. .htaccess ) in your main forum directory
    This was causing the scoring issue but not the arcade gone one
    • forum resides in a sub-directory that may need a server config file in the parent directory
    AFAIK forum not is sub directory


    I looked at all of those and as you can see there was very little wrong. However I have managed to get the arcade back and to do that I went to phpmyadmin and looked at my settings table. There towards the end is a variable 'arcadeEnabled' which when I arrived was on '0' after changing that to '1' miraculously the arcade appeared.

    Now it seems to me that this must be an error with the arcade coding as surely even if the arcade was disabled in admin so it can't be seen on the site, it should still be seen in admin.

    I have now played the 'Tire Toss' game and it scores OK so ruffle is working OK. It's probably the mod_security or the .htaccess file you mentioned that messed it up in the first place.

    Thanks for the check list of what to search for. I'll leave the other bit to you ;)

    You see below the screenshots I took along the way

    [/list]
    #11
    SMF Arcade Support + Plugins / Arcade has gone
    August 06, 2022, 05:49:37 PM
    It all started so well. I transferred the site files to the new host and uploaded the games etc and most of it was working.

    Then earlier today suddenly some games in the arcade decided to stop scoring and displaying 'Oops, looks like the page is lost at the endsubmit' which is the hosts 403 error.

    Then Ruffle decided to stop working and a game, Tiretoss, that I tested and got a score on would not work having a Ruffle error screen where the game should be.

    I then checked that all the hooks were there, which they were, then I thought I'd update Ruffle from the Github as the link to your server timed out. The update worked ok but the Tiretoss would still not play.

    So my last resort was to disable the arcade in it's settings and thought I'd have a look tomorrow. But I cannot leave it so I uninstalled Arcade via the Package manager deleted the file and then checked all the templates it writes to so make sure all traces of it were gone.

    They were all gone, all the hooks had been removed also.

    So I then reinstalled the Arcade with the latest version and although it shows in the package manager as installed I cannot see it in Admin. The 12 hooks have been installed and all the folders associated with it are there to but nothing can be seen in admin.

    It's late here so I'm going to bed

    So the question is what do you think the issue might be?

    regards
    #12
    Releases & Version Updates / Re: SMF Banner Bar
    August 04, 2022, 01:57:56 PM
    Thanks Chen
    #13
    Thank you Chen

    Did as you said. Installed 2.6.9.1 and then uploaded games in PHP7.4 and ran OK.

    Upgraded to PHP8.0 and installed another game and playing all OK no errors at all.
    #14
    Hi Chen

    SMF2.1.2
    PHP8.0 *
    Using SMF default theme.

    For some reason I get these errors in the server log, some of them are following an attempt by the Arcade to write a score for a game, the more recent ones are from uploading a game.

    If I revert to 2.6.7 it works OK and the game scores are saved with no errors, but I cannot upload games, I get the error as in the last code box.

    UPDATE: * I have reverted the site back to PHP7.4 re-installed 2.6.9 and all the errors stop.


    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /******/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /******/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /******/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /******/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785
    [30-Jul-2022 12:50:13 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php:3785
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /******/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /******/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /******/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /******/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785
    [30-Jul-2022 12:50:27 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php:3785
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /******/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /******/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /******/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /******/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785
    [30-Jul-2022 12:50:54 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php:3785
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /******/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /******/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /******/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /******/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785
    [30-Jul-2022 12:55:09 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php:3785
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /******/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /******/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /******/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /******/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /******/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785
    [30-Jul-2022 13:04:52 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026
    [30-Jul-2022 13:13:25 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026
    [30-Jul-2022 13:15:34 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026
    [30-Jul-2022 13:15:56 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026
    [30-Jul-2022 13:17:35 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026
    [30-Jul-2022 13:24:05 Europe/London] PHP Fatal error:  Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /******/quizland/public_html/ArcadeSources/ArcadeGame.php:1026
    Stack trace:
    #0 /******/quizland/public_html/ArcadeSources/ArcadeGame.php(1026): abs('')
    #1 /******/quizland/public_html/Sources/Arcade.php(611): ArcadeHighscore()
    #2 /******/quizland/public_html/index.php(191): Arcade()
    #3 {main}
      thrown in /******/quizland/public_html/ArcadeSources/ArcadeGame.php on line 1026

    Stack trace:
    #0 /home1/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php(3785): abs('516M')
    #1 /home1/quizland/public_html/Sources/ManageGames.php(848): arcade_return_bytes('516M')
    #2 /home1/quizland/public_html/Sources/ManageGames.php(80): ManageGamesUpload()
    #3 /home1/quizland/public_html/Sources/Admin.php(501): ManageGames()
    #4 /home1/quizland/public_html/index.php(191): AdminMain()
    #5 {main}
      thrown in /home1/quizland/public_html/ArcadeSources/Subs-ArcadeAdmin.php on line 3785

    The site gets 'HTTP ERROR 500' with the above upload attempt.

    #15
    SMF Arcade Support + Plugins / Re: Game downloads
    July 26, 2022, 01:27:36 AM
    Quote from: Chen Zhen on July 26, 2022, 12:19:43 AMSMF Arcade v2.6.9 now has this data displayed in a member's profile summary.


    Thanks Chen. I'm off for my operation today so I'll backup and install it when I get home, hopefully, tomorrow