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)

BigJohnson 08-23-2002 03:15 PM

What is wrong with doing a store with the tetris one?

I was waiting for that one. I had my hopes up for that great hack. I would do anything to see that hack.

Why did u change ur mind and deside not to do it?

Ed FvC 08-23-2002 03:25 PM

F it. It's not that important.

John 08-23-2002 03:27 PM

I just thought people would prefer a store add on for the arcade hack, with more games - rather than just the tetris hack.

If there's enough demand, I'll do both.

John 08-23-2002 03:27 PM

Quote:

Originally posted by Ed FvC
F it. It's not that important.
k :D

If you enable "Record highest scores only" from the start, you essentially get the same thing.

Lesane 08-23-2002 04:56 PM

Quote:

Originally posted by john.eovie
Ok, there's a problem.

I can't get my head round the whole "display highest scores only" thing (where the member's highest score appears in the leaderboard only.).

I've tried to get help in vBorg, but no-one will help. The people who I have spoken to seem to think it's too difficult. Shall I spend some more time on it, or scrap the idea?

I can look @ it if you want, pm me the problem.

John 08-23-2002 04:58 PM

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.

Lanigironu 08-23-2002 05:46 PM

I suppose you could do it the server intensive way by having it go through each member, check if they have a score, and if so get the the highest one. But that might cause problems with bigger boards.

John 08-23-2002 05:47 PM

Already thought of that, it would be VERY server intensive

Lanigironu 08-23-2002 06:06 PM

Then you could just go through the inputted scores, set the score it gets to a variable and just compare it every time it finds another score by that user. If the score it found is bigger than the one in the variable, it replaces it.

I can get you the code for this if you want, but I'll need your table structure.

Heineken77 08-23-2002 06:35 PM

No news on why my screen is stuck on loading...? :(

http://nba2k3.net/forum/tetris.php


All times are GMT. The time now is 04:53 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
  • Page Generation 0.02060 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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