View Full Version : vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :)
Originally posted by kypdurron
If Im using Ie6, after playing for awhile, I get a "access denied" error when the game is over...why is that and how can I disable it?
vB version, tetris version?
Are you talking about the no permission page?
Souly
08-23-2002, 10:25 PM
I have try to add Levels. i can not test it, because i am an admin and i have no time to play much hours :D ... I have never work before yesterday with flash, plz. test it on your own risk :D
[Changes]
*16 Levels: 11-16 are new and i think they are very hard, but i don?t play tetris, i can?t test it :(
3 new tetris.swf:
--> plz make a backup of all your previous tetris.swf Files before you test my new version!
1 Version:
------------
english, 16 Levels (6 new) very hard! pause is disabled
2 Version:
------------
english, 16 Levels (6 new) very hard! pause is enabled
3 Version:
------------
german, gray background, 16 Levels (6 new) very hard! pause is disabled
Here are Number ONE:
(english, 16 Levels (6 new) very hard! pause is disabled)
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .................................................. ..
Souly
08-23-2002, 10:26 PM
Here are Number TWO:
english, 16 Levels (6 new) very hard! pause is enabled
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .............................. ......................
I'll look forward to hearing from people as to whether this works or not :)
Souly
08-23-2002, 10:27 PM
Here are Number THREE:
(german, gray background, 16 Levels (6 new) very hard! pause is disabled)
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .............................. ......................
Ok, when I run
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,date,max(score) as maxscore
FROM arcade
WHERE game='$gamename'
GROUP BY userid
ORDER BY maxscore DESC
LIMIT $top_number");
in place of the standard leaderboard_q code, I get no records returned.
Ninth Dimension
08-23-2002, 10:39 PM
I played the second tetris game and got to level 2, good huh?? :)
Castel
08-23-2002, 10:50 PM
Originally posted by Souly
Here are Number TWO:
english, 16 Levels (6 new) very hard! pause is enabled
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .................................................. ..
Would you mind including the fla files for these in the zip so we can adjust colors to fit site design.
futureal
08-23-2002, 10:50 PM
Originally posted by john.eovie
Ok, when I run
...snip...
in place of the standard leaderboard_q code, I get no records returned.
Dang, I dunno what the problem could be. Aside from a few different variable names, that is the exact query I am using, and it works well. Could you post the ensuing while loop to go along with it that you are trying? Maybe something is going wonky there...?
The only other thing I can think of is to try it with hardcoded variables that you know exist in your database. Like, use 'tetris' instead of $gamename and "10" instead of $top_number and so on. Just to eliminate all possible problems.
edit: Actually, just try entering the query directly into mysql on your site and see what it returns. That is usually the best way to try things out... let me know if it is returning something weird.
Of course, the variables were the first things I checked. All working fine. When I run the code in the database, I get a result back. But I'm not changing anything else, so it doesn't make sense...
Castel
08-23-2002, 11:01 PM
Originally posted by john.eovie
Ok, when I run
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,date,max(score) as maxscore
FROM arcade
WHERE game='$gamename'
GROUP BY userid
ORDER BY maxscore DESC
LIMIT $top_number");
in place of the standard leaderboard_q code, I get no records returned.
John I ran that query in PHPadmin and it works perfect. I used order by userid and no limit to check (after a checked there was multiple record for the same user) and the query returned only the highest score for each user. I think this is the ticket to your arcade hack with dual display mode, I had doctored up another way after out conversation earlier but this is much better.
I had already come up with this SQL earlier, but it didn't get me anywhere - just like it's not getting me anywhere now. I have no idea why this is not working in my code, but it is working in phpMyAdmin :\
futureal
08-23-2002, 11:18 PM
So, let's see the rest of the code. :)
If you don't want to post it, feel free to PM it to me and I'll take a look at it.
I've come up with a solution - the code just didn't like the admin cp selection system I put in place to allow users to choose how they want their leaderboards to run.
Got the basis of something that works now tho, which can't be bad...
eXtremeTim
08-23-2002, 11:32 PM
I can't wait to get it john. :)
This was one hack that i really wanted for vb. :)
Martin64
08-23-2002, 11:55 PM
Originally posted by Souly
I have try to add Levels. i can not test it, because i am an admin and i have no time to play much hours :D ... I have never work before yesterday with flash, plz. test it on your own risk :D
[Changes]
*16 Levels: 11-16 are new and i think they are very hard, but i don?t play tetris, i can?t test it :(
3 new tetris.swf:
--> plz make a backup of all your previous tetris.swf Files before you test my new version!
1 Version:
------------
english, 16 Levels (6 new) very hard! pause is disabled
2 Version:
------------
english, 16 Levels (6 new) very hard! pause is enabled
3 Version:
------------
german, gray background, 16 Levels (6 new) very hard! pause is disabled
Here are Number ONE:
(english, 16 Levels (6 new) very hard! pause is disabled)
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .................................................. ..
Cheers for that, I'm using your second version and let's see what the pro's say once they've finished the 10th level :)
Courage
08-24-2002, 12:03 AM
Originally posted by kypdurron
If Im using Ie6, after playing for awhile, I get a "access denied" error when the game is over...why is that and how can I disable it?
My users are complaining about the same thing. They are playing for a long time and when thy finish... Acces Denied :(
PHP Version v4.2.1
MySQL Version v3.23.51-log
Originally posted by Courage
My users are complaining about the same thing. They are playing for a long time and when thy finish... Acces Denied :(
PHP Version v4.2.1
MySQL Version v3.23.51-log
Tetris version?
futureal
08-24-2002, 12:08 AM
It is possible that because John's version has the timeout set to 60 minutes, the security check is failing after the game. An hour is a long time, though, so that might not be it. You could try increasing that value just for kicks.
Another option is to change where the calls to show_nopermission() are being made to see if that affects it. I use the following nopermission code:
// access check
switch($action) {
case "leaderboard":
break;
case "play":
case "reg":
if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {
show_nopermission();
}
break;
default:
if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7)) {
show_nopermission();
}
$action = "play";
break;
}
That code is near the top of the file and is only executed once. There are no further permission checks (aside from security stuff) and it seems to work great.
However, since I have moved pretty far away from the original hack, I wouldn't recommend trying that code out unless you know what you're doing. I don't want to screw anybody's thing up! :)
Ryangel
08-24-2002, 12:09 AM
Latest one John. Its really weird as only some users get this. He told me he had Ie6 as well.
NexDog
08-24-2002, 12:16 AM
Maybe it's VB cookie session timeout issue? :)
Courage
08-24-2002, 12:23 AM
My Tetris version is the latest :o 2.5
I just uploaded yesterday... and now complains.. :o
See the screenshot atached
Since there are other security items in place, you could block out all no permission pages for the "reg" action with a simple if statement. Non members would be able to access that reg page, but they wouldn't be able to do anything...
Schorsch
08-24-2002, 03:23 AM
Originally posted by Souly
Here are Number THREE:
(german, gray background, 16 Levels (6 new) very hard! pause is disabled)
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .................................................. ..
great!! thanks!! but could you remove the cf.de and do a version with the backgroundcolor of the english tetris.swf and pause enabled ? would be great :banana:
thanks :)
Schorsch
lordofgun
08-24-2002, 04:56 AM
Originally posted by Souly
Here are Number TWO:
english, 16 Levels (6 new) very hard! pause is enabled
[INSTALL]
Download the tetris.zip File, unpack it and copy the tetris.swf File in your forum root and let test your user the 6 new level!
.................................................. .................................................. ..
I would like this version, but when i got to level 10, it still had 1000 levels. could you bring it down to 10 or 20 since you have 16 levels?
pstdgt
08-24-2002, 05:47 AM
Originally posted by john.eovie
Since there are other security items in place, you could block out all no permission pages for the "reg" action with a simple if statement. Non members would be able to access that reg page, but they wouldn't be able to do anything...
..could you please be a little more specific.. i didn't quite understand the method your are describing here.. i'm not asking for code but for a explanation of the method
Souly
08-24-2002, 07:01 AM
I have found a very big BUG in my last Files, you MUST update! Sorry for it, but i was to tired last night :eek:
Here is my new file, includes all fla?s ,versions and german original bg color@schorsch ;)!
Plz give me feedback, if you have tested lvl 11 - 16 .. thx
Originally posted by lordofgun
I would like this version, but when i got to level 10, it still had 1000 levels. could you bring it down to 10 or 20 since you have 16 levels?
Sorry, now you have 50 Lines on Lvl 10!
dreamerzrealm
08-24-2002, 07:15 AM
I just installed it and its awesome!!! Good job man, hope you make some more games :)
http://www.dreamerzrealm.com w00t
lordofgun
08-24-2002, 04:08 PM
thanks souly!
kypdurron
08-24-2002, 04:50 PM
your last english with pause was actually english without pause
Martin64
08-24-2002, 04:58 PM
Originally posted by kypdurron
your last english with pause was actually english without pause
Nope :banana:
Ron ? DCS
08-24-2002, 05:42 PM
Sorry if this has been posted before, but one of my (obviously) expert Tetris players on my site posted this message:
"After I complete level 10...the game takes me back to level 1, and it won't give me a chance to enter my name on the scoreboard.
Anyone else having the same problems?"
I really don't care one way or the other on this particular issue, and don't know if the problem is in tetris.swf or tetris.php (or whether it can fixed at all), I'm just pointing out a problem...
Thanks!
futureal
08-24-2002, 05:56 PM
Somebody on my site reported the same issue. I still haven't touched the Tetris code; we have been working on a new game that is just about ready.
If anybody fixes the Tetris thing, post it here. :)
Originally posted by futureal
Somebody on my site reported the same issue. I still haven't touched the Tetris code; we have been working on a new game that is just about ready.
If anybody fixes the Tetris thing, post it here. :)
Ooh, what game?!
BigJohnson
08-24-2002, 06:10 PM
Originally posted by john.eovie
I just thought people would prefer a store add on for the arcade hack, with more games - rather than just the tetris hack.
If there's enough demand, I'll do both.
The arcade is better. Sorry i was confused. The arcade is the way to go. Not just the tetris. I see now hahaha. Sory i am just dumb. Cant wait for the arcade version.
Will each game be able to have leader board or just the tetris one?
Originally posted by BigJohnson
The arcade is better. Sorry i was confused. The arcade is the way to go. Not just the tetris. I see now hahaha. Sory i am just dumb. Cant wait for the arcade version.
Will each game be able to have leader board or just the tetris one?
All of them, of course ;)
futureal
08-24-2002, 07:03 PM
Originally posted by john.eovie
Ooh, what game?!
Breakout (a.k.a. Arkanoid, or at least I think that was how it was spelled).
Right now we are mainly just debating whether or not to include music in the game or not. Unfortunately, Flash does not support MIDIs, only WAV/MP3 music (at least in version 5, the one we have) which limits us a bit since we don't want the filesize to go nuts.
jbear6
08-24-2002, 07:18 PM
Music? Yes!
That was my going to be my question. Is there an easy way to add music, even if it is a separate program, not part of the games code?
Thanks
Jbear
Could always embed a MIDI file.. :\
Castel
08-24-2002, 07:21 PM
Originally posted by Souly
I have found a very big BUG in my last Files, you MUST update! Sorry for it, but i was to tired last night :eek:
Here is my new file, includes all fla?s ,versions and german original bg color@schorsch ;)!
Plz give me feedback, if you have tested lvl 11 - 16 .. thx
Excellent, thanks for including the fla files. Nice job figuring out how to add and contruct levels. I'm a total flash newbie as well but now that I have the fla files I see how it's done and I will add my own custom levels.
BTW the english with pause has a glitch in lvl 13 (there are no blocks displayed at the beginning of the the lvl, looking at the code it think the problem is:
liv13[maxrig-2][12]=random(7)+100+1;
liv13[maxrig-7][12]=random(7)+100+1;
The maximum value allowed for where you have [12] is [9] I believe.
futureal
08-24-2002, 07:25 PM
Yea, that was one option, to just get a midi file running on the same page as the game. However, I was hoping to get level-by-level music going for a game like Tetris or Breakout. Without MIDI, that pretty much becomes impossible using Flash, because of the filesize restrictions. However, we still got sound effects working, and added a single loop of background music, and it sounds reasonably good with a filesize of around 140K.
Lanigironu
08-24-2002, 07:33 PM
I'm pretty sure you can use MIDIs in Flash 6 and MX.
Originally posted by Lanigironu
I'm pretty sure you can use MIDIs in Flash 6 and MX.
I had a good look, couldn't figure out how to... :(
There's too many pages in here to read, I was wondering, have any leaderboard and king addons been released for any other games apart from tetris?
Well, there's the arcade hack which has space invaders, tetris, snake and pacman - each with a leaderboard system :)
Martin64
08-24-2002, 08:00 PM
Originally posted by john.eovie
Well, there's the arcade hack which has space invaders, tetris, snake and pacman - each with a leaderboard system :)
Please...release...now.
:D
Soon to post a screenshot, and start testing ;)
futureal
08-24-2002, 08:20 PM
John, if you'd like to exchange Flash games with me that will work with the arcade, I can provide you with the fully functional Breakout, and we're in the process of working on a few others. I, too, would like to get some more scireboard-compatible games running to test out my system.
Originally posted by futureal
John, if you'd like to exchange Flash games with me that will work with the arcade, I can provide you with the fully functional Breakout, and we're in the process of working on a few others. I, too, would like to get some more scireboard-compatible games running to test out my system.
Catch me on:
MSN: John@eovie.com
AIM: Billiam03k
ICQ: 40863144
Martin64
08-24-2002, 10:57 PM
Originally posted by Ron ? DCS
Sorry if this has been posted before, but one of my (obviously) expert Tetris players on my site posted this message:
"After I complete level 10...the game takes me back to level 1, and it won't give me a chance to enter my name on the scoreboard.
Anyone else having the same problems?"
I really don't care one way or the other on this particular issue, and don't know if the problem is in tetris.swf or tetris.php (or whether it can fixed at all), I'm just pointing out a problem...
Thanks!
Yeah, here too. From my board a user commented:
"Now wait a minute, I just beat DJ Unreals top score and it didnt add me to the leader board.
EDIT: Correction I was just below DJ Unreals Top Score, but I still should be second."
futureal
08-25-2002, 12:33 AM
John: I will contact you.
Martin64: I believe it is a bug in the Flash file for Tetris, *not* in John's hack. The hack just grabs a value that is returned from the game, and the game does not appear to be returning that value when somebody "beats" it.
Ok, here's a rough cut. I know none of the stuff on the front page makes sense, it's all space filler stuff.
Bear in mind this was installed on a fresh board, the colours are horrible.
https://vborg.vbsupport.ru/
The mini table at the bottom of the page randomly displays the high scores for one of the games, I had a go at making it display all of the dynamically - unfortunately the while loop within a loop went horribly wrong.
I'm going to work on it (or get someone else to work on it) and release it as an add-on later on.
oh - the crown next to your personal best only appears when you're the current high scorer. On mouse over, it says "{gamename} Champion!" :)
All text on the page (such as intros and descriptions) can be changed in the admin panel.
Edit: This page is $bburl/arcade.php (no actions)
Very cool :cool:
When you release this addon, will there be instructions for those who have the tetris king + tetris + leaderboard hack already installed?
Ninth Dimension
08-25-2002, 02:17 AM
I'm sorry to say this, but I think you will find that John is not going to be making a public release of the arcade hack - he is just showing off :)
Although I will have to admit that it's looking damn sexy :)
Goldknight
08-25-2002, 02:36 AM
Yean and John will cost us a broke blender or used car (no engine) at least to get our hands on it. Good deal eh? ;)
Also I agree with Daniel or Ninth about "hot look" Good job, John.
I read somewhere that with a donation we can get this hack you are working on? I am willing to donate if you are doing this...please let me know.
Odil
Originally posted by john.eovie
Ok, here's a rough cut. I know none of the stuff on the front page makes sense, it's all space filler stuff.
Bear in mind this was installed on a fresh board, the colours are horrible.
http://www.eovie.co.uk/pics/18.gif
The mini table at the bottom of the page randomly displays the high scores for one of the games, I had a go at making it display all of the dynamically - unfortunately the while loop within a loop went horribly wrong.
I'm going to work on it (or get someone else to work on it) and release it as an add-on later on.
futureal
08-25-2002, 05:32 AM
Originally posted by john.eovie
The mini table at the bottom of the page randomly displays the high scores for one of the games, I had a go at making it display all of the dynamically - unfortunately the while loop within a loop went horribly wrong.
I'm going to work on it (or get someone else to work on it) and release it as an add-on later on.
Let me know what is wrong with it and I can take a look at it if you'd like.
Hi, great hack!
I'm having the same problem as Martin, re: a player beating the high score in Tetris but not having his score recorded.
Futureal writes: I believe it is a bug in the Flash file for Tetris, *not* in John's hack. The hack just grabs a value that is returned from the game, and the game does not appear to be returning that value when somebody "beats" it.
Okaaay, but I'm not understanding why players were able to beat the high score before, but not now. Is there something I can do, do you think? (FYI, I'm using the 2.5 file.)
Souly
08-25-2002, 08:21 AM
Originally posted by kypdurron
your last english with pause was actually english without pause
NOPE :D I have test it and its OK!
Originally posted by Castel
Excellent, thanks for including the fla files. Nice job figuring out how to add and contruct levels. I'm a total flash newbie as well but now that I have the fla files I see how it's done and I will add my own custom levels.
BTW the english with pause has a glitch in lvl 13 (there are no blocks displayed at the beginning of the the lvl, looking at the code it think the problem is:
liv13[maxrig-2][12]=random(7)+100+1;
liv13[maxrig-7][12]=random(7)+100+1;
The maximum value allowed for where you have [12] is [9] I believe.
OhOH. thx4it. I will change it to.....
liv13[maxrig-12][2]=random(7)+100+1;
liv13[maxrig-12][7]=random(7)+100+1;
Originally posted by Ron ? DCS
"After I complete level 10...the game takes me back to level 1, and it won't give me a chance to enter my name on the scoreboard.
Anyone else having the same problems?"
I
OK. It is possible, that you use my first fla File version?! My second version fixed it.
------------------------------------------------------------
------------------------------------------------------------
In the next version I:
* will fix all known bugs
- 2 code errors
* new Parameters for Lvl 11-16
- the amount of lines is to high now
* and a new Lvl16
-in my older versions this level is a special board Level, i included some part of my boardname in it, i will change it to a big vB!
In the Moment i am very busy in my reallife, i think i will work on the flash file today in the evening (now it is 11:24 am here)
Originally posted by Ninth Dimension
I'm sorry to say this, but I think you will find that John is not going to be making a public release of the arcade hack - he is just showing off :)
Although I will have to admit that it's looking damn sexy :)
Well, I'm making a semi-public release ;)
Ok, sorted out the loops - now mini leaderboards for all of the games are displayed at the bottom :)
http://www.eovie.co.uk/pics/19.gif
inetd
08-25-2002, 11:42 AM
How to install Space invaders, Snnake and Pacman?
Originally posted by inetd
How to install Space invaders, Snnake and Pacman?
Read the thread - all 50,000 pages of it! ;)
They come as part of my arcade hack.
Ninth Dimension
08-25-2002, 11:49 AM
I'm guessing here, but does each game has it's own leaderboard as well as the mini leader board?
Originally posted by Ninth Dimension
I'm guessing here, but does each game has it's own leaderboard as well as the mini leader board?
uh huh
inetd
08-25-2002, 11:57 AM
john, when you release arcade hack? :)
Originally posted by inetd
john, when you release arcade hack? :)
I'm not publicly releasing it - only to a select group of people (i.e. friends and people who have donated to me)
Lanigironu
08-25-2002, 01:09 PM
BOOO!
<insert MSN ashamed smiley here>
Lanigironu
08-25-2002, 01:33 PM
So you're not gonna release it at all? Or did you mean right now, at the stage it's at?
It would kinda suck if you're not going to be releasing it to the public, you really built up people's interest.
Originally posted by Lanigironu
So you're not gonna release it at all? Or did you mean right now, at the stage it's at?
It would kinda suck if you're not going to be releasing it to the public, you really built up people's interest.
Take a look at this thread - 55 pages of non stop tech support. If I released the arcade hack to the public, I wouldn't have any time to sleep. I just don't have the time.
But if I exchange the hack for donations it means that I'll have more time for tech support, and I'll be able to get rid of this darn leased vB licence. I've spend the last 4 days solid working on this, it'd be nice to get something back. :(
I also need a new digi cam badly (for my work), so I'm trying to raise the funds for that as well.
Lanigironu
08-25-2002, 02:14 PM
So you are basically selling the hack? If I am not mistaken, that's a breach of the license agreement.
Either way, you don't HAVE to provide tech support. You can say that the hack is "as is" and you will not help anybbody if they have a problem.
Ninth Dimension
08-25-2002, 02:17 PM
Originally posted by Lanigironu
So you are basically selling the hack? If I am not mistaken, that's a breach of the license agreement.There is nothing wrong with selling hacks for vB. The fact that it uses the vB engine has nothing to do with it, it's like any script you purchase, you are purching the time they have spent developing it.
Is the free tetris hack not good enough? (some people want everything)
Originally posted by Lanigironu
So you are basically selling the hack? If I am not mistaken, that's a breach of the license agreement.
Either way, you don't HAVE to provide tech support. You can say that the hack is "as is" and you will not help anybbody if they have a problem.
Ok, I'm not selling it - I'm just giving it to friends and people who have supported me. (I don't believe it is in breach of anything, all of the code is my own.)
There seem to be enough people out there who want to stop me from releasing this at all, should I bother?!
Ninth Dimension
08-25-2002, 02:30 PM
I've just read the licence (http://www.vbulletin.com/license.html) and it says the following:
"Registered users may modify the vBulletin code for their personal use (at their own risk), but any altered code must not be redistributed or resold in any form."
From this I'd like to point out that, as with the flash files that the arcade hack uses, john is not selling any modified code, he is insted selling a "seperate" file that uses the vB engine.
Regarding any files that need to be modified, all he is doing is providing the instructions on what needs to be changed, not any modified files.
That's right, the main part of the arcade hack is arcade.php, existing code modifications are purely optional.
Ninth Dimension
08-25-2002, 02:34 PM
Originally posted by john.eovie
There seem to be enough people out there who want to stop me from releasing this at all, should I bother?! It's not that they don't want you to release it, it's that they want you to give it away for free.
Some hack authors do this (as john did with the tetris hack) so why can't he do what he is doing with the arcade hack?
Anyway, in my opinion, the arcade hack is a very special add-on, something that can turn a dead forum into an active one - and beyond, matching services provided by HUGE players like MSN (http://zone.msn.com/). - if everyone had it then it would not be special :D
Kars10
08-25-2002, 02:35 PM
@ Lanigironu, if John plans that way please accept this.
We know about the Arcade-Donation since the last 50 posts and we will donate for it.
Its a extreme work and i thank such peoples like John for sharing with us.
If he don?t opened this thread and gave us his tetris-leaderboard etc. we dont even know about such great additions.
Thanx John! ;)
Lanigironu
08-25-2002, 02:39 PM
Originally posted by Ninth Dimension
I've just read the licence (http://www.vbulletin.com/license.html) and it says the following:
"Registered users may modify the vBulletin code for their personal use (at their own risk), but any altered code must not be redistributed or resold in any form."
From this I'd like to point out that, as with the flash files that the arcade hack uses, john is not selling any modified code, he is insted selling a "seperate" file that uses the vB engine.
Regarding any files that need to be modified, all he is doing is providing the instructions on what needs to be changed, not any modified files.
Ok, fine, as I said, I wasn't sure about it.
But either way, this is a very nasty thing that you did, building up people's hopes up so you can smack them with a price.
Minifreunde: That's bull++++. Anybody could've done it, and if John didn't, somebody else would have eventually. It's not like he saved us from the appocalypse.
Originally posted by Lanigironu
But either way, this is a very nasty thing that you did, building up people's hopes up so you can smack them with a price.
I HAVE STATED FROM THE START THAT THE ARCADE HACK IS NOT FOR PUBLIC RELEASE. (Or at least it won't be now) Next time, READ THE THREAD. Perhaps then you won't be so misguided.
I've been posting screenshots because a lot of people are following the progress of the hack, and are interesting in how it's going. I'm not trying to smack anyone with a price at the end of it.
It's seemingly true that no matter how much time and effort I've spent on the original Tetris hack and tech support, some people are NEVER happy.
Ninth Dimension
08-25-2002, 02:52 PM
Originally posted by Lanigironu
Anybody could've done it, and if John didn't, somebody else would have eventually. It's not like he saved us from the appocalypse. Here's a new game to play "Challenge Lanigironu" - it's just like challenge annica (for anyone in the UK) only Lanigironu will be playing insted.
OK, Lanigironu, you have got 4 days to build a fully working flash arcade hack for vB.
Ready, Set... GO!!!
Ron ? DCS
08-25-2002, 02:53 PM
This is unbelievable...all of the hard work that John did, and some people STILL want this for free?
Where is that shaking head smilie that I built? https://vborg.vbsupport.ru/external/2002/08/3.gif
Thank you for all of your hard work, John, I for one appreciate it, and plan to make a donation...(please see my e-mail to you). If people think programming and debugging this stuff constantly is easy, they are sadly mistaken...
It's seemingly true that no matter how much time and effort I've spent on the original Tetris hack and tech support, some people are NEVER happy.
Ain't that the truth...two old adages come to mind:
(1) You can't please everyone.
(2) No good deed goes unpunished.
'Nuff said. https://vborg.vbsupport.ru/external/2002/08/4.gif
BigJohnson
08-25-2002, 02:54 PM
Wait I am a little lost on what is going on. We have to pay for what? And what is the problem. I think I am missing somehting as well. Can someone inform me please. Thank you.
Ninth Dimension
08-25-2002, 02:58 PM
Originally posted by BigJohnson
Wait I am a little lost on what is going on. We have to pay for what? And what is the problem. I think I am missing somehting as well. Can someone inform me please. Thank you. It's very simple.
John has released a Tetris hack which can be downloaded for free from the first post in this thread.
John is also making an Arcade hack, but that is not for public release.
As for the rest, it's just people attacking john for no good reason.
Originally posted by BigJohnson
Wait I am a little lost on what is going on. We have to pay for what? And what is the problem. I think I am missing somehting as well. Can someone inform me please. Thank you.
Basically, I'm nearly finished making what I call the "arcade hack" - like this tetris hack, but with more games and a better system. I never intended on releasing it to the public, and I don't have the time to release on vb.org. So, I'm releasing it to my friends and people who have supported me through donations.
Because a lot of people want it, I've been keeping us all up to date with progress via screenshots. Apparently this was wrong of me....
Lanigironu
08-25-2002, 03:12 PM
I'm not attacking john. Maybe I just missed where he first announced the hack. I thought he didn't reveal that it was payable at first.
Either way, people at vbulletin.org expect free modifications for the software they paid for when they come here. In my opinion, this shouldn't be here.
Originally posted by Lanigironu
I'm not attacking john. Maybe I just missed where he first announced the hack. I thought he didn't reveal that it was payable at first.
Either way, people at vbulletin.org expect free modifications for the software they paid for when they come here. In my opinion, this shouldn't be here.
Perhaps you should take this up with Amy.
https://vborg.vbsupport.ru/showthread.php?postid=288524#post288524
Ninth Dimension
08-25-2002, 03:23 PM
Originally posted by john.eovie
Perhaps you should take this up with Amy.
https://vborg.vbsupport.ru/showthread.php?postid=288524#post288524 sounds like a good idea to me.
Amy, we NEED you!!!! :D
http://www.mcforum.org/images/smilies/phone_call.gif
"Hello? Amy? Yeah, another one. 10 minutes? Thanks"
There. No excuse ;) :
The whole hacks must be free mentality annoys me. If you want your board customized and don't want to pay for it a)Learn how to code and b) Figure the stuff out and do it yourself. Do NOT expect somebody else to spend THEIR time making your board better.
I no longer release hacks because idiots who aren't even qualified to run a website much less modify a complicated software package have taken most of the fun out of. I deeply love working with other developers to come up with new features, but it's not our job to listen to your whining and temper tantrums.
If mommy and daddy won't raise your allowance so that you can afford to pay developers to create modifications for you, then get a job or an education.
Amy
Ninth Dimension
08-25-2002, 03:39 PM
<font size="4">ROFL!!!</font>
:banana: :banana: :banana:
Jashugan
08-25-2002, 03:59 PM
Umm what about Freddie's post?
https://vborg.vbsupport.ru/showthread.php?postid=239743#post239743
Originally posted by Freddie
It is vb.org , not vb.com.
Paid hacks should be left to private messages and emails
It would be best if you do that so that it will reduce the stress on you and let yourself focus on your new hack instead of deal with people here.
Just a thought.
Fair enough. No more screenshots :banana:
/me points out once again that he's not selling the hack, but rewarding people who have already supported him.
Lanigironu
08-25-2002, 04:11 PM
If Amy wants to debate with me on whether or not hacks should be free, I am up for it, but not in this thread.
I appologize if I insulted you, john, your Tetris hack is great, but I am sure you understand where I am coming from.
Originally posted by Lanigironu
I appologize if I insulted you, john, your Tetris hack is great, but I am sure you understand where I am coming from.
I think we all know what the real problem attitude is, right Ninth?
Ninth Dimension
08-25-2002, 04:25 PM
I'm 100% behind you John (maybe in front of you as well, when the bullets start flying)
Hey, you ain't paid me yet??? :D
Ron ? DCS
08-25-2002, 04:52 PM
The whole hacks must be free mentality annoys me. If you want your board customized and don't want to pay for it a)Learn how to code and b) Figure the stuff out and do it yourself. Do NOT expect somebody else to spend THEIR time making your board better.
I no longer release hacks because idiots who aren't even qualified to run a website much less modify a complicated software package have taken most of the fun out of. I deeply love working with other developers to come up with new features, but it's not our job to listen to your whining and temper tantrums.
If mommy and daddy won't raise your allowance so that you can afford to pay developers to create modifications for you, then get a job or an education.
Amy
LMAO!!! https://vborg.vbsupport.ru/external/2002/08/2.gif
This whole thread has got me interested in Flash and ActionScripting myself...hell, this is how I learned VB, VC++, PHP, Perl, Java, JavaScript, etc. ad infinitum...by doing what I needed to be doing for my business.
Hats off to John for this...I was thinking of doing this myself once I downloaded his Tetris hack, but if he is going to do the Arcade I am surely not going to duplicate it...
People: either donate to the hack or build it yourself. No more complaining, please...life ain't a free ride. https://vborg.vbsupport.ru/external/2002/08/1.gif
Originally posted by Ron ? DCS
People: either donate to the hack or build it yourself. No more complaining, please...life ain't a free ride. https://vborg.vbsupport.ru/external/2002/08/1.gif
Or donate to me! - what a hack would do with donations I'll never know! ;) :D :banana:
futureal
08-25-2002, 04:58 PM
Boy, this thread sure went off since I last saw it.
I think that John is free to sell his work if he'd like, and it has been done before on vb.org so it's not like it's something new (for example, Overgrow's original Karma hack). In fact, there are people here who sell their "vB Modification Ability" to others, essentially becoming freelance vBulletin hackers.
The license agreement, I believe, covers the modification and redistribution of the actual vBulletin code itself. Since I hack like this is really a complete add-on using the existing codebase, it should be perfectly legal to re-sell.
That being said, I don't like the idea of selling hacks, and I don't see what the big deal is. I've had a working arcade on my forum for two or three days now. The only thing I am missing is more games (like the ones John has) that work with the system. I could release MY arcade hack, but without more games, it is basically just a different version of John's Tetris hack. Plus, since I started over from scratch, the database structure in mine is completely different from the Tetris hack, and the two are no longer compatible.
Anyway, I guess my point is/was, it's not worth fighting over.
As soon as I have enough for a new licence and a digital camera, I'll do a public release :)
Lesane
08-25-2002, 05:11 PM
Originally posted by john.eovie
As soon as I have enough for a new licence and a digital camera, I'll do a public release :)
That's not really fair towards the donating people dont you think? ;)
Ninth Dimension
08-25-2002, 05:14 PM
futureal - I saw your breakout flash and I love it, it's realy cool - and I got 13th place on my first try (lucky for some).
Just one small suggestion, that music loop is VERY VERY annoying!!! ;)
Originally posted by Lesane
That's not really fair towards the donating people dont you think? ;)
Trust me, it'll be a long time ;)
NuclioN
08-25-2002, 05:19 PM
LOL John. But there is no between, it's selling or free you know. And if it's for sale, please make it affordable for anyone. Personal, i believe the internet is sharing but when someone has put a tremendous workload in a project...? If there's a good balance in the work-price then you're selling this bigtime. When and where, and how...against what price?
Originally posted by NuclioN
LOL John. But there is no between, it's selling or free you know. And if it's for sale, please make it affordable for anyone. Personal, i believe the internet is sharing but when someone has put a tremendous workload in a project...? If there's a good balance in the work-price then you're selling this bigtime. When and where, and how...against what price?
I know, I know. Essentially I'm selling it, and that's not unreasonable. Most people are fine with it, only the people with the "I can't have it so no-one else can" attitude try to ruin it for everyone else.
Testing now by the way :)
futureal
08-25-2002, 05:52 PM
Originally posted by Ninth Dimension
Just one small suggestion, that music loop is VERY VERY annoying!!! ;)
Haha, I thought the music loop was great! :p Actually I was not the one who coded the Breakout, that was my other admin. My flash skills are quite limited -- mainly by the fact that I don't have Flash Studio! haha
I have all sorts of cool ideas for the arcade thing. I have integrated it with vbStats most recently, I will post a screenshot of that later on.
I could do a version of my hack, but I am already shuddering at how much work I would have to do to adapt it to a "standard" vBulletin install. My templates are all heavily modified to fit my forum, and a lot of the code I did for the arcade is based on functions I hastily wrote and stuck in random places that would need to be re-done so as not to embarass myself. :)
If I do release it at a later date, it will likely be as part of a larger package of stuff that is all integrated together.
I'd be willing to donate for this hack, my only question is price. I'm almost 16 years old and I doon't really have much money... I would, however, be able to dig up maybe $10-15... If that's enough.
Originally posted by Ian
I'd be willing to donate for this hack, my only question is price. I'm almost 16 years old and I doon't really have much money... I would, however, be able to dig up maybe $10-15... If that's enough.
Keep it to PMs, apparently it's wrong to talk about selling hacks here :s
Originally posted by Ian
I'd be willing to donate for this hack, my only question is price. I'm almost 16 years old and I doon't really have much money... I would, however, be able to dig up maybe $10-15... If that's enough.
lol @ "almost 16" - you're 15, admit it! ;)
Originally posted by john.eovie
lol @ "almost 16" - you're 15, admit it! ;)I turn 16 tomorrow.. August 26th, I'm taking my test to get my license August 28th. :banana:
eXtremeTim
08-25-2002, 08:15 PM
John un block me on aim i was just pointing out a fact based on what you said.
I can proble get you all the money for the hack. So unblock me please.
That's not the point! When it's finished, I'll say it's finished. You don't have to ask whether it is every few hours.
Secondly, I was pointing out that I'm not going to start messing about with pricing schemes. It's not ready yet anyway, so I'll get in touch when I've fully tested it.
eXtremeTim
08-25-2002, 08:19 PM
I only asked it you were testing it yet. Since you told me a few hours ago you would be testing it in a few hours.
Originally posted by eXtremeTim
I only asked it you were testing it yet. Since you told me a few hours ago you would be testing it in a few hours.
Yes.
Yes I am :banana:
eXtremeTim
08-25-2002, 08:23 PM
Ill leave you alone till its done.
:\ it seems to work fine, but I can't find anyone else to beta test it. my three beta testers have disappeared!
Lanigironu
08-25-2002, 09:02 PM
Why don't you give it to the people that are going to get it anyways?
Originally posted by Lanigironu
Why don't you give it to the people that are going to get it anyways?
It's sometimes hard to beta test and find problems with novice vB users (I have no idea of people's skill levels) - these three people all know vB well.
Can you all lend a hand beta testing?
http://www.eovie.com/forum
A quick sign up (no need to verify email) and then go to http://www.eovie.com/forum/arcade.php
Thanks, let me know if there are any major bugs. :)
xxxsaint
08-25-2002, 09:45 PM
i pm'd you about a donation john
futureal
08-25-2002, 09:51 PM
Originally posted by john.eovie
That's not the point! When it's finished, I'll say it's finished. You don't have to ask whether it is every few hours.
Are we there yet? Are we there yet? Are we there yet? :D
Don't make me turn this car around!
Ninth Dimension
08-25-2002, 09:52 PM
I love the look of it so far john, I can't fault it in anyway (apart from a few minor HTML bits that would be easy to tidy-up :))
Good job.
xxskullxx
08-25-2002, 09:55 PM
I didn't find any bugs, John, but I'll look again when I have time.
Looks good btw. :banana:
Lanigironu
08-25-2002, 10:26 PM
Your server is painfully slow.
Originally posted by Lanigironu
Your server is painfully slow.
:rolleyes:
Ninth Dimension
08-25-2002, 10:29 PM
Originally posted by Lanigironu
Your server is painfully slow. it's fast enough for me, maybe you could upgrade to a cable connection? :)
Lanigironu
08-25-2002, 10:44 PM
Hmmm.... I didn't find any errors, but I did notice a few things to improve your games:
1. Pacman gets faster after he eats the big dots.
2. Snake's controls aren't very good. Quick U-turns are very difficult to do. If you can make them more responsive, it will be great.
Lanigironu
08-25-2002, 10:46 PM
Originally posted by Ninth Dimension
it's fast enough for me, maybe you could upgrade to a cable connection? :)
I AM on a cable connection. And I had it fixed this morning, so for the most part it runs great. All other webpages loaded fine for me. And after a while, the server also worked fine.
Answers:
1. I think he's supposed to
2. Snakes controls are fine with me
futureal
08-25-2002, 10:52 PM
It all looks good to me!
Lanigironu
08-25-2002, 10:58 PM
Originally posted by john.eovie
Answers:
1. I think he's supposed to
2. Snakes controls are fine with me
Sorry I didn't elaborate. Pacman IS supposed to get faster, but it is barely evident in your game.
And if you try doing quick U-turns, you'll encounter problems. That was the reason I died.
Originally posted by Lanigironu
Sorry I didn't elaborate. Pacman IS supposed to get faster, but it is barely evident in your game.
And if you try doing quick U-turns, you'll encounter problems. That was the reason I died.
I can U turn perfectly well, I'm not going to start editing flash files because your fingers aren't fast enough.
None of these games are developed by me, they're all GPL. Still, thanks for *trying* to help.
Ryangel
08-26-2002, 12:48 AM
yeah ! what he said! doh ;)
trilOByte
08-26-2002, 02:13 AM
man, I cant read through 60 pages of posts. Is there a way to make it so a user only has one entry - their high score, on the leader table? Otherwise one person who is dynamite at this game, will dominate the entire leaderboard.
Thanks.
LightBringer
08-26-2002, 02:24 AM
John, it appears as though your arcade beta is working wonderfully. No major showstoppers from a front end experience.
BTW, check your PM regarding updated donation information. :)
Thanks again! Can't wait to see the final!
eXtremeTim
08-26-2002, 02:26 AM
John how much is required to donate to get a copy. I want to get this up tommorrow. Will you be on at like 3:15pm cst.
Ninth Dimension
08-26-2002, 03:14 AM
Originally posted by trilOByte
man, I cant read through 60 pages of posts. Is there a way to make it so a user only has one entry - their high score, on the leader table? Otherwise one person who is dynamite at this game, will dominate the entire leaderboard.
Thanks. I'm sure that this can be done, but it would need some extra lines of code put into the file. If john won't/can't do it then I can try for you.
futureal
08-26-2002, 03:42 AM
Originally posted by trilOByte
man, I cant read through 60 pages of posts. Is there a way to make it so a user only has one entry - their high score, on the leader table? Otherwise one person who is dynamite at this game, will dominate the entire leaderboard.
This can be done. Here's an example:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=tetris&s=
Or another, from a different game:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=breakout&s=
Only each user's best score is shown. To accomplish this, you need to alter the query used in tetris.php for the "leaderboard" action.
From the original tetris.php file, you will want to replace this:
$leaderboard_q = $DB_site->query("SELECT * FROM arcade WHERE game='tetris' ORDER BY score DESC LIMIT 10");
with this:
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,max(score) as maxscore
FROM arcade
WHERE game='tetris'
GROUP BY userid
ORDER BY maxscore DESC
LIMIT 10");
That should achieve the result you're looking for.
Souly
08-26-2002, 07:36 AM
Here is my 3 version of my new fla and swf files!
Changes:
- Pause Info wrong
*In the Pause=On Version i changed Pause is Disabled to P - Pause! (thx 2 kypdurron)
- 2 code errors
*Leveloption 11-16 are missing
*Wrong Code on Level 13 (thx 2 Castel)
- new Parameters for Lvl 10-16
*Level=10 > Linies=15;
*Level=11 > Linies=20;
*Level=12 > Linies=25;
*Level=13 > Linies=30;
*Level=14 > Linies=35;
*Level=15 > Linies=40;
*Level=16 > Linies=50;
- new Lvl16
*now you see a small
vB
com
on the last playfield.
Use it on your own risk :D
Ryangel
08-26-2002, 07:57 AM
Originally posted by futureal
This can be done. Here's an example:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=tetris&s=
Or another, from a different game:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=breakout&s=
Only each user's best score is shown. To accomplish this, you need to alter the query used in tetris.php for the "leaderboard" action.
From the original tetris.php file, you will want to replace this:
$leaderboard_q = $DB_site->query("SELECT * FROM arcade WHERE game='tetris' ORDER BY score DESC LIMIT 10");
with this:
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,max(score) as maxscore
FROM arcade
WHERE game='tetris'
GROUP BY userid
ORDER BY maxscore DESC
LIMIT 10");
That should achieve the result you're looking for.
I think there might be some error to this. I tried it but the comments didnt go to where they were suppose to.
Courage
08-26-2002, 08:40 AM
If Im using Ie6, after playing for awhile, I get a "access denied" error when the game is over...why is that and how can I disable it?
My users are complaining about the same thing. They are playing for a long time and when thy finish... Acces Denied :(
PHP Version v4.2.1
MySQL Version v3.23.51-log
Tteris 2.5
Please Help.
My users are playng for 3-4 hours and the score cannot be registered :(
Ryangel
08-26-2002, 09:16 AM
Originally posted by Courage
If Im using Ie6, after playing for awhile, I get a "access denied" error when the game is over...why is that and how can I disable it?
My users are complaining about the same thing. They are playing for a long time and when thy finish... Acces Denied :(
PHP Version v4.2.1
MySQL Version v3.23.51-log
Tteris 2.5
Please Help.
My users are playng for 3-4 hours and the score cannot be registered :(
Not all your users right? I have soem users having this problem too. I can never recreate it myself though. This is a toughie .
I've just got a couple of things to fix in the beta, then I'm releasing! (In a manner of speaking ;)) There's already an option in the arcade hack to view the top scorers only, I had to add a lot of code to do it.
Originally posted by Ryangel
Not all your users right? I have soem users having this problem too. I can never recreate it myself though. This is a toughie .
Increase timeout ?? (vB options)
kmfdm_kid2000
08-26-2002, 11:41 AM
Originally posted by john.eovie
Increase timeout ?? (vB options)
I have the same exact problem myself, some users get no permission when they get high scores, could you be a bit more specific?? If you're talking about cookie time out, I believe mine is set to 900, now what do you suggest to remedy the problem??
Originally posted by kmfdm_kid2000
I have the same exact problem myself, some users get no permission when they get high scores, could you be a bit more specific?? If you're talking about cookie time out, I believe mine is set to 900, now what do you suggest to remedy the problem??
Cookie Timeout - bump it up to 1800, and see if the problem stops. If so I'll try and find a more permanent soilution.
Schorsch
08-26-2002, 01:40 PM
Originally posted by kmfdm_kid2000
I have the same exact problem myself, some users get no permission when they get high scores, could you be a bit more specific?? If you're talking about cookie time out, I believe mine is set to 900, now what do you suggest to remedy the problem??
exact problem here, my users told me that the "no permission" page only appears when you get more than 1,000,000 points.
Originally posted by Schorsch
exact problem here, my users told me that the "no permission" page only appears when you get more than 1,000,000 points.
I think it's more of a time thing rather than a score this :\
Arcade hack finished!
Schorsch
08-26-2002, 01:56 PM
Originally posted by john.eovie
Arcade hack finished!
:) :banana: :banana: :banana: :banana: :banana: :banana: :)
NuclioN
08-26-2002, 02:11 PM
Ok finished. And now? Where to buy/rip/steal/become etc. ? :D
Breakout didn't make it?
Schorsch - you paid me $40 twice, I now have $80 from you! Want me to refund half of it? (I think you made a mistake :))
Everyone, if you're going to donate let me know who the hell you are! People are sending donations and I'm not sure why they are :\
Originally posted by NuclioN
Ok finished. And now? Where to buy/rip/steal/become etc. ? :D
Breakout didn't make it?
Still waiting for Breakout, apparently it isn't finished :\
Ryangel
08-26-2002, 02:22 PM
Its finish...
/me tries to calm down.
Martin64
08-26-2002, 02:53 PM
John.evovie: The hack is still not secure. From a thread at my boards:
hi martin, please remove my top score that I just achieved since I was trying out a cheat and it worked!
well, all I did was use an memery editing program and searched for the game score address and changed it, never thought it will work... anyway I think there is a way to prevent you from cheating using memery editing programs, hope u fix this bug soon.
The thread this problem was posted in: http://www.emutalk.net/showthread.php?&threadid=7347
I thought I would let you and all others know, and hopefully this problem can be fixed. :)
Martin64
08-26-2002, 02:57 PM
Another user reported this:
bah, I made it to level 10, then it cuts me off with access denied
But that has nothing to do with john's hack, just the new SWF file that was "unofficially" released recently.
LightBringer
08-26-2002, 02:58 PM
John, I installed the new arcade hack and I'm now experiencing issues with not being able to reach the comment section after a game is played.
*this was with tetris...trying the other games now*
I'm coming up with a request to login/permission denied.
http://www.brainphreeze.com/forums/arcade.php
Ok, tested all games and this is what I come up after finishing any of the games.
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.
Originally posted by LightBringer
John, I installed the new arcade hack and I'm now experiencing issues with not being able to reach the comment section after a game is played.
*this was with tetris...trying the other games now*
I'm coming up with a request to login/permission denied.
http://www.brainphreeze.com/forums/arcade.php
Please, go over the installation once more and make 100% sure all the files are copied right and templates are installed correctly. Delete all of the tetris stuff.
Originally posted by Martin64
John.evovie: The hack is still not secure. From a thread at my boards:
hi martin, please remove my top score that I just achieved since I was trying out a cheat and it worked!
well, all I did was use an memery editing program and searched for the game score address and changed it, never thought it will work... anyway I think there is a way to prevent you from cheating using memery editing programs, hope u fix this bug soon.
The thread this problem was posted in: http://www.emutalk.net/showthread.php?&threadid=7347
I thought I would let you and all others know, and hopefully this problem can be fixed. :)
Hey - I'm open to other people's help. Make it secure and post it back up here if you have the time.
NuclioN
08-26-2002, 03:14 PM
Yahooo, now it's become "open source" :D
Originally posted by NuclioN
Yahooo, now it's become "open source" :D
Has it?
NuclioN
08-26-2002, 03:19 PM
Well no, just teasing John. ;)
Martin64
08-26-2002, 03:19 PM
Originally posted by john.eovie
Hey - I'm open to other people's help. Make it secure and post it back up here if you have the time.
Afraid I don't have the skills. :(
* Martin64 looks at Lesane
* Martin64 looks at Stuwee
Schorsch
08-26-2002, 03:31 PM
Originally posted by LightBringer
John, I installed the new arcade hack and I'm now experiencing issues with not being able to reach the comment section after a game is played.
*this was with tetris...trying the other games now*
I'm coming up with a request to login/permission denied.
http://www.brainphreeze.com/forums/arcade.php
Ok, tested all games and this is what I come up after finishing any of the games.
what did you change that it works now ?
Just make a small change to compensate for the fact that he has reigster_globals turned off. :)
If the arcade hack gives you the same no permission error, just get in touch and I'll send you the other version of the file :)
Schorsch
08-26-2002, 03:47 PM
If somebody needs an arcade button (standard vB style), please look here (http://www.vbulletin-germany.com/forum/showthread.php?s=&threadid=3335).
trilOByte
08-26-2002, 03:48 PM
With regard to making *only* each users best score show up on the leaderboard......
Originally posted by futureal
This can be done. Here's an example:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=tetris&s=
Or another, from a different game:
http://www.shadowsofnamek.com/forum/proarcade.php?action=topscoreboard&game=breakout&s=
Only each user's best score is shown. To accomplish this, you need to alter the query used in tetris.php for the "leaderboard" action.
From the original tetris.php file, you will want to replace this:
$leaderboard_q = $DB_site->query("SELECT * FROM arcade WHERE game='tetris' ORDER BY score DESC LIMIT 10");
with this:
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,max(score) as maxscore
FROM arcade
WHERE game='tetris'
GROUP BY userid
ORDER BY maxscore DESC
LIMIT 10");
That should achieve the result you're looking for.
Well I tried this, but no luck I'm afraid. There are two instances of the code you said to look for. When I replaced both instances with your replacement code, it did list the users only once, but i lost the comments and the actual score.
I think this is very close, but i dont know enough about drawing info from SQL DB's to work it out myself - any ideas anyone?
Thanks.
Originally posted by Schorsch
If somebody needs an arcade button (standard vB style), please look here (http://www.vbulletin-germany.com/forum/showthread.php?s=&threadid=3335).
Sweet, shame we have to sign up to vBGermany to get the file :(
Schorsch
08-26-2002, 04:00 PM
Originally posted by john.eovie
Sweet, shame we have to sign up to vBGermany to get the file :(
ok, full credit to Anke123 (http://www.vbulletin-germany.com/forum/showthread.php?s=&threadid=3335) from the vBulletin-germany.com forum!!
I hope she has nothing against it that I attach here button here.
trilOByte
08-26-2002, 04:40 PM
...showing *only* thier high score.
I think I've worked it out myself. This should list users in order ofg their high dcore on the leaderboard, but list them only once, allowing lower scoring users a foot on the leaderboard....
find *both* instances of...
$leaderboard_q = $DB_site->query("SELECT * FROM arcade WHERE game='tetris' ORDER BY score DESC LIMIT 10");
and replace them *both* with.....
$leaderboard_q = $DB_site->query("SELECT game,userid,comment,max(score) as score FROM arcade WHERE game='tetris' GROUP BY userid ORDER BY score DESC LIMIT 30");
Oh yeah, this also increases the displayed users from 10 to 30.
Thanks.
trilOByte
08-26-2002, 04:56 PM
BTW - how can I reset the leaderboard?
I'd like to run regular "races" and periodically zero all the scores. I assume I'll need to run a query, anyone know what it is?
Thanks.
Originally posted by trilOByte
BTW - how can I reset the leaderboard?
I'd like to run regular "races" and periodically zero all the scores. I assume I'll need to run a query, anyone know what it is?You could just go in phpMyAdmin and empty the 'arcade' table.
portion
08-26-2002, 05:09 PM
can you tell us what the query is to do so if we cannot or choose not to use the phpmyadmin?
trilOByte
08-26-2002, 05:10 PM
I'm one of 2 admins on the board, unfortunately, I dont have access to PHPMyAdmin I just run the query's through scripts usually.
futureal
08-26-2002, 06:42 PM
Originally posted by john.eovie
I've just got a couple of things to fix in the beta, then I'm releasing! (In a manner of speaking ;)) There's already an option in the arcade hack to view the top scorers only, I had to add a lot of code to do it.
I'm telling you guys, all you need is that one query to get the top scorers only to work. No one should have to "add a lot of code" to do it. If it isn't working for you (trilObyte?) give me the error and I'll help you out.
trilOByte
08-26-2002, 06:47 PM
Originally posted by futureal
I'm telling you guys, all you need is that one query to get the top scorers only to work. No one should have to "add a lot of code" to do it. If it isn't working for you (trilObyte?) give me the error and I'll help you out.
Yeah, I got it to work, but had to change it slightly, see about 4 posts further up the thread.
Thanks for the code ;)
futureal
08-26-2002, 06:51 PM
Originally posted by trilOByte
BTW - how can I reset the leaderboard?
I'd like to run regular "races" and periodically zero all the scores. I assume I'll need to run a query, anyone know what it is?
Run this query:
$DB_site->query("DELETE FROM arcade WHERE game='tetris'");
But be careful! :D
My arcade hack has that option (Reset Scoreboard) in the Admin Panel.
Martin64
08-26-2002, 07:02 PM
Will you release it, futureal?
Link14716
08-26-2002, 08:52 PM
Originally posted by john.eovie
:\ it seems to work fine, but I can't find anyone else to beta test it. my three beta testers have disappeared!
I think I'd be good enough. But wait, it's finished. DAMN, now how am I supposed to get it? I haven't seen a dime in about 3 months.....
NuclioN
08-26-2002, 09:00 PM
I've seen realy fantastic slots in swf. If you could connect the score output right into lesane's store hack, win or lose...it would be awesome. ;)
Ninth Dimension
08-26-2002, 09:01 PM
*cough* http://gamevine.co.uk/arcade.php *cough*
futureal
08-26-2002, 09:38 PM
Originally posted by Martin64
Will you release it, futureal?
The best I can say is "maybe" ...
It is completely working, but I have many other ideas to explore before I call it complete, and if I do release it, I'd like to do it in its complete form.
Specifically, the main thing I am working on is a less cumbersome security system, and hopefully a more secure one.
Originally posted by futureal
The best I can say is "maybe" ...
It is completely working, but I have many other ideas to explore before I call it complete, and if I do release it, I'd like to do it in its complete form.
Specifically, the main thing I am working on is a less cumbersome security system, and hopefully a more secure one.
SEND ME BREAKOUT! :'(
futureal
08-26-2002, 09:42 PM
I could get you the swf right now but I don't have the fla for it, and I don't think it would work for your arcade without some minor modification. The guy who modded it for me has not given me the fla yet. If and when I get it, I will send it...
Martin64
08-26-2002, 09:50 PM
Originally posted by Ninth Dimension
*cough* http://gamevine.co.uk/arcade.php *cough*
Cool, I just signed up. Check the Pacman leaderboard (one try. *proud*)
:D
BTW, is that john.eovie's arcade hack?
Originally posted by Martin64
BTW, is that john.eovie's arcade hack?
Yes.
Yes it is.
Ninth Dimension
08-26-2002, 09:58 PM
Originally posted by Martin64
Cool, I just signed up. Check the Pacman leaderboard (one try. *proud*)
:D
BTW, is that john.eovie's arcade hack?
You beat my score
HOW DARE YOU!!!!!!! :)
and yes it is johns hack, but i changed it for my own needs.
Martin64
08-26-2002, 10:02 PM
Well, it's looking sweet indeed. Well done both of you. :D
Now I'll go beat the Snake high score :p
Ninth Dimension
08-26-2002, 10:06 PM
Pacman's more my game, don't worry, i'll get the highscore back ;)
* Ninth Dimension goes to edit database
Zombie
08-26-2002, 10:42 PM
deleted
Originally posted by Zombie
Here's (http://www.metalforums.com/forums/arcade.php) look at the arcade hack on my site
(registration required)
Looks awesome - well done!
Ninth Dimension
08-26-2002, 10:49 PM
Originally posted by Zombie
Here's (http://www.metalforums.com/forums/arcade.php) look at the arcade hack on my site
(registration required) I saw that earlier, it's looking good fella :)
Martin64
08-26-2002, 11:11 PM
Originally posted by Ninth Dimension
Pacman's more my game, don't worry, i'll get the highscore back ;)
* Ninth Dimension goes to edit database
Hrm, that's weak. :eek:
Hope you don't mind me posting this :):
http://www.eovie.co.uk/pics/20.gif
Ninth Dimension
08-26-2002, 11:18 PM
Originally posted by Martin64
Hrm, that's weak. :eek: as it said, i'm DAMAN :)
anyway, I did beat your score, by one dot, without cheating, I just wanted to prove i could LOL :)
Martin64
08-26-2002, 11:25 PM
I don't believe you, but who cares? It's not my board.
Anyway, that screenshot is looking great, john :)
Zombie did the graphics - it's just the arcade hack part I did!
Ninth Dimension
08-26-2002, 11:32 PM
Originally posted by Martin64
I don't believe you, but who cares? It's not my board.LOL
Link14716
08-26-2002, 11:37 PM
I say good job, I would have been more happy if you released it publicly figuring I have absolutley nothing.
/me runs off to make his own arcade hack.
Originally posted by Link14716
I say good job, I would have been more happy if you released it publicly figuring I have absolutley nothing.
* Link14716 runs off to make his own arcade hack.
Don't worry, I will release this - eventually. :|
Schorsch
08-26-2002, 11:46 PM
Originally posted by LightBringer
John, I installed the new arcade hack and I'm now experiencing issues with not being able to reach the comment section after a game is played.
*this was with tetris...trying the other games now*
I'm coming up with a request to login/permission denied.
http://www.brainphreeze.com/forums/arcade.php
Ok, tested all games and this is what I come up after finishing any of the games.
I just installed it, and now I have the same error. John can you send me the modified file ?
Thanks,
Schorsch :)
bimberla@gmx.de
Sent - check you PM inbox :)
NuclioN
08-26-2002, 11:55 PM
John:
"Don't worry, I will release this - eventually. :|"
Man, you had to know how we were trying to donate on that (*^&^(* paypal system. We would realy beta test this untill the smoke comes out of our forum. Can't you accedently PM a copy here and there to make some people sleep well tonight? :p
I'd love to, but as soon as I do that I'll get non stop attacks from others!
Link14716
08-27-2002, 12:02 AM
People need to wait patiently, donate, or make it themselves, or wait until he releases it publicly damnit. I am gonna resort to trying to make one myself, which will be the biggest challenge I have ever done. All I can say is wish me luck.
Or tell me how a 14 year old can get some damned money :)
Schorsch
08-27-2002, 12:05 AM
I have some bad colors after adding a comment (look attachment). Where and how can I change that ?
cu
Schorsch
Link14716
08-27-2002, 12:07 AM
Templates. Look for hard-coded colors in any tetris_ template.
In arcade.php, search for the text that's the wrong colour - you'll see all of the html there :)
Originally posted by Link14716
People need to wait patiently, donate, or make it themselves, or wait until he releases it publicly damnit. I am gonna resort to trying to make one myself, which will be the biggest challenge I have ever done. All I can say is wish me luck.
Or tell me how a 14 year old can get some damned money :)
Don't worry, very soon I'm going to try and come up with a non-money alternative :)
Link14716
08-27-2002, 12:10 AM
Right now just pray that I don't end up with the usual 3,000,000 parse erros ;)
Anyways, right now I am trying to get it as an arcade, and then hard code some ++++, since I'd be the only one using it anyways, put this cord there and.....
trilOByte
08-27-2002, 01:27 AM
Originally posted by futureal
Run this query:
$DB_site->query("DELETE FROM arcade WHERE game='tetris'");
But be careful! :D
My arcade hack has that option (Reset Scoreboard) in the Admin Panel.
Great, that worked fine - thanks. And I didn't get lynched either ;) :D
futureal
08-27-2002, 02:59 AM
As a side note, you can easily modify that query to clear certain types of scores or certain users' scores from the database.
For example, DELETE FROM arcade WHERE game='tetris' AND userid='someone' would delete only a certain user's scores. Similarly, adding "AND score < 200" would eliminate scores below 200, and so on.
LightBringer
08-27-2002, 04:29 AM
The arcade hack has gone off without a hitch on my forums and already the members are screaming for more games such as Centipede and Tempest.
hehe
Great work! I hope to see the ability to add more games through the progression of this hack. :)
John,
I have made a donation to recieve your arcade hack, how soon can I expect it? Will it be sent to the email address provided by paypal? That address was girlonvenus@hotmail.com
Thanks!
Originally posted by Odil
John,
I have made a donation to recieve your arcade hack, how soon can I expect it? Will it be sent to the email address provided by paypal? That address was girlonvenus@hotmail.com
Thanks!
What's an eCheck? It says it's clearing at the moment.... (fill me in!)
Originally posted by LightBringer
The arcade hack has gone off without a hitch on my forums and already the members are screaming for more games such as Centipede and Tempest.
hehe
Great work! I hope to see the ability to add more games through the progression of this hack. :)
This goes for anyone - if you see a Flash game with the original source code and thing "Hey, that'd be great for the arcade" - SEND IT TO ME! :banana:
Ron ? DCS
08-27-2002, 05:41 AM
John...check your PayPal account! :D
Originally posted by Ron ? DCS
John...check your PayPal account! :D
And check your email account! :banana:
Originally posted by john.eovie
What's an eCheck? It says it's clearing at the moment.... (fill me in!)
It's sent using my checking account. It takes a day or two to clear. I would have used a credit card but I didn't have one set up in Paypal.
NexDog
08-27-2002, 06:07 AM
/hastily checks to see if anyone has paid their hosting bill via PayPal in the last 24 hours......:)
Oh yea, how to add that button from vggermany. is that in a template or php file?
And how to add to Forum Jump? I should know that already, lol. I'm such a lazy a$$hole. :D
Originally posted by NexDog
/hastily checks to see if anyone has paid their hosting bill via PayPal in the last 24 hours......:)
Oh yea, how to add that button from vggermany. is that in a template or php file?
And how to add to Forum Jump? I should know that already, lol. I'm such a lazy a$$hole. :D
You need to add it into the header template.
Give generously! (For I am poor :()
SemperFidelis
08-27-2002, 06:12 AM
The arcade hack rocks John
Thankyou once again for this
I dont think anything will come close to it for hack of the month
:D
Im now on the look out for some more games to implement.
Will send any I find your way.
Originally posted by v-net
The arcade hack rocks John
Thankyou once again for this
I dont think anything will come close to it for hack of the month
:D
Im now on the look out for some more games to implement.
Will send any I find your way.
It can never be hack of the month, because it's not public release :(
SemperFidelis
08-27-2002, 06:19 AM
Originally posted by john.eovie
It can never be hack of the month, because it's not public release :(
Only one way to fix that......
;)
lol
Even if the arcade hack doesnt go public, the tetris with addons will win it for you.
John,
I have run into one problem, when I click on any game, I get the following errors at the top of the page:
Warning: rand(): Invalid range: 100000000..999999999 in C:\DDVBBoard\upload\arcade.php on line 163
Warning: rand(): Invalid range: 100000000..999999999 in C:\DDVBBoard\upload\arcade.php on line 169
Also when I got to the end of a game, I recieved another error much like the one above but with a diffarent line number.
Any ideas?
Odil
This is a known problem, it only affects earlier versions of php. Check your PM inbox, I've sent you another version :)
vdinh
08-27-2002, 06:20 PM
Thanks, John. Your arcade hack works great :) ...
I'm modifying an Original post by futureal about the Who's Online modification for this Arcade hack:
In online.php, find:
case 'spider':
$userinfo[where] = "Search Engine Spider";
break;
and right above it, add:
case 'arcade':
$userinfo[where] = "Viewing <a href='arcade.php'>Main Arcade</a>";
break;
case 'tetris':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=tetris'>Tetris!</a>";
break;
case 'snake':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=snake'>Snake!</a>";
break;
case 'spaceinvaders':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=spaceinvaders'>Space Invaders!</a>";
break;
case 'pacman':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=pacman'>Pac Man!</a>";
break;
then find:
case '/robots.txt':
$userinfo[activity] = 'spider';
break;
and right above it, add:
case 'arcade.php':
if ($token1 == 'action=play' && $token2 == 'game=pacman') {
$userinfo[activity] = 'pacman';
} else if ($token1 == 'action=play' && $token2 == 'game=snake') {
$userinfo[activity] = 'snake';
} else if ($token1 == 'action=play' && $token2 == 'game=spaceinvaders') {
$userinfo[activity] = 'spaceinvaders';
} else if ($token1 == 'action=play' && $token2 == 'game=tetris') {
$userinfo[activity] = 'tetris';
} else {
$userinfo[activity] = 'arcade';
}
break;
Kars10
08-27-2002, 06:34 PM
Cool Vdinh!
Your Online-Thing works like a charm!!! :D
Question: Any Idea, how to make the "Tetris-King Addon" work with all other Arcade-Games (like on the Main Arcade Page)?
Heres the Functions-Code for 2.2.5:
// King of Tetris Hack, by John Warwick
global $DB_site;
$leaderboard = $DB_site->query_first('SELECT userid FROM arcade WHERE game = "tetris" ORDER BY score DESC');
$kingid = $leaderboard['userid'];
if ($post[userid] == $kingid) {
$crown = '<img src="{imagesfolder}/crown.gif" alt="King of Tetris!" />';
} else {
$crown = '';
}
Thanks!! ;)
LightBringer
08-27-2002, 06:36 PM
Ahh yes..thanks for the update for "Who's Online" that worked great!
Schorsch
08-27-2002, 06:38 PM
John do you intend to integrate more flash games in the future ?
Martin64
08-27-2002, 08:04 PM
Well, if you can't afford to donate, do like me: write your own. :D
*cough* I did get help from a friend *cough*
:D
Lanigironu
08-27-2002, 08:05 PM
Originally posted by Martin64
Well, if you can't afford to donate, do like me: write your own. :D
*cough* I did get help from a friend *cough*
:D
It's really not that difficult. I'm working on one right now.
Zombie
08-27-2002, 08:45 PM
Here are some images for the arcade hack if anyone wants to use them to link to their games
Martin64
08-27-2002, 08:46 PM
Heh, sorry for not asking for permission. :)
You really made them from scratch with no other images as base? Hmm...looks awfully a lot like the logos in the SWF's :D
Zombie
08-27-2002, 08:51 PM
Not a problem really, I'm sure others have also :)
That's why I posted them
Schorsch
08-27-2002, 08:55 PM
thanks Zombie !
Ok, tetris hack deleted. No more support, no more hacks (apparently I'm not wanted here). I'll still be releasing to my friends, keep in touch :)
Zombie
08-27-2002, 08:58 PM
Originally posted by Martin64
You really made them from scratch with no other images as base? Hmm...looks awfully a lot like the logos in the SWF's :D Yes, they are. So why didn't you make them?
Regardless how they were made, I made them and you used them without permission.
This discussion is stupid and they are free to use by anyone. I know someone can come up with something better. Mine are far from great, but they were mine.
futureal
08-27-2002, 09:06 PM
Originally posted by john.eovie
Ok, tetris hack deleted. No more support, no more hacks (apparently I'm not wanted here). I'll still be releasing to my friends, keep in touch :)
Sheesh. Nobody ever said you weren't wanted here, and that certainly was not my intent with the other post. In fact, I made that other post with YOU in mind.
Martin64
08-27-2002, 09:11 PM
Originally posted by Zombie
Yes, they are. So why didn't you make them?
Regardless how they were made, I made them and you used them without permission.
This discussion is stupid and they are free to use by anyone. I know someone can come up with something better. Mine are far from great, but they were mine.
Sweet! I will take a screencap of the vbulletin.org logo and claim I made it. Wow, I'm such a graphics artist! Don't say you didn't take a screencap of the games (except Tetris) because that's exactly what you did. I don't have any problem with this, but please don't make me look like a bad guy.
Excuse me? Have a quick thread through the thread you started, it soon turned into a "let's bash John" event.
I've spend my ENTIRE week's holiday working on this, I've supported this as best as I can. I simply don't have the time for another 60 pages of fun with the arcade hack. So, when I offered to release it free of charge without support, that STILL wasn't good enough. And this is something I never intended to release in the first place!
I'm sick of all the little kids on this forum, so I'm talking the afterlab approach to hacking. I'll do my hacks, and install them, and maybe tell my close friends. It seems that that's all I can get away with without being attacked.
Martin64
08-27-2002, 09:13 PM
You did a great job, john.eovie, you're at least appreciated by most of the people here. :)
Originally posted by Martin64
You did a great job, john.eovie, you're at least appreciated by most of the people here. :)
Until there's something else someone is after, and then people go back to their old selves. Still, thanks for your kind words.
Link14716
08-27-2002, 09:16 PM
Originally posted by john.eovie
Excuse me? Have a quick thread through the thread you started, it soon turned into a "let's bash John" event.
I've spend my ENTIRE week's holiday working on this, I've supported this as best as I can. I simply don't have the time for another 60 pages of fun with the arcade hack. So, when I offered to release it free of charge without support, that STILL wasn't good enough. And this is something I never intended to release in the first place!
I'm sick of all the little kids on this forum, so I'm talking the afterlab approach to hacking. I'll do my hacks, and install them, and maybe tell my close friends. It seems that that's all I can get away with without being attacked.
Dude, you have to understand that some people are ignorant morons. I appreciate the testris hack 100%, my members love it, and hell, if you want to release the arcade hack without support, that is 200% enough for me. Just ignore the gay sons of +++++es that whine and cry and moan and +++++.
Martin64
08-27-2002, 09:20 PM
Originally posted by john.eovie
Until there's something else someone is after, and then people go back to their old selves. Still, thanks for your kind words.
Excuse me? What exactly is this supposed to mean? I sincererly hope that this wasn't aimed at me because I have supported you ever since you released the Tetris hack. If there's a problem with me modyfying your Tetris hack to allow me to add more games and leaderboards then let me know.
If I interpreted your post above wrong, don't blame me because English is not my native language. :)
Yeah, I'd release it - but without support isn't good enough now, according to most of the morons in the other thread.
You can all rest assured that no-one will see any of my hacks again, I can see why afterlab gave up on public releasing a long time ago.
Originally posted by Martin64
Excuse me? What exactly is this supposed to mean? I sincererly hope that this wasn't aimed at me because I have supported you ever since you released the Tetris hack. If there's a problem with me modyfying your Tetris hack to allow me to add more games and leaderboards then let me know.
If I interpreted your post above wrong, don't blame me because English is not my native language. :)
No, it wasn't aimed at you - it was aimed at the people in the other thread.
Martin64
08-27-2002, 09:23 PM
Good, because I'm the one letting Stuwee know about this hack and helping you with the latest security fix. :D
Thanks once again, john! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.