Daily Lucky Numbers:
8
12
19
29
39
40

Recent posts

#21
SMF Arcade Support + Plugins / Re: Loading HTML5 Games Help
Last post by Dave - January 02, 2023, 03:32:08 AM
Although I'm no expert it looks like the files you're showing in your attachment don't look like any files I've ever seen in a game for SMF Arcade, unless it's lower down in the list I don't see a .php file that holds the config array data for the game, see the image attachment of a typical arcade game.

Also, if not set that way already, then I suggest you set the 'Game Uploading' in admin to the same as you see the image below, this shows if your installing a duplicate game or not.
#22
SMF Arcade Support + Plugins / Loading HTML5 Games Help
Last post by BugginIn - January 01, 2023, 02:32:48 PM
Feeling pretty dumb here.. Tried loading HTML5 games in a few different ways with certain files in data folder, out of data folder, and I just can't get them to install.

It uploads > shows up in manage installations > install it and just disappears from everything. Any chance someone can show me the proper format of uploading the zip files?

Attached is the original bought: Duck Shooter


Thank you in advance from an idiot,


BugginIn
#23
General Code/Script Inquiries / Re: One Category
Last post by Ronald - December 23, 2022, 10:04:44 PM
Quote from: Chen Zhen on December 23, 2022, 03:45:03 PMThis isn't currently an option for the Arcade.
Downloads can be set enabled/disabled overall or per membergroup and also a set daily number of downloads per membergroup.
 
Thanks Chen, I know that, I had that setup like that, but I have some games like arounf 700 that the coder doesn't want to allow downloads. So only way is No Downloads at all.
#24
SMF Arcade Support + Plugins / Re: Undefined index: action
Last post by Shades - December 23, 2022, 10:03:35 PM
I believe that fixed me problem! Thank you! 8)
#25
General Code/Script Inquiries / Re: One Category
Last post by Chen Zhen - December 23, 2022, 03:45:03 PM

This isn't currently an option for the Arcade.
Downloads can be set enabled/disabled overall or per membergroup and also a set daily number of downloads per membergroup.
 
#26
SMF Arcade Support + Plugins / Re: Undefined index: action
Last post by Chen Zhen - December 23, 2022, 03:37:30 PM

This error stems from a mod you have named Childboards Dropdown by Labradoodle.
That mod author neglected to check if $_GET['action'] was empty prior to using that array index.

This error is not really directly related to the Arcade, however I can attempt to define $_GET['action'] in arcade.php in an attempt to stop the error.

Download the attachment & use it to replace the same file in your main forum path.
Clear your error log afterward, play some games & let me know if the errors cease.
#27
SMF Arcade Support + Plugins / Re: Undefined index: action
Last post by Shades - December 23, 2022, 11:27:35 AM
Yes here it is and thanks! 8)
#28
General Code/Script Inquiries / One Category
Last post by Ronald - December 22, 2022, 10:51:56 PM
How do I setup No Downloads for just One Category.
#29
SMF Arcade Support + Plugins / Re: Undefined index: action
Last post by Chen Zhen - December 22, 2022, 09:58:20 PM

I realize most recent mods don't edit files but can you attach a copy of your Load.php file?
Various JS/AS game save subs trigger that arcade.php file but the error seems to be an undefined array index named action.
arcade.php defines $_POST['action'] but doesn't attempt to access a null array index.
IMO the error is likely stemming from ../Sources/Load.php
#30
SMF Arcade Support + Plugins / Undefined index: action
Last post by Shades - December 22, 2022, 02:44:20 PM
SMF 2.1.3
SMF Arcade 2.6.9.4

Haven't been over here in a while, everything seemed to be fine before but just noticed some errors after submitting scores. The scores do get recorded but with errors in admin:

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined index: action
File
/home/******/public_html/******/Sources/Load.php
Line
2402
URL of page causing the error
https://******.com/?arcade.php

Backtrace information
#0: smf_error_handler()
Called from /home/******/public_html/******/Sources/Load.php on line 2402
#1: loadTheme()
Called from /home/******/public_html/******/index.php on line 242
#2: smf_main()
Called from /home/******/public_html/******/index.php on line 192
#3: require_once()
Called from /home/******/public_html/******/arcade.php on line 32