Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #12  
Old 09-18-2002, 09:20 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FAQ:

What versions of the Store hack is this compatable with?
This hack is compatible with v1.3 and v2 of the store hack.

Enjoy! :banana:
Reply With Quote
  #13  
Old 09-18-2002, 09:36 PM
joeboo's Avatar
joeboo joeboo is offline
 
Join Date: Jun 2002
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks awesome, i'll install it later today
Reply With Quote
  #14  
Old 09-18-2002, 10:45 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 things I found that are somehow not correct.

1. In the install file it says you use "jackpotinc" a few times where it should be "jackpotadd" which is what you use.

2. Updating the main arcade options didn't work anymore so instead of replacing the sql queries I just put the new stuff before this stuff:
PHP Code:
.iif(($scoreicon != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scorei_d'","")."
                       "
.iif(($kingicon != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingi_d'",", 
You should look at those parts.

Also this is not correct in the upgrade from my hack instructions:

-+-+-+
Find:
-+-+-+

PHP Code:
  $playcost $gameinfo[playcost];
  
$jackpot $gameinfo[jackpot];
  
$jackpotinc $gameinfo[jackpotinc];

  
$storepoints $DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
  
$points=$storepoints[storep];
  if (
$points 0)
  {
$points -= $playcost;
   
$DB_site->query("UPDATE user SET storep=$points WHERE userid=$bbuserinfo[userid]");

   
$jackpot += $playcost $jackpotinc;
   
$DB_site->query("UPDATE arcadegames SET jackpot=$jackpot WHERE name='$game'");   

   
// query string and param lists must be eval'd since it contains PHP vars
   
eval("\$vpa_qstring = \"$gameinfo[querystring]\";");
   eval(
"\$vpa_oparams = \"$oparams\";");
   eval(
"\$vpa_eparams = \"$eparams\";");
  
    
// get the code to call the game, then send the page
   
eval("\$gamecode = \"".gettemplate("vbproarcade_playgame_flashcode")."\";");
   eval(
"dooutput(\"".gettemplate('vbproarcade_playgame')."\");");
  }
  else
  {eval(
"dooutput(\"".gettemplate('vbproarcade_playgame_nopoints')."\");");} 
-+-+-+-+-+-+
REMOVE IT!
-+-+-+-+-+-+

It should be:

-+-+-+
Find:
-+-+-+

PHP Code:
  $playcost $gameinfo[playcost];
  
$jackpot $gameinfo[jackpot];
  
$jackpotinc $gameinfo[jackpotinc];

  
$storepoints $DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
  
$points=$storepoints[storep];
  if (
$points 0)
  {
$points -= $playcost;
   
$DB_site->query("UPDATE user SET storep=$points WHERE userid=$bbuserinfo[userid]");

   
$jackpot += $playcost $jackpotinc;
   
$DB_site->query("UPDATE arcadegames SET jackpot=$jackpot WHERE name='$game'");   

   
// query string and param lists must be eval'd since it contains PHP vars
   
eval("\$vpa_qstring = \"$gameinfo[querystring]\";");
   eval(
"\$vpa_oparams = \"$oparams\";");
   eval(
"\$vpa_eparams = \"$eparams\";");
  
    
// get the code to call the game, then send the page
   
eval("\$gamecode = \"".gettemplate("vbproarcade_playgame_flashcode")."\";");
   eval(
"dooutput(\"".gettemplate('vbproarcade_playgame')."\");");
  }
  else
  {eval(
"dooutput(\"".gettemplate('vbproarcade_playgame_nopoints')."\");");} 
-+-+-+-+-+-+
Replace with:
-+-+-+-+-+-+

PHP Code:
   // query string and param lists must be eval'd since it contains PHP vars
   
eval("\$vpa_qstring = \"$gameinfo[querystring]\";");
   eval(
"\$vpa_oparams = \"$oparams\";");
   eval(
"\$vpa_eparams = \"$eparams\";");
  
    
// get the code to call the game, then send the page
   
eval("\$gamecode = \"".gettemplate("vbproarcade_playgame_flashcode")."\";");
   eval(
"dooutput(\"".gettemplate('vbproarcade_playgame')."\");"); 
Reply With Quote
  #15  
Old 09-18-2002, 10:49 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly, I use jackpotadd, and it says to replace the jackpotinc, which you use.

Second, whoops, got a little lazy by the time I was making the upgrade file. Hold on.....
Reply With Quote
  #16  
Old 09-18-2002, 10:57 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am wondering how that happened. I took the code straight from my proarcadeadmin, and mine was right

Oh, and the part you mentioned is corrected. On a superfluos note, you forgot the } and the end.
ZIP Updated.
Reply With Quote
  #17  
Old 09-18-2002, 11:01 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhm:
-----------------------------------------------
ALTER TABLE `arcadegames` ADD `playcost` int(255) NOT NULL default '10', ADD `jackpot` int(255) NOT NULL default '0', ADD `jackpotadd` int(255) NOT NULL default '5';
-----------------------------------------------
-+-+-+-+-+-+-+-+
Replace With:
-+-+-+-+-+-+-+-+

$DB_site->query("UPDATE arcadegames
SET name='$name', title='$title', description='$desc', filename='$filename',
".iif(($thumbdata != "") || ($deletethumb == 1),"thumbnailname='$thumbnail_name', thumbnaildata='$thumbdata',","")."
active='$active', scorevar='$scorevar', width='$width', height='$height',
codebase='$codebase', querystring='$querystring', objectparam='$objectparams',
embedparam='$embedparams',championactive='$champio nactive',championtext='$championtext',championcolo r='$championcolor',playcost='$playcost',jackpot='$ jackpot',jackpotinc='$jackpotadd'
WHERE gameid='$gameid'");
--------------------------------------------------------------------
It just doesn't seem right to me.
Reply With Quote
  #18  
Old 09-18-2002, 11:05 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said above, something with the instructions screwed up (dunno what, it was right on my proarcadeadmin.php), so the zip is updated.
Reply With Quote
  #19  
Old 09-18-2002, 11:22 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have set all options to yes so you either need a pass or pay 1 credit. I tested this on the Tetris game where 1 user already is 1st (and got the jackpot). I then just quickly lost and ended 2nd. I didn't loose a credit. I also didn't buy a pass.

Also some of the jackpots have 10 credits in them but the jackpot column on the main arcade page is empty. What gives?
Reply With Quote
  #20  
Old 09-18-2002, 11:24 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you didn't modify the store.php, proarcade.php and proarcadeadmin.php more than with your own hack, could you upload those?
Reply With Quote
  #21  
Old 09-18-2002, 11:27 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok then, I will, hold on.........
Reply With Quote
Reply

Thread Tools

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:06 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.05273 seconds
  • Memory Usage 2,329KB
  • 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
  • (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
  • (3)pagenav_pagelink
  • (1)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