Daily Lucky Numbers:
3
13
20
31
34
48

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

Topics - Dave

#1
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
#2
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.

#3
SMF Arcade Support + Plugins / Game downloads
July 13, 2022, 05:28:52 PM
Sorry I can't remember if I've asked this before.

Is there a way to see who has downloaded games, and how many from the Arcade?

Thanks
#4
EhPortal Support / Smileys [more]
July 10, 2022, 02:59:29 AM
SMF2.1.2
PHP7.4

There is an issue with the [more] option within the smileys in the shoutbox (V1.35).

If you click on the smileys icon then on the [more] button the pop up opens but when you try to select a smiley nothing happens, it's not entered into the message box. At the bottom of the box

You can see this on the test site Chen. I have also uploaded a screenshot
#5
EhPortal Support / EH Feature Request
April 27, 2022, 07:17:17 AM
With Tiny Portal they have an 'Edit Block' icon on the title bar of each block editblock.png

Is it possible for that to happen with EhP please? Something similar to one of these maybe settings 64.png

I know you're busy, just if and when you can please.
#6
EhPortal Support / BBC icons
April 24, 2022, 06:18:40 AM
SMF2.1.1
EHPortal 1.34

I've noticed that when you add the 'color' bbcode to the list it doesn't show an icon for it on the shoutbox.

Does anyone know if it's a bug or is it meant to be that way?

Using the code [color] does actually work, but you have to do it manually.

And what is the [me] code for?

Regards

Dave

In case you're wondering I have been tinkering with the colours in the css  ;)
#7
EhPortal Support / Shoutbox smileys error
April 19, 2022, 01:30:36 PM
When you click on the 'More' button for smileys, the popup window opens, but you are not able to choose a smiley as there is a JS error.
#8
SMF Arcade Support + Plugins / Game Posting
December 29, 2021, 08:27:53 AM
Ignore this please. Sorry but I misunderstood the 'Game Posting' option. I thought it was for others to upload games to the site for inclusion to the arcade...which in thinking about it wouldn't really be that safe...although when you download from other sites they might not be safe either.

Anyway the upshot is you can delete this post if you want to
#9
I have set up the Azure API and input all the data to the arcade settings, api.PNG
(I have shortened the subs key)

I was under the impression that the app would translate the game info from the php file 'gwords' description to english.

Am I wrong? If so could the reason be that when creating the API I set it up as Linux rather than Windows or that I'm using 'UK South' as the region code?

Uninstalled games:

When I uninstall a game now the name of the game is not shown in the info window. It does when a game is installed.

games.PNG

Dave

PS I've done these both on the same post so as not keep posting.
#10
SMF Arcade Support + Plugins / Ruffle update
December 17, 2021, 03:32:33 AM
I updated Ruffle using the built in arcade updater and when you use the 'Retrieve Github Ruffle Update' the .wasm file has no content, 0 kb.

I also uploaded todays Ruffle update (donwnloaded today from Ruffle page) using the browse option and when it uploads and auto extracts that too has no content.

The only way, for me at least, to ensure the update is done correctly is to do it manually via ftp.

I think the problem is that when the updates are extracted they're extracting a folder rather than the files because when I auto extract the files they go into a folder. If I then take all the extracted files and create a new archive the update works OK.

Just thought you should know

#11
SMF Arcade Support + Plugins / More strange happenings
November 24, 2021, 03:35:05 AM
Everything is working fine until I decide to upload new games via the html5 uploader (using the standard uploader is fine)

I have found out, through process of elimination, that the uploader will not function while I have the 'Friends Of Quizland' scrolling block running. The block is part of Simple Portal 2.3.7. If I disable the block in the portal settings then it's fine and I can upload game files. The code is as follows;

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">
$(document).ready(function() {
    var ob = $('.scrollingtext');
    var speed = 100000;
   
    ob.bind('marquee', function() {
        var tw = ob.width();
        var ww = ob.parent().width();
        ob.css({right : -tw });
        ob.animate({ right: ww }, speed, 'linear', function() {
        ob.trigger('marquee');
        });
    }).trigger('marquee');
   
    ob.hover(function() {
        ob.stop();
    }, function() {
        var tw = ob.width();
        var ww = ob.parent().width();
        var cur = parseInt(ob.css('right'), 10);
        var speedDecrease = 1 - ((cur + tw) / (ww + tw));
        ob.animate({ right: ww }, speedDecrease * speed, 'linear', function() {
        ob.trigger('marquee');
        });
    });
});
    </script>
   
<style>
.scroll{
  width:100%;
  height:201px;
 text-align: center;
  overflow:hidden;
  position:relative;
}

.scrollingtext{
  white-space:nowrap;
  position:absolute;
 }
</style>
<div style="color:blue; text-align:center"><strong>If you would like to see your logo here contact <a href="https://www.quizland.co.uk/index.php?action=profile;u=1" target="_blank">Dave</a> by PM</strong></div>

<div class='ipsWidget_inner ipsPad' style='padding:5px;'>
<div class="scroll">
    <div class="scrollingtext">

<a href="https://www.shirleyjphotography.co.uk" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/shirl.png" border="0" alt="Shirley J Photography"/></a>

<a href="https://ronaldsarcade.com/" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/ronald.png" border="0" alt="Ronalds Arcade"/></a> 
&nbsp;
&nbsp;
&nbsp;         

<a href="https://www.Visit-u-Valet.co.uk" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/valet.png" border="0" alt="Visit-U-Valet"/></a>

<a href="https://www.davejohnson.co.uk" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/hobby.png" border="0" alt="Hobby Workshop"/></a>

<a href="https://web-develop.ca/" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/webdev.png" border="0" alt="WebDev"/></a>

<a href="https://www.gardenguru.co.uk" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/gg.png" border="0" alt="Garden Guru"/></a>


<a href="https://www.alwayshobbies.com" target="_blank"><img src="https://www.quizland.co.uk/images/adpics/hobbies.png" border="0" alt="Always Hobbies"/></a>

 </div></div></div>

<div style="text-align: center;"><a href="https://www.quizland.co.uk/index.php?topic=56" target="_blank"><img src="https://www.quizland.co.uk/images/disclaimer.gif" border="0" alt="External Link Disclaimer"/></a></div>
#12
SMF Arcade Support + Plugins / Strange happenings
October 26, 2021, 02:52:12 AM
A couple of weeks ago I happened to see my usual cron backup ran at over 1GB. I investigated and found that the 'games_download' folder had over 800MB of files in it. As I was pretty sure these files were now not needed as the games were installed I deleted them.

Yesterday the cron job ran and for some reason the files have returned. See attached images of what I mean. I haven't run a restore on my files so this is a bit odd.

Do the files need to be there or can I delete them again?
#13
SMF Arcade Support + Plugins / Ruffle
September 19, 2021, 06:20:30 AM
I seem to have a lot of flash games that will now not work and come up with the 'Ruffle' error. I have checked in 'Admin' to ensure that '+& Added: Ruffle Emulator library to allow flash support (can be disabled in Admin)' is not disabled and it's not. So not sure why this is happening as almost all my games were tested to see if they were mobile friendly and the descriptions were edited to say whether they are or not.

At present I am just reporting the games so they come off the board temporarily.

Will ruffle be updated separately or when there is an arcade update?

Also has anyone noticed the ruffle site now doesn't allow downloads of the 'Browser Extension' or 'Website self hosting files'?

Answers on a post card to..... ;)
#14
SMF Arcade Support + Plugins / Mobile compatibility
August 14, 2021, 05:35:23 AM
Hi all,

I occasionally use my Samsung Tab S6 to play games on my site if I'm out and about. When I log in to the site I go to Arcade and the layout is huge and virtually all white (and I've tested it here too). I've attached a couple of screenshots so you can see it. It happens on all themes even the SMF default.

If I click on the 'View desktop site' option on the tablet it then shows as normal.

Now I'm not sure if this is an SMF issue or if it's the Arcade. The Quiz works as normal as does everything else.

Anyone have any idea what might cause this?

Screenshot_20210814-082300_Edge.jpg

Dave

#15
SMF Arcade Support + Plugins / Theme issue
August 06, 2021, 06:45:54 AM
Hi

I know in theory I should go to the themes creator, I signed up to the Fussilet's site but cannot see anywhere to get support for this issue.

I really would like to use the attached theme 'Lamartine' as my default for my site but for some reason it will not allow the games to play.

I have put the ruffle code into the index.template but all I get is a blank area where the game should play.

Games work on other themes but for some reason not on this one.

Can anyone help please?
#16
SMF Arcade Support + Plugins / File downloads
May 26, 2021, 05:21:35 AM
Hi me again,

I have searched for the question here to see if it's been posted before but it doesn't seem to have been.

Is there anywhere in the Arcade mod that you can see which member downloaded a game file?

I tested it out with my alter ego on my site and downloaded 2 games. I then logged back in as me and looked in the alter ego profile under the 'Arcade Statistics' but nothing was seen and I have checked and the games show there have been downloads, see attachment.

I know that with the ipsproarcade you can see who downloaded so I was wondering if I've missed something somewhere?

down.PNG
#17
SMF Arcade Support + Plugins / cancel.png icon
May 24, 2021, 03:02:10 AM
Just to let you know that in the 2.64 version the 'cancel.png' icon in 'arc_icons' folder has a capital 'C' and according to the code it should be lowercase.
#18
SMF Arcade Support + Plugins / Date
May 14, 2021, 12:13:11 PM
Does anyone know where the date format is for the Arcade please?

It doesn't seem to be linked to the site date as mine is set to the way we set the date in the UK- Day:Month:Year

I have looked in the arcade css but cant see it in there, I have also had a look in the templates and even in some of the scripts searching for 'date' but I can't find anything.

Thanks for any help

Dave
#19
Hi Chen,

Another question for you.

Looking at the growing size of the 'Games' folder on my site. Is it possible to have multiple folders for the storage?

The reason I ask is that I use 'XCloner' to run cron jobs to back up the whole site, at the moment once a week. The size of the last backup was around 1GB and it's growing all the time. As you can see from this screenshot size.PNG

With the 'Downloads Pro' mod there is an option to enable multiple folders down.PNG

In the settings for the XCloner I can 'Excluded Directories' which means once a folder is full I can stop that folder from being backed up as it no longer gets populated with new files, therefore the size of my backup is reduced from time to time.

Thanks and regards

Dave

#20
SMF Arcade Support + Plugins / Subscriptions
May 02, 2021, 09:46:23 AM
Hi Chen

On Ronald's arcade he has set it up for different membergroup subscriptions to be able to download the game files, limiting the amount they can download by what they are willing to pay for the privilege of doing it.

I have tried to sort this out on SMF but cannot do it. I can obviously set up the membergroups which I have done on my test site, even to the point of giving them the images, but when it comes to SMF Arcade permissions there is no option to limit the amount of downloads for each group. It seems it's an across the board setting for all membergroups

Now I have a few games installed, only 300 ish, I have enabled the 'Download' option but I thought I might do the same thing. I have set the current download limit to 5

Is Ronald's settings something that's easy to add in the future?