WebDev

SMF Arcade => SMF Arcade Support + Plugins => Topic started by: vince on September 03, 2020, 08:46:07 PM

Title: Game for arcade
Post by: vince on September 03, 2020, 08:46:07 PM
can you test this game Chen PLz see if it works for you...
Title: Re: Game for arcade
Post by: Skhilled on September 04, 2020, 06:55:52 AM
I just tried it and it didn't work in Chrome or FF.
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 09:05:31 AM
Yeah me either , maybe the man Chen can do a small update to the arcade for this type of game to work
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 09:07:06 AM
It works fine on my phpbb 3.3 board
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 09:15:53 AM
I also have candy crush that does the same thing , if Chen can get these type to work I will share all the games like this here
Title: Re: Game for arcade
Post by: Skhilled on September 04, 2020, 09:19:00 AM
I haven't played with phpBB for awhile and used to have the arcade a few years ago...I tested it for a spell.
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 09:44:29 AM
Yeah all the html5 games I have I paid for are for the new phpbb arcade but there's limitations if you don't donate each year witch I find kinda ridiculous that's why I want to switch to simple machines arcade . I have no problem donating to Chen and his team simply bc of that reason.. I also have  hundreds and hundreds of flash games but as of December 2020 browsers are no longer support flash..
Title: Re: Game for arcade
Post by: Skhilled on September 04, 2020, 11:23:04 AM
Yeah, kind of sucks about flash but they're doing it cause of the security issues....too many to keep up with probably. I have maybe 5000+ flash games. It's a shame you can't convert them to another format or something...
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 01:35:16 PM
yeah i hear ya you can convert them to exe and play them off line but thats no fun lol
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 02:30:37 PM
Im getting this error on some jv-arcade game installs

Type of error: Undefined_vars
    Error message: 8: Undefined variable: popup
    File: ArcadeSources/ArcadeNewGame.php
    Line: 69
    URL of page causing the error: index.php?action=admin;area=managegames;sa=install2;sesc

i can upload a game that gives me this error but i don't advise to install it untill Chen has a look at it
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 02:31:46 PM
here one of the games that give this error
Title: Re: Game for arcade
Post by: vince on September 04, 2020, 09:52:00 PM
this game has a score loop issuse

error log

Type of error: General
Error while saving score for game "jelly_jump_jvh5". Score loop detected ~ Please check the score subroutine within the game itself
Title: Re: Game for arcade
Post by: Chen Zhen on September 05, 2020, 01:29:49 AM
As far as I can tell those games use an ajax call on http instead of https.
If you have apache (or nginx, IIS, etc.) auto changing http to https from the main forum directory, the browser thinks it's a cross origin frame error.

I am able to alter the .htaccess in the "Games" folder path to fix this problem.
The same goes with a web.config file for IIS, however I'm not familiar with the Nginx equivalent.

Also note that the Jelly Jump game seems to take 4 or 5 seconds to send its ajax call (score submit).
The arcade will not open the comment editor because of this but it will save score.

Score loop error logging is for bug tracking which is exactly what you're using it for at the moment.
However it can be disabled in arcade admin so long as your games are not showing any problems.
What I mean is, when you get to the point of no game issues you can disable that option unless you want to debug a game (or games) that show a problem with scoring. Sometimes games cause that error to be triggered but they do not have any issues.

The undefined error you reported is an issue with new game notifications.

Thanks for the report.
Title: Re: Game for arcade
Post by: Chen Zhen on September 05, 2020, 04:56:56 PM

Can you test something?

Using your FTP platform, edit the .htaccess file located in your Games folder path.

../Games/.htaccess

Add the following code to the bottom of the file and save it:
RewriteEngine On
RewriteCond %{HTTPS} off

Download the attachments and place them in the ../ArcadeSources path (rewrite the old file).

After doing those things, test those games again and let me know if it works.
Title: Re: Game for arcade
Post by: vince on September 06, 2020, 08:54:38 PM
replaced files and editied the htaccess file

same thing happening, score loop for jellyjump and i have to close restart browser
and keno doesent load at all
Title: Re: Game for arcade
Post by: vince on September 06, 2020, 09:11:05 PM
Error

    Type of error: General
    Error message: 18
    URL of page causing the error: /index.php?action=arcade;sa=html53Game
Title: Re: Game for arcade
Post by: origon on September 07, 2020, 09:18:30 AM
These sort of games are hard encrypted, even if you have the scorecode it's partly encrypted too, so no one know what the score code do when you submit score, i have been member of the phpbb arcade team 3 years ago, but changed becuse i could not live with not knowing what was going on with the arcade, and all the money involved.
Title: Re: Game for arcade
Post by: vince on September 07, 2020, 05:15:13 PM
yeah your know your name does ring a bell for sure origon. i been play9ng around with it for years... but now its all about how much money they can make on an open source arcade..ridiculous
Title: Re: Game for arcade
Post by: Skhilled on September 08, 2020, 09:17:28 AM
I remember his name from there too. I tested that arcade for awhile but got too busy to keep helping and a friend really needed me so I stopped. ;)
Title: Re: Game for arcade
Post by: origon on September 09, 2020, 03:01:52 PM
Try this one it work on my siteCandyCrush_Origon.tar
Title: Re: Game for arcade
Post by: Chen Zhen on September 09, 2020, 05:12:01 PM

The game works fine although I discovered that lengthy descriptions need to be limited in the list.
I'll have to make it so it can be read if opted but not normally.
That game description is just way too long.
Title: Re: Game for arcade
Post by: Chen Zhen on September 09, 2020, 05:22:08 PM

I installed it in the arcade but edited the description.  ;D
Title: Re: Game for arcade
Post by: origon on September 10, 2020, 04:59:00 AM
If you could make it so the description was set under the game in gameplay it won't be a problem with the lengt
Title: Re: Game for arcade
Post by: Chen Zhen on September 10, 2020, 09:50:05 AM
No there is already an "i" icon that you click on to show the description on the game play page. Imo it is better than what you suggest.

I was referring to the games list on some of the arcade list templates.
Title: Re: Game for arcade
Post by: vince on September 10, 2020, 10:58:32 AM
Quote from: origon on September 09, 2020, 03:01:52 PMTry this one it work on my siteCandyCrush_Origon.tar
works like a charm ty i have cookie crush that doesent seam to load eaither id like to fine the issuse bc i have lots a games that just wont load  hmmmmm
Title: Re: Game for arcade
Post by: Chen Zhen on September 10, 2020, 11:08:58 AM
If they are games we tested here on my site then perhaps there is something wrong on your end.

Otherwise if I don't have them here then you can upload a few and we'll test them
Title: Re: Game for arcade
Post by: Skhilled on September 11, 2020, 06:12:52 PM
You may also want to make sure your server has the necessary php and apache modules needed for the arcade.

Chen, can you post a list of those somewhere? I sure someone would find it useful sooner or later.
Title: Re: Game for arcade
Post by: Chen Zhen on September 11, 2020, 06:28:04 PM
It's shown during installation with the latest RC but I will add it to the Arcade change-log page.
You definitely need PHP updated to perhaps 7.1 or better.

Here is what is shown at the onset of the readme:

Introduction
SMF Arcade adds an arcade section to your forum where users can play games.
You must uninstall any previous versions of the Arcade prior to updating this modification.

Supported SMF Versions
This version supports the most recent SMF 2.0.X & SMF 2.1.X branches.

Recommended Minimal Requirements
OS minimum recommended versions: Ubuntu 18, Centos 7
HTTP Server: Apache 2.4 using PHP 7.1
Extensions: curl, mbstring
Optional RAR compression support: RAR (command-line tool) and UNRAR (PECL RarArchive class) packages for Linux
Forum software/versions: SMF 2.0.17 or SMF 2.1.0
Hypertext Transfer Protocol Secure (HTTPS) ~ HTTP over TLS or HTTP over SSL




My recent mods are developed in an updated environment.
I do not test versions prior to what is shown above.
PHP 5 has had its EOL so people using it should upgrade.
PHP 5.6 (the last in that branch) received its last security update as of Dec.31, 2018.
Title: Re: Game for arcade
Post by: Chen Zhen on September 11, 2020, 06:30:37 PM

BTW he already has it working as noted in another thread.
Title: Re: Game for arcade
Post by: Skhilled on September 11, 2020, 06:51:53 PM
Okey, dokey. I knew I had seen it somewhere. Just be being way too busy again. LOL
Title: Re: Game for arcade
Post by: vince on September 11, 2020, 07:31:38 PM
Quote from: Chen Zhen on September 10, 2020, 11:08:58 AMIf they are games we tested here on my site then perhaps there is something wrong on your end.

Otherwise if I don't have them here then you can upload a few and we'll test them

here ya go Chen still does not load
Title: Re: Game for arcade
Post by: Chen Zhen on September 11, 2020, 11:20:28 PM

It's not loading and shows no errors.
However, it does not work on JV arcade either.

JV Arcade says
QuoteThis Html5 game is not usable here!
Title: Re: Game for arcade
Post by: vince on September 12, 2020, 05:04:39 AM
Weird , works on my phpbb site no biggie I'll scrap it for smf
Title: Re: Game for arcade
Post by: Chen Zhen on September 12, 2020, 01:02:19 PM

Perhaps somehow there are files missing?
Title: Re: Game for arcade
Post by: origon on September 13, 2020, 07:52:20 AM
It's much easyer to use ipb converted games here, and they can be used in jv-arcade too
Here you have a version of the game who work on smf arcade.

CookieCrush3_Origon.tar
Title: Re: Game for arcade
Post by: Chen Zhen on September 13, 2020, 09:41:00 AM
Ya that works great!

Thank you.
Title: Re: Game for arcade
Post by: Maischter on October 12, 2020, 07:03:27 PM
is somewhere a package for running hmtl5 games?
EhPortal 1.39.6 © 2024, WebDev