Daily Lucky Numbers:
3
4
18
32
33
39

Error after installing

Started by addlife, March 24, 2019, 03:19:33 PM

Previous topic - Next topic

addlife

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.

addlife

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

Chen Zhen


You do not need to fool with any files via FTP or CPanel concerning installing games.
Tar compression (and its PEAR requirement if necessary) is provided by the arcade.
However, gzip compression will require the zlib extension within PHP.

Try changing the save type being provided by the arcade.
Go to the arcade & click on the "ARCHIVE" button, after which you can select another file type.
Try TAR or ZIP (not tar.gz).
The arcade will save the preference for your user id.

addlife

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

[attach name=Screenshot_20190416-023200.png type=image/png]434[/attach]
[attach name=Screenshot_20190416-024803.png type=image/png]436[/attach]


While on my main site it looks all messy on mobile

[attach name=Screenshot_20190416-023227.png type=image/png]438[/attach]


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?

Chen Zhen

#19
There are skin and list settings in the arcade admin and within the user profile.
In the admin you set the default skin and list settings (these are optional templates/styles).
A user with permission can set the skin and list to what they want which is saved to the database.

If you don't want a user to be able to adjust those settings then you go into your forum permissions and disable "Edit Arcade Settings" for that membergroup.
If you do that then the membergroup will only see the default setup.