View Full Version : vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :)
xxskullxx
08-15-2002, 12:26 PM
John, could you do something with this? It's Space Invaders. I figured it's another classic. Whenever you get the time of course... :banana:
nothing happens when you complete it - and there's only one level!
xxskullxx
08-15-2002, 12:33 PM
Ah well, it figures. I just found the fla and never tried it myself. No flash editor.... :disappointed:
Schorsch
08-15-2002, 01:06 PM
what about this bug: after successful finishing last level (Level10), u don't get to the highscore list. when you screw up in level10 it works correctly.
John, did you find out anything about this bug ?
Thanks! :banana:
Schorsch
I'm still trying to decode the italian :'(
michealo
08-15-2002, 01:16 PM
hey JW, another thing i noticed
some of my members say the game plays fine, but does not display thier username while playing AND says thier not authorized to access the leaderboard after playing
so i went to school today and logged onto my forum and tried to play. when the game loaded, it said "eovie presents..." instead of "my forum name presents...." and it did the same two errors above
odd, it works fine for me at home but not here at school
Roxie
08-15-2002, 01:26 PM
michealo, I am having the same problem...it won't display their names, and in the comments area, it just says no comment. Weird, can someone help please.
Originally posted by michealo
hey JW, another thing i noticed
some of my members say the game plays fine, but does not display thier username while playing AND says thier not authorized to access the leaderboard after playing
so i went to school today and logged onto my forum and tried to play. when the game loaded, it said "eovie presents..." instead of "my forum name presents...." and it did the same two errors above
odd, it works fine for me at home but not here at school
And you're running it with Version 2.1 right?
Loads of FLA games here, if anyone;s got the time to pick some out...
http://www.flashkit.com/movies/Games/Full_Game_Source/index.php
Kars10
08-15-2002, 02:51 PM
@ John, please have a look at my showthread.php,... ;)
Sorry, just been a bit busy - I'll have a look at it now.
Minifreunde - the showthread.php you sent me hasn't even been changed, follow the instructions in the hack.
Kars10
08-15-2002, 02:57 PM
I have, but the it went to the parse error. The copy i send to you is my " clean " Version!!
When i put the code in it it i get the error.... :(
Hang on, are we talking about this hack or the king of tetris one?
Kars10
08-15-2002, 03:01 PM
The King-Thing!! :D
When you put in the code, what parse error do you get exactly? And on which line?
And what is on that line in showthread.php?
Kars10
08-15-2002, 03:14 PM
Have a look at the SS! :)
QiQme
08-15-2002, 03:19 PM
Hey,
Great hack, lot of fun :)
But i have some problems, i can't see the name of my board or my username when i want to play it.
I attached 2 screenshots.
QiQme
08-15-2002, 03:20 PM
The second one
Just for my peace of mind, could you reinstall the tetris template from the latest zip?
ok i have removed all the old one and just installed this hack from scratch inclu 6 templates but i end up with excatly same prob as before :
i get loading screen and thats as far as it goes for me
but swf is fine its just somehow not loading when called in as i can type url/tetris.swf and it loads fine that way
Any ideas? i have done the hack 3 times now and still same results (i even had this prob on the first hack u made)
opps ignore again - i do have a prob LOL
if im admin it dont work for me so i made a test account as a registered user and it works fine ?
now i doubt this is supposed to happen is it LOL
Ryangel
08-15-2002, 03:54 PM
-thumbs up-
Excellent stuff.
*installs*
Schorsch
08-15-2002, 04:04 PM
Originally posted by JohnWarwick
Loads of FLA games here, if anyone;s got the time to pick some out...
http://www.flashkit.com/movies/Games/Full_Game_Source/index.php
the only game I found there that makes really fun is good old Frogger:
http://www.flashkit.com/movies/Games/Full_Game_Source/Frogger-Chimpoid-5654/index.php
:banana:
Kars10
08-15-2002, 04:06 PM
@ John, Michealo gets the same error in showthread like me... lokk at your second Thread (about the Tetrisking)...:confused:
Erwin
08-15-2002, 04:53 PM
Originally posted by Schorsch
the only game I found there that makes really fun is good old Frogger:
http://www.flashkit.com/movies/Games/Full_Game_Source/Frogger-Chimpoid-5654/index.php
:banana:
That's a cool game. I've installed that into my forums already using my vB Flash Player hack - my members love it! :)
I've also downloaded the SWF file and attached it to that thread here:
https://vborg.vbsupport.ru/showthread.php?postid=285525#post285525
Just upload that SWF file into your forums directly and play it with Flash Player to integrate it into your forums immediately. :)
If you find any more cool Flash games like that, please let me know, and I will get the SWF and attach it to my thread so that others like me can install it into their forums.
Gamingforce
08-15-2002, 05:59 PM
Great hack Erwin! When I was interested in the whole RPG thing with the store / hp-mp / class hacks, I was going to do a whole battle system in Shockwave but I stopped working on it after I realised that it's pointless for a message board to have one. ;)
One bug and three suggestions though:
1) The score does not get recorded if you pass level 10.
2) The game should scale past 10 levels by increasing speed or maybe adding new patterns?. My geeky members beat it many times already lol.
3) Maybe one recording of a high score per person? If it's higher, then it updates the old highest score for that user. That way more people can be displayed in the hall of fame.
4) Also, a member suggested maybe being able to edit your comment.
Keep up the great work!
DestyNova
08-15-2002, 06:08 PM
GamingForce
Good idea :thumbup:
Schorsch
08-15-2002, 06:22 PM
Originally posted by Gamingforce
3) Maybe one recording of a high score per person? If it's higher, then it updates the old highest score for that user. That way more people can be displayed in the hall of fame.
That's a very good suggestion, look at my attachment, no normal man has now a chance to get in the leaderboard :disappointed: that sucks :banana:
Originally posted by Gamingforce
Great hack Erwin! When I was interested in the whole RPG thing with the store / hp-mp / class hacks, I was going to do a whole battle system in Shockwave but I stopped working on it after I realised that it's pointless for a message board to have one. ;)
One bug and three suggestions though:
1) The score does not get recorded if you pass level 10.
2) The game should scale past 10 levels by increasing speed or maybe adding new patterns?. My geeky members beat it many times already lol.
3) Maybe one recording of a high score per person? If it's higher, then it updates the old highest score for that user. That way more people can be displayed in the hall of fame.
4) Also, a member suggested maybe being able to edit your comment.
Keep up the great work!
*cough* wasn't Erwin's hack, but never mind *cough*
Martin64
08-15-2002, 07:26 PM
Sweet hack. Installed. :)
Originally posted by Martin64
Sweet hack. Installed. :)
I?m glad it works for you :)
I never anticipated the problems that this or the other hack would cause ? although most people seem to be able to install successfully first time, there are a few who keep on having problems.
Although I enjoy releasing my hacks to the public, I don?t have the time to give constant tech support. :( The main problem is that the few members who are having problems have issues that are beyond my capabilities to solve, and there?s nothing I can do.
Because of this, I?m debating whether I should release my latest add-ons for this (including the store hack version) seeing as the original hack doesn?t even work for everyone yet. If someone can help shed some light on the existing problems, I might be tempted to release my latest add-ons. Otherwise, I don?t want to waste everyone?s time releasing buggy hacks.
I?d love it if I knew the working to not working ratio of this hack, at the moment I have no idea who this works for and who?s having problems with it!
works fine m8 as usual was down to me not doing hack proper in first place but i perservered with reading tit bits off the other users and got there in the end.
So cheers m8 and i understand u cant possibly answer every question as its time consuming so if you do decide to release any addons tell only them who have managed to install it reply then those who are having probs can get help from the other users.
Thus cutting your timeload down.
DanIAm
08-15-2002, 09:11 PM
I swear I have followed these install directions to the letter, and still I cannot get Tetris working on my board.
I have included a screenshot as to what I see when I try to click on the Tetris link on my board:
https://vborg.vbsupport.ru/
It just sits there and does nothing, however the status bar at the bottom of Explorer shows:
https://vborg.vbsupport.ru/
That too just sits there trying to finish loading but never does.
I have attached the instructions that I am using which where found here on the board. Please tell me what I am doing wrong.
Thanks so much.
Dan
edit: I corrected the second example pic above. Current pic shows true status respoce, although problem is still there as described.
DanIAm - there's already a visible problem in the second screenshot you provided...
It's not sending the session correctly. Try accessing the game through:
tetris?action=play
DanIAm
08-15-2002, 09:22 PM
This is what I am using for a link to Tetris:
<a href="$bburl/tetris.php?action=play&s=$session[sessionhash]"><b>Play Tetris!</a>
Is this ok? Is this where my problem lies? Please tell me any other info I can provide to help troubleshoot this, I appriciate your assistance.
:classic:
Change it to:
<a href="$bburl/tetris.php?action=play"><b>Play Tetris!</a>
DanIAm
08-15-2002, 09:30 PM
Originally posted by john.eovie
Change it to:
<a href="$bburl/tetris.php?action=play"><b>Play Tetris!</a>
I changed to the link you suggested, and the same problem exists. I see a blank screen and the status bar still trys to tug along, but never gets anywhere, I have included the pic with using the new link you suggested.
http://www.mentalmingle.com/images/pic3.jpg
I'd suggest to download the latest zip, and replace/reinstall the following:
tetris.php
tetris.swf
template: tetris
I think that's what cured the last person who had your problem...
DanIAm
08-15-2002, 09:39 PM
Originally posted by john.eovie
I'd suggest to download the latest zip, and replace/reinstall the following:
tetris.php
tetris.swf
template: tetris
I think that's what cured the last person who had your problem...
For the sake of 100% accuracy can you either post the 'exact' zip file or thread to make sure I am installing the correct version. I feel that I am, but just in case. What I have now is zip file name: vb tetris v[1].2.15
Originally posted by DanIAm
For the sake of 100% accuracy can you either post the 'exact' zip file or thread to make sure I am installing the correct version. I feel that I am, but just in case.
:banana:
I just want to say this is a great hack and my users are loving it, I even installed the "King of Tetris" hack and everything worked perfect! I look forward to isntalling any other hacks you release * hint *
:banana:
DanIAm
08-15-2002, 10:15 PM
Well...
I have done everything possible, over and over, checked and rechecked, and still, Tetris does not work. I am sad to say that I am giving up. I have tried to get this installed over and over, same problem exists. Thank you for the one on one help.
;)
Originally posted by DanIAm
Well...
I have done everything possible, over and over, checked and rechecked, and still, Tetris does not work. I am sad to say that I am giving up. I have tried to get this installed over and over, same problem exists. Thank you for the one on one help.
;)
No worries :banana:
Ryangel
08-15-2002, 11:37 PM
This is a quick fix which prevents your users from linking directly to tetris.swf?userid=&username=&s=&points=&cur_high=&bbtitle=
and entering their own info in the address bar. This will lead to nameless entries of highscores into the leaderboard.
in tetris
find
if ($punteggio != 0) {
change to
if($bbuserinfo[userid] != $userid){
echo "ERROR, You have attempted to play tetris by unconventional means!";
exit();
}
else if ($punteggio != 0) {
Tell me if i missed anything. It'll be nicer if you created a template for the error though. :)
Whoops - I'll add that in now :S
SemperFidelis
08-16-2002, 12:40 AM
Hey John
First off all thankyou very much for all the exception work you have put into getting this hack together and ironing out bugs that come up
You rock dude
:D
Quick question though
Has the issue where
- usernames are pulled thru
- evio.com being displayed instead of forum name
been resolved yet ?
As far as I know, this hack works for most people now - only a few people have been getting the problem with usernames not coming through (and the same with the eovie.com URL showing up).
If you get this problem, get me on MSN at John@eovie.com
Link14716
08-16-2002, 12:44 AM
get tha.... get tha..... LATEST VERSION! :D
Originally posted by Link14716
get tha.... get tha..... LATEST VERSION! :D
Yeah, I'd suggest that :)
Gamingforce
08-16-2002, 01:27 AM
Sorry John, I haven't slept in the past 24 hours and I probably got confused. Awesome job on this hack and thanks for your hard work. I'm not sure how good you are with Flash but I could try working with the FLA file if you weren't planning on adding any new levels. Cheers.
Thanks for the nice work.
It´s working like a charm.
Originally posted by Gamingforce
Sorry John, I haven't slept in the past 24 hours and I probably got confused. Awesome job on this hack and thanks for your hard work. I'm not sure how good you are with Flash but I could try working with the FLA file if you weren't planning on adding any new levels. Cheers.
We need help with the Flash file!
I can't understand the code, it's all Italian :\
If you could add more levels, or figure out how to make it go on forever that'd be great :)
Check out my new mini leaderboard on my front page!
jbear6
08-16-2002, 02:22 AM
Originally posted by DanIAm
Well...
I have done everything possible, over and over, checked and rechecked, and still, Tetris does not work. I am sad to say that I am giving up. I have tried to get this installed over and over, same problem exists. Thank you for the one on one help.
;)
First........Great Hack!
I experienced something similar to this myself.
When I downloaded the original Tetris a few days ago, it worked on both my Win 98, and XP machines. After upgrading to this new version, it came up fine on the Win 98 machine, but did what you describe on the XP machine. After about three minutes, a Macromedia window popped up asking to upgrade to Falsh 6. I clicked OK, and Tetris came up a few seconds later. Try going to the Macromedia website, and downloading Flash 6. I thought I had Flash 6 installed in the XP machine already, but maybe it was Flash 5.
DestyNova
08-16-2002, 02:37 AM
Originally posted by john.eovie
Check out my new mini leaderboard on my front page!
:cool: Look good! :thumbup: you and this hack is gettin better and better every minutes ;)
NexDog
08-16-2002, 04:55 AM
Hey!
Anyone know how to troubleshoot mysql. I have this error:
Database error in vBulletin 2.2.6:
Invalid SQL: -1209600
AND (usergroupid=5
OR usergroupid=6
OR usergroupid=7
OR usergroupid=2)
ORDER BY RAND()
LIMIT 1
mysql error: You have an error in your SQL syntax near '-1209600
AND (usergroupid=5
' at line 1
mysql error number: 1064
Date: Friday 16th of August 2002 05:47:34 AM
Script: http://www.hostnexus.com/forum/forum/
Referer:
The last thing I did was to add a userID to a row in the arcade table as a member got a high score but it didn't register his name.
Please help!
Originally posted by DanIAm
Well...
I have done everything possible, over and over, checked and rechecked, and still, Tetris does not work. I am sad to say that I am giving up. I have tried to get this installed over and over, same problem exists. Thank you for the one on one help.
;)
I had same probs - first ov make sure swf files loads fine by typing your board url /tetris.swf
and then if thats fine then log into your board as a normal member and it should work.
Mine would`nt work for me as Admin so i went in as a regged user played it and then logged back in as me and its been fine ever since.
One person has dominated the scoreboard though :(
Kars10
08-16-2002, 05:48 AM
@ John, the Forumhomestat is great!!
But how can i get the Top-Score Displayed?
I want it in my statspanel on Forumhome.
Like:
Threads: XXX Posts: XXX Tetris-Topscore: XXX (By XXX)
Is there a way?? ;)
DestyNova
08-16-2002, 06:00 AM
John and Erwin...
Umm I wonder did anybody here give your idea away to IBR (Ibresources.com)?? They stole your idea! :lol:
Check this Ibresources Tetris game (http://www.ibresource.com/forums/index.php?act=ST&f=1&t=1552)
Erwin offically release it by 8/12 and Ibresources release it by 8/15.. hmmm coincidence? I think not... Someone must give the hack/idea away...
Then one of ibr member told me that they will make scoreboard just like John's... umm
Erwin
08-16-2002, 07:08 AM
LOL!!!
Impersonation is said to be the highest form of flattery... so I should feel honored. :)
NexDog
08-16-2002, 07:25 AM
Fixed my problem. It was the Member of the Day hack and not this one....
Great hack John! :cool:
Set it up over at my forums (gamers-gateway.com/vb) (http://www.gamers-gateway.com/vb) just yesterday, and everyone who's played so far has had only good things to say about it! :alien:
I'm not too good at the game myself, but already, to get on the leaderboard players have to beat 36479, as that is currently the 10th position score :confused: With 1st position being 104,530 :paranoid:
Anyway, thanks again for the hack! :devious: :laugh:
xxxsaint
08-16-2002, 11:45 AM
John , I found a NICE version of space invaders and it comes in .fla form with a high score script , but I can't figure it out , i attached it here
https://vborg.vbsupport.ru/showthread.php?postid=285831#post285831
DanIAm
08-16-2002, 12:12 PM
Should the tetris.swf file be uploaded ASCll or Binary?
DanIAm
08-16-2002, 12:24 PM
Originally posted by john.eovie
Binary
SON OF A'
That's my friggen problem. I installed this dang thing time and time over, gave up, came back to try it again, and thought, maybe I am not correctly uploading the .swf file...
Thanks john.eovie, I finally got it working... I wasn't uploading the file binary.
NexDog
08-16-2002, 12:27 PM
Originally posted by Ryangel
This is a quick fix which prevents your users from linking directly to tetris.swf?userid=&username=&s=&points=&cur_high=&bbtitle=
and entering their own info in the address bar. This will lead to nameless entries of highscores into the leaderboard.
in tetris
find
if ($punteggio != 0) {
change to
if($bbuserinfo[userid] != $userid){
echo "ERROR, You have attempted to play tetris by unconventional means!";
exit();
}
else if ($punteggio != 0) {
Tell me if i missed anything. It'll be nicer if you created a template for the error though. :)
That produces a parse error:
Parse error: parse error in /var/www/vhosts/hostnexus.com/httpdocs/forum/tetris.php on line 198
Anyone got a fix?
Originally posted by DanIAm
SON OF A'
That's my friggen problem. I installed this dang thing time and time over, gave up, came back to try it again, and thought, maybe I am not correctly uploading the .swf file...
Thanks john.eovie, I finally got it working... I wasn't uploading the file binary.
Ouch, that's gotta hurt!
I just use WS_FTP and upload with Auto everytime - never fails me :)
Just so I know how to help others, what was your initial problem? The swf file not loading?
DanIAm
08-16-2002, 12:35 PM
Originally posted by john.eovie
Just so I know how to help others, what was your initial problem? The swf file not loading?
When clicking the play tetris link the game tried to come up, but would appear to freeze with the game screen remaining solid (see pic)
http://www.mentalmingle.com/images/pic1.jpg
And the Explorer status bar would indicate that it was opening tetris.php but it would never fully load. The status bar continued to indicate 1 item remaing (to load), but would never do so. (see pic)
http://www.mentalmingle.com/images/pic2.jpg
Thanks again!
pgowder
08-16-2002, 01:22 PM
Great hack!
I was up and running within about 5 minutes!
Nice job!
pgowder
08-16-2002, 01:23 PM
Now we need someone to come up with a full arcade of games for our vB's!
chris frolic
08-16-2002, 02:04 PM
Anyone have any ideas about the bug that doesn't record your score if you finish all 10 levels?
Schorsch
08-16-2002, 02:15 PM
please please please dear John, could you do this:
Originally posted by Gamingforce
3) Maybe one recording of a high score per person? If it's higher, then it updates the old highest score for that user. That way more people can be displayed in the hall of fame.
would be great :banana:
regards,
Schorsch
Martin64
08-16-2002, 02:16 PM
It is still awfully easy to cheat...
http://www.yoursite.com/forums/tetris.php?action=reg&punteggio=1000000&userid=1
Run that.
Originally posted by chris frolic
Anyone have any ideas about the bug that doesn't record your score if you finish all 10 levels?
We're still looking for someone who's really good at Flash and can speak Italian...
Originally posted by Martin64
It is still awfully easy to cheat...
http://www.yoursite.com/forums/tetris.php?action=reg&punteggio=1000000&userid=1
Run that.
New tetris.php fixes this:
Ninth Dimension
08-16-2002, 03:04 PM
This has got to be one of the best hacks I've seen, add's a whole new level to the forum :)
I'm using the new tetris.php file provided by john.eovie, I do have a quick question, what have you don't to prevent the cheating?
NexDog
08-16-2002, 03:07 PM
He posted a new file in the post just before yours. :rollseyes: :D
Basically, in older versions of tetris.php people could add a "get" string in the header of the page.
i.e. tetris.php?action=reg&points=10000000&userid=1
In the new file, a piece of code refuses to accept any point values in the header.
Originally posted by NexDog
He posted a new file in the post just before yours. :rollseyes: :D
And the zip has also been updated - did any get the update email? The hack updater is playing up...
Stuwee
08-16-2002, 03:11 PM
Riiiight... very nice game and all credit to you for that, but there are two glaring big holes in your script here which I feel somewhat obliged to point out.
First and foremost, even with your updated script, it's still 100% possible to cheat (by posting the values using a form instead of using the querystring). For example - this simple html form run on your own machine:
<form name="tetrischeat" method="post" action="http://yoursite/tetris.php?action=reg">
enter your score!
<input type="text" name="punteggio"><br>
and your userid (get from bbuserid field in cookie)<input type="text" name="userid"><br>
<input type="submit" value="What's tetris again?">
</form>
It just requires digging out your userid from the vB cookie. For a working example, register on our boards (http://www.emutalk.net), and then give it a shot here (http://www.emutalk.net/tetrischeat.php).
Secondly, the comment system here is very open to abuse. For example, as your comment, try:
<script>alert("i rock j00!")</script>
And you'll see what I mean. Luckily, the mysql comment column is restricted to 70 charaters, which limits the damage we can do with this (no XSS cookie harvesting kiddies, sorry)... but it can still be rather annoying.
Overall, a little more thought is needed here in order to secure the script properly. Let me know if you need any help with this, I'll be happy to help.
Originally posted by Stuwee
Riiiight... very nice game and all credit to you for that, but there are two glaring big holes in your script here which I feel somewhat obliged to point out.
First and foremost, even with your updated script, it's still 100% possible to cheat (by posting the values using a form instead of using the querystring). For example - this simple html form run on your own machine:
<form name="tetrischeat" method="post" action="http://yoursite/tetris.php?action=reg">
enter your score!
<input type="text" name="punteggio"><br>
and your userid (get from bbuserid field in cookie)<input type="text" name="userid"><br>
<input type="submit" value="What's tetris again?">
</form>
It just requires digging out your userid from the vB cookie. For a working example, register on our boards (http://www.emutalk.net), and then give it a shot here (http://www.emutalk.net/tetrischeat.php).
Secondly, the comment system here is very open to abuse. For example, as your comment, try:
<script>alert("i rock j00!")</script>
And you'll see what I mean. Luckily, the mysql comment column is restricted to 70 charaters, which limits the damage we can do with this (no XSS cookie harvesting kiddies, sorry)... but it can still be rather annoying.
Overall, a little more thought is needed here in order to secure the script properly. Let me know if you need any help with this, I'll be happy to help.
I've been aware that the script wasn't 100% secure for some time now, but I don't have the time to update it (I'm not familiar with the vB cookie system either).
If you could update the existing tetris.php and email it to me, we'd all be grateful.
Stuwee
08-16-2002, 03:35 PM
Originally posted by john.eovie
I've been aware that the script wasn't 100% secure for some time now, but I don't have the time to update it (I'm not familiar with the vB cookie system either).
If you could update the existing tetris.php and email it to me, we'd all be grateful.
Actually, it's possible to do it without knowing the userid (by setting s=something in the querystring). I don't have time to fix it tonight, but I'll see what I can do for you tomorrow... in the mean time, I updated my little example (http://www.emutalk.net/tetrischeat.php) so it doesn't need the userid.
Tried it with sessions - sometimes, for some unknown reason the user doesn't have a sessionhash. Meaning they can't get to it at all... :s
Stuwee
08-16-2002, 03:40 PM
Originally posted by john.eovie
Tried it with sessions - sometimes, for some unknown reason the user doesn't have a sessionhash. Meaning they can't get to it at all... :s
Yeah, sometimes the session hash isn't present in the querystring, sometimes it is (never bothered to find out exactly why)... but that doesn't solve our problem anyway... I'll hopefully get back to you tomorrow with an updated version of the script.
Lesane
08-16-2002, 03:52 PM
You could use sessions for that.
When they are going to the play action (tetris?action=play) then you can set a session name for example:
session_start();
session_register("test");
Then by the code of reg (tetris?action=reg) you can check if the user has a session named test by the following code:
if (session_is_registered("test")) {
echo "User has a session named test so he came from the play action";
} else {
echo "ooops, cheatterr";
}
Stuwee
08-16-2002, 04:09 PM
Originally posted by Lesane
You could use sessions for that.
When they are going to the play action (tetris?action=play) then you can set a session name for example:
session_start();
session_register("test");
Then by the code of reg (tetris?action=reg) you can check if the user has a session named test by the following code:
if (session_is_registered("test")) {
echo "User has a session named test so he came from the play action";
} else {
echo "ooops, cheatterr";
}
Quite right, but as far as I can see, the cheat0r could just start a game, and then while it's playing, submit the form. The session still exists, but it wasn't submitted by the script... the leaderboard would be none the wiser. $_SERVER["HTTP_REFERRER"] could always be checked to see if the user is indeed coming from the playfield, but there's no reason that can't be poisoned either....
Lesane
08-16-2002, 04:26 PM
$_SERVER['HTTP_REFERRER'] is not that reliable.
You could also put an extra useless value in the play action:
$useless_value="100";
And then by reg action you can use something like this:
if ($action == "reg" && $useless_value == 100) {
Stuwee
08-16-2002, 04:34 PM
Originally posted by Lesane
$_SERVER['HTTP_REFERRER'] is not that reliable.
You could also put an extra useless value in the play action:
$useless_value="100";
And then by reg action you can use something like this:
if ($action == "reg" && $useless_value == 100) {
This also wouldn't be possible since the script is called *again* when the score is submitted, and hence any vars set when the user was playing won't still be set... I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.
Back to the drawing board :).
pgowder
08-16-2002, 06:04 PM
How can I intergrate this with Who's Online?
cool hack will be installing
lol, Lesane Vs. Stuwee - battle of the brains!
xxxsaint
08-16-2002, 06:41 PM
You can integrate this into your who's online by opening root/online.php
first find
case 'printthread.php':
$userinfo[activity] = 'printthread';
$blowup = explode('=', $token1);
$threadid = intval($blowup[1]);
$threadids .= ",$threadid";
$userinfo[threadid] = $threadid;
break;
+++++++ do not add this divider ++++++++
and AFTER THAT add
++++++ do not add this divider +++++++++
case 'tetris.php':
$userinfo[activity] = 'tetris';
break;
++++++ do not add this divider +++++++++
then find
+++++++do not add this divider ++++++++
case 'calendar':
$userinfo[where] = "Viewing <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>";
break;
+++++++ do not add this divider ++++++++++++
and AFTER IT ADD
+++++++ do not add this divider ++++++++++++
case 'tetris':
$userinfo[where] = "Going for the King of Tetris Crown";
break;
++++++do not add this divider ++++++++++++++
save , and upload.
** As always , when you are installing a new hack , create a new folder called ' backup ( name of hack ) ' and before you do ANYTHING put the files that you are modifying in there. ALWAYS back your file up , that way if the modded file does not work , you simply upload the one from your new folder.
I added this to my root/online.php on version 2.2.6 and it works just fine.
I put " Going for the King of Tetris Crown " because I also have the crown hack installed.
enjoy.
Ninth Dimension
08-16-2002, 06:47 PM
Just a quick note, i'm not sure if anyone else has said this or not, but one of my users has just reported that he got a score of 108697 once he had completed the game - not dieing early but actually getting to the end...
He says that the score did not update or anything, might this be a bug?
xxxsaint
08-16-2002, 06:50 PM
I've had users tell me the same thing
Ninth Dimension
08-16-2002, 06:56 PM
Originally posted by xxxsaint
I've had users tell me the same thing I've just had to manually add a score for one of my new members because he compained about it LOL
Souly
08-16-2002, 07:28 PM
Thx to john.eovie for the Great Hack.
I installed teris and the addon yesterday and now more and more from my users send me PM?s and say that after Lvl10 (theEND) no Score ist updated and the Site ist not refreshed to the leaderboard :(
Ninth Dimension
08-16-2002, 07:31 PM
I've only had the hack on the site for about 8 hours now, and already we are getting some REALLY high scores.
I think that the scores should be reset once a week or something and have a weekly leader board as well as an overall leader board.
In addition to this maybe it should be made harder, or indeed more level added to the game, etc....
oh, and the level complete bug thing needs to be fixed LOL :)
(I still think that this is a world class hack though)
ULTIMATESSJ
08-16-2002, 07:35 PM
............wow, what an amazing idea, great work
/me clicks on install
Ninth Dimension
08-16-2002, 08:14 PM
Just to spice things up a little bit more than they already are, I see from the database entrys that the table is called "arcade" and one of the fields is called "game".
this to me sounds like it's going to be used for future games, if so, that would be fantastic :)
ziggy
08-16-2002, 08:17 PM
Anyone interested in a Music Player addon?
Heres just a peek at my MusikHak v0.1 alpha...
http://www.crashsoftware.com/muzikhak/
Its not actually installed in VB, so no leaderboard etc. yet!
I need to add a preload for the loops to the dialup version & whip up some streaming files for the broadband version.
Let me know what ya think so far?
Cheers...ziggy
Yes, I had planned to expand this further - I've already got Space Invaders working locally on the same system.
But I can never release it while there are security holes in the script.
Originally posted by ziggy
Anyone interested in a Music Player addon?
Heres just a peek at my MusikHak v0.1 alpha...
http://www.crashsoftware.com/muzikhak/
Its not actually installed in VB, so no leaderboard etc. yet!
I need to add a preload for the loops to the dialup version & whip up some streaming files for the broadband version.
Let me know what ya think so far?
Cheers...ziggy
Good work Ziggy, could you send me the original FLA file please?
Ninth Dimension
08-16-2002, 08:21 PM
ziggy I think a music player addition to the fla file would be fantastic, but only if we could choose the music to be played.
john.eovie I think you are doing a fantastic job, keep up the good work, i'm very interested in seeing any future updates to this script as it fits in perfectly with my sites theme :)
Ninth Dimension
08-16-2002, 08:22 PM
just so you know, so far today I've had 9 new people sign-up to play tetris, obviously the sign of good work :)
Originally posted by danielhollands
just so you know, so far today I've had 9 new people sign-up to play tetris, obviously the sign of good work :)
Glad to hear it :)
On my vB board at the moment I already have a system where it shows you the day's highest scores, it's gone down well :)
ziggy
08-16-2002, 08:38 PM
Sorry, No player FLA! I'm under a NDA & the player was made with a non-public app.
I have a zip about ready to go with all the current files though.
I tried REAL hard to put a nice mix in the 10 choices just for that reason.
Its all done w/LoadMovie to make it modular. I guess I could make the menu just Track1,Track2 etc. so people could make their own SWF loops & name them track_1.swf, track_2.swf etc. ???
Don't have time right now though, spent ALOT longer on this sucker than I had planned already!
The zip is 13 files, the modified tetris.fla, music_player.swf, tetris.swf & the 10 loop.swf's
You just upload them to where your tetris.swf is , overwrite tetris.swf w/the new one & thats it!
You got tunes! :D
BTW John, did you get my email I sent you this morning?
Yeah, did you get my reply?
My users want the Tetris theme music tho, they're not into house much...
Kars10
08-16-2002, 08:41 PM
@ John, how can we get the Tetris-Backroundmusik in the Flash??
Is this possible?? :confused:
xxxsaint
08-16-2002, 08:44 PM
any luck on the space invaders ?
madhouse
08-16-2002, 08:49 PM
Ziggy any luck with the music part of this hack?
Steve Machol
08-16-2002, 08:58 PM
Question - with all the security updates, is it simply a matter of uploading and overwriting the tetris.* files? I hope we don't have to reinstall the templates as well. (I have multiple stype sets.)
ziggy
08-16-2002, 09:02 PM
No reply? just checked my spam folder too, NADA!
I could'nt find any Tetris WAV's?
I don't install free/shareware on my system & thats the only thing I saw for converting MID's to WAV?
MIDI is usually nothing but the butt of bad jokes LOL
I thought House1, GameGroove & Roundabout were pretty cool game loops? Velocity ain't bad either? I don't hardly ever play the things though?
Ya gotta click "PLAYLIST" to choose what ya want!
I personally like BossMan, SpaceCowboy & HeadBang myself :D
view MuzikHak: http://www.crashsoftware.com/muzikhak/
Secuirty wise, I don't think anything like this can be 100% hack proof. The main reason for this, or at least I think, is because of memory editors. I havn't tried this yet but couldn't I just start a game and put my score up to like 99999999?
Originally posted by smachol
Question - with all the security updates, is it simply a matter of uploading and overwriting the tetris.* files? I hope we don't have to reinstall the templates as well. (I have multiple stype sets.)
Just the tetris.* files :)
Ninth Dimension
08-16-2002, 10:30 PM
I'm currently working on an idea to fix the security hole, i'll let you know if I succed :)
NexDog
08-16-2002, 11:41 PM
John,
Any chance of fixing that link on the leaderboard?
If I had that problem I would just mess around with the colour code until it worked - I can't give you a solution off the top of my head...
Castel
08-17-2002, 12:50 AM
Originally posted by NexDog
John,
Any chance of fixing that link on the leaderboard?
look for:
$thefooter = "<normalfont color=\"{tableheadtextcolor}\"><center>Want to try again? Click <a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><b>here</b></a>.</center></normalfont>";
and change it to:
$thefooter = "<normalfont color=\"{tableheadtextcolor}\"><center>Want to try again? Click <a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><font color=\"{tableheadtextcolor}\"><b>here</b></font></a>.</center></normalfont>";
and the same principle of the other $thefooter line
NexDog
08-17-2002, 12:55 AM
I tried this but it didn't work, no change.
$thefooter = "<normalfont color=\"{tableheadtextcolor}\"><center>Want to try again? Click </normalfont><a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><b><font color=#FFE600>here</b></a>.</center></font>";
NexDog
08-17-2002, 12:56 AM
Ah ok, cool, brb. :)
Castel
08-17-2002, 12:58 AM
First of all nice hack john. I didn't read all of the posts in this thread so just ignore me if this was already mentioned. I wanted to change the amount of leaders displayed to 50 instead of 10 and noticed you have a single query for each user name on the list.
Edited with better instructions for Jashugan :)
All instruction below need to be done twice!
Change both instances of $leaderboard_q to (replace 10 with whatever number of leaders you want shown):
$leaderboard_q = $DB_site->query("SELECT arcade.*,user.username FROM arcade,user WHERE game='tetris' AND user.userid=arcade.userid ORDER BY score DESC LIMIT 10");
Under $s_userid = $leadloop['userid']; add:
$s_username = $leadloop['username'];
Delete the following block
$user_result = $DB_site->query("SELECT username FROM user WHERE userid='$s_userid'");
$details_array=$DB_site->fetch_array($user_result);
$s_username = $details_array['username'];
This will save you 10 queries on the leader board or in my case 50 :D
NexDog
08-17-2002, 01:04 AM
Tried that code but no change. saw a <normal font> tag out of place and rectified it with:
$thefooter = "<normalfont color=\"{tableheadtextcolor}\"><center>Want to try again? Click </normalfont><a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><font color=\"{tableheadtextcolor}\"><b>here</b></font></a>.</center>";
But still no change. :(
http://www.hostnexus.com/forum/tetris.php?action=leaderboard
Jashugan
08-17-2002, 01:13 AM
Castel
Umm, list of 50 members sounds good but where will we put these codes that you post above? If add then after or before which code, if replace then which?
Castel
08-17-2002, 01:14 AM
NexDog, neither of the 2 samples you posted are an exact paste of the code I gave. I made some template edits moving hardcode stuff into the template but that really shouldn't matter.
My line looks like this:
$thefooter = "<a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><font color=\"{tableheadtextcolor}\">Want to try again? Click here</font></a>";
With the rest of the tags moved to the template, previously I posted a line that should work with the default template.
NexDog
08-17-2002, 01:21 AM
Could you post what needs to be added to the templates and where? I'm dealing with a HD failure right now. :(
Castel
08-17-2002, 01:23 AM
Originally posted by Jashugan
Castel
Umm, list of 50 members sounds good but where will we put these codes that you post above? If add then after or before which code, if replace then which?
Check edited post above
Castel
08-17-2002, 01:28 AM
Originally posted by NexDog
Could you post what needs to be added to the templates and where? I'm dealing with a HD failure right now. :(
My last row of tetris_leader_main looks liek this:
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="4" align="center"><smallfont color="{tableheadtextcolor}"> <b>$thefooter</b> </smallfont></td>
</tr>
Jashugan
08-17-2002, 01:29 AM
Castel
TY :)
NexDog
08-17-2002, 04:52 AM
All well and good, but none of this changes the link colour for the word, "here".
Lesane
08-17-2002, 09:40 AM
Originally posted by Stuwee
I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.
From the manual:
PHP Manual:
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
Basically, do not use it for any form of validation. (as the manual says) trust it.
I will secure my tetris and i will let you know when i'm done with it, then you can check if it's 100% secure if you want.
Souly
08-17-2002, 09:48 AM
I have found one Problem in the Game.swf:
Is it not good, that you can stop (Pause) the Game and see the next item and all other from the game :D .. In the original tetris a very big Pausescreen will show and you can?t see anything. Is it possible to make the Pausescreen bigger?
Schumi
08-17-2002, 10:51 AM
Hello.
I want play Tetris on my forum. I opened the play, but I got the notice that I have no permisson. Many user got this notice.
What can I do?
Ninth Dimension
08-17-2002, 12:43 PM
I've just discovered another bug, it's not anything that would bother me personally because of the way I've got my forum set-up, but for anyone with a forum that requires either moderation of new members, or forums that require email checks on new members, this hack totally by-passes it, alloing someone to sign-up with a fake email, or ignore the sign-up email, and go stright to the tetris game.
I'm guessing that this can be fixed by changing the error_reporting(7); code, but I don't know what to.
ps. Castel nice add-on :)
Ninth Dimension
08-17-2002, 12:44 PM
OK, i've just realised that it's not the error_reporting thing that needs changing, but the:if ($bbuserinfo[username] == "Unregistered") {
show_nopermission();
} but yet again, I don't know what it needs to be changed to.
Ninth Dimension
08-17-2002, 01:03 PM
Right, I can NOT gurantee that this will fix the problem I suggested above, but here is what I think you need to do:
Find:if ($bbuserinfo[username] == "Unregistered") {
show_nopermission();
}Replacewithif (($bbuserinfo[usergroupid] == "1") or ($bbuserinfo[usergroupid] == "3") or ($bbuserinfo[usergroupid] == "4")) {
show_nopermission();
}this will have to be done 4 times (I think).
I've not tested this yet, i'm just about to, if you do try it, MAKE A BACK UP of tetris.php first.
PS, 1 is Unregistered / Not Logged In
3 is Users Awaiting Email Confirmation
and 4 is (COPPA) Users Awaiting Moderation.
if you have any other usergroups that you don't want to give access to, you need to add them as well (like i've got 8 which is BANNED!! :))
edit - fixed code :)
Castel, good work! Could you send me your tetris.php please?
Ninth Dimension
08-17-2002, 01:36 PM
I've just tested my own code, and it's working fine, i've got it running on my forum now - http://gamevine.co.uk/forum/tetris.php and i've just had one of my users help me test it by changing his usergroup to each of the available ones, and he was denied access on all the ones I did not want him to have access with.
please feel free to make the changes I have suggested, esp if you are using a foregn board, but as i said before, make sure you BACKUP tetris.php before making the changes :)
Jalrock
08-17-2002, 04:55 PM
Great hack. Fresh install. no problems. Thank you
lichtflits
08-17-2002, 05:03 PM
when you finished all the 10 levels you see "game over"
but your scores are not sub mitted
a bug? :ermm:
Ninth Dimension
08-17-2002, 05:53 PM
Originally posted by lichtflits
when you finished all the 10 levels you see "game over"
but your scores are not sub mitted
a bug? :ermm: Yes, this is a bug in the flash file, a number of my users have reported it.
If anyone good with flash, or know someone that's good get them to look at the flash code and add some more levels or something :)
JaZz0r
08-17-2002, 08:02 PM
My users are complaining about how the pieces rotate backwards (counter-clockwise). Heh, guess I've got some true Tetris nuts as users, but I consider it a legitimate claim. Any way to fix this?
Castel
08-17-2002, 08:08 PM
Originally posted by JaZz0r
My users are complaining about how the pieces rotate backwards (counter-clockwise). Heh, guess I've got some true Tetris nuts as users, but I consider it a legitimate claim. Any way to fix this?
Hahah, various comments on my leader list are screaming for counter-clockwise as well, this is serious business now :) This has to be by far the most popular hack from a users perspective!
JaZz0r
08-17-2002, 08:21 PM
Very true. This is in my list of the Top 5 vB hacks. :)
I attempted to edit the .FLA file myself in hopes to fix this problem, but alas, I have no experience with Flash, and it is quite intimidating (ESPECIALLY when most of the code is in a foreign language!).
I tried to look for someone who could assist me on an IRC network I frequent, but I think I scared everyone away with my wording - "Anyone fluent in Italian and an advanced Flash programmer?"
Oh well, keep up the good work, guys!! :D
Link14716
08-17-2002, 08:27 PM
Here is a nice game ;)
http://www.flashkit.com/movies/Games/Full_Game_Source/POF_S-Marco_Sc-6921/index.php
In a couple of days time I'm going to start work on a 99.9% secure version of the leaderboard, along with a few more options and extra features. :banana:
Ninth Dimension
08-17-2002, 10:44 PM
Please let me know if you want or need any help, i'm eager to help this project progress :)
xxxsaint
08-17-2002, 11:51 PM
when you secure this one , will that also mean the space invaders with the rankings system will be good to go too ? I'm really looking forward to that one as well. :D
I'm working on the arcade hack, has many games.
Link14716
08-18-2002, 02:01 AM
I think once he gets done with this, the rest will be easy..... er. lol
lichtflits
08-18-2002, 08:41 AM
a request.
is it posibel to use smilies in your comment?
GeOrGe
08-18-2002, 10:58 AM
I whant that my User display the Highscore in Postbit.
How should i do that?
Ninth Dimension
08-18-2002, 11:54 AM
This is how you add the score to your post bit. These instructsion have been written as if you already have the tetris king hack installed.
In /admin/functions.php, find
// King of Tetris Hack, by John Warwick
$kingid = $GLOBALS['kingid'];
if ($post[userid] == $kingid) {
$crown = '<img src="{imagesfolder}/crown.gif" alt="King of Tetris!" />';
} else {
$crown = '';
}replace with// King of Tetris Hack, by John Warwick
$kingid = $GLOBALS['kingid'];
if ($post[userid] == $kingid) {
$crown = '<img src="{imagesfolder}/crown.gif" alt="King of Tetris!" />';
$tscore = $kingscore;
} else {
$crown = '';
$tscore = '';
}
In showthread.php, find$leaderboard = $DB_site->query_first('SELECT userid FROM arcade WHERE game = "tetris" ORDER BY score DESC');
$kingid = $leaderboard['userid'];replace with$leaderboard = $DB_site->query_first('SELECT userid,score FROM arcade WHERE game = "tetris" ORDER BY score DESC');
$kingid = $leaderboard['userid'];
$kingscore = $leaderboard['score'];then just add $tscore where you want thr score to apear in the postbit template.
The above code should work, but i've not tested it yet., make sure you get a back-up of all files b4 you apply this modification
Just curious, what happens if you don't have a score?
Ninth Dimension
08-18-2002, 04:27 PM
Originally posted by john.eovie
Just curious, what happens if you don't have a score? Nothing, it's set-up so that the score will only be displayed next to the king's name, no one elses.
Ed FvC
08-18-2002, 08:27 PM
Sweet hack. I can't wait to get more games in. :)
What about old BBS door games?? God, that would RULE!
Originally posted by Ed FvC
Sweet hack. I can't wait to get more games in. :)
What about old BBS door games?? God, that would RULE!
I don't even know what they are!
Ed FvC
08-18-2002, 08:34 PM
Oh man... Way before your time, I suppose... I feel old now.
They were text-based games...some were RPGs, others were strategy...back in the old Pre-Internet days.
Search around on google for the following:
Trade Wars 2002
Barren Realms Elite
Legend of the Red Dragon
Oldskool. ;)
Well, probably not way before my time - but I've only been geeking it up for a few years ;)
Ninth Dimension
08-18-2002, 08:51 PM
I guess that any game is possable, as long as the end score can be fowarded onto a script :)
Originally posted by danielhollands
I guess that any game is possable, as long as the end score can be fowarded onto a script :)
Well, the fact that BBS games aren't web browser based it could be difficult...
Ninth Dimension
08-18-2002, 08:59 PM
this is very true, unless they can be run via a java applett, in which case, yet again it's just a case of passing a score to a script :)
As far as I know they can't (I might be wrong there), but the point it that the web is a much better interface for something like this. It replaced the old BB system, why would anyone want to revert!
|DarkManX|
08-19-2002, 01:37 AM
anyway to fix the who is online...it says unknown location or else tetris.php45646510665165165165151121032
thanks great hack'd worked perfectly on first install
Someone posted a solution to this in the thread somewhere - good luck finding it!
Ninth Dimension
08-19-2002, 01:45 AM
Originally posted by |DarkManX|
anyway to fix the who is online...it says unknown location or else tetris.php45646510665165165165151121032
thanks great hack'd worked perfectly on first install https://vborg.vbsupport.ru/showthread.php?postid=286031#post286031 gives you the info you need.
|DarkManX|
08-19-2002, 01:45 AM
lol ok thanks
I have the following code on my main page:
<br><a href="$bburl/tetris.php?action=play&s=$session[sessionhash]"><b>Play Tetris!</a> | <a href="$bburl/tetris.php?action=leaderboard">View Leaderboard</b></a>
Yet the View Leaderboard link plays Tetris just like the Play Tetris Link.
Also, when I play Tetris, I still get the original startup screen saying Gauss.... Shouldn't it have changed?
Odil
Got it fixed, I just don't like the color scemes. The text is grey on my light blue background. How can I change the colors?
Thanks!
Odil
Originally posted by Odil
I have the following code on my main page:
<br><a href="$bburl/tetris.php?action=play&s=$session[sessionhash]"><b>Play Tetris!</a> | <a href="$bburl/tetris.php?action=leaderboard">View Leaderboard</b></a>
Yet the View Leaderboard link plays Tetris just like the Play Tetris Link.
Also, when I play Tetris, I still get the original startup screen saying Gauss.... Shouldn't it have changed?
Odil
Bungie
08-19-2002, 03:13 AM
Great hack, works flawlessly so far. One of my members has already gotten 120k points. *pushes install button* ;)
Agreed!! Excellent hack, got it all working. It turns out when I was copying the text to the templates, I missed some code.
Very happy and so are my members!! YOU RULE!!
Odil
BigJohnson
08-19-2002, 01:18 PM
When will the store version be able to come on?
Ninth Dimension
08-19-2002, 01:20 PM
Originally posted by BigJohnson
When will the store version be able to come on? once he has secured the script, and people stop getting error messages :)
portion
08-19-2002, 01:52 PM
When playing the username is not showing up in the game:
I am using the following link:
/tetris.php?action=play&s=$session[sessionhash]
When completing any game i get the following:
ERROR, You have attempted to play tetris by unconventional means!
Anyone else?
-portion
Originally posted by portion
When playing the username is not showing up in the game:
I am using the following link:
/tetris.php?action=play&s=$session[sessionhash]
When completing any game i get the following:
ERROR, You have attempted to play tetris by unconventional means!
Anyone else?
-portion
This is why I'm not releasing the Store hack version! There are too many problems with the current script, which I want to resolve before I release any of my other hacks.
Regarding the error, I have no idea why this happens. A couple of people are getting the same thing, and I have no idea why!
portion
08-19-2002, 02:23 PM
OK keep us posted, I love the hack and cant wait to show it to my members.
I'm pretty sure its mainly because the flash game does not have the username whent he game is finished it tries to access the leaderboard and bam I get that message.
Can anyone provide any input on this one?
Pretty sure it has to do with this code segment:
if($bbuserinfo[userid] != $userid){
echo "ERROR, You have attempted to play tetris by unconventional means!";
exit();
}
-portion
Ron ? DCS
08-19-2002, 03:18 PM
First of all, I want to say this is an AWESOME HACK and thank you for all of your time and effort! My member base is just LOVING IT! :D
I aplogize if this has been stated before, but one member couldn't get it to work in Opera. He also has MSN Explorer, and it worked fine in there...are there browser compatibility problems? Personally, I really don't care, since my membership base that uses Opera has to be pretty low...I'm just pointing out a potential bug.
Among other things, he got the "ERROR, You have attempted to play tetris by unconventional means!" error message.
portion
08-19-2002, 03:33 PM
Seems as though its working in IE, but not Netscape 6 or 4.79.
Just a heads up.
I'm going to release one total fix for all of the problems, including security and Netscape (hopefully).
* john.eovie completes pong hack - and it's good ;)
If I do release the Store Addon hack, should I release it as another hack or in this thread?
Schorsch
08-19-2002, 05:38 PM
Originally posted by john.eovie
I'm going to release one total fix for all of the problems, including security and Netscape (hopefully).
Thanks John!!!! :banana: approximately, when do you think the fix is ready ? but take up time, don't wanna bustle you :)
Originally posted by john.eovie
If I do release the Store Addon hack, should I release it as another hack or in this thread?
please another thread, this thread is complex enough...
lordofgun
08-19-2002, 06:39 PM
AWESOME! Works perfectly on 2.2.6! Can't wait for the store integration!
/me clicks install
lordofgun
08-19-2002, 06:40 PM
BTW, release the store integration on a new thread!
Originally posted by lordofgun
AWESOME! Works perfectly on 2.2.6! Can't wait for the store integration!
* lordofgun clicks install
Glad to hear it :)
By the way, what happened to all of the people who said they were going to do some PayPal donating?!
lol, I'm not hinting through the avatar or anything ;)
Originally posted by john.eovie
This is why I'm not releasing the Store hack version! There are too many problems with the current script, which I want to resolve before I release any of my other hacks.
Regarding the error, I have no idea why this happens. A couple of people are getting the same thing, and I have no idea why!
I was getting that same error yesterday, I deleted all the templates and redid them, that corrected it. You missed copying some of the code over.
Odil
Jashugan
08-19-2002, 06:53 PM
LOL @ John.eovie for your avatar!
Hey everyone, great game and people are having alot of fun with it!
I just want to know how to make the text at the bottom where the object counts are, that text is too small. How can I make this a bit bigger?
Thanks!!
Odil
Originally posted by Odil
Hey everyone, great game and people are having alot of fun with it!
I just want to know how to make the text at the bottom where the object counts are, that text is too small. How can I make this a bit bigger?
Thanks!!
Odil
Do you mean the text in the leaderboard?
Originally posted by Jashugan
LOL @ John.eovie for your avatar!
;)
(Can't blame a guy for trying, I need a new monitor!)
Originally posted by john.eovie
Do you mean the text in the leaderboard?
No I mean on the game board it self, the part where it counts each piece as they come up, on the right of the game itself.
Odil
Oh, right - have you got Flash?
Lol, do you reckon it'd be improper to say I'll release the Store hack if I get x amount in PayPal donations? hehe!
Ninth Dimension
08-19-2002, 10:34 PM
Originally posted by john.eovie
Lol, do you reckon it'd be improper to say I'll release the Store hack if I get x amount in PayPal donations? hehe! now that is just rude LOL (but seriously, DON'T!!!!) :bunny:
But I need money!! :'(
It#d be an incentive for me to do it quicker ;)
Ninth Dimension
08-19-2002, 10:49 PM
and what would this X ammount be then?
dunno, maybe $25 altogether?
Ninth Dimension
08-19-2002, 10:55 PM
it should not be done for money, it should be done for LOVE :) and all the smiles that you will get from the webmasters that install this hack :)
Ninth Dimension
08-19-2002, 11:10 PM
I'll tell you what i'll do, join my forum, and i'll donate 570 Cold Coins to you, it won't be any good IRL, but will give you enough money for a http://gamevine.co.uk/forum/images/itemshop/z_monkey_sword.gif Monkey Cult Sword (http://gamevine.co.uk/forum/itemshop.php?action=view&id=112) :banana:
NexDog
08-19-2002, 11:17 PM
ERROR, You have attempted to play tetris by unconventional means
This happens when vb times out. Seems as though activity inside tetris is not actually logged so if a game lasts longer than 15 minutes or whatever, you get the error. Hey, stops cheating! :)
Ninth Dimension
08-19-2002, 11:48 PM
Originally posted by NexDog
This happens when vb times out. Seems as though activity inside tetris is not actually logged so if a game lasts longer than 15 minutes or whatever, you get the error. Hey, stops cheating! :) Ya know what, one of my members was saying the same thing, but i've never had this problem myself.
Does the sesson change after X number of min's? if so, is there a way arround this? i.e. extending the sesson time or using something other than the sesson id?
JJR512
08-20-2002, 02:00 AM
To extend the session time, in the admin cp, in vBulletin Options, in User and Registration options, change the Timeout for Cookie setting. The default is 900 seconds, which is 15 minutes.
Alternatively, you could install the Persistent Mark Forums Read hack (do a search using those words), which eliminates the timeout, and once you mark a forum as read, it stays like that, until it's really been posted to again.
Thanks JJR512, I'll look into that - I've been waiting for some clever php people to come in here and save me from that question! ;)
Anybody know of any progress made on the Level 10 completion bug? Is it even being looked into? :(
A lot of my members are complaining now about completing the game yet their scores not being recorded ... I might have to run away and change my name if it's not rectified :ninja:
Originally posted by e-2
Anybody know of any progress made on the Level 10 completion bug? Is it even being looked into? :(
A lot of my members are complaining now about completing the game yet their scores not being recorded ... I might have to run away and change my name if it's not rectified :ninja:
A fix for tetris - untested! (I can never get up to level 10!)
Let me know if it works..
Also, let's not forget other threads ;)
https://vborg.vbsupport.ru/showthread.php?s=&threadid=42529
^^^ Come on, I need to know if this new Tetris flash file works!
Bro_Joey_Gowdy
08-20-2002, 02:18 PM
what about makeing a pool game or bowling game -- multiplayer ofcourse
:)
You'd need to have XML server installed for multiplayer gaming...
Ok, new security update - can't send out a hack update, because the darn thing is broken :(
Tell everyone you know!
If you're getting any problems with the new version, get me on MSN: John@eovie.com
Edit: Likewise, if the update works for you let me know - I need feedback!
Schorsch
08-20-2002, 03:15 PM
John, is in your update the level10 fix included ?
Thanks!!! :banana:
Schorsch
It is now :) - just added 2.41
Schorsch
08-20-2002, 03:20 PM
jipiiiiiiiieh !! great work John!
what do I have to do for update ? just reupload the tetris.php and tetris.swf ??
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
vB Tetris v2.4 | Leaderboard, Comments and High Score System v.2.4
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| by John Warwick |
-=-=-=-=-=-=-=-=-=-
----------
Upgrading
----------
If you have a previous version of this hack installed, simply follow the instructions below.
----------
1. Run the following SQL query:
ALTER TABLE `arcade` ADD `sec_no` INT(10) UNSIGNED NOT NULL;
2. Load your "tetris" template.
Replace the ENTIRE template with the contents of "tetris.txt" in the v2.4 install/templates folder of this zip.
3. From the v2.4 install folder in this zip, overwrite the following files in your root directory:
tetris.swf
tetris.php
Done!
portion
08-20-2002, 03:34 PM
I get this error:
Invalid SQL: ALTER TABLE `arcade` ADD `sec_no` INT(10) UNSIGNED NOT NULL;
mysql error: Duplicate column name 'sec_no'
did you enter it twice?
because that means the "sec_no" field in the table already exists! (When I've only just added it to the instructions)
Ignore that step :)
portion
08-20-2002, 03:41 PM
nope, ran it just once.
Ill just skip past it.
I don't understand that... check your database, look in the arcade table and make sure there's a "sec_no" field in there.
Is it just me, or does that most recent .zip file only contain tetris.swf? :( How can we update the 'tetris' template and overwrite tetris.php and tetris.swf? :)
Steve Machol
08-20-2002, 08:10 PM
After following the upgrade instructions I am now getting the 'No permissions' page even though me and my members are logge3d in.
Ninth Dimension
08-20-2002, 08:13 PM
you are getting the error because you are linking to tetris.php and not tetris.php?action=play or tetris.php?action=leaderboard
linking to tetris.php won't work, it's one of the security features.
Originally posted by smachol
After following the upgrade instructions I am now getting the 'No permissions' page even though me and my members are logge3d in.
Sorry for any trouble caused smachol, I forgot to mention you need to change your link back to tetris.php?action=play
You beat me to it, lol! :banana:
Ninth Dimension
08-20-2002, 08:15 PM
Originally posted by e-2
Is it just me, or does that most recent .zip file only contain tetris.swf? :( How can we update the 'tetris' template and overwrite tetris.php and tetris.swf? :) you are downloading the wrong file, you need to goto the first post to get the full thing.
Steve Machol
08-20-2002, 08:16 PM
Ah, thanks! :)
Castel
08-20-2002, 08:29 PM
If the lvl 10 problem is fixed, why did you add so many lines to each level? I had one of my moderators (who is a tetris wizard) play the game on my test forum and now the game comes down to how bored you are and how much time you got to waste in order to beat the top score. I personally got bored out of my mind by level 3.
I believe the game should end as it did in the earlier version so it comes down to your tetris skills within the 10 levels as far as making tetris and fast dropping your blocks etc... That is the challenge, not how much time you got on your hands. I under estimated the tetris skill level of some people as well until I saw scores of nearly 200000 on the old version (I warned them about the lvl 10 bug so they know do kill the game before the last line), and I can tell you right now any of my top players could probably beat 1000 lines if they really feel like it. Kinda takes the fun out of the competitive nature of this hack.
Also this game coudl easily last maybe about an hour, what about the session time out issue then?
Anyway...if level 10 is indeed fixed how about including a flash file with the old lines per lvl setting?
John did you forget about those few fixes I mailed you?
Originally posted by Castel
If the lvl 10 problem is fixed, why did you add so many lines to each level? I had one of my moderators (who is a tetris wizard) play the game on my test forum and now the game comes down to how bored you are and how much time you got to waste in order to beat the top score. I personally got bored out of my mind by level 3.
I believe the game should end as it did in the earlier version so it comes down to your tetris skills within the 10 levels as far as making tetris and fast dropping your blocks etc... That is the challenge, not how much time you got on your hands. I under estimated the tetris skill level of some people as well until I saw score of nearly 200000 on the old version (I wanred them about the lvl 10 bug so they know do kill the kill before the last line), and I can tell you right now any of my top players could probably beat 1000 lines if they really feel like it. Kinda takes the fun out of the competitive nature of this hack.
Also this game coudl easily last maybe about an hour, what about the session time out issue then?
Anyway...if level 10 is indeed fixed how about including a flash file with the old lines per lvl setting?
John did you forget about those few fixes I mailed you?
Look, I'm just trying to keep everyone happy. Some people suggested making the earlier levels longer, but this annoyed some people - the old swf is back in the zip in the first post now.
No, I haven't forgotten about your email - don't forget that I give MSN support for this hack, and I barely get a spare minute in the day. I'll do it as soon as possible.
Ninth Dimension
08-20-2002, 08:37 PM
I personally like the fact that more lines are required for each level, it makes it feel more like the gameboy tetris, and gives the user more of a challenge. :)
See? Can't please everyone! :( :\
Ninth Dimension
08-20-2002, 08:49 PM
Originally posted by john.eovie
See? Can't please everyone! :( :\ sorry, i just enjoy being a pain in the arse LOL
What's that? Space Invaders? ;)
https://vborg.vbsupport.ru/
Ninth Dimension
08-20-2002, 09:15 PM
GIMME GIMME GIMME!!!!
Originally posted by john.eovie
What's that? Space Invaders? ;)
http://www.eovie.co.uk/pics/8.gifThat's mean! Gimme!
Originally posted by Ian
That's mean! Gimme!
lol :banana:
Jashugan
08-20-2002, 10:30 PM
=D meanie indeed.. j/k ;)
Look good
Ninth Dimension
08-20-2002, 10:33 PM
I say we gang-up on him until he releases it LOL :)
Originally posted by danielhollands
I say we gang-up on him until he releases it LOL :)
lol, I'm only release it to a select few :)
Games so far:
Space Invaders - working perfectly
Tetris - working perfectly
Snake - doing now
Pong - doing now
With more to come! I love vB ;)
Erwin
08-20-2002, 10:38 PM
Integrated Space Invaders? Nice, John. Now, PM me the hack now. :)
Jashugan
08-20-2002, 10:39 PM
Awww...
:( :( :( :(
Jashugan
08-20-2002, 10:56 PM
meanie...
Ed FvC
08-20-2002, 11:15 PM
Originally posted by john.eovie
lol, I'm only release it to a select few :)
Games so far:
Space Invaders - working perfectly
Tetris - working perfectly
Snake - doing now
Pong - doing now
With more to come! I love vB ;) GIMMEGIMMEGIMME!! :D :banana:
NexDog
08-20-2002, 11:18 PM
You know I'm going to bug you on MSN for this. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.