V3 Now Available To Public.
Mar 23 2006, 09:02 PMVersion 3.0 is finally available to the public! The arcade includes a ton of features, including the awesome tournaments by Sean.
The zip file: at end of this thread.
------------------------------------------------------------------------------
How to: Fresh install
-Upload all the files EXCEPT UpGrade.php.
-CHMOD the files that the install.php tells you to you.
- Fill out all the install info.
That's basically it. Arcade online.
How to: Upgrade from 2.4
------------------------------------------------------------------------------
HOW TO UPGRADE
Note: Please backup your arcade before upgrading. The SQL data and the files. I have only done this once before, and I believe it is working, as the current arcade on this host is upgraded.
STEP 1: Erase all files you have in your arcade, except /accounts/ , /skins/, /emoticons/, /arcade/ and arcade_conf.php other than that erase it all.
STEP 2: Upload the new files, being careful not to overwrite your arcade conf. From the /skins/ folder in the download, upload the /Default/ folder to the /skins/ folder on your server.
STEP 3: Run the UpGrade.php thats in the 2p4_Upgrade folder. Click the [start] then when the sql finishes, upgrade your account to admin with the admin hopper. then, destroy the upgrade file immediately! it will try to self destruct but may not because of file permissions. it will on my host, though, or should. wont matter.
STEP 4: Login, and visit AdminCP - > Go to the bottom and go to settings. Set up your settings, like turn on the shoutbox etc. Enter
jS F Y - h:i A
for date format.
STEP 5: You should be done. Your arcade should be up, and the skin you have should also be there.
If anyone has any problems please post here. Thanks.
And please, DO NOT PANIC.
------------------------------------------------------------------------------
In other news:
The arcade here is back online and all fixed up. Downloads are back up. I realized it looked run down but now everything is fixed. I might be adding more games soon too.
------------------------------------------------------------------------------
If you have any questions or problems, please post here.
Apr 6 2006, 04:01 PM
I have decided to finally call "final" (no pun intended there. <_<) after fixing the following last of the reported bugs so far, updated the zip, QA 3.0.17 Final:- filemtime bug I guess is fixed.- there was a pages bug, surprisingly enough, and it was reported by travis, all fixed.- I added a thing to just have it go directly to the arcade index if someone tries to go directly to index.php?Act=arcade&do=newscore. Just nicer that way.There was a bug reported by travis also where, if you cleared scores in the game manager it wouldnt fix the leaderboards. I can't recreated this bug on any server I have so far, and it only happened once, so, who knows. If it comes up again Ill look into it but for now... calling final.If you have Suggestions please post them at that link in a new topic. If you have Support Questions please click that link and post there. You can also report bugs there, because there still may be a bug or two left but for the most part it shouldnt be anything major.Topic is being closed, and I'll add QA to the downloads page on the main site later today. thanks again to everyone who helped test during the beta.
Apr 4 2006, 06:41 PM
whats wrong with filemtime then? i could have sworn it worked before.
Apr 4 2006, 06:38 PM
Yes, I added the basename. Look it up... all its doing is getting the name part of the filename.basename("../dirtofile/filename.php",".php"); //filenamebasename("../dirtofile/filename.php"); //filename.phpbasename("dirto/file/filename.css",".css"); //filename
Apr 4 2006, 01:16 PM
done, i'll let ya know ^_^
Apr 4 2006, 01:12 PM
I don't know what to replace it with.:-/tryCODE$forumtopiclist [@basename($topic,".css")] = @filemtime($s."/".$topic);Maybe supress errors.
Apr 4 2006, 01:03 PM
i meanCODE$forumtopiclist [basename($topic,".css")] = filemtime($s."/".$topic);is the line, would you like me to replace it with something to see if it changes? or something?
Apr 4 2006, 12:44 PM
Sean, did you add "basename" to that??? I don't remember doing that?and this is gonna be a tough one to debug mvp, because i see no errors anywhere and the files are there. only thing i can think of is that it's missing a ./ but bleh.
Apr 4 2006, 12:38 PM
still reciving the error problem jcink and sean[03-Apr-2006 20:29:36] PHP Warning: filemtime(): Stat failed for /darkside.css (errno=2 - No such file or directory) in /data/home/mvpzero/public_html/qa/Arcade.php on line 1491
Apr 3 2006, 11:42 PM
Thanks Sean.
Apr 3 2006, 06:13 PM
I'll make this a feature thanks
Apr 3 2006, 04:33 PM
Tournament request... its been a while since certain members have entered in a tournament/never played their 3 times. Is there a way to make a certain person advance since its been a really long time or how about a time limit?Thanks... its really annoying seeing incomplete tournaments.
Apr 3 2006, 04:29 PM
Removed. I'll see if it returns.
Apr 3 2006, 04:27 PM
Get the index file out of here: http://mvpzero.net/qa/skins/ it's causing errors in the skin setup, I believe.
Apr 3 2006, 02:19 PM
error log: [03-Apr-2006 14:04:45] PHP Warning: filemtime(): Stat failed for /BlackDisguise.css (errno=2 - No such file or directory) in /data/home/mvpzero/public_html/qa/Arcade.php on line 1491Error log goes on forever though all the skins. Help? On how to update line 1491. it reads: CODE$forumtopiclist [basename($topic,".css")] = filemtime($s."/".$topic);Thanks
Apr 3 2006, 09:24 AM
Can you tell me what you modified in the arcade.php?Thanks!
Apr 2 2006, 04:12 PM
Updated main zip.
Apr 2 2006, 04:05 PM
Updated-n-UpGraded: [attachmentid=704]
Apr 2 2006, 03:34 PM
Heres a quick tourney-bar image maker I made: http://f-jh.no-ip.org:81/seanj/?site=Gener...tourney_img.phpjust stick in a hex code and it makes all the images for you; just download them.And if you have a black skin called "Black_Skin" (without the .css), just make a folder called "Black_Skin" in the Skins/ folder and stick the new bars in there.Edit: OOPS I forgot to add this in! Will post arcade.php fix
Apr 2 2006, 01:55 PM
Which reminds me... brb
Apr 2 2006, 01:13 PM
Will it change automatically or must I use a code and name them a certain way?
Apr 1 2006, 12:14 AM
you need to make images then, for them, and throw em in the skin folders.
Mar 31 2006, 11:24 PM
It works...I just noticed for the tournament table,that when a member chooses a skin with a black background in the tables you cannot see the tournament table images. Thanks.
Mar 31 2006, 10:14 PM
Nope...Sunday...I'M GOIN IN!
Mar 31 2006, 10:09 PM
Im curious if this is posted on Invisionfree yet?
Mar 31 2006, 08:20 PM
Fixed the query box thing in acp:[attachmentid=697]
Mar 31 2006, 05:06 PM
I forgot to mention it...run this query:ALTER TABLE phpqa_tournaments ADD misc_settings text
Mar 30 2006, 11:01 PM
I don't understand.
Mar 30 2006, 10:31 PM
QUOTE(sebthib55 @ Mar 30 2006, 11:23 PM)I get CODEWarning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\EasyPHP1-8\www\s\host\sebthib55\phpqa_2p4\Arcade.php on line 1251So I don't know.[right][snapback]17245[/snapback][/right]that's being caused by the absence of misc_settings in the tournaments table, i know i've fixed it on mine already, i had went into the code to see the difference, and it was just the misc_settingsi.e. the table for the tournaments is missing the misc_settings column, i've fixed this on my site by adding the column in, and it fixed the problemEdit was in red
Mar 30 2006, 10:23 PM
I get CODEWarning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\EasyPHP1-8\www\s\host\sebthib55\phpqa_2p4\Arcade.php on line 1251So I don't know.
Mar 29 2006, 11:59 PM
QUOTE(Sean @ Mar 29 2006, 11:25 PM)Added 2 things to this version:When Creating a tournament... two new options available:-Scoring Attempts (How many times to play instead of the default 3 chances)-Scoring Type (Score using an average of all their scores... or take the maximum score?)Test it out if you want. If you find a bug; just let me know and I'll fix it. no problem.[right][snapback]17203[/snapback][/right]What code do I use to replace something in my Arcade.php? I made to many modifications Thanks!
Mar 29 2006, 11:34 PM
QUOTE(sebthib55 @ Mar 28 2006, 11:02 PM)How do we add the swears?Is it word, word, word,or word w***w---I keep getting errors in my shoutbox[right][snapback]17162[/snapback][/right]type the word out.wordanother wordword2word3
Mar 29 2006, 11:25 PM
Added 2 things to this version:When Creating a tournament... two new options available:-Scoring Attempts (How many times to play instead of the default 3 chances)-Scoring Type (Score using an average of all their scores... or take the maximum score?)[attachmentid=693]Test it out if you want. If you find a bug; just let me know and I'll fix it. no problem.
Mar 28 2006, 11:02 PM
How do we add the swears?Is it word, word, word,or word w***w---I keep getting errors in my shoutbox
Mar 28 2006, 10:42 PM
O, I thought there was a badword filter premade. Thats why I didn't know why they werent blocked.
Mar 28 2006, 10:13 PM
Goto ACP->Badword Filters->[Manage]
Mar 28 2006, 09:37 PM
How do I turn on the badword blocker? I tested a couple swears like f- and it never worked? It clearly showed the word?
Mar 28 2006, 09:24 PM
Thats what I figured... How about I make a wish list for mods thread???
Mar 28 2006, 07:07 PM
That MAY be a mod. Definitely wont be a feature by default.
Mar 28 2006, 07:00 PM
An idea struck me. How about a competition of some kind. 2 version ideas:1st version: We post a game every week or so with a score members must beat. If they do they get a challenge won point if they beat it. They can only beat it once per competition. They must wait for the next. (Or something similar)2nd version: We have a type of quest related. If members accept, they get a goal they must beat. If they beat it, they advance to the next level. And so on, and so on. The quest level can be added to their lookup and/or it can be an avatar they get as a reward.Example: Level 1: Score 250 in AsteroidsExample: Level 2: Score 6000 in Pinball.Etc....
Mar 28 2006, 06:26 PM
Haha ok. I just wanted to forward the idea given by a member. Thanks guys! You guys are awesome. I wish I knew php. That way I didn't have to bug you guys and I would be able to create mods to share. Its so confusing I find.
Mar 28 2006, 06:15 PM
An idea I was going to code tonight anyway. o_O weird.
Mar 28 2006, 06:11 PM
I got a suggestion from a member. Quote:"Hey Seb. I like the tournaments but I don't like how we must play a game 3 times in order for our turn to be over. Would it be possible if we can set the number of time someone must send their score upon creating a tournament. Thanks."
Mar 28 2006, 04:52 PM
Edited games get refreshed to the top. Just how it works. I could fix it i guess but not right this minute sorry.And yeah, someone needs to post the files or a new mod needs to be created.
Mar 28 2006, 04:35 PM
Ok. Thanks. Maybe someone will create a new mod.I noticed that when I modified some games they were added to the New Games List?
Mar 28 2006, 04:30 PM
It could be converted, but, I dont even have the files with which to do so.
Mar 28 2006, 03:31 PM
Thanks guys!
Mar 28 2006, 11:54 AM
Rate Game and Personalized Profile.... bloat.
Mar 28 2006, 11:31 AM
QUOTE(sebthib55 @ Mar 28 2006, 12:50 AM)Also, to be able to change members passwords if they forgot them. [right][snapback]17118[/snapback][/right]It's in there now; overwrite your acp.phpQUOTECan I request for profiles to allow members to post a little description about themselves. They can have an about me section. That way it can be more personalized. maybe someone can provide a quick mod for this.QUOTEIs the rate game easy to install for this arcade or is it completely different coding?No idea, I can take a look later and let you know though.
Mar 28 2006, 12:50 AM
Can I request for profiles to allow members to post a little description about themselves. They can have an about me section. That way it can be more personalized. Also, to be able to change members passwords if they forgot them. Thanks!
Mar 27 2006, 11:57 PM
Is the rate game easy to install for this arcade or is it completely different coding?
Mar 27 2006, 11:36 PM
Updated the zip... only install.php thats it.
Mar 27 2006, 10:45 PM
That worked. Only thing is now my Latest Scores are gone EDIT: It just came back. Nevermind... Took a while for some reason.
Mar 27 2006, 09:38 PM
finally, run:ALTER TABLE phpqa_games CHANGE Champion_score Champion_score decimal(20,0)
Mar 27 2006, 09:08 PM
Hmmm didn't work. I still see the E junk on my Pepsi Pinball Champion except for the highscore tables?
Mar 27 2006, 09:04 PM
go to the PHPQA MySQL toolbox if you like and type it there. or the SQL query window whichever you like.
Mar 27 2006, 09:02 PM
Do I type that as a query in the query window that appears after I click on the SQL Icon on the left?
Mar 27 2006, 08:55 PM
run:ALTER TABLE phpqa_leaderboard CHANGE thescore thescore decimal(20,0)
Mar 27 2006, 08:52 PM
I did it and it works fine for highscore tables. Only the other scores on other pages don't work. Ex: (Profile, CHampion Score) Now what part must we edit in the zip? Does that fix the rest?Can you post the exact line(s). Thanks I appreciate it!
Mar 27 2006, 08:37 PM
It is wierd; but when you perform a math operation on a string, it tries to convert that string to integer... which is what intval() is SUPPOSED to do; which makes no sense. I would go and report a bug, but I dont want to get chewed out. <_<
Mar 27 2006, 08:36 PM
ok.$t=$g[2]+0; works too XD tahts very weird.
Mar 27 2006, 08:32 PM
After a bit of testing, I found a solution. Just change the "thescore" column in the mysql table from type "float" to "decimal" with # significant digits. I used 20 so I can have long scores. x)Running the following query should fix everything:ALTER TABLE phpqa_scores CHANGE thescore thescore decimal(20,0)Edit: And yes Jcink <_< this needs to be fixed in the zip
Mar 27 2006, 08:26 PM
nope. Couldnt get it to work. This is definitely a problem...
Mar 27 2006, 08:24 PM
X) Editing posts (sorry <_<)What I was thinking of wouldnt have worked anyway. You could str_replace out the +, but it would still be data type (string).Try doing:(float)str_replace("+","",$thescore);Dunno if that will work. I'll go test.
Mar 27 2006, 08:24 PM
XD it doesnt work!Who knows.What I did notice works though was you put that into DMs calc, and add 0 it comes out to the right number >_> weird.
Mar 27 2006, 08:20 PM
No you dont have to use str_replace, its just the quotes in your example thing is wrong is all.cant intval($scoreboard[score]); be done? in the scoreboard?
Mar 27 2006, 08:19 PM
ok.But the problem with that is... mysql query results are always string.
Mar 27 2006, 08:15 PM
I figured it out. dont put quotes around it.echo intval(1e10); // 1410065408echo intval('1e10'); // 1
Mar 27 2006, 08:14 PM
Hmm...Edit: Nope, I didnt think it was an error. (<______<); I just got the two numbers confused.
Mar 27 2006, 08:12 PM
echo intval("2.51059e+006"); returns 2 for me and echo intval("+0123.45e6"); just returns 123 for me but I am probably doing it wrong.edit: I can see how my post could have been confusing, but I was simply pointing out how PHP.net says that the number in the example is a valid number, and not an "Error" to seb. so his score isnt an error is what i was trying to show.
Mar 27 2006, 08:09 PM
Ah, sorry. My mistake. <_> But still the same principle should work. Just intval() it
Mar 27 2006, 08:05 PM
+0123.45e6 was not the number, Sean. Thats the example number on PHP.net that I posted... this is the number from sebs score board: 2.51059e+006
Mar 27 2006, 07:48 PM
QUOTE(Jcink @ Mar 27 2006, 01:02 AM)the e is not an error, I believe, but exponential.that score comes out to be 2,510,590Why MySQL is storing it like THAT, I'm not sure. I have had a game with 1 million to test XD[right][snapback]17018[/snapback][/right]Wrong. +0123.45e6=123,450,000And to turn "+0123.45e6" into its integer value (123,450,000); use PHPs Built-in function. intval().intval("+0123.45e6"); //returns 123,450,000
Mar 27 2006, 05:10 PM
I'll have a look later, their site is down with a mysql error XDIPB WARNING [2] mysql_connect(): Lost connection to MySQL server during query (Line: 131 of /ips_kernel/class_db_mysql.php)
Mar 27 2006, 04:43 PM
Something like this for the champion would be really cool. http://www.ibpdownloads.com/ipb/index.php?...ats&gameid=1764
Mar 27 2006, 01:27 AM
XD well php made it that way, theres a way to show the real number, i am just not sure how at the moment ill find out though.
Mar 27 2006, 01:19 AM
Hmm thats weird. Haha, who thinks of this? HAHA!!! I just wonder how my members will know the exact value of it?
Mar 27 2006, 01:02 AM
the e is not an error, I believe, but exponential.QUOTENumeric strings consist of optional sign, any number of digits, optional decimal part and optional exponential part. Thus +0123.45e6 is a valid numeric value.that score comes out to be 2,510,590Why MySQL is storing it like THAT, I'm not sure. I have had a game with 1 million to test XD
Mar 27 2006, 12:37 AM
I posted a score that is worth quite a few millions and it became error number2.51059e+006http://f-jh.no-ip.org:81/s/host/sebthib55/...id=pepsipinball
Mar 26 2006, 08:44 PM
Congrats, I hope it does well.
Mar 26 2006, 03:43 PM
O so there is nothing after $userI thought it was $user_php or something haha... Thanks!
Mar 26 2006, 11:16 AM
QUOTE(Sean @ Mar 24 2006, 07:38 PM)just look for tournaments=tournaments+1 in the file. theres only one line with it.[right][snapback]16813[/snapback][/right]That's the spot, as sean said, the only line with it, and it should be nearby that
Mar 26 2006, 02:47 AM
QUOTEYes. <_< <_< <_<In the query that updated the tournament wins, I used $phpqa_user_cookie instead of $user........................................Can you tell me what exactly the $user is? What is the ending instead of the .... The reason is I made many changes to my Arcade.php and don't want to lose them Thanks!
Mar 26 2006, 01:06 AM
Main ZIP updated.
Mar 26 2006, 01:03 AM
to the updates! away!
Mar 25 2006, 10:49 PM
Ah, oopsFixed: [attachmentid=682]
Mar 25 2006, 10:47 PM
It lies <_<In every game, if you have no categories, it says:"There are 1 games in this category"<_<
Mar 25 2006, 10:42 PM
<_<
Mar 25 2006, 10:37 PM
Could you just post the updated file? I'm just lazy, I don't feel like editing anything <_<
Mar 25 2006, 10:33 PM
Added something today me and Jcink both forgot.If you downloaded the arcade before the date of this post, make the following changes in Arcade.php:Replace all this:CODEif (!$_GET['action']&&!$_GET['id']&&!$_GET['cparea']&&!$_GET['modcparea']&&!$_GET['shoutbox']) {echo "<div class='tableborder'><table width='100%' cellpadding='1' cellspacing='1'><tr><td class='arcade1'>";if ($limit > 0) {echo "<div style='float: left;'><a href='Arcade.php?cat=$cat&limit=$limnm&show=$num_pages_of&page=$pgnm&arcade=1'>Previous Page ($pgnm)</a></div>";}if ($arcadetotalcat >= $limn&&$arcadetotalcat != $limn) {if (!$cat) {echo " <div align='right'><a href='Arcade.php?limit=$limn&show=$num_pages_of&page=$pgn&arcade=1'>Next Page ($pgn)</a></div>"; } else {echo "<div align='right'><a href='Arcade.php?cat=$cat&limit=$limn&show=$num_pages_of&page=$pgn&arcade=1'>Next Page ($pgn) $arcadetotalcat and $limit</a></div>"; }}echo "</td></tr></table></div><br />";}With this:CODEif (!$_GET['action']&&!$_GET['id']&&!$_GET['cparea']&&!$_GET['modcparea']&&!$_GET['shoutbox']) echo "<div class='tableborder'><table width='100%' cellpadding='1' cellspacing='1'><tr><td class='arcade1' align='center'><table width='100%'><tr><td style='text-align:left;width:150px;'>".($limit > 0?"<a href='Arcade.php?cat=$cat&limit=$limnm&show=$num_pages_of&page=$pgnm&arcade=1'>Previous Page ($pgnm)</a></td>":"")."</td><td style='text-align:center'>There are ".($arcadetotalcat+1)." games in this category</td><td style='text-align:right;width:150px;'>".($arcadetotalcat >= $limn&&$arcadetotalcat != $limn?"<a href='Arcade.php?cat=$cat&limit=$limn&show=$num_pages_of&page=$pgn&arcade=1'>Next Page ($pgn)</a>":"")."</td></tr></table></td></tr></table></div><br />";and now you have "Total Games in this Category". Not really a mod, just forgotten is all.
Mar 25 2006, 02:01 PM
weird. I gotta look into this <_<
Mar 25 2006, 02:00 PM
OK heres the deal: the file actually uploads to the root! http://67.81.68.99:81/temporary/php5/filemanager.phpLogin: JCink and pass: theyes it was working with open base... but that was before I got PHP5.
Mar 25 2006, 01:57 PM
harum........ wasnt uploading in SFM working before?
Mar 25 2006, 01:56 PM
Not for me <_>http://67.81.68.99:81/s/host/sebthib55/times/I tried putting something in there on a working account to just test; but it wouldnt upload.
Mar 25 2006, 01:55 PM
You know whats weird? I tried uploading with it; got that error... but it uploaded anyway. <_<
Mar 25 2006, 01:54 PM
move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(C:\PROGRA~1\EASYPH~1\\tmp\php7A8.tmp) is not within the allowed path(s): (.) in C:\Program Files\EasyPHP1-8\www\s\fmframe.php on line 616SpaceDodge.gif uploaded successfully.yeah i cant upload anymore. that makes no sense, the QA uploader works just fine with open base on.I dunno whats going on there. that wasnt there until AFTER i upgraded to php5 i think, im going to test SFM OB restriction edition later on again.
Mar 25 2006, 01:51 PM
WDF m8? Open base? o_OWhy is all my stuff full of bugs? Y_Y
Mar 25 2006, 01:49 PM
Unfortunately thats not related to the arcade, but the filemanager on my host. Try using the "FTP manager" in IE instead, I'll have to investigate that problem.But it isnt a prob with the arcade so dont worry.
Mar 25 2006, 01:45 PM
I uploaded 4 avatars onto Gallery 1 and I get this:QUOTEWarning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(C:\PROGRA~1\EASYPH~1\\tmp\php79E.tmp) is not within the allowed path(s): (.) in C:\Program Files\EasyPHP1-8\www\s\fmframe.php on line 616desert.bmp uploaded successfully.Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(C:\PROGRA~1\EASYPH~1\\tmp\php79F.tmp) is not within the allowed path(s): (.) in C:\Program Files\EasyPHP1-8\www\s\fmframe.php on line 616Astroid.bmp uploaded successfully.Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(C:\PROGRA~1\EASYPH~1\\tmp\php7A0.tmp) is not within the allowed path(s): (.) in C:\Program Files\EasyPHP1-8\www\s\fmframe.php on line 616Blackhole.bmp uploaded successfully.Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(C:\PROGRA~1\EASYPH~1\\tmp\php7A1.tmp) is not within the allowed path(s): (.) in C:\Program Files\EasyPHP1-8\www\s\fmframe.php on line 616clouds.bmp uploaded successfully.<-BackEdit: Same thing when I upload emoctions into the emoctions folder!-Masky
Mar 25 2006, 11:36 AM
Thanks Masky.It works just fine for me. What error are you getting?
Mar 25 2006, 09:14 AM
Awsome arcade jcink! Oh and I did a fresh install instead of the UpGrade!Edit: When I was uploading avatars onto Gallery 1, I get an error!-Masky
Mar 25 2006, 01:07 AM
I remeber that copyright lol XD
Mar 24 2006, 06:42 PM
got it thanks.UpDated -n- UpGraded the zip.
Mar 24 2006, 06:38 PM
just look for tournaments=tournaments+1 in the file. theres only one line with it.
Mar 24 2006, 06:36 PM
can you point out that line for me please?
Mar 24 2006, 06:34 PM
Yes. <_< <_< <_<In the query that updated the tournament wins, I used $phpqa_user_cookie instead of $user........................................T____________T
Mar 24 2006, 06:33 PM
quick question, do you know what you replaced/edited to fix it?
Mar 24 2006, 06:31 PM
Fixed. Just replace arcade.php with this one:[attachmentid=664]
Mar 24 2006, 06:25 PM
if you need, i've given jcink admin on the arcade, i've got stuff to do, i'm also on the irc network right now, idling up a storm, i can hear a call for my nick a good distance away, i could of posted it last night at 12:00am (-5gmt) my time but i wanted to go to bed
Mar 24 2006, 06:17 PM
Hmm ok i'll check it out
Mar 24 2006, 06:15 PM
http://chewyb13.info/arcade/Arcade.php?act...urnaments&tid=1 Look here. http://chewyb13.info/arcade/Arcade.php?act...ile&user=friend that guy was given 1 point whereas the other guy http://chewyb13.info/arcade/Arcade.php?act...le&user=aeroadm has nothing.
Mar 24 2006, 06:13 PM
Just try creating a 4 player tourney I think.
Mar 24 2006, 06:08 PM
Hmm interesting. Bug in tournaments? How can I recreate the bug? What did you do that caused it?
Mar 24 2006, 05:44 PM
QUOTE(Jcink @ Mar 24 2006, 04:43 PM)you're storing them away? (<_<)[right][snapback]16800[/snapback][/right]No, I'll delete them when I feel like it.
Mar 24 2006, 05:43 PM
you're storing them away? (<_<)
Mar 24 2006, 05:42 PM
QUOTE(Jcink @ Mar 24 2006, 03:16 PM)EDIT: Fixed thanks.[right][snapback]16798[/snapback][/right]You're welcome. And thanks for fixing. (With the number of bugs I and other people are keeping on finding, and you posting new releases, I'll probably have about a thousand copies of PQA 3.0 by the time the Final is released. <_<)
Mar 24 2006, 04:16 PM
EDIT: Fixed thanks.
Mar 24 2006, 04:05 PM
I just applied the acp.php patch, however, it now adds a slash in the name:http://f-jh.no-ip.org:81/s/host/sss2005/arcade/Arcade.php
Mar 24 2006, 02:55 PM
QUOTE(chewyb_13 @ Mar 24 2006, 02:50 PM)um i had just noticed something odd, it to deal with the leaderboard, i'll post the link to my arcade http://chewyb13.info/arcade/Arcade.phpme and some people that are on a irc network i go on, did a 4 person tournament and the leader board is showing the person that came in second on the tournament. I'll let you see for yourself, i haven't touched the database in anyway, and those ? are fixed fairly easy, i fixed those on my site[right][snapback]16794[/snapback][/right]Unfortunately that looks like, theres a bug in the tournies. Maybe one of the final bugs there is. Some reason it gave "friend" a 1 like you said and not aeroadm. Hmm.Sean will have a look later.
Mar 24 2006, 02:53 PM
Re-attached zip file, issues addressed:- Removed the broken "ABC sort by" since it was broke (meant to remove it a while back)- Fixed all "?"s- Added ability to [ Change Password ] in members area as requested.
Mar 24 2006, 02:50 PM
um i had just noticed something odd, it to deal with the leaderboard, i'll post the link to my arcade http://chewyb13.info/arcade/Arcade.phpme and some people that are on a irc network i go on, did a 4 person tournament and the leader board is showing the person that came in second on the tournament. I'll let you see for yourself, i haven't touched the database in anyway, and those ? are fixed fairly easy, i fixed those on my site
Mar 24 2006, 02:21 PM
ah crap, there should have been htmlspecialchars filters on those boxes... adding it as well as the fix sean posted.and I'll try to fix the "?" problem.
Mar 24 2006, 10:29 AM
Replace your acp.php with this one:[attachmentid=661]
Mar 24 2006, 06:18 AM
I found another bug, in the Admin CP. When you change your Arcade's name in the Settings section, to one with an apostrophe (i.e: "SSS's Arcade"), it apply's that name, however, the box changes to only the first letters before the apostrophe (i.e: "SSS") Therefore, everytime you make a change in the Settings section of the ACP, you have to type your arcade's name everytime.
Mar 23 2006, 11:49 PM
One other thing, sorry to bug you again. Its rename bug, even if it doesn't change the username in the tournament, it should still work? I am not too sure because Jcink just beat me and it says Join This Tournament. on the renamed username or even if we get beaten and if there is still room we can still enter a 2nd time?
Mar 23 2006, 11:46 PM
O I didn't know that. Thanks!
Mar 23 2006, 11:41 PM
QUOTE(sebthib55 @ Mar 23 2006, 11:40 PM)Well when we play tournament games, the scores don't get added to the highscore table... Thanks!!![right][snapback]16786[/snapback][/right]they're not supposed to be.
Mar 23 2006, 11:40 PM
Well when we play tournament games, the scores don't get added to the highscore table... Thanks!!!
Mar 23 2006, 11:39 PM
Fixed the rename bug. Just replace acp.php with this one: [attachmentid=657]Oh, I can do that.
Mar 23 2006, 11:36 PM
Can I request that our scores that we get on games while entered in a tournament be counted for the highscore table also?Thanks.
Mar 23 2006, 11:33 PM
oh.... meh <_<
Mar 23 2006, 11:28 PM
I noticed a bug, if we change our username, sadly if we entered a tourny we will not be able to continue playing in it.I had to change my username back.
Mar 23 2006, 10:36 PM
Thanks! Sorry for the unclear info.
Mar 23 2006, 10:34 PM
Oh.Just do:CODE} else if ($_GET['action'] == "actionpage") {require("phpfile.php");} else if ($_GET['action'] == "members") {
Mar 23 2006, 10:24 PM
Haha don't worry. I saved my bum thats all I know I was in panic! HAHA... About the addpage... how can I put a .php page like we used to? I made a news.php file and want to use it on my arcade... I tried doing what you told me to do but I am confused as I get this:http://f-jh.no-ip.org:81/s/host/sebthib55/...php?action=news
Mar 23 2006, 10:19 PM
QUOTE-I was also wondering how I can make someones shout count higher. It would be cool if I were able to award people by raising their shout count higher like they do in forums. nope sorry. it counts each shout, its not an editable number.QUOTE-Also if members forget their password would there be a way for me to modify their password to something easy like hello123 so then they can relogin and not lose all their info and they would be able to change it. Because password retrieval doesn't work. will add tomorrow thanks.Im totally confused about the password thing though <_<
Mar 23 2006, 10:05 PM
ARGHh... I can't login? Could have anyone changed my password? This is unbelieveable? Now there is no way for me to have access to the panel!!! How can I do this??? I did so much stuff... I was doing backups in my arcade but not the database?EDIT: I only know how to modify the group settings... I made a spare to be able to go inside admin panel but I want my Seb account.EDIT: The way I found is by copy-pasting the exact 3n3hjh4h4h4 code thing beside the password of my spare and used the same exact password. It worked... -I was also wondering how I can make someones shout count higher. It would be cool if I were able to award people by raising their shout count higher like they do in forums. -Also if members forget their password would there be a way for me to modify their password to something easy like hello123 so then they can relogin and not lose all their info and they would be able to change it. Because password retrieval doesn't work.
Mar 23 2006, 09:57 PM
New system so that doesnt work. http://67.81.68.99:81/main/phpqa/index.php...indpost&p=16616Check there.
Mar 23 2006, 09:44 PM
How do we add our own pages? I did exactly what we had to do for the last arcade and it doesn't work?CODEWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\EasyPHP1-8\www\s\host\sebthib55\phpqa_2p4\Arcade.php on line 1816
Mar 23 2006, 09:14 PM
bump.
Mar 23 2006, 09:02 PM
Version 3.0 is finally available to the public! The arcade includes a ton of features, including the awesome tournaments by Sean.The zip file: at end of this thread.------------------------------------------------------------------------------How to: Fresh install-Upload all the files EXCEPT UpGrade.php.-CHMOD the files that the install.php tells you to you.- Fill out all the install info.That's basically it. Arcade online. How to: Upgrade from 2.4------------------------------------------------------------------------------HOW TO UPGRADENote: Please backup your arcade before upgrading. The SQL data and the files. I have only done this once before, and I believe it is working, as the current arcade on this host is upgraded. STEP 1: Erase all files you have in your arcade, except /accounts/ , /skins/, /emoticons/, /arcade/ and arcade_conf.php other than that erase it all.STEP 2: Upload the new files, being careful not to overwrite your arcade conf. From the /skins/ folder in the download, upload the /Default/ folder to the /skins/ folder on your server.STEP 3: Run the UpGrade.php thats in the 2p4_Upgrade folder. Click the [start] then when the sql finishes, upgrade your account to admin with the admin hopper. then, destroy the upgrade file immediately! it will try to self destruct but may not because of file permissions. it will on my host, though, or should. wont matter.STEP 4: Login, and visit AdminCP - > Go to the bottom and go to settings. Set up your settings, like turn on the shoutbox etc. Enter jS F Y - h:i A for date format.STEP 5: You should be done. Your arcade should be up, and the skin you have should also be there.If anyone has any problems please post here. Thanks. And please, DO NOT PANIC.------------------------------------------------------------------------------In other news:The arcade here is back online and all fixed up. Downloads are back up. I realized it looked run down but now everything is fixed. I might be adding more games soon too.------------------------------------------------------------------------------If you have any questions or problems, please post here.