Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 12 1 2 3 4 11 12
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
There's a buglet on the high scores page for blackjack, seems I keep winning

That and there's an html/ tables bug on the row for DrChaos' score.


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
oh my. it was me and SG for a while there. I dont think it likes me anymore. i cant get past 3000

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
Fun game. Though, the text is very hard to read, is it possible to increase the height and width just a bit?

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
ya, its set in the file when you upload it as a new game.

where did you guys get that game. I would like to try to add it and see if it works for me. the rest didnt so far..

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
[]DrChaos said:
ya, its set in the file when you upload it as a new game.

where did you guys get that game. I would like to try to add it and see if it works for me. the rest didnt so far.. [/]

Yeah I know it can be changed. That's why I asked.

This is working well on my site. Check the post where Scroungr talks about that thread for converting the games to work on your site. That site has many games that will work "out of the box". I've downloaded quite a few already and have some installed on my site.

Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I can't get blackjack to submit, I get a permission denied error but all of the other games do work. BTW I have a ton of these games from when I ran it on a vb board that are ready to go, you can also grab games from existing sites, make a couple of mods to an existing game.php file and make them your own So if you have something specific you would like go ahead and request it and I will post it here as long as it's not on the black list.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Anyone have a MsPacMan? We have a diehard MsPacMan fan who doesn't like PacMan.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
[] I've downloaded quite a few already and have some installed on my site. [/]

and they are tracking scores? wtf am I doing wrong............

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Here is a list of what I have, and I have more at home..

v3 Arcade - Barb Jump
v3 Arcade - Butch Mushroom
v3 Arcade - Cat Bowling
v3 Arcade - Curveball
v3 Arcade - Flexi Combat
v3 Arcade - Ice Hockey
v3 Arcade - Mahjong
v3 Arcade - Minigolf
v3 Arcade - Minigolf v2
v3 Arcade - Missile Strike
v3 Arcade - Monkey Diving
v3 Arcade - Pinball
v3 Arcade - Pop-Up Killer
v3 Arcade - Power Play
v3 Arcade - Rotation
v3 Arcade - Seal Bounce
v3 Arcade - Squirrel Soccer
v3 Arcade - Stick Fighter (v2)
v3 Arcade - Suicide Puppy
v3 Arcade - Virus
v3 Arcade - Yeti 4

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Quick question. My games are sorting by the order in which I uploaded them (ie gamesid), but the one place I could find in arcade.php where it states ORDERBY $gamesid, I changed that and it did not take.

What would you change in the code to sort by shortname instead?

Sponsored Links
Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
[]ericgtr said:
I can't get blackjack to submit, I get a permission denied error but all of the other games do work. BTW I have a ton of these games from when I ran it on a vb board that are ready to go, you can also grab games from existing sites, make a couple of mods to an existing game.php file and make them your own So if you have something specific you would like go ahead and request it and I will post it here as long as it's not on the black list. [/]

Simple Simon


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Got mine fixed, found the shortname issue.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
If anyone gets the Yeti Pentathlon working properly, let me know. Cannot seem to get it working right (won't launch to the language selector)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I think I found a bug in the arcade.. need someone that hasn;t added games but is gonna to try this.. it works on my site
Attachments
119386-arcade.php.txt (0 Bytes, 521 downloads)

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
hey eric how about a zip file....

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay made some bug fixes lets see how this goes. So upload the new files and rerun instarace and pick upgrade option.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Okay I ran the new instarcade.php and upgraded, now I get this error when I go into the arcade:

SQL ERROR: Thu, Sep 02 2004 13:34:11 -0400 Unable to do_query: SELECT gameid, shortname, gamesettings, title, width, height, FILE, stdimage, highscore FROM w3t_games WHERE gameid=7
Unknown column 'stdimage' in 'field list'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /site/name/public_html/ubbthreads/mysql.inc.php on line 133

Also on line 311 the "red" needs to be "red" or you will get a parse error.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
[] result resource in /site/name/public_html/ubbthreads/mysql.inc.php [/]

did you edit to make it say that part of code?

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I don't like displaying my full paths in public

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
eric check to make sure you grabbed the right files I just rechecked and all occurrences of stdimage is no longer present in any of my new files I changed it to gameimage

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Okay, I updated all the files and it's working now the initial instructions said only to re-run the instarcade.php script. Even my Blackjack is working

Another quick fix on a path here.

In both arcade.php and arcadeadmin.php

change this:
require ("$thispath/arcade/languages/{$myprefs['language']}/arcade.php");

to this:
require ("$thispath/arcade/languages/english/{$myprefs['language']}/admin/arcadeadmin.php");

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
hmmm {$myprefs['language']} should be english so it would be redundant? unless of course theres an english directory inside english? or your not getting the cookie setting?

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
It didn't work without that path for me so I changed it according to where the file was in the structure provided. Not sure why I wouldn't get the cookie setting if that's the case.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
hmm yeah thats strange..

Joined: May 2002
Posts: 153
Member
Member
Offline
Joined: May 2002
Posts: 153
I think i saw a way to challenge other members before and I liked that but now I can not find a way to challenge anyone. Are the settings changed?

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
I think you challenge them in their Profile.

Joined: Apr 2004
Posts: 54
Cro Offline
Power User
Power User
Joined: Apr 2004
Posts: 54
Hi, i need some help. Im not really good with php, but anyways, when i run instarcade.php i get this error:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /homepages/4/d95285407/htdocs/ubbthreads/instarcade.php on line 311

Now i imagine its something to do with my paths.....By the way im running ubbthreads 6.4....any help would be appreciated, thanks..

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
In instarcade.php

Find this:


echo "<br /><br /><center><font color = "red" face="Verdana, Arial" size="2">You must manually go in and change all gifs from gamename1.gif or gamename2.gif to gamename.gif using the larger of the two files</font><br /><br /><font face="Verdana, Arial" size="2">Upgrade complete! Read Installation.txt for the next step! Remember to remove this file.</font></center><br /><br />";



Change to this:


echo "<br /><br /><center><font color = "red" face="Verdana, Arial" size="2">You must manually go in and change all gifs from gamename1.gif or gamename2.gif to gamename.gif using the larger of the two files</font><br /><br /><font face="Verdana, Arial" size="2">Upgrade complete! Read Installation.txt for the next step! Remember to remove this file.</font></center><br /><br />";

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
[]DrChaos said:
Here is an example.

on the main arcade page it shows a user (cn3089) as the winner of snake with 1599.

[]http://www.leetgamers.org/images/threads/cn.jpg[/]

but when you click high scores its actually corbin that is the leader with that amount.

[]http://www.leetgamers.org/images/threads/corbin.jpg[/]

I also added the pacman game from the same site that snake came from and I used the install page. it created the code but I had to upload the files. the files didnt upload with the install page. I cant figure out how to get pacman to keep scores. [/]

I have this problem too, but only on some games archery being one, my thought is that it depends if the user has submitted the score or not, the high score viewed next to the game is correct in the gamesessions table but not in the game table.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
actually I found a bug will post a bug fix tomorrow

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
argh, took me oer 2900 seconds, but I finally beat my old score


- Allen wavey
- What Drives You?
Joined: Jul 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2004
Posts: 2
[]Turbosport said:
[]DrChaos said:
Here is an example.

on the main arcade page it shows a user (cn3089) as the winner of snake with 1599.

[]http://www.leetgamers.org/images/threads/cn.jpg[/]

but when you click high scores its actually corbin that is the leader with that amount.

[]http://www.leetgamers.org/images/threads/corbin.jpg[/]

I also added the pacman game from the same site that snake came from and I used the install page. it created the code but I had to upload the files. the files didnt upload with the install page. I cant figure out how to get pacman to keep scores. [/]

I have this problem too, but only on some games archery being one, my thought is that it depends if the user has submitted the score or not, the high score viewed next to the game is correct in the gamesessions table but not in the game table. [/]

Me too everything else is great though

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay uploaded a new copy its installed here it does fix the hiscore issue make sure your not getting a cache'd copy look for this line in arcadeadmin.php

for ($files=0;$files<2;$files++){

make sure it is NOT

for ($files=0;$files<3;$files++){

Joined: Jul 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2004
Posts: 2
that fixed the score issue but my admin shows me a blank screen now ?

(not thats that's the end of the world as i add games through phpmyadmin anyhoo


Thanks

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Hmm thats totally weird try doing what Eric did above and

change this:
require ("$thispath/arcade/languages/{$myprefs['language']}/arcadeadmin.php");

to this:
require ("$thispath/arcade/languages/english/admin/arcadeadmin.php");

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
also make sure the path in arcade/admin/arcadeadmin.php is set correctly.

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
Wheres the scores fix ? the attachment is still 1.6 however its different to my 1.6 but still hasnt fixed the scores


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
see



$query = "
SELECT score, U_Number, U_Username
FROM {$config['tbprefix']}gamesessions AS t1
LEFT JOIN {$config['tbprefix']}Users AS t2 ON t2.U_Number = t1.userid
WHERE valid=1 AND $sessionclause
AND gamename = '$shortname'
AND score = '$currenthiscore'
ORDER BY gamename ASC
";
$stj = $dbh -> do_query($query,__LINE__,__FILE__);
list($currenthiscore_q,$usernumber,$username) = $dbh -> fetch_array($stj);


if you don;t you don;t have the latest copy that is here..


its getting pulled from gamesession and displaying the currenthighscore and the username associated to it thats the part I fixed it use to be seperate puylls in arcade.php so I will need more info like your URl and also create a user called threadsdev with password threadsdev so I can poke around ya know.. help a little

Last edited by scroungr; 09/07/2004 12:08 PM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
BTW it was a minor change that was suppose to be in the 1.6 zip but wasn't so I didn't change the version number only updated the proper files in the zip that I missed.

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
Thanks m8, I used the zip file just before my last post

my url is http://www.turbosport.co.uk user and password = threadsdev


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Page 2 of 12 1 2 3 4 11 12

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)