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)
-   -   futureal vBProArcade and Lesane Store hack addon (updated) (https://vborg.vbsupport.ru/showthread.php?t=43309)

Dark Jim 09-07-2002 09:00 PM

futureal vBProArcade and Lesane Store hack addon (updated)
 
Small update on 09-15-02
You can now set an amount that will be put extra in the jackpot each time a user pays to play a game.

Updated (now beta 2)
I added configurable cost for each game in the admin cp. Also when you pay for a game that money goes into that game's jackpot. I have yet to make the jackpot give money to the winners automatically (read the To do list in the updated text attachment) but for the time being an admin can manually emtpy the jackpot and give certain percentages to the 1st, 2nd and 3th placed members of each game.

Pics (not really much to see though)
Viewing the main arcade menu
Editting a game in the admin cp

Old post
-----------------------------------------------------------------------------------
Not sure where to put this so I made a new topic. What this does is take 1 point every time you play a game. If you don't have enough points (0) then you will get a message that you don't have enough points to play the game. Obviously you need both the vBProArcade and Store hack for this. I may add more stuff such as admin cp controlable cost and whatmore but for now enjoy this simpe but nice addon. :)

Edit: As long as the vBProArcade is in beta I will keep this addon in the beta forum too.
-----------------------------------------------------------------------------------

Dark Jim 09-08-2002 12:51 PM

Outdated. Added attachment instead.

Link14716 09-08-2002 06:48 PM

Damn, I was hoping it'd give you money by playing the games (i.e. when you hit first place, x amount of points, 2nd, y amount of points, etc.)

Dark Jim 09-08-2002 07:12 PM

That would require me to edit the game files I think and I dunno how. But I use the thing posted in my 2nd post to donate my credits to the 1st placed members each week and then resetting the scores. What you suggested would be even better. Is there a free editor for the game files?

NTLDR 09-08-2002 07:33 PM

You can get all the variables score etc from the proarcade.php you don't actually need to edit the flash files.

Dark Jim 09-08-2002 07:34 PM

Hmm ok, I will look into it. :) No promises though.

NTLDR 09-08-2002 07:44 PM

I don't have the store hack installed or know exactly how it operates, but the score from the game is given to the variable $thescore and the section you will want to look at starts:

PHP Code:

// register a new score  
if ($action == "gameover") {

  if (
$thescore != 0) { 

ie, the screen when the game has finished. Hope that helps a bit ;)

Dark Jim 09-08-2002 09:33 PM

Argh, it's good it's still in this forum as 1 of my users already found away to play free games. Will fix this tomorrow.

mewgood 09-09-2002 04:35 AM

hm..
how do you set that how much you need to play each game?
like 300points or gold to play snake etc..

Dark Jim 09-09-2002 07:30 AM

I have to go to work soon, after that I will look into it adding different costs for each games and making the costs changable in the admin cp.


All times are GMT. The time now is 11:10 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.01493 seconds
  • Memory Usage 1,733KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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