Scores aren't recorded (Question)

I've read the guide for this, but I'm not really sure how to fix it. (If we can)

Can we run XFArcade if we don't have xenforo as our root. (www.domain.com/forum)
We have wordpress as our main page and any 404 message we get is from WP.

Any help you can provide would be much appreciated. We would love to get this working. Also, I was having a hard time finding games for this. Where is a good games library that would work for this add-on? We used to have VB and the V3arcade (I think thats the name) and we used games from mochi. Would those games still work?
 
My site does not have XF as the root and it works fine. Not sure what issues you are running into on that front. Let me look and see if there's something special that we have.

As to games, I wrote a post early on about where to get games but some of the links are no longer that valid, mainly because a grip of them redid their sites and are almost unusable, in my opinion. Mochi is not supported yet, although devs have stated they want this to happen. I think it would be the bee's knees and I hope it comes sooner rather than later.
 
The 404 page comes up as our wordpress theme (http://www.jolthq.com/forum/random.php/)

I have the plugin disabled atm, but i'll enable it. Backend might be the problem. The path is: domain.com/html/forum(xenforo files)
Html dosen't show up in the url, but it does on the webserver. Think that is the problem?

and yea. Mochi is one of the leading flash publishers. I think this add-on would get alot more attention if it support mochi based games.
 
Okay, I can get to the games and play them but I don't get a 404 page when trying to save score. In fact, nothing happens at all. The url looks right while you are playing the games so I am not sure about that. Time to get Kevin involved.

edit: felgercarb. I forgot they don't have the tagging app on here. :(
 
Yea, We can play games no problem. Just, no scores will be saved, but that takes the fun out of competing against other members.

I believe we're using Mediatemple for our host. If that matters.

Thanks for your help Edrondol...Speedy reply too :smiley:
 
Actually, I was going to apologize for taking so long to answer you the first time. I went to the Avengers last night and am working on about 3 hours of sleep.

I'll keep looking at what I can do but Kevin is the man you'll need to speak to. I've sent him a poke to look into this thread.
 
@Bloddykittens: Is the .htaccess file in your /forum folder the .htaccess file from the XF download zip (from your URL structure, I'm using you have XF installed in a folder named "forum")?

That you're getting the WP 404 page (with WP being in your root folder) and not the XF 404 page when visiting http://www.jolthq.com/forum/random.php is definitely an issue because it means that XF is not capturing the request route. If you enable the arcade, can you reach it by going to http://jolthq.com/forum/index.php?arcade or do you still get the WP 404?
 
@Bloddykittens: Is the .htaccess file in your /forum folder the .htaccess file from the XF download zip (from your URL structure, I'm using you have XF installed in a folder named "forum")?

That you're getting the WP 404 page (with WP being in your root folder) and not the XF 404 page when visiting http://www.jolthq.com/forum/random.php is definitely an issue because it means that XF is not capturing the request route. If you enable the arcade, can you reach it by going to http://jolthq.com/forum/index.php?arcade or do you still get the WP 404?

Going to the http://jolthq.com/forum/index.php?arcade/ url gets you to the arcade (I created an account there to troubleshoot) and you can play the games, which turns the url correctly to http://jolthq.com/forum/index.php?arcade/snake.4/play (for example). The problem is, once the game is over nothing happens. It just sits there and doesn't seem to do anything so scores are not being saved.
 
Going to the http://jolthq.com/forum/index.php?arcade/ url gets you to the arcade (I created an account there to troubleshoot) and you can play the games, which turns the url correctly to http://jolthq.com/forum/index.php?arcade/snake.4/play (for example). The problem is, once the game is over nothing happens. It just sits there and doesn't seem to do anything so scores are not being saved.
It is because the games are trying to post back to an explicit URL and since "arcade.php" doesn't exist ("arcade" is just an XF route, not a physical file) it has to rely upon XF routing the request. Since XF is not currently handling the route (seen by the 404 page showing the WP 404 page & not the XF 404 page) the scores can't be saved.

Thinking out loud... have you guys tried an IPB game yet instead of the stock games that come with it? IPB games try to post back to index.php (and not arcade.php like the v3A games) so there is a chance that those might work as-is with the current setup.
 
It is because the games are trying to post back to an explicit URL and since "arcade.php" doesn't exist ("arcade" is just an XF route, not a physical file) it has to rely upon XF routing the request. Since XF is not currently handling the route (seen by the 404 page showing the WP 404 page & not the XF 404 page) the scores can't be saved.

Thinking out loud... have you guys tried an IPB game yet instead of the stock games that come with it? IPB games try to post back to index.php (and not arcade.php like the v3A games) so there is a chance that those might work as-is with the current setup.

I haven't tried any other games yet. Since I didn't want to put any time in adding games if it wasn't going to work. I could give that a shot (Do you have a game that you know works, that you could attach?)

Is there anyway I could fix this to work with all games? What would be involved with doing that?
 
Here's a game I know works on my arcade. Let's see if this works. If it does, then Kevin can troubleshoot the core games. If not Kevin can go to step #2.
 

Attachments

  • game_144TilesMahjongv32Sparky.tar
    351 KB · Views: 69
Is there anyway I could fix this to work with all games? What would be involved with doing that?
It is never going to work with the 'core' (aka: v3A) games as long as XF is not handling the routes (aka: you are getting the WP 404 page & not the XF 404 page) because it is trying to submit the score to a file named "arcade.php" and that file simply doesn't exist (because add-ons working within the XF model use routes and not physical files like other forum software). IPB games, on the other hand, post their scores back to a file named "index.php" and so there a chance that those will work with your current environment. It is the same problem that the guys running Nginx were running into.

Here's a game I know works on my arcade. Let's see if this works. If it does, then Kevin can troubleshoot the core games. If not Kevin can go to step #2.
If the IPB games aren't working then I'll dig into it but, at this point, I don't think it'd be a benefit trying to get the v3A games working with invalid .htaccess scenarios. If anything, it might be worth considering making the default game format to be IPBv32 and not v3A. :thinking:
 
Well, I assume I installed the games correctly but i'm still having problems with the mahjong game...
(http://jolthq.com/forum/index.php?arcade/mahjong.8/play)
I got this error. (Image below)
bEWhk.png

Sorry If the image is a bit large
I have the minigolf game working perfectly. It records my scores, but the mahjong game just gives me that error


P.S. Sorry, It took me alot longer than I expected to get back with you guys.
 
Back
Top