Previous Thread
Next Thread
Print Thread
Rating: 5
Page 10 of 12 1 2 8 9 10 11 12
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
undefined getmicrotime()? are you using UBBT6 or better? and did you include the main.inc.php? you need to set those in arcade.php and arcadeadmin.php

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
mini - what file are you getting that error from, and in what folder does it reside?

If you are getting that from instarcade or fixarcade - make sure they are in your ROOT Threads directory.

It sounds like a file is not finding the main.inc.php and cannot 'begin' all the functions.

Joined: Jan 2005
Posts: 14
Newbie
Newbie
Offline
Joined: Jan 2005
Posts: 14
Yea both are in the root directory of threads, the path is right in both files (arcade.php and the admin)same path from the original install.

The files are all in the same place as the original install.

I used the EXACT same path as in the original install.

The only thing I can think of, is that it might be a CPANEL issue, (they have this combo control for sql....one the original MySql and a funky GUI version......they just upgraded the CPANEL on the server

OYE VEY!!!! LOL

Thanks for all the help Ill figure it out at some point

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
or send me a PM with username,password, and ftp info and I will take a look.

Joined: Jan 2005
Posts: 14
Newbie
Newbie
Offline
Joined: Jan 2005
Posts: 14
ok


scroungr da man!

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
all fixed.. your server was having issues with the install script so I changed a few things...

Joined: Jan 2005
Posts: 14
Newbie
Newbie
Offline
Joined: Jan 2005
Posts: 14
And thanks to id242 for adding the game packs earlier in the thread.

If you guys need something related to this ...or not related...

I gave scroungr complete access to about 4 domains....and I was a little leary at first....

But his parting pm was to shut down everything I set up for him ftp and admin
The guy is good....

Step up and take his sig for real, send him a few bucks too.....

He is a professional

And thats all I got to say about that(Forrest Gump) LOL

Thanks bro

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
[]minimock said:
He is a professional
[/]

I can agree with that, he is the man

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Ill jump on ad say, Yes he is! Helped me out may times.

Joined: Jan 2005
Posts: 14
Newbie
Newbie
Offline
Joined: Jan 2005
Posts: 14
Someone asked about Ms Packman earlier....I found it...installed it, and it works great....Ill attatch it.
Attachments
126530-mspackman.zip (0 Bytes, 51 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Scroungr - I have not dug into this too far yet, but found a glitch or two in the code. Will dig in and write up a fix if I can later today.

On the "index.php?act=Arcade&do=newscore" (ie the New Score page after you are done playing), there are a couple of things...

This is for an IPBPro game:

1. Icon does not show properly.
2. I think it is pulling the game ID instead of the game name (Thanks for playing 69!)

Will see what I can find.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Figured this out one, I attached the arcade.php to this post - but scroungr PLEASE feel free to delete if you have already corrected this or do not want it attached here.

I added $category and category=>$category references into queries on or around lines 138, 180, 769, 870, 1171, 1606, and 1672.

I did this so that any SELECT * would reference properly. Works for me, this corrected my issues with the game IDs showing in the news, and game IDs or session IDs showing in high scores or after you finish the game.
Attachments
126569-arcade.txt (0 Bytes, 143 downloads)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
?? I will take a look

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
actually I found the problem! it was in the installer for upgrading from 1.6 to 1.8

this line

$query = "ALTER TABLE `{$config['tbprefix']}gamesessions` ADD `category` INT(3) NOT NULL default '0'";
$dbh -> do_query($query);



updated zip
didn't need to be there since it never places any value in that field!

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Ahhh, very cool! So I can revert to the original arcade.php and simply remove the category field from the gamesessions table?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yes. Its not in the new installs nor the update from 1.7.. only appeared in the update from 1.6

Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
Getting this error when running the install script:

Fatal error: Cannot redeclare class mailer in /home/xxxxx/public_html/ubbthreads/ubbt.inc.php on line 224

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
hmm thats a strange error to get... do you have a main.inc.php in the main ubbthreads directory AND one in the includes?

Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]scroungr said:
hmm thats a strange error to get... do you have a main.inc.php in the main ubbthreads directory AND one in the includes? [/]
That was the problem, THANKS !!!

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
Hi all.
Firstly, great hack here. I like it a lot.

I've just upgraded to the 1.8 version, and now my scores arent being submitted.
I get the :
[]
Sorry but you do not have permission.

Please use your back button to return to the previous page.
[/]

These are using the standard games.

I've looked at permissions etc, but nothings jumping out at me. Have read through most of thi thread, but couldnt see anything to help me.

Any ideas peeps?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
try the following... delete the tables and the arcade folder and the U_Arcadevisit field from the w3t_users table and try a fresh install and see if that helps any.. back up any game you previously installed.. see if that helps and let me know.

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
yep, that done the job

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Here's an update arcade.tmpl file to fix mismatched table opening and closing tags (which most of you don't notice anyways). All work done by Josh
Attachments
126692-arcade.tmpl (0 Bytes, 771998 downloads)

Joined: Oct 2002
Posts: 24
Newbie
Newbie
Offline
Joined: Oct 2002
Posts: 24
Thanks for the updated template! (I noticed.) New one works great.

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Scroungr I am going to upgrade from 1.6 Do I need to run the install script?
*edit* I didnt wait for you I ran it. Everything looks fine except my Hi-Scores arent showing usernames. Also what does fixarcade.php do?

Last edited by ChAoS; 03/30/2005 12:22 AM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
fixes the highscore

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
[]http://emeraldforestseattle.com/ubbthreads/images/graemlins/foreheadslap.gif[/]

With the marquee enabled I am showing Blank Lines underneath the signature areas now. Is that intentional?
http://emeraldforestseattle.com/ubbthrea...mp;page=0#97278

*edit-I just noticed that some posts are showing the double spacing and some aren't

Last edited by ChAoS; 03/30/2005 2:14 AM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah the marquee was really to show how it could be done.. ya have to mess with the size of text to get it to look right for your site.

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
*gets out his chainsaw for code editing*

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Hmm I ran the fixarcade script but I noticed my Hi Score names are still missing. Any ideas?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Make sure you are overwriting all the scripts and not bypassing any.. then hmmmm did you run the instarcade.php when ya installed it? it may be another upgrade issue.. you may have to try deleting all tables and the U_Arcadevisits field from w3t_users and start a new install...

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
[]Medar said:
Figured this out one, I attached the arcade.php to this post - but scroungr PLEASE feel free to delete if you have already corrected this or do not want it attached here.

I added $category and category=>$category references into queries on or around lines 138, 180, 769, 870, 1171, 1606, and 1672.

I did this so that any SELECT * would reference properly. Works for me, this corrected my issues with the game IDs showing in the news, and game IDs or session IDs showing in high scores or after you finish the game. [/]

I am getting this problem too. I downloaded the new version today, upgraded from 1.6 to 1.8 followed the instructions, everything is working correctly but I get the same as above.

I tried and used the attachment that Medar has posted but it shows the file name instead, pepsipinball.swf.

Any ideas?

p.s. donation sent

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Something else too.

When viewing the top scores it does not show the username of who has the top score.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
try the following.. delte the scripts.. delete the U_Arcadevisits field from the threads Users table and the the arcade tables and do a new install there is something wrong with the upgrade but i can't find it...

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
or pm me and let me take a look at yours...

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Ok. Thank you

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
actually I found it I think.. in your gamesessions do you have a field called ibsessid? if not do this

ALTER TABLE `w3t_gamesessions` ADD `ibsessid` varchar(32) default NULL;

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I uploaded a new zip.. will help those that havent upgraded yet...

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Again you have shown that you are the man

That sorted it all, thank you

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
just added this and loving it!

i searched around through this thread, and didn't really find anything... is there, like, a standard way to "fix" a swf game so that it will allow ubb.threads high scores?

for example, i downloaded the fla of the popular neave pac-man game, and uploaded it via the arcade control panel, however, i can't get high scores to work (and noticed others in here couldn't, as well)

anything i have to change to the fla, or something?

Page 10 of 12 1 2 8 9 10 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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
WebGuy 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)