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

This is not the thread to ask that in, netware.

Stop the repeated posting mewgod! I check up on my hacks but no one wanted to post here so it started going ignored. If you made all of the edits to proarcadeadmin.php, then it works.
Reply With Quote
  #43  
Old 10-10-2002, 11:22 PM
mewgood mewgood is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did
but it just the same
it won't change..
Reply With Quote
  #44  
Old 10-11-2002, 12:20 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

$DB_site->query("UPDATE arcadeconfig
                   SET path='$thepath',usescoreicon='$usescoreicon',usekingicon='$usekingicon'
                       ".iif(($scoreicon != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scorei_d'","")."
                       ".iif(($kingicon != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingi_d'","")."
                   WHERE arcadeid='$arcadeid'");

-+-+-+-+-+-+-+-+
Replace With:
-+-+-+-+-+-+-+-+

  $DB_site->query("UPDATE arcadeconfig
                   SET path='$thepath',usescoreicon='$usescoreicon',usekingicon='$usekingicon'
                       ".iif(($scoreicon != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scorei_d'","")."
                       ".iif(($kingicon != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingi_d'",", passtimeout='$passtimeout', epergamecost='$epergamecost', earcadepass='$earcadepass', eaph='$eaph', ejackpot='$ejackpot'")."
                   WHERE arcadeid='$arcadeid'");
It works, trust me.
Reply With Quote
  #45  
Old 10-11-2002, 12:57 AM
mewgood mewgood is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no
not working
here ism y proarcadeadmin.php
Reply With Quote
  #46  
Old 10-11-2002, 01:32 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dunno how you pulled this one over me.

It IS being submitted, I can tell you that.
But for some reason, yours won't update the field. Looking in my proarcadeadmin.php file, the problem line is exactly the same, which is what wonders me.

One notable difference I see are the versions - and that is all. Let me look at your code some more...
Reply With Quote
  #47  
Old 10-11-2002, 01:38 AM
mewgood mewgood is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what codes?
I dont think it really matters the vb version
Reply With Quote
  #48  
Old 10-11-2002, 01:46 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I found where the problem is, I just don't know how to tell you how to fix it without replacing an entire action (fun fun). All I can say is cross your fingers!

Find:
PHP Code:
// ###################### Start GENERAL OPTIONS Update #######################
if ($action=="doupdateoptions") {

  
// only process the files if changes were made
  
if (is_array($HTTP_POST_FILES)) {

    if (
$HTTP_POST_FILES[scoreicon]['name'] != "")
      
$scoreicondata vpaupload("scoreicon");
    else
      
$scoreicondata "";

    if (
$HTTP_POST_FILES[kingicon]['name'] != "")
      
$kingicondata vpaupload("kingicon");
    else
      
$kingicondata "";

  } else {

    
$scoreicondata "";
    
$kingicondata "";

  }

  
$DB_site->query("UPDATE arcadeconfig
                   SET path='
$thepath',usescoreicon='$usescoreicon',usekingicon='$usekingicon'
                       "
.iif(($scoreicon != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scorei_d'","")."
                       "
.iif(($kingicon != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingi_d'",", passtimeout='$passtimeout', epergamecost='$epergamecost', earcadepass='$earcadepass', eaph='$eaph', ejackpot='$ejackpot'")."
                   WHERE arcadeid='
$arcadeid'");

  
// update champ system setting separately (saves queries!)
  
$DB_site->query("UPDATE setting SET value='$champsystem' WHERE varname='vpa_champsystem'");

  
// must update templates so site will reflect change
  
$optionstemplate=generateoptions();
  
$DB_site->query("UPDATE template SET template='$optionstemplate' WHERE title='options'");

  echo 
"<b>Arcade options updated!</b><br><br>";

  
// go back to change options screen
  
$action "changeoptions";



Replace it ALL with:
PHP Code:
// ###################### Start updateoptions #######################
if ($action=="doupdateoptions") {

  
// only process icons if changes were made
  
if ($scoreicon != "") {
  
    
// check for valid extension
    
$extension=strtolower(substr(strrchr($scoreicon_name,"."),1));
                   
    if ((
$extension != "gif") and ($extension != "jpg") and ($extension != "jpeg") and ($extension != "png")) {
  
      echo 
"vbProArcade Error: " $scoreicon_name " is not a valid file type for icons (only gif/jpg/png are supported)<br><br>";
      
$scoreicon "";
  
    } else {
 
      
// retrieve file data
      
$scorei_f fopen($scoreicon"r");
      
$scorei_d addslashes(fread($scorei_ffilesize($scoreicon)));  

    }
  }

  
// only process icons if changes were made
  
if ($kingicon != "") {
  
    
// check for valid extension
    
$extension=strtolower(substr(strrchr($kingicon_name,"."),1));
                   
    if ((
$extension != "gif") and ($extension != "jpg") and ($extension != "jpeg") and ($extension != "png")) {
  
      echo 
"vbProArcade Error: " $kingicon_name " is not a valid file type for icons (only gif/jpg/png are supported)<br><br>";
      
$kingicon "";
  
    } else {
 
      
// retrieve file data
      
$kingi_f fopen($kingicon"r");
      
$kingi_d addslashes(fread($kingi_ffilesize($kingicon)));  

    }
  }

  
$DB_site->query("UPDATE arcadeconfig
                   SET path='
$thepath',usescoreicon='$usescoreicon',usekingicon='$usekingicon'
                       "
.iif(($scoreicon != "") || ($deletescoreicon == 1),",scoreiconname='$scoreicon_name', scoreicondata='$scorei_d'","")."
                       "
.iif(($kingicon != "") || ($deletekingicon == 1),",kingiconname='$kingicon_name', kingicondata='$kingi_d'",", passtimeout='$passtimeout', epergamecost='$epergamecost', earcadepass='$earcadepass', eaph='$eaph', ejackpot='$ejackpot'")."
                   WHERE arcadeid='
$arcadeid'");

  
// update champ system setting separately (saves queries!)
  
$DB_site->query("UPDATE setting SET value='$champsystem' WHERE varname='vpa_champsystem'"); 

//  $DB_site->query("UPDATE template SET template=CONCAT(template,'vpa_champsystem = $champsystem') WHERE title='options'");

  
$optionstemplate=generateoptions();
  
$DB_site->query("UPDATE template SET template='$optionstemplate' WHERE title='options'");

  echo 
"<b>Arcade options updated!</b><br><br>";

  
// go back to change options screen
  
$action "changeoptions";


And I don't mean vB version, I mean arcade version.
Reply With Quote
  #49  
Old 10-11-2002, 02:30 AM
mewgood mewgood is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey
it workd!!!
Thx
Reply With Quote
  #50  
Old 10-11-2002, 08:20 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your Welcome. Remember to hit the "Install" buton!
Reply With Quote
  #51  
Old 10-12-2002, 12:17 AM
mewgood mewgood is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep
just did
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 05:37 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.07854 seconds
  • Memory Usage 2,348KB
  • 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_code
  • (2)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
  • (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