Daily Lucky Numbers:
7
11
17
21
28
29

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.

Messages - Dave

1
SMF Arcade Support + Plugins / Re: Ruffle
September 28, 2021, 11:59:19 AM
Quote from: Chen Zhen on September 24, 2021, 06:37:29 PMRuffle has the working browser release for download again.
You need 3 files... ruffle.js, ruffle.js.map & XXXXX.wasm (the wasm file has a different scrambled name each release).
 

Thanks I have updated mine
2
SMF Arcade Support + Plugins / Re: Ruffle
September 24, 2021, 05:17:20 PM
Quote from: Ronald on September 24, 2021, 11:59:37 AMDave if you get an error when opening a flash game, check the game, if it's a AS3 or V32 game, ruffle will toss an error.

In order to play the  v32 and AS3 games, you'll need to use Palemoon Browser


Thanks Ronald
3
SMF Arcade Support + Plugins / Re: Ruffle
September 20, 2021, 06:55:45 AM
I started from scratch on my test site with the flash games working on the Lamartine theme. I gradually added or omitted the code in the index.template and index.css files and have now managed to get it all working as it should on the quiz site.

I haven't got the foggiest notion why it failed in the first place, but there you go.
4
SMF Arcade Support + Plugins / Re: Ruffle
September 20, 2021, 04:01:34 AM
Ok I have removed all instances of ruffle code in the index templates but for some reason the Lamartine2 theme will still not play flash games, the SMF default and one of Crip's old themes 'Epic2' that I'm messing with work fine.

I'm going to play some more with the index.template as I believe this is where the problem is, I'll try the original template that came with the theme to see if it works and then go from there.

Thanks for the replies
5
SMF Arcade Support + Plugins / Re: Ruffle
September 19, 2021, 05:12:28 PM
Quote from: Chen Zhen on September 19, 2021, 10:09:54 AMRuffle's web hosted files have been temporarily halted due to coding issues at the source.
The most recent working files are from Sept. 14th.
When those files are available you can update them manually by downloading the package and extracting only the ruffle.js and XXXXX.wasm files. Delete the ones in the arcade arcade_scripts/ruffle directory and replace them with the new ones.
I am going to introduce a way of updating them via arcade maintenance.

QuoteIt's worth noting that the ruffle code is still in the SMF Default index.template.php

You should not have any ruffle.js file inclusion in your SMF main index.template.php file.
The arcade ensures the file is loaded in its game template and having it load twice will cause errors.
Attempt to remove that edit to your main SMF file, clear the browser cache, use the default SMF theme and test it again.




Note: Air Sk8ing currently works on this website.

Thanks for the reply.

I'll check it all out in the morning.

The ruffle update idea is a good one
6
SMF Arcade Support + Plugins / Re: Ruffle
September 19, 2021, 06:52:07 AM
OK it seems the ruffle error is related to the Lamartine theme I'm using for some reason. It works fine on SMF Default.

I have checked and although I did delete the code for the index.template.php, as the ruffle code was now built into the Arcade 2.6.5 version, I have now added it again but it still doesn't work. It's worth noting that the ruffle code is still in the SMF Default index.template.php

There is nothing in either the server error log nor the site log. This is the ruffle error I get:

(names have been changed to protect the guilty)

# Error Info
Error name: TypeError
Error message: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
Error stack:
```
TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
    at Themes/default/arcade_scripts/ruffle/ruffle.js:1:37174
    at n (Themes/default/arcade_scripts/ruffle/ruffle.js:1:37257)
```

# Player Info
Allows script access: true
Player type: Object
SWF URL: Games/air_sk8ing/air_sk8ing.swf
Attribute 0: undefined
Attribute 1: undefined
Attribute 2: undefined
Attribute 3: undefined
Attribute 4: undefined
Attribute 5: undefined

# Page Info
Page URL: /index.php?action=arcade;sa=play;game=321;reload=8944;#playgame

# Browser Info
Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 Edg/93.0.961.52
OS: Win32

# Ruffle Info
Version: 0.1.0
Name: nightly 2021-08-14
Channel: nightly
Built: 2021-08-14T00:10:27.353Z
Commit: 5dee7f163c4ba033ba747079533fd4d588e679d9
Is extension: false
7
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..... ;)
8
Since you updated it on my site it's working fine with no errors UD.
9
Quote from: Chen Zhen on August 15, 2021, 09:30:49 PMIf you are capable of developing your own then you can use the following info for reference:
https://web-develop.ca/index.php?page=arcade_hook_usage

I wish I was that clever UD

Thanks again for the help

Dave
10
Thanks  UD

I have set the settings to 'Detection Disabled' and the way I see it on my mobile now is as the attachments, which is better as it shows more games in the list below.

Where would a custom theme for the Arcade be stored?

Screenshot_20210815-074157_Edge (Copy).jpg
11
Quote from: Chen Zhen on August 14, 2021, 01:56:05 PMThe one thing I can do is to have an option in the arcade itself to switch modes and have it save that option in the user's arcade profile.
Options for mobile view, desktop view or automatic.

That sounds like a good plan. I did look on SMF theme site to see if there were any mobile themes, but they are very limited.

Thank UD
12
Quote from: Dave on August 14, 2021, 05:35:23 AMHi 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




Sorry I should have resized the attachment  :-[
13
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

14
SMF Arcade Support + Plugins / Re: Theme issue
August 14, 2021, 03:03:29 AM
Quote from: Chen Zhen on August 13, 2021, 08:27:04 PMUninstall that theme and upload the new file that is attached to this post.
I figured out exactly what was causing all the white space in the admin and fixed it properly this time.

All done thanks UD.

Again give me a link to be able to donate a beer to the cause please.

Dave
15
SMF Arcade Support + Plugins / Re: Theme issue
August 09, 2021, 01:28:23 AM
Quote from: Chen Zhen on August 08, 2021, 08:50:31 PMI installed the latest RC of the Arcade on your website and the flash games appear to be working fine now using that theme.
It has a recent nightly build version of the emulator built in among some other additions and fixes.

Let me know if it's also working for you now.

Brilliant UD everything is working as it should. I have also re-instated the portal blocks and it's still ok.

Thank you very much

regards

Dave