vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :) (https://vborg.vbsupport.ru/showthread.php?t=42293)

John 08-15-2002 07:08 PM

Quote:

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. :)

John 08-15-2002 07:37 PM

Quote:

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!

Mr_P 08-15-2002 08:31 PM

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.

John 08-15-2002 09:16 PM

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:

John 08-15-2002 09:25 PM

Change it to:

<a href="$bburl/tetris.php?action=play"><b>Play Tetris!</a>

DanIAm 08-15-2002 09:30 PM

Quote:

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

John 08-15-2002 09:33 PM

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

Quote:

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

John 08-15-2002 09:41 PM

Quote:

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:

Ian 08-15-2002 10:03 PM

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:

John 08-15-2002 10:08 PM

lol :p

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.

;)

John 08-15-2002 10:16 PM

Quote:

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
PHP Code:

if ($punteggio != 0) { 

change to
PHP Code:

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. :)

John 08-15-2002 11:40 PM

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 ?

John 08-16-2002 12:43 AM

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

John 08-16-2002 12:46 AM

Quote:

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.

bpn 08-16-2002 01:29 AM

Thanks for the nice work.
It´s working like a charm.

John 08-16-2002 01:51 AM

Quote:

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 :)

John 08-16-2002 01:52 AM

Check out my new mini leaderboard on my front page!

jbear6 08-16-2002 02:22 AM

Quote:

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

Quote:

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:

Code:

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!

Mr_P 08-16-2002 05:02 AM

Quote:

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

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....

e-2 08-16-2002 09:42 AM

Great hack John! :cool:

Set it up over at my forums (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/showthrea...831#post285831

DanIAm 08-16-2002 12:12 PM

Should the tetris.swf file be uploaded ASCll or Binary?

John 08-16-2002 12:14 PM

Binary

DanIAm 08-16-2002 12:24 PM

Quote:

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

Quote:

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
PHP Code:

if ($punteggio != 0) { 

change to
PHP Code:

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:
Code:

Parse error: parse error in /var/www/vhosts/hostnexus.com/httpdocs/forum/tetris.php on line 198
Anyone got a fix?


All times are GMT. The time now is 08:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02078 seconds
  • Memory Usage 1,845KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete