Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - addlife

1
Yes that worked. Thanks

Just a quick side question, on my test site the arcade screen looks all neat and orderly on mobile or desktop

Screenshot_20190416-023200.png
Screenshot_20190416-024803.png


While on my main site it looks all messy on mobile

Screenshot_20190416-023227.png


I think I used the same admin file you uploaded before. I'm not sure what's making those changes.

How can I change it to the nicer format?
2
Quote from: addlife on April 15, 2019, 02:09:44 pmActually I only got p2 ball and digger to install. When trying to install arena onslaught it gives me an error of "unable to read read .tar file"

I'll try to figure it out.
Just a little background to my previous post. I downloaded those 3 games then uploaded them using the admin section of the arcade. Then when I went to install them the actual file name (i.e. html5_p2ball.tar.gz) was on the list of games and not the game name (p2-ball).

Somehow when trying to install it and it errored out on me (this was before I made the edits to managegames.php) the game name started showing up. And in my cpanel file manager the game was in a folder.



Anyways now what I tried doing was extracting the .tar.gz game file to a new folder. Now the game name shows up on the list and I'm able to install it. But when I go to play the game I can only get to the title screen of the game. When I click play it just blacks out and nothing displays.

I'll continue trying to do random things that most probably are totally wrong to try to fix it  :P
3
Actually I only got p2 ball and digger to install. When trying to install arena onslaught it gives me an error of "unable to read read .tar file"

I'll try to figure it out.
4
Thanks so much. That fixed it, now the games are working.



BTW the arcade page when logged in looks very neat and orderly. I'm assuming it's the updated file you gave me.
5
So I'm back again :)

I downloaded 3 single html5 games from your arcade.

Digger, p2-ball, and onslaught arena. This time it gives me this error when trying to install them

Too few arguments to function installGames(), 1 passed in /home/xyz1/public_html/Sources/ManageGames.php on line 432 and at least 2 expected

I'm on mobile so I'll try to upload the file tomorrow if you need it.

Thanks for taking your time to help :)
6
Hopefully the last post padding post. Thanks
7
Oh actually I see you have a ton of games on your arcade with an option to download them. But I need 5 posts. Don't mind me spamming this thread  :P
8
I don't see any gamepacks available for download on that link. It takes me to the regular download page with all your other downloads.
9
I replaced my subs-arcadeadmin file with the one you posted.

I tested it out with this classics gamepack
http://invisiongames.org/forum/index.php?download=10557

I still have the same problem. It doesn't show up after installing. Could it be that I'm missing something basic like enabling a permission or something?


BTW I'm ecited to hear that you're working on an update :)
10

Thanks that fixed it.

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 happes. 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
11
Quote from: Chen Zhen on March 28, 2019, 12:32:16 amIf I remember correctly, substr was swapped out with mb_substr a while back but the length parameter was not added.
Odd thing is that I do not get this error.

The PHP manual shows that length and char encoding have defaults if not included.
ref. https://www.php.net/manual/en/function.mb-substr.php

I attached your file with that function edited to include the length parameter.

What PHP version are you using?
Thanks for responding.

Sites on php version 7.1

I'm non techie so I'm not very familiar with the jargon.

Now the error is the same but says on line 2161
12
Quote from: addlife on March 24, 2019, 03:19:33 pmHi I installed the mod from this site.

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"

my site is 001002.xyz
and I attached the file mentioned

Any ideas how I can fix it?
Thanks.
I'm reinstalling SMF on the site. So as of now it's not up. I plan on having it the same way. I'll see if the error still comes up
13
Hi I installed the mod from this site.

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"

my site is 001002.xyz
and I attached the file mentioned

Any ideas how I can fix it?
Thanks.