Daily Lucky Numbers:
13
18
19
35
38
44

Ruffle

Started by Dave, September 19, 2021, 06:20:30 AM

Previous topic - Next topic

Dave

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..... ;)
If you want play quizzes or games click below

Listen to Quizland radio here

Dave

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
If you want play quizzes or games click below

Listen to Quizland radio here

Chen Zhen

#2
Ruffle'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.

vince

" I am going to introduce a way of updating them via arcade maintenance. "

Nice  8)

Dave

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
If you want play quizzes or games click below

Listen to Quizland radio here

Dave

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
If you want play quizzes or games click below

Listen to Quizland radio here

Dave

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.
If you want play quizzes or games click below

Listen to Quizland radio here

Ronald

Dave 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

Dave

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
If you want play quizzes or games click below

Listen to Quizland radio here

Chen Zhen


Ruffle 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).
 

Dave

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
If you want play quizzes or games click below

Listen to Quizland radio here