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
  #342  
Old 08-16-2002, 04:26 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$_SERVER['HTTP_REFERRER'] is not that reliable.

You could also put an extra useless value in the play action:

PHP Code:
$useless_value="100"
And then by reg action you can use something like this:

PHP Code:
if ($action == "reg" && $useless_value == 100) { 
  #343  
Old 08-16-2002, 04:34 PM
Stuwee Stuwee is offline
 
Join Date: Aug 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Lesane
$_SERVER['HTTP_REFERRER'] is not that reliable.

You could also put an extra useless value in the play action:

PHP Code:
$useless_value="100"
And then by reg action you can use something like this:

PHP Code:
if ($action == "reg" && $useless_value == 100) { 
This also wouldn't be possible since the script is called *again* when the score is submitted, and hence any vars set when the user was playing won't still be set... I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.

Back to the drawing board .
  #344  
Old 08-16-2002, 06:04 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I intergrate this with Who's Online?
  #345  
Old 08-16-2002, 06:08 PM
Keta Keta is offline
 
Join Date: Nov 2001
Location: michigan
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack will be installing
  #346  
Old 08-16-2002, 06:19 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, Lesane Vs. Stuwee - battle of the brains!
  #347  
Old 08-16-2002, 06:41 PM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can integrate this into your who's online by opening root/online.php

first find

case 'printthread.php':
$userinfo[activity] = 'printthread';
$blowup = explode('=', $token1);
$threadid = intval($blowup[1]);
$threadids .= ",$threadid";
$userinfo[threadid] = $threadid;
break;

+++++++ do not add this divider ++++++++

and AFTER THAT add

++++++ do not add this divider +++++++++

case 'tetris.php':
$userinfo[activity] = 'tetris';
break;

++++++ do not add this divider +++++++++

then find

+++++++do not add this divider ++++++++

case 'calendar':
$userinfo[where] = "Viewing <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>";
break;

+++++++ do not add this divider ++++++++++++

and AFTER IT ADD

+++++++ do not add this divider ++++++++++++

case 'tetris':
$userinfo[where] = "Going for the King of Tetris Crown";
break;

++++++do not add this divider ++++++++++++++

save , and upload.

** As always , when you are installing a new hack , create a new folder called ' backup ( name of hack ) ' and before you do ANYTHING put the files that you are modifying in there. ALWAYS back your file up , that way if the modded file does not work , you simply upload the one from your new folder.

I added this to my root/online.php on version 2.2.6 and it works just fine.

I put " Going for the King of Tetris Crown " because I also have the crown hack installed.

enjoy.
  #348  
Old 08-16-2002, 06:47 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick note, i'm not sure if anyone else has said this or not, but one of my users has just reported that he got a score of 108697 once he had completed the game - not dieing early but actually getting to the end...

He says that the score did not update or anything, might this be a bug?
  #349  
Old 08-16-2002, 06:50 PM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had users tell me the same thing
  #350  
Old 08-16-2002, 06:56 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xxxsaint
I've had users tell me the same thing
I've just had to manually add a score for one of my new members because he compained about it LOL
  #351  
Old 08-16-2002, 07:28 PM
Souly Souly is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx to john.eovie for the Great Hack.

I installed teris and the addon yesterday and now more and more from my users send me PM?s and say that after Lvl10 (theEND) no Score ist updated and the Site ist not refreshed to the leaderboard
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 01:00 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.08625 seconds
  • Memory Usage 2,313KB
  • 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
  • (4)bbcode_php
  • (2)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