vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProarcade requirements to play games addon (https://vborg.vbsupport.ru/showthread.php?t=58175)

Dark Jim 10-24-2003 10:00 PM

vbProarcade requirements to play games addon
 
Lately I was getting a lot of 0 post members, all because they just signed up to play in the arcade. And more bandwidth was being used because of this. So I decided to put in post count and time registered requirements and a points per play cost. First attachment is the instruction for the first 2 requirements. Second one is for those that also have the store hack installed.

This hack should work fine but I put it in the beta hacks forum until vbProarcade is no longer a beta hack.

sabret00the 10-25-2003 05:30 PM

you do know theirs a store hack add on for the arcade already right?

MindTrix 10-25-2003 06:46 PM

Whoops thats a shame. Suggestion : How about a hack then that doesnt require the store? But you can set how many posts etc a user has to have before they can play the arcade? Sorry for posting this here but i thought i might aswell seeing as this is an add on and sabret00the has pointed out its made already ;) And i babble on and on and on...........

Dark Jim 10-25-2003 09:33 PM

Erm this doesn't require the store. The first instructions is for adding a postcount and time registered requirement. The 2nd one is optional if you have the store. And as for that one, you probably mean the arcade pass hack but it's not working properly. The hack creator posted this in that thread: "This hack is very old, bug-ridden, and worthless. I no longer have vB2 installed to update this addon, however, I will rewrite it when the arcade is re-written for vB3."

gearshifter47 10-25-2003 11:16 PM

uhm, for some reason. the store addon isnt working, its supposed to cost 500 per game right? if i set it up for 500... but it isnt deducting the points.. not sure why..

Rampag33 10-26-2003 03:40 AM

Definitely someone I want on my forums. Waiting for a few more replys before installing.

MaDCaT75 10-26-2003 04:18 AM

Why not just add the arcade pass hack?

sabret00the 10-26-2003 07:17 AM

Quote:

Originally Posted by Dark Jim
Erm this doesn't require the store. The first instructions is for adding a postcount and time registered requirement. The 2nd one is optional if you have the store. And as for that one, you probably mean the arcade pass hack but it's not working properly. The hack creator posted this in that thread: "This hack is very old, bug-ridden, and worthless. I no longer have vB2 installed to update this addon, however, I will rewrite it when the arcade is re-written for vB3."

fyi, i've never had a problem with it :confused: it's a great hack

Dark Jim 10-26-2003 09:53 AM

Forgot 1 step in the 2nd attachment:

2.3. Find:
-----------------------------------------------------------------
// evaluate the code to call the game
$gcode = addslashes($gameinfo[gamecode]);
eval("\$gamecode = \"$gcode\";");
-----------------------------------------------------------------
2.3. Add below that:
-----------------------------------------------------------------
$DB_site->query("UPDATE user SET storep=storep-$arcadeinfo[pointsneeded] WHERE userid=$bbuserinfo[userid]");
-----------------------------------------------------------------

gearshifter47 10-26-2003 12:17 PM

nicely done Dark Jim! No bugs at least from what i can see. A+


All times are GMT. The time now is 01:45 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.04859 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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