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

Reply
 
Thread Tools
Arcade Pass Hack v2.0 Details »»
Arcade Pass Hack v2.0
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-17-2002 Last Update: Never Installs: 66
 
No support by the author.

Arcade Pass Hack v3 is here!
vB2: https://vborg.vbsupport.ru/showthread.php?t=62060 (for futureal's vbProArcade Beta 2)
vB3: https://vborg.vbsupport.ru/showthread.php?t=62059 (for John's v3 Arcade)

Show Your Support

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

Comments
  #92  
Old 02-25-2003, 09:36 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah man, no one zipped the templates for tbs easy installation, i might have to do it

/clicks install
Reply With Quote
  #93  
Old 02-25-2003, 09:55 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the templates for you guys and gals
Reply With Quote
  #94  
Old 03-02-2003, 01:34 PM
lynda's Avatar
lynda lynda is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had no problems at all getting this to work with beta2. The store.php changes remain the same.

Here are the differences I found:

In proarcade.php, instead of this:
PHP Code:
      if ($newscoreid==$thisid) {
        
$foundscore 1;
      }

    } 
Find this:
PHP Code:
          if ($newscoreid==$thisid
That was the only change different than suggested for that file.

In proarcadeadmin.php find this:
PHP Code:
    $DB_site->query("UPDATE arcadegames
                     SET name='
$name', title='$title', description='$desc', filename='$filename', hashoffset='$hashoffset',
                         "
.iif(($championdata != "") || ($deletechampicon == 1),"championpicname='$championicon_name', championpicdata='$championdata',","")."
                         "
.iif(($thumbdata != "") || ($deletethumb == 1),"thumbnailname='$thumbnail_name', thumbnaildata='$thumbdata',","")."
                         active='
$active', scorevar='$scorevar', gamecode='$gamecode',championactive='$championactive',championtext='$championtext',championcolor='$championcolor'
                     WHERE gameid='
$gameid'"); 
Replace with this:
PHP Code:
    $DB_site->query("UPDATE arcadegames
                     SET name='
$name', title='$title', description='$desc', filename='$filename', hashoffset='$hashoffset',
                         "
.iif(($championdata != "") || ($deletechampicon == 1),"championpicname='$championicon_name', championpicdata='$championdata',","")."
                         "
.iif(($thumbdata != "") || ($deletethumb == 1),"thumbnailname='$thumbnail_name', thumbnaildata='$thumbdata',","")."
                         active='
$active', scorevar='$scorevar', gamecode='$gamecode',championactive='$championactive',championtext='$championtext',championcolor='$championcolor',playcost='$playcost',jackpot='$jackpot',jackpotadd='$jackpotadd'
                     WHERE gameid='
$gameid'"); 
Find this:
PHP Code:
  $DB_site->query("INSERT INTO arcadegames (name,title,description,filename,active,hashoffset,scorevar,gamecode,championactive,championtext,championcolor"
                                            
.iif($championdata != "",",championpicname,championpicdata","")
                                            .
iif($thumbdata != "",",thumbnailname,thumbnaildata","").")
                   VALUES ('
$name','$title','$desc','$filename','$active','$hashoffset','$scorevar','$gamecode','$championactive','$championtext','$championcolor'"
                           
.iif($championdata != "",",'$championicon_name','$championdata'","")
                           .
iif($thumbdata != "",",'$thumbnail_name','$thumbdata'","").")"); 
Replace with this:
PHP Code:
  $DB_site->query("INSERT INTO arcadegames (name,title,description,filename,active,hashoffset,scorevar,gamecode,championactive,championtext,championcolor,playcost,jackpot,jackpotadd"
                                            
.iif($championdata != "",",championpicname,championpicdata","")
                                            .
iif($thumbdata != "",",thumbnailname,thumbnaildata","").")
                   VALUES ('
$name','$title','$desc','$filename','$active','$hashoffset','$scorevar','$gamecode','$championactive','$championtext','$championcolor','$playcost','$jackpot','$jackpotadd'"
                           
.iif($championdata != "",",'$championicon_name','$championdata'","")
                           .
iif($thumbdata != "",",'$thumbnail_name','$thumbdata'","").")"); 
Find this:
PHP Code:
 $DB_site->query("UPDATE arcadeconfig
                   SET active='
$active',path='$thepath'
                       "
.iif(($addgroup != 0) or ($delgroup != 0),",useraccess='$useraccess'","")."
                       ,usescoreicons='
$usescoreicons',usekingicon='$usekingicon',usedetailicons='$usedetailicons'
                       "
.iif(($scoreicondata != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scoreicondata'","")."
                       "
.iif(($topscoreicondata != "") || ($deletetopscoreicon == 1),",topscoreiconname='$topscoreicon_name', topscoreicondata='$topscoreicondata'","")."
                       "
.iif(($kingicondata != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingicondata'","")."
                       "
.iif(($userdetailicondata != "") || ($deleteuserdetailicon == 1),",userdetailiconname='$userdetailicon_name', userdetailicondata='$userdetailicondata'","")."
                       "
.iif(($gamedetailicondata != "") || ($deletegamedetailicon == 1),",gamedetailiconname='$gamedetailicon_name', gamedetailicondata='$gamedetailicondata'","")."
                   WHERE arcadeid='
$arcadeid'"); 
Replace with this:
PHP Code:
  $DB_site->query("UPDATE arcadeconfig
                   SET active='
$active',path='$thepath'
                       "
.iif(($addgroup != 0) or ($delgroup != 0),",useraccess='$useraccess'","")."
                       ,usescoreicons='
$usescoreicons',usekingicon='$usekingicon',usedetailicons='$usedetailicons'
                       "
.iif(($scoreicondata != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scoreicondata'","")."
                       "
.iif(($topscoreicondata != "") || ($deletetopscoreicon == 1),",topscoreiconname='$topscoreicon_name', topscoreicondata='$topscoreicondata'","")."
                       "
.iif(($kingicondata != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingicondata'","")."
                       "
.iif(($userdetailicondata != "") || ($deleteuserdetailicon == 1),",userdetailiconname='$userdetailicon_name', userdetailicondata='$userdetailicondata'","")."
                       "
.iif(($gamedetailicondata != "") || ($deletegamedetailicon == 1),",gamedetailiconname='$gamedetailicon_name', gamedetailicondata='$gamedetailicondata'",", passtimeout='$passtimeout', epergamecost='$epergamecost', earcadepass='$earcadepass', eaph='$eaph', ejackpot='$ejackpot'")."
                   WHERE arcadeid='
$arcadeid'"); 
The rest of the makeextrainputcode find/replaces are correct.
Reply With Quote
  #95  
Old 03-10-2003, 01:52 AM
Colon33
Guest
 
Posts: n/a
Default

Anyway to make this same hack work with the ITEMSHOP points system? To allow people to play the arcade only when enough posting points is acquired?
Reply With Quote
  #96  
Old 03-11-2003, 03:31 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what query do a need to run to reset the highscores?
Reply With Quote
  #97  
Old 03-11-2003, 10:26 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Colon - It should be simple enough to edit it work with the itemshop. I'll boot up Apache and work on it for you.

@Opie - [sql]DELETE FROM arcadescores;
DELETE FROM arcadetopscores;[/sql]
Reply With Quote
  #98  
Old 03-13-2003, 04:03 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have those tables Link.
Reply With Quote
  #99  
Old 03-13-2003, 02:45 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those are Beta 2 tables so I guess you're using Beta 1. In that case...

[sql]DELETE FROM arcade;[/sql]
Reply With Quote
  #100  
Old 03-13-2003, 06:38 PM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #101  
Old 03-23-2003, 12:54 PM
DigitalDesktops DigitalDesktops is offline
 
Join Date: Mar 2003
Location: Scotland, UK
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make each game cost different?

Example:

Breakout 0
Pacman 0
Snake 0
Simon Says 5
Space Invaders 5
Tetris 5
Plasma 10
Worn 10
Hexxagon 10

EDIT: nvm i found it in the Arcade CP
Reply With Quote
Reply


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 07:33 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.05054 seconds
  • Memory Usage 2,372KB
  • 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
  • (8)bbcode_php
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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