![]() |
removing them did`nt work
I can preview the tetris template in admin cp and it plays the game there (using fireflys preview template hack) but when i got to forums/tetris.php it just dont load at all |
sorted maybe id better wake up now cheers m8
|
Lol, no worries :D
|
:banana: I want a highscore list :banana:
who is a good coder and can add this feature ? :nervous: |
Quote:
|
yeah, worked fine after remocing the ../
a leaderboard would be the coolest thing for this thanks |
Im offering this feature as a "Bonus" to all my users. I dont see why they should post and refer for everything.
|
I'm not doing this as a "pay and play" system, you pay to win more points if you get on the leaderboard. You can always make it really cheap to play...
|
oh ho! this hack is sweet! i got to install this.. i would integrate it with Lesane's store hack, but meh.. now everything has a freakin price.. lol
|
Quote:
I've updated the ZIP file to version 1.1 - to fix this minor bug. For those who have installed vB Tetris 1.0, just do this: In the "tetris" template: Find: Code:
Code:
I've updated the ZIP file - if you download version 1.1 you'll be fine! :) Glad people are enjoying this. As for copyright - the game was a free addon for vBPortal, so I assume it is in the public domain. |
Like I said in the first post, I "ported" this over from a vBPortal add-on - I'm not responsible for coding the actual Flash game itself - I've left all the credits in the actual game to the original programmer. :) All I did was make it work for vB. As it was free with the vBPortal addon, I assume the same applies to vB.
|
Glad it's public domain, I've already hacked it to pieces!
In order to do the leaderboard system, I'm going to need to redistribute a new flash file. I'll try to make some improvements, as long as you're sure that it's legal. |
Awesome hack, Erwin! Thank you! :D
Quote:
|
Hey guys, installed the hack on my board:
http://www.exoticcarforums.com/tetris.php?s= Looks great, but I would like to modify the SWF file a little bit- change the style of the font/lettering to match my board- maybe add a "featured at ExoticCarForums.com" image. How do I do this? Any help? Also, I would love to have a high scores board. I think someone should do a step by step installation of that for dumbies like me :) |
Do you have Flash Kenny?
Just in case anyone was wondering, the Flash is under GPL :D |
Quote:
What is GPL? And yes, I have Flash. Not proficient at all with it :(. |
General Public Licence - it means we can edit it all we want :)
|
Quote:
Any advice into how to edit it in flash? |
Quote:
|
Well, so far:
http://www.eovie.co.uk/pics/tetris.swf Take into account that it's not fullscreened when embedded in the page, and looks a lot better. Also: it displays the username of the person playing it and the amount of points they have, you won't see that because it's not in the page! Edit: To see it with the fields filled in: http://www.eovie.co.uk/pics/tetris.s...isitor&left=50 Also, the logo is supposed to be pixelated. It doesn't look that bad when it's smaller! |
Was it real hard to mod that board the tetris the way you did? I really don't even know where to start, if you would just give me some direction :)
|
Well, it was a lot of messing about. The biggest problem for me is that all of the code is in Italian (I think), it makes it impossible to do anything quickly.
I'm going to try to clean up the file and redistribute it - it should make things easier for everyone out there wanting to edit the whole thing! |
Quote:
GREAT!!!! Thank you soo very much. Keep me posted :) |
Did you manage to integrate the top scores into the mysql database? It won't be that easy...
|
Quote:
Nope, not at all... I didn't even get the username of the person who is logged in into it... |
YES!!!
You know when you've been coding for hours, and suddenly you make a breakthrough? - that just happened to me!! Here's how far I've got: 1. Added the "Play Tetris" action to the store. 2. Clicking on the "Play" button takes you to the next page, where it tells you that it'll cost a certain number of points per play. 3. The tetris page then loads up, checks to see if you're a valid member and have enough points, and then decucts the right number of points from the member's account. 4. The tetris Flash file loads, it shows the username of the member who's playing, and how many points they have. 5. When at the end of the game, it goes to another page where it records the username, userid, the current number of points, and their highscore to the database. I love vB :) |
Quote:
|
I aim to please :D
|
Wow, that is fast! :)
|
Is it?! I've been doing it all afternoon!
|
hehe, Yes, it is...even for someone who has oodles of experience.
|
Do you mind sharing the php file that records the user's high score? :) With your permission, I will add it to the original hack.
|
I'm currently working on integrating it with the store hack, the code that records is intermingled with store stuff.
The fact that it redirects to a completely different page at the end of the game will annoy users, as if they want to start a new game they'll have to reload the page. So, after I've finished the store addon, I'll redo the code and pass it onto you so you can update the hack. You'd also have to redistribute the new flash file I've made, it's a lot cleaner and it passes the variables along. |
:) Sounds good.
I really don't use the Lesane store hack, so I may have to remove that section... I'll just post 2 versions, one integrated with the store hack, one without. |
This hack looks pro, although I'm not exactly crazy about Tetris, I may look for another flash game and try to integrate it with the concepts and ideas mentioned in this thread.
|
It's more of an addon for the store rather than this hack, and it's quite big - so I'll post it as a seperate hack (giving all credit to all 4 authors of course!)
Just curious, which is better? Should I have the "High Score" box in the Flash file showing the highest score that the user has obtained, or the highest score that any member has obtained? |
Quote:
Can we impliment this 'high score' box without doing the store hack? |
After I do the store hack version, I'm going to do the non store hack version :)
|
I am only interested in having the high score bit... :) If you can PM me how you did it, it would be good.
|
Lesane's store hack has a lot to answer for... LOL!
|
All times are GMT. The time now is 04:54 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:
|