![]() |
I'm not bothered about my Netscape using members, or any other OS besides IE :D They don't deserve the privilidge of playing this game if they can't use a decent browser :p
|
Quote:
Yeah, let it settle down and tell me if it happens again. Does this usually occur on the page after the game? |
Quote:
|
Quote:
I'll keep an eye on it and let ya know if it keeps happening |
I've found the problem, coding a fix now
|
If u don't win Level10, you get the no permission error!
what's wrong ? cu Schorsch |
It's nothing to do with level 10, it's my own stupid error in the code - fix coming shortly
|
Is there a way you could add the option where we could delete the scores (even the delete feature the shoutbox has would be good, for admins only of course)
(I'd like to delete the scores every week or so so people could get a chance to be top scorer) |
Fixed - check first post
|
Quote:
for upgrading just upload tetris.php and tetris.swf ? Schorsch |
Don't forget the SQL query
|
I already did this in v2.41 :)
|
This is a new query for 2.5
|
Okay, I have one modification question...this is the code to keep unregistered (guests) out:
Code:
if ($bbuserinfo[username] == "Unregistered") { |
Quote:
|
hope Im not asking too much here, but could you tell us what has changed in the last two revisions. I have changed a lot of the html code to integrate to my forums and it would be easier to change just the code you have updated. Instead of overwriting the whole teris.php file.
Thanks portion |
And with the new version, all you have to do is replace:
Code:
if (($bbuserinfo[usergroupid] == "1") or ($bbuserinfo[usergroupid] == "3") or ($bbuserinfo[usergroupid] == "4")) { Code:
if (($bbuserinfo[usergroupid] != "11") && ($bbuserinfo[usergroupid] != "6") && ($bbuserinfo[usergroupid] != "5") && ($bbuserinfo[usergroupid] != "7")) { |
Quote:
The only template that's changed is "tetris" There have been two new SQL queries since 2.0 In the tetris template, "&sec_no=$sec_no" was added to the end of the parameter string. It passes a security number over to the Flash file. tetris.swf has had a few improvements, including the level 10 fix. tetris.php has undergone a LOT of changes. 1. New security system. Random variables are generated and passed along the system, should this line be broken or the variable be changed, things won't work. 2. No permission bug fixed, with a date system. It deletes records with a score of 0 that are over 60 minutes old. 3. Loads of tiny security fixes I can't list the code for al of these, because over half of it has changed. When you say you've made changes to the HTML, are you talking about templates? Few changes have been made to the templates, tetris.php is the important file. |
You have a problem with your above code, by doing that you will lock yourself and mods out of the game, unless they are usergroup 11, which we all know they won't be :)
|
Ignore Ziggy's code above, it's wrong - it doesn't pass any variables along to the Flash file.
If you install that it won't work |
Thanks John!!! :D
One question, tho'...I just downloaded this thing two days ago, and the code is already old? Did I download the wrong files? |
back then they where the right files, but since then John has been working hard on improving the script and fixing bugs, and now the old files are out of date.
The best thing is to go back to the first post and download the files again to upgrade it. |
EZ background color change, w/variables this time! :D
Just edit the hex codes to whatever you want? Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" Cheers...ziggy |
Ziggy, the code you have provided looks good, and so far as i can see has all the correct variables being passed to the flash file, the only problem is that on boards with a light background colour you can't read the text very well :(
|
Hmm wierd. I have done the 2.5 update from the 2.4 upgrade and now I am getting a no permission when I get to enter my score on the leaderboard.
I put the old 2.4 PHP file back in and everything is fine again. Yes I did the SQL query instructions. :) |
Hey dan,
You mean in the Flash file or the header/footer table cells? You can change the wmode params from "transparent" to "opaque" also, this should let you darken it w/hex so yourtext shows better. Theres alot of combinations you could use there? Just something to play with if you're not happy w/the default colors? I just popped in for a sec, I'm busy on integrating multiple vBportals into a single VB arrgghhh :D Cheers...ziggy |
scottct1, can you try something for me please? delibratly get a low score in game (one that would prevent you from adding a score) and let me know what happens.
|
I put it back in again and its working now. Wierd. I tried just getting a low score. and its going fine.
|
Phew - you had me worried Scott.
|
Quote:
|
I think it all works now :)
|
Quote:
Upgrade :) |
Im not sure, I never get high enough scores. :)
If its broke one of my users will tell me i'm sure. |
Just received this PM from DestyNova:
Quote:
Re: vB Tetris 1. vB Tetris is not the flash tetris game. It is the hack which allows a scoreboard to be kept of high scores in a GPL game. 2. As a GPL game I can legally distribute it. 3. That's exactly what I'm doing. Re: The Arcade Hack 1. This, like vB Tetris is a HACK. It's packaged as a hack. All of the games in it are GPL, it is legal for me to distribute them. 2. People who have sent me donatations are not paying for any games. I'm giving them the arcade hack, I AM NOT SELLING FLASH GAMES. Once again, this is legal. If it makes people happy I'll send it as two files - one with the hack in, and one with the games in. 3. I no longer intend to ever release this hack to the public, due to the issues raised here. |
Since you ahead post it so I guess I should add some bit information. After I email these makers to make sure about GPL, since I m not really fully knowledge with GPL rules anyway I got odd email from one of makers said that they got several complaints about their games "sell" at vb.org. So it force me to email to John about sell issues. But John now clear up about it with me and I email them already that it is not their games that which "sell" but only hack.
Also reason for this email, I dont want to have them sue John for this reason since I dont know who email them several of "complaints" emails, that maker refuse to name whos. I respect John and his works, I want to have him continue his amazing hacks at here so I have to speed up and clear up with these makers. |
I just hope selling hacks doesn't get practice, because when everybody is doing this it's getting expensive and I'm going back to phpBB2, there it's free of charge :banana:
|
It is true that selling of hacks is viewed as a bit of a no-no, but you have got to remember that John has put a lot of time and hard work into developing the arcade hack, and it's only fair that he gets rewarded for it.
If the author is happy to give away some code for free, for whatever reason (promotion, kindness, whatever) then cool. if not, all you can do is respect their wishes? After all, when you goto work each day, do you do it for free? Is vB free? |
Quote:
|
From what I can see no one is selling anything, this has all got blown out of proportion.
I like John's hack, and John has been very good in supporting his hack. I am sure his time is valuable just like everyone elses. I don't think he is looking for "pay me or else" perhaps the way it should have been said was "if you like my hack please send me a donation for beer money" :) I hope John continues with his work and the Arcade is released to the public. |
another thing, John has put a lot of time into the tetris hack, if he wants to sell an advanced verson of it with support for more games, good on him :)
|
All times are GMT. The time now is 09:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|