September 23, 2021, 08:30:03 PM

Daily Lucky Numbers:
5
13
24
30
40
42

Recent posts

Pages1 2 3 ... 10
1
SMF Arcade Support + Plugins / Re: Ruffle
Last post by Dave - 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.
2
SMF Arcade Support + Plugins / Re: Ruffle
Last post by Dave - 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
3
SMF Arcade Support + Plugins / Re: Ruffle
Last post by Dave - 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
4
SMF Arcade Support + Plugins / Re: Ruffle
Last post by vince - September 19, 2021, 04:55:34 PM
" I am going to introduce a way of updating them via arcade maintenance. "

Nice  8)
5
SMF Arcade Support + Plugins / Re: Ruffle
Last post by Chen Zhen - September 19, 2021, 10:09:54 AM
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.
6
SMF Arcade Support + Plugins / Re: Ruffle
Last post by Dave - 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
Last post by Dave - 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
SMF Arcade Support + Plugins / Re: Mobile compatibility
Last post by Skhilled - September 16, 2021, 06:42:19 AM
Ok, after checking things out I've realized that my assumption of putting the skins, css, etc. in the arcade's /Theme directory was because I first took a look at the arcade's zip file which includes an actual /Themes. After looking at a live site it dawned on me that those files actually go into SMF's /Theme/default...duh! I think I was tired when I checked and wasn't paying attention. LOL

However, it may make sense for the arcade to have a /Skins directory with everything in it on a live site. It would make it easier to tell the difference between skins and lists from a coding perspective. For instance, SkinA would be:

/root-forum-directory/Arcade/SkinA/css
/root-forum-directory/Arcade/SkinA/scripts ...etc.

This would be for each skin to keep them separated. It would increase the number of files on a site, tho...
9
SMF Arcade Support + Plugins / Re: Mobile compatibility
Last post by Skhilled - September 14, 2021, 12:01:40 PM
I'll give it a shot...
10
EhPortal Support / Shout box block
Last post by vince - September 13, 2021, 12:31:09 PM
I think this was fixed on older versions but now on smf rc 4 and latest portal it's happening again
Pages1 2 3 ... 10