Where to upload "gamedata" folder?

Hi guys,

A little help.

So I've not installed a single game yet. I have downloaded 2 and both contains PHP/images, where does this go or which directory on the server? And, then where would the gamedata folder go?

I have public_html/data/games/0

In the 0 is where it seems all the images and swf. files go?
 
Please update me if the instructions do/do not work. The last couple of people just never let me know. So they either got it or got so frustrated they jumped in front of a bus and it's all my fault.
 
Please update me if the instructions do/do not work. The last couple of people just never let me know. So they either got it or got so frustrated they jumped in front of a bus and it's all my fault.

It doesn't work.

Can I add you to Skype or something so you can help me out?
 
Not right now because I'm at work.

Can you put the tar/zip file here so I can test it on my site? I want to make sure it's not the game before going any further.

Oh, and if you have XenPorta, all bets are off and you have other steps to take.
 
Optimus, did you read all of the instructions on the "Add Game" page in the ACP?
 
I think it's ironic Optimus Prime can't get this working. You'd think he'd just interface with the software and ask it nicely.

Unless Xenforo is a decepticon. But I doubt it. That's more a vB thing.
 
Optimus, did you read all of the instructions on the "Add Game" page in the ACP?

I did.

This is how game loads, nothing.

Untitled.png


Games attached too.
 

Attachments

  • game_sonicthehedgehogJS.tar
    1.1 MB · Views: 95
  • game_spacemonopolyMT.tar
    243.5 KB · Views: 91
Okay, let me see if I can get these to work on my site. If so, we can Skype and get it working for you.
 
It's now 9 PM CST. I'm about to get off of Skype.

A couple of notes.

  • For Sonic, the only two files that should be in the Additional Files are sonicthehedgehogJS.txt & v32game.txt. DO NOTHING WITH THE PHP FILE!
  • For the Space Monopoly, there should be NO Additional Files. You should load teh swf file in its proper place and that's it.
  • Make sure the slug is EXACTLY the same as teh swf file name. That means they should be sonicthehedgehogJS & spacemonopolyMT. They HAVE to be put in exactly that way and it IS case sensitive.
 
I think it's ironic Optimus Prime can't get this working. You'd think he'd just interface with the software and ask it nicely.

Unless Xenforo is a decepticon. But I doubt it. That's more a vB thing.
I'm unsure why you would make such a comment when your software is currently in beta. I have been hired to look at this issue and the issue at hand is uploading. No files are present meaning that rename or move_uploaded_file isn't working correctly but you probably put a nice little @ so it works fine for the user. I was able to get the game working by manually putting in the swf. Then I had to firebug the path for the image, copy 3 times for sizes. So the game was able to work. But there was no easy way to get the paths for the other files which failed to be uploaded correctly and I don't want to go into the database to find out the hashes (assuming that is where they are).

Pro tip: if your software is in beta don't assume it is flawless and say "just interface with the software".

I assume this is a server error in some way which can be fixed easily, I am going to look back now and will report back. This is all to do with sonic only, haven't looked at the other gmae, from your comments it is meant to be core? Also why aren't you redirecting after saves? At least the first one? You can do something like data-redirect="on" or something on the form element.
 
I was commenting that his name was Optimus Prime. Like the Transformer. He's a giant robot that can speak to machines. It was a joke. Have you not seen me going out of my way to help people and get them going in the right direction?
 
By the way, just to be clear, I have NO AFFILIATION with the makers of this addon. I'm just a guy who was one of the first to throw money at them. So my helping out is totally voluntary.

The Sonic game and the Space Monopoly games he linked in NO WAY need to have anything with the server. I'm not sure why you've had to do what you had to do, but everyone I've helped out so far has been able to follow the directions I linked and get their stuff working. If not, it's something with another addon and we'd have to go from there.

Which is why I was hoping he would Skype with me last night. We could have gotten him up and running.
 
By the way, just to be clear, I have NO AFFILIATION with the makers of this addon. I'm just a guy who was one of the first to throw money at them. So my helping out is totally voluntary.

The Sonic game and the Space Monopoly games he linked in NO WAY need to have anything with the server. I'm not sure why you've had to do what you had to do, but everyone I've helped out so far has been able to follow the directions I linked and get their stuff working. If not, it's something with another addon and we'd have to go from there.

Which is why I was hoping he would Skype with me last night. We could have gotten him up and running.
Oh, my bad. The issue is with uploading the actual files. I'll find it, eventually.
 
When you put in the image file does it give you an error or just sit there? If it just sits there it's totally normal. Once you've saved you have to go back and List the games, choose your game and then fill in those blanks.
 
When you put in the image file does it give you an error or just sit there? If it just sits there it's totally normal. Once you've saved you have to go back and List the games, choose your game and then fill in those blanks.
It acts like it works. It does the AJAX call and tries to replace the image with the new one which leads to a missing file. I'm an experienced developer, it's not something like that lol... I have spotted a bug also but I doubt it has anything to do with it. Line 223 in the game model should be XenForo_Application::$externalDataUrl according to the method name.

*goes back to the trace

PS. this isn't only the image. It is the game data too.
 
Okay. You have much mojo. I do not. So I'll let you at it. Good luck, man! Hope you get it working.

Actually, I hope THEY get it working. It's been some time without an update and I'm starting to worry about it.
 
Ok it is a permission error on the server like I first thought. The thing is it silently fails to the point it doesn't even return false so everything goes through. Some servers don't like things to be 775 or 777 which is what the folder needs and somehow it was changed to 755 after the initial install (unless it got around the permissions somehow). On top of that the is_writeable function should be throwing a warning to detect these issues.

If I ever get the need for an arcade I will have a HUGE list of suggestions, bugs and fixes. Hopefully an update with them would come otherwise I would be forced to make my own, competing arcade. This one has a long way to go. Actual error checking for a start!
 
Back
Top