Log in

View Full Version : vbProArcade Beta 2


Pages : 1 2 [3] 4 5 6 7 8

base
10-08-2002, 05:37 PM
mine is the same except domain.net/forums

after game over it looks for proarcade.php in the domain.net/
directory.

GaleForce
10-08-2002, 06:30 PM
Originally posted by Link14716

This problem is fixed some 90 posts back.....

Post #404 (https://vborg.vbsupport.ru/showthread.php?postid=300053#post300053)

That only allows them to play, there is still a DB error when they get a Game Over.

Tigga
10-08-2002, 06:51 PM
Originally posted by BluSmurf
how do i find out usergroupid for each user groups?
In your admin pages under User Groups, click on Modify. That will show you each of your usergroups. When you put your mouse over the [edit] link you will be able to see the number in the status bar of your browser.

Tigga
10-08-2002, 06:53 PM
Oh, I think I may have found a slight problem with the Champions system. One of my users has the top score in 4 of the games and another user has the top score in one of the games. It works fine for the user that has the high score in one game, but doesn't show anything for the user that has the high score in the other 4. The only difference I see in their accounts is the one it works for has a custom user title and the other doesn't. It's not really a big deal for me, but I thought I'd let you know. :)

mewgood
10-08-2002, 09:43 PM
Originally posted by mewgood
how to reset the score?
anyone can please answer my question?

BluSmurf
10-08-2002, 10:45 PM
thanx mate :)

futureal
10-08-2002, 11:30 PM
mewgood: You need to empty the data from the arcade table. Run a query something like:

DELETE FROM arcade WHERE game='game'

That should do it.

futureal
10-08-2002, 11:31 PM
Originally posted by PlurPlanet
Oh, I think I may have found a slight problem with the Champions system. One of my users has the top score in 4 of the games and another user has the top score in one of the games. It works fine for the user that has the high score in one game, but doesn't show anything for the user that has the high score in the other 4. The only difference I see in their accounts is the one it works for has a custom user title and the other doesn't. It's not really a big deal for me, but I thought I'd let you know. :)

I am redoing the Champions system for the next Beta, which should fix most of those problems. I pretty much just schlocked it together 'cause I was trying to get Beta 1 out in a hurry, which turned out to be a big mistake.

futureal
10-08-2002, 11:37 PM
As for the problems with the game going to the wrong directory, this is actually a client-side problem related to Flash and its handling of POST variables. The way the script works is like this:

script gets "play" request from user
script sends game, user, highscore, and location of forums to a flash game
flash game plays
flash game ends, and sends game, user, score to the page defined in location
script takes that data and keeps going

So basically, what's happening is that Flash is not correctly sending the location back to the script via POST.

Because of the problems with this, one option is to change the script to use GET. This means that the URL bar would look something like this:

http://www.yoursite.com/forum/proarcade.php?action=gameover&game=tetris&score=456000&whatever

Obviously this creates a problem in that people can see how the score is being passed and just enter it manually. So I'm thinking that we'd need to put an MD5 hash on it before transmission, and I'm not sure that Flash's ActionScript can do that. So I'm kind of stumped as where to go from here.

I will keep working on a solution...

mewgood
10-09-2002, 03:32 AM
As well, a member in my board played the game and in the top 10 and it should be in the scoreboard, but it doesn't show up.
HELP PELASE

JaZz0r
10-09-2002, 04:21 AM
I also have a few users that are experiencing a strange problem. No matter what game they play, and no matter how long or short that game is, when the game finishes they are taken back to the main arcade page instead of being prompted to submit their score. One user is using IE 6.0, the rest have not replied to my PMs. Any ideas?

mewgood
10-09-2002, 05:07 AM
ya
some mebers got this error too

Kurayami
10-10-2002, 09:05 PM
N/M -- problem solved. Great hack, by the way. :D

futureal
10-11-2002, 04:37 AM
Originally posted by JaZz0r
I also have a few users that are experiencing a strange problem. No matter what game they play, and no matter how long or short that game is, when the game finishes they are taken back to the main arcade page instead of being prompted to submit their score. One user is using IE 6.0, the rest have not replied to my PMs. Any ideas?

A few others have mentioned this problem. We haven't found a reliable solution. Users running the AOL browser may experiencing difficulties because an AOL's user's IP can change from request to request, which can wreak havok with vBulletin. That is a known problem that has been discussed on vbulletin.com.

But people running IE should not have problems. You could ask if they are behind a proxy server, which may cause an issue, but I can't think of any way to fix it. As I mentioned earlier, using GET rather than POST is one solution, but not a good one. The other is to hard-code the redirect URL into the Flash games, but that would require that everybody running the hack either have a copy of Flash MX to edit the .FLAs (bad) or everybody sticks the arcade files in the same directory (probably impossible).

As always, I am open to any other ideas that people may have. I have been following some of these bugs on FlashKit.com and believe me, we are not the only ones to be experiencing them.

mewgood
10-11-2002, 05:16 AM
well
he is not behind proxy

JaZz0r
10-11-2002, 07:31 AM
My users are using IE 6.0 and are not on AOL. Strange how it only happens to a select few, they think I'm plotting against them (most of them should be #1). :p

eckels2
10-11-2002, 11:13 AM
I had the exact problem with the redirect after the games...

It was solved for me after i reformatted :)

Before that though, I had tried everything. I cleared and reinstalled flash, I cleared and reinstalled shockwave, Cleared all my "Downloaded Program Files", cleared cookies in many different ways, and about a dozen other things, and nothing worked, until i reformatted my pc.

I couldn't even begin to imagine what the problem was, at this point.... All i know is that it works now :)

Schorsch
10-12-2002, 04:16 PM
what are the differences to john eovie´s Arcade Hack ?
when will yours go final ?

thanks...
Schorsch

BigJohnson
10-13-2002, 12:07 PM
Are you guys making one that will go with the store? Wher eyou have to pay to play?

Kasper_H
10-13-2002, 10:24 PM
Oh yeah, really nice hack!
Installation worked without any problems, and i can play the games as they are supposed to be played :)

The only problem is, only i can play the games, along with the other admins :surprised:
How can i set it up so it works with the other usergroups?
This has probably been answered before, but it's tough having to read through 518 replys to get the answer :) Hope you can understand.

And one more thing: every time i do a reply, it says, in the upper left corner Connection Refused (111). Howcome?


Other than that, i must say: This is a really sweet hack! No doubt about that, and i can't wait for the future realeses!

//Kasper

Dark Jim
10-14-2002, 07:30 AM
Originally posted by BigJohnson
Are you guys making one that will go with the store? Wher eyou have to pay to play?
There is something like this here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=43700

Link14716
10-14-2002, 12:51 PM
Originally posted by Kasper_H
Oh yeah, really nice hack!
Installation worked without any problems, and i can play the games as they are supposed to be played :)

The only problem is, only i can play the games, along with the other admins :surprised:
How can i set it up so it works with the other usergroups?
This has probably been answered before, but it's tough having to read through 518 replys to get the answer :) Hope you can understand.

And one more thing: every time i do a reply, it says, in the upper left corner Connection Refused (111). Howcome?


Other than that, i must say: This is a really sweet hack! No doubt about that, and i can't wait for the future realeses!

//Kasper

1) Go into the admin CP, edit the games, and singly turn them on. That allows members and mods to play too!

2) I have no idea....

futureal
10-15-2002, 03:08 AM
If users can't play the games, you may also want to check the if/else statement near the top of proarcade.php to make sure that the correct user groups are given access. A better system has already been implemented in the next Beta.

As for a time frame, I have no idea. I am still playing with security and trying to figure out why some people are having trouble with the redirect. Been perusing forums around the net looking for Flash/ActionScript answers, but not having much luck so far.

Limpkinw
10-15-2002, 07:32 PM
Ok I installed this GREAT HACK...everything works very well EXCEPT I can not seem to upload thumbnails for the games...
I tried the safe mode fix with no luck. I do not get any errors it just doesnt change the thumb. Any Ideas?
Thanks.

Limpkinw
10-16-2002, 05:41 PM
Also a bug my users have found...They are changing others comments on the scoreboard. Any way to stop this?

Play a game, when it goes to the submit a comment page, save it as test.html then reopen it, look in source, find

<input type="text" name="comment" class="txtfield">

<input type="submit" name="Submit" value="This is a test hehe"
class="commentbutton">
<input type=hidden name="subaction" value="addcomment">
<input type=hidden name="userid" value="1"> (put in userid to clone)
<input type=hidden name="newscoreid" value="293">

near the bottom and modify the newscoreid number, it refers to a position in the scoreboard. Save test.html, open it again, and type the new comment to go at that spot.

wallah

Link14716
10-16-2002, 10:05 PM
He'll probably fix it for Beta 2.....

But, you could put an:
if ($userid!=$bbuserinfo[userid]) {
show_nopermission();
}

above the 'gameover' action. That'd fix it right up :)

Kasper_H
10-16-2002, 11:23 PM
Everything is running beatifully! Perfect! I love this hack! And so does the users! Can't wait for Beta2 :)

Now I just need to figure out how to add new games... I have no idea of how it's done :(

\ \ - Speedy - / /
10-17-2002, 07:38 PM
When is the final version going to be released?? I am iffy on installing Beta hacks :-\

\\ - Speedy - //

futureal
10-18-2002, 05:15 AM
Working on it.

I will post more screenshots soon of some of the new stuff. Most of the delay has just been design decisions I'm making for added security features and whatnot.

Limpkinw: That's new security hole I had actually never thought of. However, it has already been inadvertently fixed in Beta 2 (I think). I will double check that one before I release anything. Thanks.

futureal
10-18-2002, 08:02 AM
Here's an example of the new Main Arcade page in Beta 2:
http://www.shadowsofnamek.com/forum/proarcade.php?action=arcade&game=&s=

The "Mini Scoreboards" are tied directly to whether a game is active or not active. If you deactivate a game, the boards will not appear. It also handles the logic correctly so that if there is an odd number of games it always centers the last mini-board. Everything is templated out, of course.

Another small change is that a user's high score and the current high score are displayed on the page where the game is played.

N9ne
10-18-2002, 07:47 PM
This is an awesome hack, is it confirmed to work on 2.2.8 flawlessly in its current state?

EDIT: Also, when are the next updates going to be released? I may wait out for a day or two if another release is just down the road...

xxskullxx
10-18-2002, 07:59 PM
Beta 2 looks good futureal. I can't wait to get my hands on it! ;)

NTLDR
10-18-2002, 08:55 PM
Originally posted by Tha Rock
This is an awesome hack, is it confirmed to work on 2.2.8 flawlessly in its current state?

Works fine on the 3 2.2.8 forums I've got it running on :D

ixian
10-18-2002, 09:10 PM
Beta 2 is looking KILLER and I cannot wait to get my hands on it:)

BTW, can you add a game or two in there? Here are two you can do right off the bat:

Frogger. The zip has the FLA and SWF files for easy modification, and it's free and clear - no license restrictions or anything (it's actually called "Froggy" but it's so close to the original Frogger as not to matter:) ).

download zip here (http://www.maximumgamer.com/downloads/Frogger.zip)

Moon Lander. Same as above, includes FLA and SWF file, no restrictions. Free for the world and more important, free to add to this hack.

Download zip here (http://www.maximumgamer.com/downloads/MoonLand.zip)


Also, I would KILL/pay even for one or all of the following:

Joust
Missle Command
Galaga

Anyone who can come up with one or all of those to add to this excellent hack is a hero in my book.

futureal
10-19-2002, 07:59 AM
Still no release date set in stone. I am really trying to fit in as much work on the hack as I can but other obligations have been nailing me. I will keep everybody posted.

As for more games, yes, there will be more games, I promise. Along with Beta 2 I will likely release the current .FLAs of the games so others can tinker with them (I think). We should be able to keep an "open development" environment for vbProArcade-compatible games.

I do still have a whole list of features I'd like to get into Beta 2. And yes, Beta 1 should work fine with any 2.2.x copy of vBulletin.

BrAinZ
10-19-2002, 04:36 PM
An obvious question but it has to be asked....

My users love Tetris which I currently have working on our board, and they are really hassling me to add more games via your Beta 1 hack.... BUT..

HOW easy is it going to be to update to beta 2 when it is released?

Am I better waiting for v2, or go ahead now with the beta 1 ?

N9ne
10-19-2002, 09:15 PM
Yeah, I am in the same spot as BrainZ, I'd like to know how easy it is to upgrade...

BigJohnson
10-21-2002, 08:52 PM
Same here. I cannot wait for the upgrade this is an amazing hack. I love this feature.

XrayHead
10-22-2002, 08:02 AM
HI all
Love the look of the hack!!
Just a couple of questions, I am quite new to PHP and MySQL and although I have a good understanding of html I am a bit dubious of installing.
I have been reading some of the 36 pages in this post and it seems a lot of you have changed you php code and had slight probs with the sql as well.

Anyway what I am trying to say is I would love to give this a go but don’t want to damage my forum. I have read through the install notes and understand all the CHMOD and php stuff but am not sure about the sql side of things.
Can anyone offer me any advice at all, I would much appreciate it.

Thanks again.

Lee B

Ninth Dimension
10-23-2002, 11:40 AM
XrayHead - The problem with this hack is that it's still only BETA, and has been for quite some time. This means that while it may work perfectly well on your system, it might not at all.

MySQL is a simple enough thing to use - my recomendation is that you do a back-up of your database before you start installing this hack (something that is recomended before any new hack) and then run the queries in phpMyAdmin (if you don't have this, ask your host).

After that, do the rest that is needed and test it out.

Good luck.

Dean C
10-23-2002, 11:55 AM
when do you suspect that the next version will be ready for release future?

Regards

- miSt

Mr_P
10-23-2002, 04:55 PM
not been all though this post but found this site with a few games on and they have the fla source available for download as well.

Well worth a look at least.

http://www.neave.com/webgames/

Ninth Dimension
10-23-2002, 05:11 PM
dude, just so you know, that is where 3 of the games come from :)

XrayHead
10-23-2002, 09:54 PM
Ninth Dimension

Thanks for the confidence boost m8.
I got it working on Ver 2.2.8 and now have found out how MySQL works.
Anyway, totally cool hack and I love it.

I had to celebrate with some Stella’s on completion.
Only prob now is I want to move my Forum to anouther server….

O’Well, that is my next find out how to do it mission.

Thanks Futureal for the totally cool hack.

XrayHead

Legacy
10-24-2002, 10:37 PM
The COMMENTS on the Top Score Board DONT replace.

If your 1st game in pacman you played you leave a Comment like: TESTING THIS...and then later you play and get TOP SCORE and leave a Comment like I OWN AT PAC-MAN...it takes the 1st comment TESTING THIS and always uses that...anyone know a fix???

zertox
10-25-2002, 10:35 AM
I just installed the hack, everything seems to word exept for 1 thing
when I want to start the game, the swf file does not load, and on another forum it does
my website runs on an nt system :p

any ideas?

corsacrazy
10-25-2002, 11:31 AM
in the gameoptions (user cp) change the games directory to games/ in stead of /games/ or if u dun that then active all the games individually in the options

Ice Man_00
10-25-2002, 07:02 PM
Wow.. cool feature for the board, this game hack. Really love it.

Installed it manually, without any problems at all. But i have some problems with it... hope you could help me out there....

There seems to be a problem with some of the members, can`t see more that half of the games, but me as a admin can see them all and play them all. And the other thing, is that some members, can`t even get access to play them.

Kinda strange...

Any clue ???

Cheers.

Legacy
10-25-2002, 11:12 PM
Iceman..the fix is in this thread...it has to do with the USER GROUPS.

You need to find the code in the proarcade.php its like LINE#40

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {

You need to add whatever other USER GROUPS you have created to this..example below of what I added.

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8) and
($bbuserinfo[usergroupid] != 12)) {

See how I added 8 and 12...you can get the USER GROUP NUMBER# by running your Mouse over the EDIT and it will display in your status bar..if its to big in your status bar then right click on edit and COPY SHORTCUT..then paste it into NOTEPAD to read the URL...the USER GROUP # will be seen in the URL

Hope this helps

Also make sure you TURNED 'ON' all the games in the Admin Panel

girlzclan
10-26-2002, 12:22 AM
I'm wonder ing if there is a way to change the way the championship text show up the postbit, the red looks really tacky imo, and I'd liek to also move the location of it, I'm clueless as to were I would go to edit that info.


One of the members on my forum suggested a different icon for each championship for each game, i think that would be awesome. :D

Legacy
10-26-2002, 01:07 AM
Wheres that POSTBIT hack for this???

Mine not showing the postbit..only thing I saw in instructions that relate to postbit is below and that is what I have :

+-------------------------------------------------------------------------------------------------+
| In showthread.php, replace this code: |
+-------------------------------------------------------------------------------------------------+
if (!$getperms['cangetattachment']) {
$viewattachedimages=0;
}
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| With this code: |
+-------------------------------------------------------------------------------------------------+
if (!$getperms['cangetattachment']) {
$viewattachedimages=0;
}

// Begin vbProArcade
// if champ system is disabled, don't do anything
if ($vpa_champsystem == 1) {
$vpa_champs_q = $DB_site->query("SELECT championactive,championid,championtext,championcol or FROM arcadegames");

$vpa_count = 0;

while ($vpa_loop = $DB_site->fetch_array($vpa_champs_q)) {

$vpa_champs_a[$vpa_count][championactive] = $vpa_loop[championactive];
$vpa_champs_a[$vpa_count][championid] = $vpa_loop[championid];
$vpa_champs_a[$vpa_count][championtext] = $vpa_loop[championtext];
$vpa_champs_a[$vpa_count][championcolor] = $vpa_loop[championcolor];

$vpa_count++;

}

} else {

$vpa_count = 0;
$vpa_champs_a = 0;

}
// End vbProArcade

+-------------------------------------------------------------------------------------------------+

+
+++
+

+-------------------------------------------------------------------------------------------------+
| In showthread.php, replace this code: |
+-------------------------------------------------------------------------------------------------+
$postbits .= getpostbit($post);
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| With this code: |
+-------------------------------------------------------------------------------------------------+
// Begin vbProArcade
$postbits .= getpostbit($post,$vpa_champs_a);
// End vbProArcade

+-------------------------------------------------------------------------------------------------+

snyx
10-26-2002, 10:03 AM
I installed it, and now its working great except it doesnt record comments, it just keeps the "no comment" in place?

any ideas on what could be wrong?

corsacrazy
10-27-2002, 01:15 PM
is there a way to do this :

if the user does not reach a score within the top 25 scores then he does not get put on to the score board atall but instead gets a redirect message saying you did not make it onto the score board then redirects him/her to the main arcade home page ???? or somthin similar to that cheers !

girlzclan
10-27-2002, 09:56 PM
everything is working great with this hack, i love it!! currently the only issue we are having is, it refuses to keep one of my members scores, we have no idea whats goign on with it, I even created her a test account to try and it still isn't working. I'm positivie it's somethign on her side, but im clueless as to what it could be. Any ideas?

futureal
10-28-2002, 04:07 AM
Originally posted by Ninth Dimension
XrayHead - The problem with this hack is that it's still only BETA, and has been for quite some time. This means that while it may work perfectly well on your system, it might not at all.

The main reason it is beta, and probably will be beta for some time, is because of the high incidence of abnormal behavior that we see. With all of the browsers and server configurations out there, it seems like 5%-10% of them do not work with this hack for some reason.

I have been able to solve most problems, but not all.

On top of that, there are the security issues. I have plenty of ideas but none have come to fruition yet. I am still working on stuff and with more experienced Flash developers on FlashKit to see what we can come up with.

futureal
10-28-2002, 04:10 AM
Originally posted by Mist
when do you suspect that the next version will be ready for release future?

I apologize for all of the delays (see above message for some info on why) but rest assured that it is still coming.

A big reason I have been offline is that we just had a huge LAN party at my apartment these past 4-5 days. At its peak we had 16 computers set up and a few X-Boxes linked together. Once I get this place cleaned up, it's back to the grind... :)

Erwin
10-28-2002, 06:10 AM
LOL! I've done 4 x-boxes linked with 16 players on Halo before, at my house, with 4 TVs (2 projectors). :) It was great!

Ice Man_00
10-28-2002, 12:13 PM
Thankl you, it worked :)

Cheers.

Originally posted by Legacy
Iceman..the fix is in this thread...it has to do with the USER GROUPS.

You need to find the code in the proarcade.php its like LINE#40

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {

You need to add whatever other USER GROUPS you have created to this..example below of what I added.

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8) and
($bbuserinfo[usergroupid] != 12)) {

See how I added 8 and 12...you can get the USER GROUP NUMBER# by running your Mouse over the EDIT and it will display in your status bar..if its to big in your status bar then right click on edit and COPY SHORTCUT..then paste it into NOTEPAD to read the URL...the USER GROUP # will be seen in the URL

Hope this helps


Also make sure you TURNED 'ON' all the games in the Admin Panel

Dean C
10-28-2002, 05:54 PM
Originally posted by futureal


I apologize for all of the delays (see above message for some info on why) but rest assured that it is still coming.

A big reason I have been offline is that we just had a huge LAN party at my apartment these past 4-5 days. At its peak we had 16 computers set up and a few X-Boxes linked together. Once I get this place cleaned up, it's back to the grind... :)

Its ok... your the hackmaker - not me ;)

You've done a fantastic job and i can't wait for the next version so i can install this on my boards :)

Regards

- miSt

Limpkinw
10-29-2002, 01:15 AM
Repost...and lil more

Ok I installed this GREAT HACK...everything works very well EXCEPT I can not seem to upload thumbnails for the games...
I tried the safe mode fix with no luck. I do not get any errors it just doesnt change the thumb. Any Ideas?

In addition the champions system doesnt seem to work. Is there anything that I should check over to get it up -n- runnin?
Thanks.

snyx
10-29-2002, 01:25 AM
would anyone know about my no comments problem?
oh atleast tell me how to bypass the comments screen and just remove it completely?

girlzclan
10-29-2002, 02:53 AM
I have agame that I'd liek to put on the scoreboards, ect. I have it in my aracde, but since I'm still new to php and sql, i'm unable/unsure if it is possible to get this game on the scoreboards.

http://www.girlzclan.com/forums/games/simon.swf

is the game, amyway have idea idea :D

Limpkinw
10-29-2002, 03:20 AM
Do you have the fla file for this game?

DrkFusion
10-29-2002, 11:01 AM
Nice hack, just installed it on my old general board, working real nice.

-Arunan

Dean C
10-29-2002, 06:18 PM
Right i installed this today with lots of confusion but eventually i got there..

The problem is that when i goto play a game there's just a white screen :(

- miSt

Dean C
10-29-2002, 06:19 PM
Right i installed this today with lots of confusion but eventually i got there..

The problem is that when i goto play a game there's just a white screen where the flash movie should be...

- miSt

Ninth Dimension
10-29-2002, 06:48 PM
I've not got this arcade installed, but something I've noticed about flash is that you get a while screen if the location of the flash file is incorrect, check the paths.

DrkFusion
10-29-2002, 08:26 PM
Mist please delete your multiple posts.
Thanks
-Arunan

p.s this is not confusing at all, found it farly simple actually, great work, the installation file was set up good. Oh and mist it had a vbhacker file, for n00bs like you :p...hehe

commencer3
10-30-2002, 04:34 PM
Thanks, this is a great addition to my forums. Unfortunately they're complaining for more games now. Oh well....... it has really improved us as a forum! :classic:

Dean C
10-30-2002, 05:13 PM
Originally posted by Ninth Dimension
I've not got this arcade installed, but something I've noticed about flash is that you get a while screen if the location of the flash file is incorrect, check the paths.

Well i have a folder called games in my forums directory i stuck the flash files in there and the default path for games was already set to "/games/" in the arcade options :confused:

- miSt

Ninth Dimension
10-30-2002, 05:26 PM
can you give me a link to your games directory and the location to the arcade file? I'll take a quick look for you (I guess i'm going to have to sign-up???) :)

Tigga
10-31-2002, 02:16 AM
Mist - Try removing the / in front of "/games/" or setting it to "/forum/games/".

Link14716
10-31-2002, 02:30 AM
No, just set it to "games/". I already told someone above, and I have it set, and both of ours works. :)

Dean C
10-31-2002, 07:06 PM
yea i got it working now by changing /games/

:D

Another problem:

When i get to level2 on pacman on my boards it just goes to the left and the keyboard controls freezes up :(

- miSt

Tigga
10-31-2002, 08:06 PM
Originally posted by Mist
When i get to level2 on pacman on my boards it just goes to the left and the keyboard controls freezes up :(
Sounds like a problem with the game rather than the hack... Maybe try re-uploading the flash file?

Kiraly
10-31-2002, 09:29 PM
where i can find images of king ?

Limpkinw
10-31-2002, 09:45 PM
<a href="https://vborg.vbsupport.ru/showthread.php?postid=315651#post315651" target="_blank">https://vborg.vbsupport.ru/showt...651#post315651</a>

Sorry to be a pest but any ideas on these probs?

Thanks so much for a great hack!

JaZz0r
11-01-2002, 03:55 AM
Using the latest Phoenix (http://www.mozilla.org/projects/phoenix/phoenix-release-notes.html) browser (version 0.4), the scoreboard does not appear at all, nor does it report that anyone has played the game. Can anyone else confirm this on a Mozilla-based platform?

futureal
11-01-2002, 07:21 AM
Limpkinw: You say you are having trouble getting the icons to upload? I worked hard for awhile to eliminate every problem of that nature that I could find, but I think that some servers are just configured in such a way that uploads to a temporary file just don't work. Do the game icons appear in the Admin CP at all after you upload them?

JaZz0r: I have had very little luck getting the arcade to work with any Mozilla-based browsers. The arcade uses HTTP POST to send variables from the Flash games back to the PHP script, and for whatever reason Mozilla does not appear to do this correctly, or there is a bug in Flash/Mozilla's interoperability that causes it to fail.

Link14716
11-01-2002, 12:31 PM
futureal, wouldnt it be easier to just have the icons uploaded into the images directory by the user via FTP? Then they can just set where it is in the admin center. Would that eliminate most of the problems or be too much trouble to do?

Dean C
11-01-2002, 06:07 PM
I think i may have solved the problem with regards to the usergroup problem..

Brb if it works..

- miSt

N9ne
11-01-2002, 07:31 PM
Any news on when the next version is coming out?

futureal
11-02-2002, 12:33 AM
Originally posted by Link14716
futureal, wouldnt it be easier to just have the icons uploaded into the images directory by the user via FTP? Then they can just set where it is in the admin center. Would that eliminate most of the problems or be too much trouble to do?

At one point I was about to do that, but then I solved the other problem (the safe mode problem) and this is the first problem I've seen reported since then that deals with this issue.

There's no reason that it shouldn't work...

Martin64
11-02-2002, 12:38 AM
I replaced my own, modified version of john.eovies arcade hack with this, superior version and my users simply love it. Great job. :D

Keta
11-02-2002, 01:49 AM
Originally posted by Erwin


Actually, there is a php/ mysql multiplayer chess game out already. It's a nuke module - someone has ported it to vBPortal.

Link discussing it here:
http://216.40.225.55/forums/showthread.php?s=&threadid=5657&highlight=chess

I don't run vBPortal anymore... I had a look at it to see if I can port it over to vB, but it's complicated. :)

I've attached the vBPortal version here - see if you can do anything with it. ;)

i would love to have the chess game anyone figured out how to work it into the arcade?

Limpkinw
11-02-2002, 03:39 AM
Originally posted by futureal
Limpkinw: You say you are having trouble getting the icons to upload? I worked hard for awhile to eliminate every problem of that nature that I could find, but I think that some servers are just configured in such a way that uploads to a temporary file just don't work. Do the game icons appear in the Admin CP at all after you upload them?



No the icon never shows in the admin CP. Is there a way I can manually edit the DB to make them appear?

Dean C
11-02-2002, 08:28 AM
Futureal...

I found out that problem im having with pacman. Its not actually a problem with pacman itself.

Whenever you click out of the window say on an instant message in the taskbar none of the controls work..

Regards

- miSt

Tigga
11-02-2002, 11:25 AM
Just be sure to click on the actual flash in the page when you go back to it. Just clicking on the page won't work, but if you click on the game it should work fine.

Dean C
11-02-2002, 07:58 PM
No i've tried that and it doesn't work either

- miSt

Savant
11-03-2002, 12:28 AM
Originally posted by Limpkinw


No the icon never shows in the admin CP. Is there a way I can manually edit the DB to make them appear?

Same here! i can browse to the file, slect it, when i hit apply changes (er whatever it is) it does its thing, brings me back to the page and BAM! same as it was before, no icon listed


Redhat 8.0
Apache 2.sumthin
Vbulletin 2.8

newest versions of php and mysql

no idea what im doing :)

LightBringer
11-03-2002, 04:21 AM
My members are getting restless....

someone needs to start pumping out the games! :)

Littlebit
11-03-2002, 01:35 PM
Is this still buggy?:
* Netscape will allow you to play the games but not record scores

JaZz0r
11-04-2002, 05:59 PM
Originally posted by Littlebit
Is this still buggy?:


Yes.

Littlebit
11-05-2002, 03:33 PM
JaZzOr,
Bummer

w596
11-08-2002, 02:08 AM
I added this hack yesterday, working great so far. ;)

futureal
11-09-2002, 10:33 PM
Hey guys, sorry for the lack of info recently. I have been busy writing a complete Content Management System (integrated with vB) for one of my websites. It's pretty much done now, so I can get back to this project.

I am going to get the .FLAs released so that new games can be modified. I will start a thread somewhere on vbulletin.org specifically for this purpose, and post a link here. Then I will keep track of whichever games people modify, as well as various versions of the current games (which I assume people will change).

I'll keep you posted.

desi
11-10-2002, 01:39 AM
great hack futureal :)

installed without any errors but now when i go to the CP

General Options
Modify Game Data

i'm not able to make any changes from there ... i try to update game options it doesn't do it ...

also except me noone is able to se the game info .. all they see is links to Visit the Arcade | Games to Play:

i checked my proarcade file and this is what i see

// access check (here for future expansion)
switch($action) {
case "arcade":
case "scoreboard":
case "topscoreboard":
break;
case "play":
case "gameover":
if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {
show_nopermission();
}
break;
default:
// if no action specified, go to arcade page
$action = "arcade";
break;
}

any ideas ?

thanks

Dean C
11-10-2002, 09:01 AM
Please keep it all in this hack futureal..

Its pain checking other threads for updates as well as this one :)

Regards

- miSt

Ninth Dimension
11-10-2002, 11:49 AM
I don't think it's such a bad idea keep the fla/swf files apart from the main arcade, this would help stop the thread getting cluttered up with junk about the php files if you wanted to know about the flash files, etc...

I trust that a new thread will be started once this hack is finished anyway?

desi
11-10-2002, 12:51 PM
looks like none interested in helping out :(

Issy_X
11-10-2002, 04:23 PM
Hi, I'm using this hack for quite a time now but I suddenly have some kind of strange problem. Everyting is working perfect, I as admin can play all the games but my members are getting this error:

You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

How can I solve this problem. Thanks in advance.

Dean C
11-10-2002, 05:37 PM
Look two-three pages back in this thread and you'll see your solution :)

Regards

- miSt

Crinos
11-11-2002, 01:54 AM
Working excellently in my forums, except for one thing: people whose usernames have an apostrophe in their names seem to be causing some database errors...

For example, if I had a user named "Thor's Hammer", I will get the following errors:

---------------------------------
Invalid SQL: INSERT INTO arcade (game,date,time,userid,username,score)
VALUES ('pacman','2002-11-10','20:10:28','14','Thor's Hammer','5040')
mysql error: You have an error in your SQL syntax near 's Hammer','5040')' at line 2

mysql error number: 1064
---------------------------------

and

---------------------------------
Invalid SQL: SELECT max(score) as maxscore FROM arcade WHERE game='breakout' AND username='Thor's Hammer'
mysql error: You have an error in your SQL syntax near 's Hammer'' at line 1

mysql error number: 1064
---------------------------------




Just a heads up ;) Excellent hack...

\ \ - Speedy - / /
11-11-2002, 03:52 AM
I would add this to your main download thingy, cuz there is just to many freaking temaptels to do lol, so I made ya this, I hope its ok (must have TBS insatlled, if you do, you know what this is for alerady lol)

Sebastian
11-12-2002, 12:34 AM
I am getting this when trying to run allgames.sql

Error: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'username=$username&s=$session[sessionhash]&highscore=$highscore

I am running mysql version 4.0.4

help! :P

Savant
11-12-2002, 06:12 AM
I have a problem where champion titles arent showing up. I see it mentioned a couple times. Ive checked and rechecked all my php edits and sql queries, are there any ways I can cheat and make this damn thing show titles? maybe a nifty $champinfo in a template or something of that nature?

If not I'm thinking of geting rid o some of them "if" dillies in the php hacks.... eek!

great hack btw! aside from small buggies, its a lot of fun! my hat's off to ya!

BigJohnson
11-12-2002, 08:42 AM
When should we explect the new version you think?

scottct1
11-12-2002, 06:29 PM
I just installed this hack (my users are already loving it!)

I do have 2 questions though.

1) What was the code on the /forum/index.php for? I am not seeing anything displayed on the index.php page? Am I supposed to see something?

2) I am not seeing the champ for each game listed as champ in their postbit. I have gone through everything twice and can not get this working.

It's not a big deal but I thought i would ask these questions. :)

scottct1
11-12-2002, 06:29 PM
Dupe Deleted

Seby
11-12-2002, 10:45 PM
Will there be any new games soon? People at my FOrums (www.cscentral.com/forums) love the arcade, but they ask for more games ;) Are you planing on adding any new features soon? Or is it basically final?

kind regards,
Sebastian

Sebastian
11-12-2002, 11:45 PM
I need to know what this means, This happens when I run allgame.sql

"Error: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'username=$username&s=$session[sessionhash]&highscore=$highscore"

mysql v4.0.4 pro

desi
11-13-2002, 05:40 AM
Game is Active
Inactive games can only be seen by Admins Yes No

i have tried updating this option a million times but its the same :(

its doesn't change to yes

anyone know why ??

thanks

scottct1
11-13-2002, 02:27 PM
I still cant get the Champion Function working, I have the Champion system turned to on as well as turned on in the games themselves.

Anyone have any ideas?

Sebastian
11-15-2002, 10:07 AM
Dear Mr. Vbproarcade, could we get a little support here? :P

desi
11-15-2002, 04:13 PM
yes plz .. i've been waiting for last 3 days now i think ::D

my members are about to hang me ...

only i can play the game LOL

cya soon ..

NTLDR
11-15-2002, 04:28 PM
Originally posted by desi
yes plz .. i've been waiting for last 3 days now i think ::D

Not everyone is here everyday you know :rolleyes:

And if you install the hack correctly then everything will work fine.

JaZz0r
11-15-2002, 08:56 PM
Have you tried reading though the posts on this thread? Other people had the same problem you're having and I'll bet that, with a little investigating, you can find out how to fix it yourself.

futureal
11-17-2002, 09:38 AM
Hi guys,

I apologize for not being around as much. I am really getting hammered on this CMS thing I am working on, it needs to be done ASAP and based on the feature-set that was requested, it grew much larger than I thought. Anyway, I think I am coming close to being done with it, and then I can get back to the Arcade.

Regarding the seperate thread: I want to make a separate thread because the Flash games & Flash development really have nothing to do with the hack itself, they are a separate entitity. Also, I would like to keep a list of all the games that people have modified to make work with the arcade.

I will get to some of these support questions to the best of my ability as time allows.

futureal
11-17-2002, 09:43 AM
Originally posted by desi
great hack futureal :)

installed without any errors but now when i go to the CP

General Options
Modify Game Data

i'm not able to make any changes from there ... i try to update game options it doesn't do it ...

I have never heard of this problem before. I can only assume that something was installed incorrectly. You say the Options don't get updated.. what happens? Are any messages displayed?

also except me noone is able to se the game info .. all they see is links to Visit the Arcade | Games to Play:

i checked my proarcade file and this is what i see

// access check (here for future expansion)
switch($action) {
case "arcade":
case "scoreboard":
case "topscoreboard":
break;
case "play":
case "gameover":
if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {
show_nopermission();
}
break;
default:
// if no action specified, go to arcade page
$action = "arcade";
break;
}

any ideas ?

You need to check three things:

- the arcade itself must be active (from General Options)
- each game must be active (from the Modify Game Data)
- your users' groups must be listed in the switch statement quoted above. there are numerous posts in this thread addressing that issue

If all of those have been checked, and you are still having a problem, I confess that I am at a loss.

The new version already has a MUCH nicer access control system in it.

futureal
11-17-2002, 09:45 AM
Originally posted by scottct1
I just installed this hack (my users are already loving it!)

I do have 2 questions though.

1) What was the code on the /forum/index.php for? I am not seeing anything displayed on the index.php page? Am I supposed to see something?

2) I am not seeing the champ for each game listed as champ in their postbit. I have gone through everything twice and can not get this working.

It's not a big deal but I thought i would ask these questions. :)

The code on /forum/index.php is to display a list of the active games. If it is not appearing, then you likely haven't modified your forumhome template to include it. If I remember correctly, the instructions on how to do this are included in the install file.

On the Champion system, it is known to me that there are problems with this. It has been redone for the next version, and all I can really tell people is to hang on and bear with me. It will work better, I promise! :)

futureal
11-17-2002, 09:47 AM
Originally posted by Sebastian
I need to know what this means, This happens when I run allgame.sql

"Error: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'username=$username&s=$session[sessionhash]&highscore=$highscore"

mysql v4.0.4 pro

I am unsure why this could be happening. When I run allgames.sql on either of my servers, it installs perfectly. You can get around this error by adding the games manually to the CP; I know it's a pain, but it definitely works.

I am trying to simplify the game setup system for the next version. It should be, at the very least, a little bit better.

futureal
11-17-2002, 09:48 AM
Originally posted by Crinos
Working excellently in my forums, except for one thing: people whose usernames have an apostrophe in their names seem to be causing some database errors...

For example, if I had a user named "Thor's Hammer", I will get the following errors:

snip

Just a heads up ;) Excellent hack...

There needs to be an addslashes(...) in the query; I found that bug, actually, and corrected it for the next version.

Thanks!

futureal
11-17-2002, 09:52 AM
Originally posted by BigJohnson
When should we explect the new version you think?

All I can say is, it will be out when it's ready, and not before.

I will be posting the .FLA files soon. Just have to package them up in some meaningful way along with basic instructions.

As far as the next version goes, I need to do a few major things. Mainly a conversion script from the old version (to preserve the data) along with better instructions for certain aspects of the hack. Maybe even a mini-FAQ for it to get around some of the commonly asked questions.

futureal
11-17-2002, 09:53 AM
I hope I got to everybody's questions, I'm sure I missed one or two in there though. I should be around more often to provide a bit better support. I apologize again for the delays!

And for those who have sent me PMs, I really would prefer to handle support in this thread. I will try to get to the PMs as time allows.

Thanks.

Sebastian
11-17-2002, 10:56 AM
Thanks futureal, I used phpmyadmin and it seem to work now.. :)

Little problem with the game icons, in the admin cp for each game I upload the icon and nothing gets displayed, It just refreshes the page but doesn't actually upload the icon. any other way of adding icons to each games?

Also, what would cause the game not to load? It stays at "opening page" in the browser stats bar, like it's trying to load the flash game but never loads it.

thanks for support.

zefman
11-17-2002, 11:42 AM
excellent work futureal :) thank you very much !

i have installed this hack on a 2.2.6 vbulletin, with no problem !
(but with the manual method, the vbhacker method doesnt work on my host site, but only on my local testing board)

only a bug for the moment in the games inself, a problem with 22th level of the breakout, the bullet passes through the top bricks, and ..game over :confused:

aibon
11-17-2002, 01:57 PM
i'll be willing to check out the flash issue with netscape.
i cant see anything, because netscape7 jumps to a nonexistent url. some other bug in the movies. need the fla files, someone can post them here? if the problem with the post method makes trouble (haven't heard yet of this issues myself) i could think of a another method for making the sending via get secure. i.e. check the referer or just allow this for localhost or stuff like that. should be nop prob.

milkmycow
11-17-2002, 05:24 PM
on my forum www.milkmycow.com/forum/proarcade.php the game files never load once you goto them, they just stay @ a black screen. any ideas?

my games are in forum/games/ dir and in the admin its set to all games from /games/

aim - retardkeith please im me

Mijae
11-17-2002, 05:29 PM
Damn nice hack, all I need now is a way to add more games. Cant wait for more :P

desi
11-17-2002, 05:32 PM
ok guys .. my appology.. but i really needed to fix this hack cause my forum members were eating my brains off ...

well as suggested i've checked everything .... all the games work fine for admins only ...

but when i try to activate the game... i just doesn't do it ..:(

i have checked the code over and over again ... but its all as in the install text ....

cheers

aibon
11-17-2002, 06:00 PM
Originally posted by desi
well as suggested i've checked everything .... all the games work fine for admins only ...

but when i try to activate the game... i just doesn't do it ..:(
cheers [/B]

make sure you activate EACH game in the game options. that's the only thing that will be checked in the code for your issue. use phpmyadmin and look in the table and set the corrosponding field manually to 1, if you cant get it to work.

@milkmycow:
sounds like the flashmovies arent found. i couldnt check your forum, didnt want to register. look in the sourcecode of your html-page with the flashmovie and check what path is set therer for the movie.

Sebastian
11-17-2002, 07:30 PM
I am getting a blank page as well, the page loads but not the game... the flash hangs and never loads.

milkmycow
11-17-2002, 08:53 PM
how can we fix it? :(

aibon
11-18-2002, 12:22 AM
Originally posted by milkmycow
how can we fix it? :(

like i said, check what url is in the flash object-tag. you have to enter the right directory in the global options (for testing leave this blank and put all your movies in the /forum dir). if you cant get it to work, pm me the url to your forum and a login i can use and ill take a look.

btw. i fixed a little bug with the querystring, the querystring to the movie has to be urlencoded, because there are specialchars in it (/) which can't be transfered in the url. some versions of internet explorer fix this itself, but netscape dont.

in the flash object tag for netscape, the querystring was missing, so that was probably the problem why the scoreboard etc. didint work in netscape.

with that 2 fixes, i was able to get all working with netscape7. no problem with the scoreboard and posting, runs fine. i dont know if there are problems with other netscape versions. if so, post the the netscape version and error message here, ill take a look.

here are the 2 fixes:

in proarcade.php find this:


// get the relative URL of the forum
$vpa_bburl = reduceurl($bburl);


replace it with:


// get the relative URL of the forum
$vpa_bburl = urlencode(reduceurl($bburl));



in template vbproarcade_playgame_flashcode

replace
<embed src="$vpa_filename" $vpa_eparams width="$vpa_width" height="$vpa_height">

with

<embed src="$vpa_filename?$vpa_qstring" $vpa_eparams width="$vpa_width" height="$vpa_height">

thats it... have fun.

and thx to futurereal for this nice hack...

if any1 got some more flashgames, go ahead and post the fla.files here...

Sebastian
11-18-2002, 01:09 AM
Milkmycow, (that sounds funny) .. I figured out the problem, in admin cp click on vbproarcade general options and change the path to games from /games/ to games/

Sebastian
11-19-2002, 03:40 PM
Anyone having trouble uploading the images for each game? I upload the images but it doens't get displayed on the arcade index .. odd, I was able to upload the score board and crown images without a problem.

Hubsi
11-19-2002, 06:50 PM
first i have to say, that this is a great hack :)

but now i have a question i think was often there: "Is there a way to get more games for this hack?" ;)

Sebastian
11-19-2002, 08:44 PM
futureal, can you explain how come I am getting 3 extra queries on forum home? There isn't anything vbproarcade related on forum home, how come an increase in queries on main page? How do I at least turn 3 queries into 1?


Query: SELECT * FROM arcadegames ORDER BY title ASC
Time before: 0.32712602615356
Time after: 0.3318430185318

--------------------------------------------------------------------------------

Query: SELECT template FROM template WHERE title='vbproarcade_gamelinkbit' AND (templatesetid=-1 OR templatesetid=4) ORDER BY templatesetid DESC LIMIT 1
Time before: 0.33376896381378
Time after: 0.33636605739594

--------------------------------------------------------------------------------

Query: SELECT template FROM template WHERE title='vbproarcade_gamelinks' AND (templatesetid=-1 OR templatesetid=4) ORDER BY templatesetid DESC LIMIT 1
Time before: 0.34161496162415
Time after: 0.3439689874649

aibon
11-19-2002, 09:22 PM
Originally posted by Sebastian
futureal, can you explain how come I am getting 3 extra queries on forum home? There isn't anything vbproarcade related on forum home, how come an increase in queries on main page? How do I at least turn 3 queries into 1?



im not futureal, but here you go: all i can say is rtfm.... read da ++++ing manual.

in index.php there's code inserted so that you can put some links to the games on your forumhomepage template . that's explained in the manual.txt. just revert your index.php to your orignal code if you dont need it.

Mijae
11-19-2002, 11:13 PM
in proarcade.php I replace the default permissions with:


if
(
(
($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8)

) and
(
($bbuserinfo[posts] < 2)
)
)
{
show_error_nopermission();
}

break;


How can I make a user with no requierments go to a new template with the text saying Y"ou need 2 posts to play in the arcade"?

Mijae
11-19-2002, 11:34 PM
Also, I edited function.php to post[arcade] but I cant get it to show up on the postbit template...

aibon
11-19-2002, 11:45 PM
Originally posted by v0id
How can I make a user with no requierments go to a new template with the text saying Y"ou need 2 posts to play in the arcade"? [/B]

for ease just use the vbulletin errordisplay (function standarderror):


if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {
show_nopermission();
}
elseif ($bbuserinfo[posts] < 2) {
eval("standarderror(\"".gettemplate('error_need2posts')."\");");
exit;
}


you'll have to create a template 'error_need2posts'.

the template should be put in the templatecache for performance reasons. unfortunately the templatecache isnt yet used in this
hack. should be implemented, but to avoid overhead of caching unused templates a bit of the code has to be rearanged. i dont know whats up with the hack as futureal seems to be pretty busy @moment. i'm offering my help, if its wanted as i really like this hack and will be modifying my verion definitly. unfortunatly futureal didnt contact me yet about that and the state of development.

Sebastian
11-20-2002, 12:45 AM
Originally posted by aibon
im not futureal, but here you go: all i can say is rtfm.... read da ++++ing manual.
That is why I specially asked futureal for an answer, so I won't have to hear someone telling me to RTFM, obviously I did or it would be like guessing trying to install it... I rather manually add the links to forum home rather that adding three extra unnecessary queries .. the same affect can be achived by adding the links to the template.

Areku
11-20-2002, 03:34 PM
When is next version coming out? ;)

Any major issues/security issues with current one?

Sebastian
11-22-2002, 11:03 PM
Same ... any updates? I see you add many new features to the newer version .. update, update! :)

http://www.shadowsofnamek.com/forum/proarcade.php

JackG
11-23-2002, 06:04 PM
Tried to mannually make thetabes but get this error:

MySQL said: You have an error in your SQL syntax near '$tetrisscore', 550, 380, 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9

JackG
11-23-2002, 06:08 PM
My file has slashes in it. I will remove all slashed and try again.

JackG
11-23-2002, 06:10 PM
Ahh ok - my files does not have slased but it has ( ' )

When i past into MysqlAdmin - it puts the slashed in (on submit)..

hmmm

What should I do?

Sebastian
11-23-2002, 07:25 PM
Don't copy&paste it ... run it from the sql file ... you are talking about the content in allgames right?

xxxsaint
11-23-2002, 08:09 PM
here's a pretty kool .fla poker game , anyone able to integrate it into the arcade and with LeSane's Store

xxxsaint
11-23-2002, 08:16 PM
Originally posted by desi
ok guys .. my appology.. but i really needed to fix this hack cause my forum members were eating my brains off ...

well as suggested i've checked everything .... all the games work fine for admins only ...

but when i try to activate the game... i just doesn't do it ..:(

i have checked the code over and over again ... but its all as in the install text ....

cheers


open proarcade.php

look for this code :

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and


those are user group id's. ANY user group that you want to be able to play ,has to be added to this portion , for example , my code looks like this :



if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8) and
($bbuserinfo[usergroupid] != 9) and
($bbuserinfo[usergroupid] != 10) and
($bbuserinfo[usergroupid] != 11) and
($bbuserinfo[usergroupid] != 12) and
($bbuserinfo[usergroupid] != 13) and
($bbuserinfo[usergroupid] != 14) and
($bbuserinfo[usergroupid] != 15) and
($bbuserinfo[usergroupid] != 16) and
($bbuserinfo[usergroupid] != 17) and
($bbuserinfo[usergroupid] != 18) and
($bbuserinfo[usergroupid] != 21) and
($bbuserinfo[usergroupid] != 22) and
($bbuserinfo[usergroupid] != 23) and
($bbuserinfo[usergroupid] != 24)) {
show_nopermission();
}
break;
default:
// if no action specified, go to arcade page
$action = "arcade";
break;
}


because of all the custom sections and levels we have. He can't put it in the php as a general user group clearance because he doesn't know how many user groups you have , or which ones you wish to allow usage of the arcade , so you have to modify that portion of proarcade.php yourself to fit your individual forum.

JackG
11-24-2002, 03:56 AM
My problem is step 5.
I try to add allgames.sql and I get this:

(I run it from the file and also get the error)

SQL-query:

INSERT INTO arcadegames VALUES (
1,
\'tetris\',
\'Tetris\',
\'The classic game of Tetris that we all know and love...\',
\'tetris.swf\',
\'\', \'\', 0, 0, 0,
\'Tetris Champion\',
\'#FF0000\',
\'$tetrisscore\',
550, 380,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
2,
\'breakout\',
\'Breakout\',
\'A simple Arkanoid-style game -- see how many balls you can keep going at once!\',
\'breakout.swf\',
\'\', \'\', 0, 0, 0,
\'Breakout Champion\',
\'#ff0000\',
\'$breakoutscore\',
400, 500,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\' \\r\\n \\r\\n \\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
3,
\'pacman\',
\'Pacman\',
\'A perfect recreation of the arcade classic!\',
\'pacman.swf\',
\'\', \'\', 0, 0, 0,
\'Pacman Champion\',
\'#FF0000\',
\'$pacmanscore\',
360, 420,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
4,
\'spaceinvaders\',
\'Space Invaders\',
\'Drop down, increase speed, and reverse direction!\',
\'invaders.swf\',
\'\', \'\', 0, 0, 0,
\'Space Invaders Champion\',
\'#FF0000\',
\'$invadersscore\',
500, 500,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
5,
\'snake\',
\'Snake\',
\'Eat as much as you can without hitting the walls or your own tail!\',
\'snake.swf\',
\'\', \'\', 0, 0, 0,
\'Snake Champion\',
\'#FF0000\',
\'$snakescore\',
400, 400,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);


MySQL said: You have an error in your SQL syntax near '$tetrisscore', 550, 380, 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9
Back

Kars10
11-24-2002, 07:38 AM
Originally posted by JackG


INSERT INTO arcadegames VALUES (
1,
\'tetris\',
\'Tetris\',
\'The classic game of Tetris that we all know and love...\',
\'tetris.swf\',
\'\', \'\', 0, 0, 0,
\'Tetris Champion\',
\'#FF0000\',
\'$tetrisscore\',
550, 380,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);





INSERT INTO arcadegames VALUES (
2,
\'breakout\',
\'Breakout\',
\'A simple Arkanoid-style game -- see how many balls you can keep going at once!\',
\'breakout.swf\',
\'\', \'\', 0, 0, 0,
\'Breakout Champion\',
\'#ff0000\',
\'$breakoutscore\',
400, 500,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\' \\r\\n \\r\\n \\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);






INSERT INTO arcadegames VALUES (
3,
\'pacman\',
\'Pacman\',
\'A perfect recreation of the arcade classic!\',
\'pacman.swf\',
\'\', \'\', 0, 0, 0,
\'Pacman Champion\',
\'#FF0000\',
\'$pacmanscore\',
360, 420,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);







INSERT INTO arcadegames VALUES (
4,
\'spaceinvaders\',
\'Space Invaders\',
\'Drop down, increase speed, and reverse direction!\',
\'invaders.swf\',
\'\', \'\', 0, 0, 0,
\'Space Invaders Champion\',
\'#FF0000\',
\'$invadersscore\',
500, 500,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);





INSERT INTO arcadegames VALUES (
5,
\'snake\',
\'Snake\',
\'Eat as much as you can without hitting the walls or your own tail!\',
\'snake.swf\',
\'\', \'\', 0, 0, 0,
\'Snake Champion\',
\'#FF0000\',
\'$snakescore\',
400, 400,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);



Run the Querys one be one, not all together. Ive separated the querys in the quote for u.

Kars10
11-24-2002, 07:42 AM
Upps, you see that smilie?? So take youre allgames-file, and separate the querys there. That should be easy.. :)
If you copy and paste the code from here you get an MySql-Error...

xxxsaint
11-24-2002, 05:07 PM
anyone found , or anyone else interested in casino games for this that could be modified to work with lesane's store money system ?

JackG
11-24-2002, 09:56 PM
Hi Minifreunde,

Thanks for taking the time to separate them for me.
But still the error comes (taken from allgames.sql file):


Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'\r\n


---> MySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9


---------

Same sort of error if I run all at once.

I am on Win NT if that matters in this case.

* phpMyAdmin 2.1.0

* MySQL 3.23.28-gamma


Any ideas?

NTLDR
11-24-2002, 10:04 PM
Originally posted by JackG
' '$tetrisscore',

One ' not two ;) ('$tetrisscore')

JackG
11-24-2002, 10:35 PM
hmmm. i dont understand what you mean.
I am copying what was in the zip file exactly
as is.

Please re phrase.

NTLDR
11-24-2002, 10:46 PM
The error is theres '' in my quote above when there should only be '

IE: Two apostrophe's (') when there should be one.

JackG
11-24-2002, 11:00 PM
Ok, but I am not using 2.
Why do I get an error?

xxxsaint
11-25-2002, 02:22 AM
INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',

^ see that right there .

Kars10
11-25-2002, 06:55 AM
Yeah, delete the second ' and it must work!
Whats with the other Querys?? Did you try them??

Kohhal
11-25-2002, 08:13 AM
I think it was mentioned before but the Top scoreboard isn't showing the correct comments for the users top score, it shows their first comment always?

Anyone know a fix?

Great hack btw :rambo:

JackG
11-25-2002, 06:48 PM
Actually I am not having that extra ' :

-----
INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
'#FF0000',
'$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"',
'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'<param name="quality" value="high">\r\n<param name=bgcolor value="#576375">',
'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"'
);
---------

php Myadmin returns this error:

------------
Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'\r\nMySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9

----------


Looks like something wrong with the '#FF0000' line
right above '$tetrisscore'

Because I dont see that line in the error. ('#FF0000' )

I really appreciate your patience :)

Any more ideas?

JackG
11-25-2002, 09:21 PM
Note to Hack Creator: I have Safe Mode = Off

Mijae
11-26-2002, 12:14 AM
Originally posted by v0id
Also, I edited function.php to post[arcade] but I cant get it to show up on the postbit template...

anyone?

Sebastian
11-26-2002, 05:04 PM
JackG: If you look at the error it's returning there is still a second ' on '$tetrisscore', - see it? Drop the arcadegames table and re-create it. you have to get rid of that second '

Attached is a working allgames.sql .. use this one.

Highlander
11-26-2002, 05:51 PM
are there only 5 GAMES?.. i need more :) really i like it

mondaynightmike
11-26-2002, 07:17 PM
just found this :D

Looks great i'll install it over the weekend :D :D Thanks :cool:

xxxsaint
11-26-2002, 11:57 PM
is there a way for people to cheat on the scores , I remember with the other version of the arcade there was a way to just enter it into the address bar a certain way and it would put up whatever score you input

JackG
11-27-2002, 05:08 AM
Sebastian, II am not pasting in double '..
For example. I just pasted this is from your file:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
'#FF0000',
'$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"',
'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'<param name="quality" value="high">\r\n<param name=bgcolor value="#576375">',
'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"'
);


And I got this error which displays the insert wrong for some strange reason:

Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'\r\nMySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9Back

Do you see?

I really want to get this working.

Sebastian
11-27-2002, 06:07 AM
JackG:

I know you didn't put an extra ' but the error it's returning is showing an extra ' in the database.

Drop (delete) the current arcadegames table, THEN run the sql again making sure it doesn't have the extra '

you must drop the arcadegames table.... then run that .sql file I posted above and it should work.

did you try dropping the table first then re-creating it?

John
11-27-2002, 03:33 PM
Originally posted by xxxsaint
is there a way for people to cheat on the scores , I remember with the other version of the arcade there was a way to just enter it into the address bar a certain way and it would put up whatever score you input

If you're talking about my version, I found a way to make it 100% cheat proof (unless someone has access to the database)

xxxsaint
11-27-2002, 04:05 PM
aren't you the guy the just blocked me on msn messenger :|

anybody know about cheating on THIS version ?

John
11-27-2002, 04:07 PM
Originally posted by xxxsaint
aren't you the guy the just blocked me on msn messenger :|

anybody know about cheating on THIS version ?

Probably not, I haven't blocked anyone for days!

If I did, don't take it personally - I do it to people all the time when I need some peace ;)

JackG
11-27-2002, 08:45 PM
Hi Sebastian - I really appreciate it but -

Dident work.

I dropped the ArcadeGames forum. Pasted the first ister in
and got this error:

Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$vpa_bburl&gamename=$game',
'\r\nMySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9Back




- Now I dont have the arcade games table...

futureal
11-28-2002, 04:53 AM
Hi guys,

I am going to do everything in my power to get Beta 2 out in the next few days over the holiday weekend. Those of you that have seen it on my site know that it has been progressing gradually, it's almost completely to where I want it.

When Beta 2 is released, I will first make sure that works, and then come up with an upgrade script (hopefully) after that. The upgrade script will just consist of some queries to run that will preserve your old score tables. If you don't mind losing your scores, the best (and recommended) upgrade will be to just delete the tables and start fresh.

More info to come soon. Thanks.

futureal
11-28-2002, 04:56 AM
Originally posted by TheMasterG
I think it was mentioned before but the Top scoreboard isn't showing the correct comments for the users top score, it shows their first comment always?

Anyone know a fix?

Great hack btw :rambo:

This has been fixed for the new version (see previous post). Thanks!

Shepski
11-28-2002, 08:16 AM
Have a problem when the game ends, it displays :

Warning: MySQL: A link to the server could not be established in proarcade.php on line 203

And then takes you to the screen that tells you your rank and to enter a comment but it doesnt save any of the comments but does save your score.

Any ideas?

PS. Great script, will provide many hours of amusement for the users :)

futureal
11-28-2002, 09:57 AM
That's a very odd error, it almost seems like a problem with the MySQL on your server. Could you look in your proarcade.php file and tell me which line is number 203? This is certainly an error that I have not yet come across.

In other news, I finished the postbit integration of the champions system tonight. You can see it in action on my website (look for posts by a user who is the champion of a particular game). Just as everything else in the arcade, it is completely configurable in the Admin CP.

More to come.

Shepski
11-28-2002, 10:05 AM
line 203: $newscoreid = mysql_insert_id();

line 205: $newscorequery = $DB_site->query("SELECT scoreid,score FROM arcade WHERE game='$game' ORDER BY score DESC");

The MySQL is fine as far as it runs everything else that is thrown at it. MySQL version is 3.23.44.

Also, forgot to metion, I also have the missing graphics problem as described earlier in this thread and I am using safemode on. I have tried everything you have suggested but no joy but this is a minor thing.

Kohhal
11-28-2002, 10:20 AM
Originally posted by futureal


This has been fixed for the new version (see previous post). Thanks!
New version looks good. How about having it so you can click on the members listed in the scoreboard etc. to see their profile, and will the profile show somewhere that they are a champion? Would be good...

Kohhal
11-29-2002, 10:16 AM
Also, a recent comment from one of my members : After playing a game in my Opera browser... I get an error 404...
And that's not good as I just made a score of 10600 at breakout !!!!

And another thing, I don't think anyone is going to get a higher score, because at round 24 at breakout there is a row of blocks on which the ball doesn't have any effect, the ball just goes through, and the score stays the same, and you don't get a new level beacause there are still blocks left !! aarrggh!!


Dunno if there's a fix or not?...

chad777
11-29-2002, 11:46 AM
Just wondering its been awhile since a new version has been release :) my user are starting to want some new games :)

JackG
11-29-2002, 04:35 PM
Any help for me?

Sebastian
11-29-2002, 07:14 PM
JackG: Beta 2 will be out in a few days, might want to wait for it, Hopefully, it may fix your problem (weird one that is..) :)

ad_uk6565
11-29-2002, 07:37 PM
I got a suggestion for the future, something like a tournament hack, intergrated with lesanes store...so like we could set a date, and run the tourney, then the winner gets money, and first and second gets part of the pot.

JackG
11-30-2002, 04:17 AM
Great Sebastian, I appreciate your patience.
I have done this sort of thing many times before.
It's usually a pretty logical fix. But you know how
it goes sometimes :p

futureal
11-30-2002, 06:24 AM
A future tournament thing is a good idea.

The hack is known to not work correctly with pre-7.0 Netscape versions, as well as Opera. This has nothing to do with the hack and everything to do with the way that the Flash plugin is able to integrate with those browsers. There may be ways around this, and that's something I will explore in the future.

JackG: You dropped the table? It certainly won't work then. If you are having problems with the allgames.sql file, you need to just enter the games data manually. It will work fine either way.

Dean C
11-30-2002, 12:03 PM
Who cares about netscape users - not meeeeeeeeeeee :)

hehe

- miSt

pgowder
12-01-2002, 02:55 AM
Wow, this is incredible!! Love it.

Installed with little problems!

How many people are displayed on the Scoreboard?

Can we configure it just to show the Top 10?

Sebastian
12-01-2002, 03:22 AM
so how is beta2 coming along? :)

wrecken
12-03-2002, 02:49 AM
Sorry for the newbie question, but how do I switch these two colors. I want the border to be in the body and the body color to be the borders color.

Attached is how it looks like now, I want to reverse it.

Ninth Dimension
12-03-2002, 05:02 AM
The arcade should use your forums colour scheme, if these colours are not working correctly then you might need to look at them again.

However, in answer to your question? How much do you know about HTML? If you are quite good at it when it's a simple case of re-arranging the {firstaltcolor } - {secondaltcolor } tags within the template (i dunno which one off the top of my head, sorry).

I hope this helps?

wrecken
12-03-2002, 05:04 AM
Thanks for your response bro.. For some reason it doesnt match my forum scheme.

Anyhow, i'm just okay at html etc. I snoop around and try to figure out what template to modify.

JackG
12-03-2002, 06:45 PM
Any word on Beta 2?

Grunt
12-04-2002, 07:55 AM
cool hack..installed with 1 question:

the champion system - the current champ isnt showing up in the postbit..the radio box is checked to 'yes' for all the games in the proarcadeadmin.php -

it says that vbProArcade Champion System must be enabled - is there somewhere other than the proarcadeadmin.php to enable this?

Kohhal
12-04-2002, 10:01 AM
Originally posted by Gruntie
...is there somewhere other than the proarcadeadmin.php to enable this?
Yep, in the general options for vbproarcade in the Admin control panel.

Grunt
12-04-2002, 10:55 AM
dooh..overlooked that..slap me why dont cha..

well its enabled there but still not showing up in the postbit...

i double checked all the template edits and ran the sql queries once again..still nadda..the thing that strikes me is that it is supposed to show up in the postbit right? No edits are required to be made to the postbit..??

mewgood
12-04-2002, 11:12 PM
no one gonna update this hack?
I havnt see any new stuff for a couple months...

chad777
12-04-2002, 11:16 PM
mewgood I agree i would love to see an update and more games my members are really getting pretty good at the 5...

what code needs to go in fla files to add more games an make them work with the ranking system and I will try to make some more games

xxxsaint
12-05-2002, 04:23 AM
what code needs to go in fla files to add more games an make them work with the ranking system and I will try to make some more games

and so would I , I work in construction and now is the slow time of the year , I have plenty of time to sit around here doing this type of thing. I already have a slot machine .fla and a poker machine .fla , would love to have a casino integrated into this that would interact with our money system from lesane's store.

influence
12-05-2002, 02:35 PM
why the score icon and king icon dont show? and I upload them but nothing showing. why is that?

SS9267547
12-05-2002, 08:35 PM
So whats the news about the next version and when are the fla files going to be out? Just wondering if anyone knows since I've been waiting and waiting lol. Would really like to make some new games too. :nervous:

futureal
12-05-2002, 10:11 PM
I know, I lag.

As you can see on my site, it's very close to being ready. Just about every often-requested feature has been implemented. Mini Scoreboards, Text/Graphic King in the postbit, Usergroup Access Control, Fixed Top Scoreboard, etc.

The last thing I need to do is upgrade my forum to 2.2.9 so I can create an install log for the hack, as well as add one final planned feature (User Stat pages).

SS9267547
12-05-2002, 10:20 PM
Well thats super, so would you say it would be ready in a week? Maybe 2? Or Next year? lol Just wondering beucase I don't know if I should install the hack or wait for the next version since I read somewhere that you would have the fla files there which I would like to change a few things such as taking off the music or adding a button to trun it off since I'm not all that fond of it before I open my new message board. Btw thanks for the quite reply.

BrAinZ
12-07-2002, 08:59 PM
Originally posted by futureal
The last thing I need to do is upgrade my forum to 2.2.9 so I can create an install log for the hack, as well as add one final planned feature (User Stat pages). Oh dear, I wonder if that means that it won't work on 2.2.6 :(

futureal
12-08-2002, 05:01 AM
It should work fine on any 2.x vB install. The forum I am developing on has (so far) been 2.2.5 with a few of the security patches applied.

Automated
12-09-2002, 09:28 PM
How about making smilies work in the comments section? That would make a nice addition!

Bungie
12-10-2002, 02:30 AM
Ok, I didn't read every single post in this thread, so I don't know if this has been asked yet...

I'm installing this on 2.2.9. I followed everything in the instructions and have went over the file edits twice now. What is happening is when I click on a game link, it just sits and hangs while trying to access proarcade.php to play the game...

Bungie
12-10-2002, 02:40 AM
Ok, I found the problem... In the Arcade Options, the path to games needs to be 'games/' not '/games/'. ;)

Automated
12-10-2002, 01:55 PM
Originally posted by Automated
How about making smilies work in the comments section? That would make a nice addition!

Anyone :bunny:

Thanks
Matthew

Tigga
12-11-2002, 02:32 PM
Originally posted by Automated
How about making smilies work in the comments section? That would make a nice addition!

In proarcade.php, look for:

// set up vars for templates to grab
$lb_userid = $sb_loop[userid];
$lb_username = $sb_loop[username];
$lb_score = number_format($sb_loop[score]);
$lb_comment = $sb_loop[comment];

Change that last line to:

$lb_comment = bbcodeparse($sb_loop[comment]);

Then look for:

$lb_userid = $tsb_loop[userid];
$lb_username = $tsb_loop[username];
$lb_score = number_format($tsb_loop[maxscore]);
$lb_comment = $tsb_loop[comment];

And change the last line to:

$lb_comment = bbcodeparse($tsb_loop[comment]);

That will make vBcode and smilies work in the comments section.

Kohhal
12-11-2002, 03:05 PM
Originally posted by PlurPlanet
...That will make vBcode and smilies work in the comments section.
Worked for vBcode but not for smilies?

Tigga
12-11-2002, 03:15 PM
It should work for smilies as well since they're part of vBcode. Are you sure the code for the smilie is right?

muppet
12-11-2002, 04:12 PM
Originally posted by PlurPlanet
It should work for smilies as well since they're part of vBcode. Are you sure the code for the smilie is right?
It didn't produce smilies for me either, sorry. (vb 2.8)

Tigga
12-11-2002, 09:40 PM
That's weird... I worked just fine for me and I don't see any other places in the script where it calls the comments, nor do I see any reason why that wouldn't work. The only thing I can suggest is to double check that you replaced that line and didn't add the code after it or something like that. If that doesn't work maybe Futureal can help. :)

Link14716
12-11-2002, 10:19 PM
Use this instead:
$lb_comment = bbcodeparse2($tsb_loop[comment],1,1,1,1);
That should do the trick.

Baptizer
12-11-2002, 10:51 PM
Hello!
It seems as though one member doesnt have permission to access the games. what might be causing this? Great hack by the way!

muppet
12-12-2002, 02:25 PM
Thanks Link :) worked like a charm.

So, should anyone need to use the alternate way of incorporating smilies/vbcode in their high score lists..

In proarcade.php, look for:

$lb_comment = $sb_loop[comment];

Change the line to:

$lb_comment = bbcodeparse2($sb_loop[comment],1,1,1,1);

Then look for:

$lb_comment = $tsb_loop[comment];

And change that line to:

$lb_comment = bbcodeparse2($tsb_loop[comment],1,1,1,1);

snyx
12-12-2002, 05:00 PM
uhhh, I posted awhile back, but anyways...
I have a problem where users input there comment, but nothing shows up? any ideaS?

Kohhal
12-12-2002, 05:04 PM
Good job guys, smilies work great :D

pgowder
12-13-2002, 01:55 PM
Has anyone added any games?

I'd love to be able to offer more!

Thanks

pgowder
12-13-2002, 01:56 PM
Has anyone added any games?

I'd love to be able to offer more!

Thanks

pgowder
12-13-2002, 01:58 PM
Has anyone added any games?

I'd love to be able to offer more!

Thanks

Automated
12-14-2002, 03:30 PM
how much longer do we have to wait?
I think if we all donated $5 each to futureal that would be nice ;)

Wouldnt it :D

Matthew

SRozhon
12-14-2002, 09:04 PM
Is there a way to add .dcr games??

Automated
12-14-2002, 10:02 PM
Originally posted by SRozhon
Is there a way to add .dcr games??

what is dcr?

SRozhon
12-14-2002, 10:07 PM
here is the link to the plugin

http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwave

Shockwave

SRozhon
12-14-2002, 10:34 PM
I got it! To play games with the dcr extention go to add Game in admin just like you would with a swf game.

Code for classid/codebase
Enter the classid="..." and codebase="..." parameters here, separated by a space is

classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave /cabs/flash/swflash.cab#version=6,0,65,0"

EMBED Tag Parameters is

pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwave"


Hope this helps someone else

Automated
12-15-2002, 07:38 AM
you can play them very easily, but they will not be intergrated with the score board will they?

Matthew

Baptizer
12-15-2002, 04:07 PM
Its strange: All my members can play fine, but One person. His scores are not registering when he finishes a game(he gets high scores, and uses Explorer). He does not even get directed to the 'comment' field screen.
I have added his UserGroupID, so that is not the problem. Plus, others in that usergroup are able to play and record scores. Anyone have any faint ideas as to what the problem is? I am quite clueless :(

SRozhon
12-15-2002, 06:49 PM
Nope they don't get included in scoreboard. Does anyone know a fix to that?

Tigga
12-15-2002, 10:58 PM
Baptizer - Does that user have any special characters in their username (such as ~, ', #) or something like that? I think I remember there being a bug where it was messing up for users with special characters in their names and I'm not sure if it was ever corrected or not. If that is the case then there's a pretty simple fix.

Da`Nacho
12-16-2002, 06:51 PM
Jeebus!

Is he ever going to release an .FLA for us flash authors to have a gander at? :mad:

Or at least tell us how the highscores are passed back from the .SWF, my users want new games and I want to give them new games! There isn't much point in having the ability to add them if no one will tell us how to send highscore values back to vbProArcade! :(

Baptizer
12-16-2002, 10:05 PM
Hi PlurPlanet:
Thanks for assisting me with my problem. Unfortunately, his name is totally normal; the name is worth. To be honest with you, I am quite lost on this :(

Automated
12-17-2002, 08:40 AM
Originally posted by Da`Nacho
Jeebus!

Is he ever going to release an .FLA for us flash authors to have a gander at? :mad:

Or at least tell us how the highscores are passed back from the .SWF, my users want new games and I want to give them new games! There isn't much point in having the ability to add them if no one will tell us how to send highscore values back to vbProArcade! :(

I will have a look for a flash decoder program that will let me ge the source code for the game and if i have any luck i will post the file here ;)

Matthew

Automated
12-17-2002, 08:48 AM
well guys here it is, it is a decompiler that will allow you to see the code and system that is used to pass the code to the high score table.

Please remember that this ISNT an edior, it just allows you to read/see the way the flash program works and from that you should be able to edit and intergrate the games that you have!

the links http://www.buraks.com/asv/index.html :p

(download the evaluation/demo copy)

Goodluck ;)
Matthew

X-Fan
12-17-2002, 03:14 PM
Originally posted by snyx
would anyone know about my no comments problem?


I'm having the same problem. Let's me enter a comment with no apparent problems, but then isn't displaying them at all on the high score tables.

Can anyone help with this problem, please?

EDIT: Also just tried the Champion System, but it's not working. The custom champion titles aren't showing up under my username on posts even though I'm presently champ on two games on my forums.

Any ideas there as well, please?

Da`Nacho
12-17-2002, 05:40 PM
Whats really quite sad is one of my mods figured out how the score was passed before I did, and he pretty much told everyone on the forum how to fake scores.

now I've got everyone submitting fake scores to the arcade... *sigh*

Who woulda thunk it would be so easy to do...

xxxsaint
12-17-2002, 07:18 PM
I was able to get this action-script info out of the snake game :



// Action script...

// [Action in Frame 1]
ifFrameLoaded(45)
{
gotoAndStop(4);
} // End of ifFrameLoad

// [Action in Frame 3]
gotoAndPlay(1);

// [Action in Frame 4]
score = 0;
stop();

// [Action in Frame 37]
Snake._visible = false;
score = 0;
tail = 1;
head = 3;
xv = 0;
yv = 1;
x = 160;
y = 100;
eaten = true;
extend = false;
makeMove = false;

// [Action in Frame 38]
x = x + 10 * xv;
y = y + 10 * yv;
head++;
duplicateMovieClip("Snake", head, 16384 + head);
setProperty(head, _x, x);
setProperty(head, _y, y);
if (eval("s_" + x + "_" + y) || x < 20 || x > 300 || y < 20 || y > 290)
{
gotoAndStop(43);
} // end if
eval("s_" + x + "_" + y) = true;
if (extend)
{
extend = false;
score = score + level;
}
else
{
eval("s_" + tail._x + "_" + tail._y) = false;
removeMovieClip(tail);
tail++;
} // end if
if (Food._x == x && Food._y == y)
{
eaten = true;
extend = true;
} // end if
if (eaten)
{
Sound.gotoAndPlay(2);
eaten = false;
tellTarget("Food")
{
_x = 10 * (random(28) + 2)
_y = 10 * (random(27) + 2)
} // end of tellTarget
} // end if
makeMove = false;

// [Action in Frame 39]
if (level == 3)
{
gotoAndPlay(38);
} // end if

// [Action in Frame 40]
if (level == 2)
{
gotoAndPlay(38);
} // end if

// [Action in Frame 41]
gotoAndPlay(38);

// [Action in Frame 43]
for (temp = head; tail < temp + 1; temp--)
{
setProperty(temp, _alpha, 33);
} // end of for
vpaver = "100B";
snakescore = score;
action = "gameover";
game = gamename;
score_loc = location + "/proarcade.php";
getURL(score_loc, "_self", "POST");

// [Action in Frame 44]
rank = 0;
Input._visible = false;
scoresURL = "snakescores.txt";
loadMovie(scoresURL, "Scores");
stop();

// [Action in Frame 45]
if (level == 3)
{
l = "p";
}
else if (level == 2)
{
l = "w";
}
else
{
l = "s";
} // end if
for (i = 1; i < 11; i++)
{
if (Scores["s" + l + i] < score)
{
rank = i;
i = 11;
} // end if
} // end of for
if (rank)
{
for (i = 9; i >= rank; i--)
{
Scores["s" + l + Number(i + 1)] = Scores["s" + l + i];
Scores["n" + l + Number(i + 1)] = Scores["n" + l + i];
} // end of for
Scores["s" + l + rank] = score;
Scores["n" + l + rank] = "";
tellTarget("Input")
{
_y = 20 * _root.rank + 59.500000
_x = 100 * _root.level - 45.500000
_visible = true
} // end of tellTarget
HS.gotoAndStop(3);
}
else
{
HS.gotoAndStop(2);
} // end if
stop();



now , being a flash rookie - is this enough info to be able to start adding our own games because I really want to add flash casino games in there , I've posted that all over these forums with no luck.

Da`Nacho
12-17-2002, 08:16 PM
You can gleam the info from that...

quite bluntly the scores are sent like this:

url/proarcade.php?action=<actionname>&game=<gamename>&<scorevarname>=<scorevalue>

ie to give yourself 33,500 in tetris:

http://www.myforum.com/proarcade.php?action=gameover&game=tetris&tetrisscore=33,500

From that you can see pretty much how the games are sending the score back to proarcade.php. I wouldn't be posting this except for the fact that I've had everyone putting in fake scores all day. :( I had one user who even told me he actually recompiled the breakout .swf and changed the breakoutscore = score; line to read a static value and the location variable to match the url to our forum, and then all he had to do was run it and presto.

There must be some way to prevent both of the above from happening. :(

theoneandonly
12-17-2002, 09:37 PM
hey futureal, are you going to add any more games besides the 4 that u released?

xxxsaint
12-18-2002, 12:06 AM
well , I have a slot machine .fla , and a poker machine .fla , how would I learn what to do to make those work out ?

xxxsaint
12-18-2002, 01:15 AM
seeee , i'm psyched up about it
http://www.tdleague.com/forums/images/sportsbooksmall.gif

Automated
12-18-2002, 02:32 PM
glad to see i could help! I dont know any flash so i look forward to seeing what you guys come up with.

Does anybody have a game we can add yet?

Thanks
Matthew

Automated
12-18-2002, 02:34 PM
Originally posted by xxxsaint
well , I have a slot machine .fla , and a poker machine .fla , how would I learn what to do to make those work out ?

download this program (http://www.buraks.com/asv/index.html) and then you will see how it all works but i think xxxsaint has covered it all!

Anybody had any luck?

TheSonic
12-18-2002, 07:44 PM
Great hack.

After playing a game, i am redirected to the scoreboard, but Scores ARE NEVER added - all games are still at "0
(New Game!) " What can be wrong?

I dont see the "GameOver"-Screen - i just checked the templates - all are available. :(

Running 2.2.9

MAYDAY :D

BTW: Great hack!!

orca
12-18-2002, 09:40 PM
Hmm a bit difficult to do a search in this big thread but I have a problem: After playing a game and the game's over I'll be directed to http://www.mysite.com/proarcade.php instead of http://www.mysite.com/forums/proarcade.php. Anyone now where I need to fix this?

stryka
12-20-2002, 07:12 PM
I think everyone needs to show some patience...

I know we need to test this out but if you explain to your users that this is BETA and you have no control over future upgrades/releases.... then they might understand the delay etc...

but I am glad that so many ppl have installed this hack and is providing feedback...

and yes... i too can't wait for the next beta release... but it might take weeks, months or days...