Advertisement:

Author Topic: SMF Arcade  (Read 1716000 times)

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 61
Re: SMF Arcade
« Reply #5200 on: April 12, 2019, 05:59:08 PM »
I had a problem after installing version 2.56.12 from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

Chen zen answered me on his forum that I had to enable the mbstring extension

How to Enable mbstring in cPanel

1) Login to cPanel.

2) Go to the section 'Software'.

3) Click the icon 'Select PHP Version'

4) Select the php extension 'mbstring'.

5) Click the button 'Save'.



Although now when I upload a game pack and install it through the admin section the games don't show up. I downloaded the smf gamepacks from invision. I tried 2 different gamepacks and the same thing happens. After installing it just disappears from all lists in the admin section and doesn't either show up on the arcade page either.

Although in cpanel I can see it in the games folder.

I'm getting two errors in error log

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

and

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

Hopefully he'll see my question here like last time :)

Offline Dave J

  • Full Member
  • ***
  • Posts: 450
    • The Hobby Workshop
Re: SMF Arcade
« Reply #5201 on: April 14, 2019, 03:54:45 AM »
Although in cpanel I can see it in the games folder.

I'm getting two errors in error log

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

and

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

Hopefully he'll see my question here like last time :)

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
All the Quiz info is here

Offline hipp0

  • Newbie
  • *
  • Posts: 7
Re: SMF Arcade
« Reply #5202 on: April 14, 2019, 09:32:54 AM »
Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 61
Re: SMF Arcade
« Reply #5203 on: April 14, 2019, 04:34:45 PM »

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games setting?

Offline Dave J

  • Full Member
  • ***
  • Posts: 450
    • The Hobby Workshop
Re: SMF Arcade
« Reply #5204 on: April 15, 2019, 03:16:49 AM »


I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

No sorry I got the ones I posted, I believe I saw a post with someone else who had the same issue as me I must have mistaken that for your post

Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games
Yes they installed and played ok but there are other settings within the games that also might need to be adjusted. As I have previous experience of this I knew what to look for. If you didn't know this follow the following

Go to 'Edit Games' then click on the name of the game you want to edit, once there click on advance at the bottom of that page, you will see a drop box which tells you the compatability mode for the game, most of  the time they should be on either IBParcade or IBP Arcade v3 or 3.2 its very rare that they anything else, so if yiurs are in Custom or similar that is possibly the reason.

It might also be that the game-data pack was not loaded, most games come with a folder within the game folder.
All the Quiz info is here

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,317
  • Gender: Male
  • The Quest is the Quest
    • Underdog-01 on GitHub
    • WebDev.ca
Re: SMF Arcade
« Reply #5205 on: April 15, 2019, 06:34:38 PM »
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.

My SMF Mods & Plug-Ins

WebDev

“Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune.” - Noam Chomsky

Offline Dave J

  • Full Member
  • ***
  • Posts: 450
    • The Hobby Workshop
Re: SMF Arcade
« Reply #5206 on: April 16, 2019, 02:26:38 AM »
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.

Hi Chen still waiting for the email. The only thing might be if I did my email wrong. I will PM you with what it should be.
All the Quiz info is here

Online efk

  • Full Member
  • ***
  • Posts: 407
  • Gender: Male
Re: SMF Arcade
« Reply #5207 on: March 03, 2021, 02:24:10 AM »
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,763
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: SMF Arcade
« Reply #5208 on: March 03, 2021, 02:41:30 AM »
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

I believe Chen is adding the Ruffle Emulator library to the latest versions of SMF Arcade, this is essentially a flash emulator.  There's also support for html5 games built in already.  Check it out over at https://web-develop.ca/index.php

Offline Ronald_1938

  • Jr. Member
  • **
  • Posts: 391
  • Gender: Male
  • "One foot in the grave!"
    • seniorforums
Re: SMF Arcade
« Reply #5209 on: March 03, 2021, 06:51:23 AM »
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

The arcade can play Flash and HTML5 games. AS3 are questionable.

Read the articles: https://arcadeholics.net/index.php?board=5.0

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,475
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Arcade
« Reply #5210 on: March 03, 2021, 05:59:58 PM »
Ruffle works great!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Ronald_1938

  • Jr. Member
  • **
  • Posts: 391
  • Gender: Male
  • "One foot in the grave!"
    • seniorforums
Re: SMF Arcade
« Reply #5211 on: March 03, 2021, 06:23:33 PM »
Ruffle works great!

Yes it does.. Ruffle is still working on AS3 games, but we have some work arounds in place to play Flash HTML5 and AS3 games..

I have the SMF Arcade that I am slowly building up. I also have a IPB Arcade forum with over 44,000 games, Flash, HTML5 and AS3 games they all work.
You need to add Ruffle to your database, download and install the older version of Adobe Flash, make a couple adjustments in the computer files. On the IPB Arcade I have designated one theme skin to play AS3 games.

https://ronaldsarcade.com/

Offline Dave J

  • Full Member
  • ***
  • Posts: 450
    • The Hobby Workshop
Re: SMF Arcade
« Reply #5212 on: March 04, 2021, 12:01:40 PM »
Ruffle working great for me.

Managed to get it running on my test site OK and I got the extension to work in Firefox too. Just a shame I didn't know about this before deleting all the games from my brothers website.

I'm going to check and see if I have an old backup with the games and tables installed etc, if so I will use it on there. He had 1000s of games so it might take a while.

Thanks to everyone who was involved in the creation of Ruffle
All the Quiz info is here

Offline Linda Online

  • Newbie
  • *
  • Posts: 5
Re: SMF Arcade
« Reply #5213 on: April 04, 2021, 12:25:54 PM »
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

The arcade can play Flash and HTML5 games. AS3 are questionable.

Read the articles: hxxp:arcadeholics.net/index.php?board=5.0 [nonactive]

"Sorry, this shoutbox does not exist."  :(

Offline Linda Online

  • Newbie
  • *
  • Posts: 5
Re: SMF Arcade
« Reply #5214 on: April 04, 2021, 12:46:22 PM »
I tried to read this thread and delve into it, but forgive me 256 pages is difficult to master, especially since there is a lot of just water that does not carry a message. Please help me figure out how to save SMF games? Is it possible somehow, without possessing the source code of the games, to translate them into the HTML5 format?

Offline Ronald_1938

  • Jr. Member
  • **
  • Posts: 391
  • Gender: Male
  • "One foot in the grave!"
    • seniorforums
Re: SMF Arcade
« Reply #5215 on: April 04, 2021, 02:55:47 PM »
I tried to read this thread and delve into it, but forgive me 256 pages is difficult to master, especially since there is a lot of just water that does not carry a message. Please help me figure out how to save SMF games? Is it possible somehow, without possessing the source code of the games, to translate them into the HTML5 format?


@Linda go to my forum and read up on what you need. News and Announcements - Ronald's Arcade


To code Flash Games to HTML5 game Game Tutorials - How to Make an HTML5 Game (gamedevacademy.org) There is quite a bit involved in the conversions.


We have members that are coders, they convert the Flash to HTML5 games.


When you say save  SMF games, just what is it you are looking to do?


SMF Arcade is being taken care of by Chen. You'll find it here WebDev - Index (web-develop.ca)


They probably no reason for you to convert Flash Games over to H5 Games, because there are loads and loads of H5 games for downloading.


Do you have Ruffle installed in your arcade forum.


Support Team edit: edited to remove invalid BBCodes for easier reading.
« Last Edit: April 05, 2021, 08:44:17 AM by Steve »

Offline Dave J

  • Full Member
  • ***
  • Posts: 450
    • The Hobby Workshop
Re: SMF Arcade
« Reply #5216 on: April 11, 2021, 07:57:42 AM »
Hi,

I have tried to solve this myself by trying to add the 'ruffle' script code to 'ArcadePopup-smf2.php' on various different lines. No matter what I do I cannot get the games to play in a popup or fullscreen window.

The games work perfectly OK in a normal page environment but not Popup/fullscreen.

I'm using the latest version 2.6.4 on SMF 2.0.18. PHP7.3

The error I get is the normal 'Flash' error.

Quote
You have not installed Adobe Flash Player, you need to install it before you can play, you also need to have javascript enabled
.

If there isn't a fix is there a way to remove the popup - fullscreen option from the games list?

Not that they are coded the same but I have no problems with the quiz popup that works fine.

Does anyone have any ideas please?

NOTE: I have posted this query on WEDEV too a couple days ago.

Thanks for any help.
All the Quiz info is here