HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 11,259 | Guests: 969 | Members: 5 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - Problems with v0.4++ posting scores and showing users
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic  Goto page 1, 2  Next  
 Problems with v0.4++ posting scores and showing users View previous topic :: View next topic  
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Mon Jan 02, 2006 5:04 am   
Post subject: Problems with v0.4++ posting scores and showing users
Reply with quote
 
Hello,

First let me start off by saying this is a great module and works very well for the most part. I was unable to open the info file in the zip download, so I may have missed something in installation. My problems are:

1) Some games are not posting scores (all darts games, Altex 3, Speed Ball, Ms. PacMan, Hoops, znax, pokler, a couple others). I have made sure the include was added on my root index.php. I have tried it before the mainfile include and after...and also without the comment line. It doesn't seem to affect anything. I have also installed and uninstalled three times, all with the same result.

2) Users online and number of people playing are not being recognized.

3) All-Time leaderboard is not registering. I'm not sure if this is a problem or not. Does the all_time leaderboard register only when I reset Hi-Scores? If so, I haven't done that yet.

4) Some driving games are only registering minutes...not seconds. I haven't searched for a fix for this yet. Maybe this is a reported issue.

Like I said, I am running v0.4++ on php-nuke 7.8 patched with the Chatserv 3.1 files. The site is at www.clansenescence.com and the games are under the senescence arcade link on the left.

Thank you for anyone that might be able to help.


P.S. I would love to know how you are adding the gamercard into the avatar area on phpbb. Very Happy


View user's profile Send private message
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Mon Jan 02, 2006 1:40 pm   
Post subject:
Reply with quote
 
I found the cause of one of the users not showing up. forahobby sent me an email and I was able to open the info file using wordpad rather than just clicking to open the info file. In there I realized I needed to use the custom_header.php file in includes since I am using nuke 7.8. I already had a custom header for a security module so I just added the pnflashgames custom header code to my existing custom header and users now show up.

So, I just need to get the rest of the games to score and find out how the all-time leaderboard works.

Thank you


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Tue Jan 03, 2006 12:35 am   
Post subject:
Reply with quote
 
Hi rusty,

I would say more then likely you have just forgotten to add the include CODE to your main index.php file of your PHPNUKE.. Smile

Check over the install notes again.. You cant be too far mate.. You have sorted out most things..

anyway, let me know if you need more help.. Ill do my best bro..

btw.. try going through some topics in our forums here on PHPNUKE 7.8 probs.. There may be some that others have fixed..

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Tue Jan 03, 2006 1:38 pm   
Post subject:
Reply with quote
 
I have definitely added the include on index.php in my root. I am now looking into the the mainfile.php post issue you had mentioned in your email. I will post here when I have tried to fix that. Thanks for your help. I know you are extremely busy and the amount of support you provide for your project amazes me. Very Happy


View user's profile Send private message
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Tue Jan 03, 2006 2:14 pm   
Post subject:
Reply with quote
 
Ok. Here is my progress. These are the first few lines from my root index.php (please note that I have removed the comment line because I read on here that it helped someone (did not in my case):

Code:
/************************************************************************/

require_once("mainfile.php");
include("modules/Flash_Games/includes/oldcomponent.php");
global $prefix, $db, $admin_file;

if ($op == "ad_click" AND isset($bid)) {
   $bid = intval($bid);
   $sql = "SELECT clickurl FROM ".$prefix."_banner WHERE bid='$bid'";
   $result = $db->sql_query($sql);
   $row = $db->sql_fetchrow($result);
   $db->sql_query("UPDATE ".$prefix."_banner SET clicks=clicks+1 WHERE bid='$bid'");
   update_points(21);
   Header("Location: $row[clickurl]");   
   die();
}



Then I tried to find the code in mainfile.php from http://www.xbox-hq.com/html/postt10054.html but could not find the code to comment out in my mainfile.php. I am attaching a text version of my mainfile.php because I am unable to add the code into my post. It tells me the HTML tags are not allowed when I try to insert into a code box.



mainfile_php.txt
 Description:
Text version of my mainfile.php

Download
 Filename:  mainfile_php.txt
 Filesize:  48.48 KB
 Downloaded:  3389 Time(s)



View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Tue Jan 03, 2006 2:51 pm   
Post subject:
Reply with quote
 
Just to double check..

Which games ARE NOT WORKING.. Can you please provide a list of the games some of which ARE working and most of which ARE NOT!

Please also tell me if you downloaded from my website or pnFlashGames.Com????

I will check it out.. I cant see any reason why your mainfile.php is causing the scores not to save unless you have corrupted games or my CUSTOM GAMES on HQ.

The CUSTOM GAMES like pacman etc etc on my site will not work on any other site.. Its totally different.

Maybe you could mean this is the problem.. I have heard of it before.

hope to hear you working it out soon.. Is there anyway you could install a standalone nuke into another directory and test again??

let us know.

FH
http://www.xbox-hq.com
http://flashgames.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Tue Jan 03, 2006 2:53 pm   
Post subject:
Reply with quote
 
try this..

Maybe the UNION TAP is causing it.. I dont know.. its been so long now..
Just hang in there.. Im just wrapping up the transformations here on XBOXHQ and 360-hq.com and i will be releasing my latest version.

I will test with new phpnukes too.

FH
http://www.xbox-hq.com


Just experiement with commenting out code in your mainfile until you can find it.. Maybe you will get it.. Smile



mainfile_php.txt
 Description:
edited main file.. I only commented out the first union tap.. Try a few.. Until we get it working.. Im sure we will.. Others have.

Download
 Filename:  mainfile_php.txt
 Filesize:  48.48 KB
 Downloaded:  3399 Time(s)


_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Wed Jan 04, 2006 4:31 am   
Post subject:
Reply with quote
 
Ok....my non-working games list:

Altex 3
Speed Ball
Contra World Challenge
International Karate
Moonlander - doesn't record more than first digit
shooting gallery
Ms. Pacman
all darts games
Hoops
Cone Crazy 2
parking
pokler
Zynx


Working games:
Bloody Pingu
Duck Hunt
Eat!
Kill Kenny
Ned Nebula
Pingu
Target shooting
Astaroth
Frogger
Gauntlet
Pacman
Space Invaders
pool training
roulette
video poker
Bar Slide
Driver - NOT SECONDS
GTA
Super Sprint
Jewels
Simon
Tetris


If the game was available in your download section and it is on this list it came from your site. All others came from pnflashgames.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Wed Jan 04, 2006 4:52 am   
Post subject:
Reply with quote
 
ok.

So that means if ms.pacman and my other games are working like FROGGER then its the StoreScore function in the /Flash_Games/ module which is NOT SAVING..

The include("oldcomponent.php") IS WORKING.

So you need to keep looking into it??

Any other members here who have this sorted? I know its simple but just dont have the time to find it.

Thanks for any help.

Hang in there rusty!

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Wed Jan 04, 2006 9:59 pm   
Post subject:
Reply with quote
 
When I click on the edited main file you attached I get a blank page.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Thu Jan 05, 2006 1:45 am   
Post subject:
Reply with quote
 
Just have a quick look through. I didnt test as i dont have NUKE 7.8 installed. So i could have made a mistake..

Just try commenting out some different sections!

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Sun Jan 08, 2006 6:47 am   
Post subject:
Reply with quote
 
forahobby wrote:
ok.

So that means if ms.pacman and my other games are working like FROGGER then its the StoreScore function in the /Flash_Games/ module which is NOT SAVING..

The include("oldcomponent.php") IS WORKING.

So you need to keep looking into it??

Any other members here who have this sorted? I know its simple but just dont have the time to find it.

Thanks for any help.

Hang in there rusty!



Ms. Pacman is not working.....Frogger is. We have been messing around with the mainfile.php and no change. I guess I'll have to wait for your update.

Thank you.


Maybe you can help with my other two questions:

1) How does the All-Time greats scoreboard work? Will names appear once I clear my high scores? They do not seem to show up but I haven't tried that yet.

2) Some games that are scoring time do not score seconds, only the minute. Is there any fix for this that anyone knows of? I thought I read someone having this problem and fixing it, but I can't find the thread again.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Mon Jan 09, 2006 4:09 am   
Post subject:
Reply with quote
 
Quote:

Maybe you can help with my other two questions:

1) How does the All-Time greats scoreboard work? Will names appear once I clear my high scores? They do not seem to show up but I haven't tried that yet.

2) Some games that are scoring time do not score seconds, only the minute. Is there any fix for this that anyone knows of? I thought I read someone having this problem and fixing it, but I can't find the thread again.


1) Basically it copies all hiscores into the all time hiscores and then resets the main hi-scores to zero (0).. Its just a basic setup at this stage.. I will be rewriting everything..

2) Thats fine. I have a fix for it but when you use it some other games play up.. You have to remember most of the problem is because some games use v2.0 of the save score pnFlashGames component and all the older ones use v1.0.. There is a big difference in the way it saves..

I think if you change your playerscore to INTEGAR it will save with decimal points but some games like POKER will play up when you hit over 1,000,000 points.

l8r

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
rusty73
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Dec 30, 2005
Posts: 9

Post Posted: Fri Jan 20, 2006 1:38 am   
Post subject:
Reply with quote
 
I am really stuck on this. I've gone through everything I could think of and nothing seems to work. Now any new games I install are not scoring either.

What is the most recent version of nuke that the module was tested with? What about MySQL or PHP?

I'm just trying to find the problem here. I just don't get why the games with old scoring are working, but the new ones aren't.

Do you think it might help to use 0.6 rather than 0.4++? The module is very successful on my site and I really want to fix this.

Is there anyone else out there that has this module working with nuke 7.8 that can share anything you did?

www.clansenescence.com


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Sat Jan 21, 2006 1:55 am   
Post subject: PHPNUKE 7.8 pnFlashGames
Reply with quote
 
post a new topic.. Put something like PHPNUKE 7.8 and HQ FlashGames???
Hopefully we get some members actively replying to help.

I know there are some guys who got 7.8 to work but i have no idea without searching through the forums who they are.

I would suggest setting up a dev server and keep testing.
If you just remove all the new games for now i will work on it whenever i have more time..

I know it wll work with 7.8 but i will need to make changes i think.

so, with that said.. make a new topic.. if no one replies then once i get more time i will fix for you.

l8r and sorry for any problems.. I thought it would work fine and it does for some guys.

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
Goto page 1, 2  Next |
 All times are GMT | Page 1 of 2
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
 


Get Xbox Game Pass Ultimate