Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :) Details »»
vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :)
Version: 1.00, by John John is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-13-2002 Last Update: Never Installs: 93
 
No support by the author.

hack removed, someone please delete this thread.

Apparently the 6 days solid I spend supporting this wasn't good enough (not to mention the 65 page total).

Thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #742  
Old 08-23-2002, 06:37 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Heineken77
No news on why my screen is stuck on loading...?

http://nba2k3.net/forum/tetris.php
Unless you're on a non IE browser, you've probably installed it incorrectly.
  #743  
Old 08-23-2002, 07:57 PM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by john.eovie
I'll post the main issue here, so everyone can have a go.

Basically, I need a SQL query that will select the highest score each userid has, and output the records.

So:
1. There's only one record per userid value
2. And the score value that corresponds to the userid is the highest one.
This only needs a single query. Try this:

PHP Code:
  $leaderboard_q $DB_site->query("SELECT game,userid,comment,max(score) as maxscore
                                    FROM arcade
                                    WHERE game='tetris'
                                    GROUP BY userid
                                    ORDER BY maxscore DESC
                                    LIMIT 
$yourlimit"); 
That should give you what you need.

I am making a new scoreboard right now that does just this. I'll post a link when it's done.
  #744  
Old 08-23-2002, 08:02 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried that before, for some reason it returned no records (and yes, there were records in the db)
  #745  
Old 08-23-2002, 08:18 PM
Lanigironu Lanigironu is offline
 
Join Date: Mar 2002
Location: Toronto, Canada
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe your syntax was wrong?
  #746  
Old 08-23-2002, 08:27 PM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That same query works just fine for me. What kind of error is it giving you?

Here it is in action:
http://www.shadowsofnamek.com/forum/...pscoreboard&s=

I am having way too much fun messing with this leaderboard. I am going to go play a round of frisbee golf, and when I get back I have some more ideas to mess with.
  #747  
Old 08-23-2002, 08:33 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by futureal
That same query works just fine for me. What kind of error is it giving you?

Here it is in action:
http://www.shadowsofnamek.com/forum/...pscoreboard&s=

I am having way too much fun messing with this leaderboard. I am going to go play a round of frisbee golf, and when I get back I have some more ideas to mess with.
I need that urgently!!! how can I do that ?
  #748  
Old 08-23-2002, 09:04 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by futureal
That same query works just fine for me. What kind of error is it giving you?

Here it is in action:
http://www.shadowsofnamek.com/forum/...pscoreboard&s=

I am having way too much fun messing with this leaderboard. I am going to go play a round of frisbee golf, and when I get back I have some more ideas to mess with.
Looking good, given me some ideas for the Arcade hack leaderboards
  #749  
Old 08-23-2002, 09:16 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are two issues with the actual Flash game (Tetris) I'd like to bring up. One is a suggestion, the other is a possible bug.

1. Suggestion: On the introduction screen (after the Loading), there could be a way to bypass it and go straight to the game. I know it only lasts a few seconds, but when you're on a roll, trying to get the next high score, it's seconds of agony waiting for the game to hurry up and frickin' start.

2. Problem: I don't know the level number, but it's the one that starts with a single line going all the way across the screen, closer to the top, with a two-block-wide hole near the middle. If you get a zig-zag-shaped piece right away, and fill in the hole in that line, the line does not disappear right away. The line does not disappear until you drop the next piece. It doesn't matter where you drop the next piece, and obviously, you can't make a solid line with it, but as soon as you drop it, the line you made with the first piece then disappears. I hope you can understand what I'm saying.
  #750  
Old 08-23-2002, 09:42 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re what JJr512 said, I'd noticed this as well, but I think it's designed that way.
  #751  
Old 08-23-2002, 10:17 PM
kypdurron's Avatar
kypdurron kypdurron is offline
 
Join Date: Dec 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If Im using Ie6, after playing for awhile, I get a "access denied" error when the game is over...why is that and how can I disable it?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05254 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete