vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Addon Vbcasino hack ( default payouts ) (https://vborg.vbsupport.ru/showthread.php?t=93756)

micheal332001 08-05-2005 10:00 PM

Addon Vbcasino hack ( default payouts )
 
Hi all

This is my first hack for a VB site so lets get to it.

This hack will add a few options to your casino options in the admincp.
These options will let you set the payout amount for 1 point stake for the slots.


I.E say you set a default payout for the apples to 100.
Then a player plays the slots and he/she stakes 1 point to play and gets 3 apples he/she will win 100 points, But if he/she stakes 10 points and wins 3 apples he/she will get 100 * 10 a total of 1000 points.

There is 2 database to add too and 1 template change
there is also 2 files changes they are in this zip file.

This hack will only take you about 5 mins tops to install.

boo.3 08-07-2005 01:55 AM

nice hack

MorrisMcD 08-07-2005 02:39 AM

sweet... Thanks for doing this...

MorrisMcD 08-07-2005 02:52 AM

FYI

Your instructions state

Quote:

ALTER TABLE vb3_lottery_settings ADD resetjackpot int(11) NOT NULL default '50000',
ADD bananapayout int(10) NOT NULL default '250',
ADD orangepayout int(10) NOT NULL default '150',
ADD applepayout int(10) NOT NULL default '75'
It Should be

Quote:

ALTER TABLE lottery_settings ADD resetjackpot int(11) NOT NULL default '50000',
ADD bananapayout int(10) NOT NULL default '250',
ADD orangepayout int(10) NOT NULL default '150',
ADD applepayout int(10) NOT NULL default '75'
Other than that... Worked well

pepel13 08-07-2005 03:10 AM

This code bellow would be better ;)

Code:

ALTER TABLE " . TABLE_PREFIX . "lottery_settings
ADD resetjackpot int(11) NOT NULL default '50000',
ADD bananapayout int(10) NOT NULL default '250',
ADD orangepayout int(10) NOT NULL default '150',
ADD applepayout int(10) NOT NULL default '75'


micheal332001 08-07-2005 09:44 AM

Hi there

Glad you like the hack the reason i did not put " . TABLE_PREFIX . "
Is you are using the ALTER TABLE in the phpMyAdmin so the
" . TABLE_PREFIX . " will not work so in the read me file it says to change vb3_ to your
prefix.

I am working on a new slots stats page in flash this will pull all the info from your database and display it in a flash movie.

MorrisMcD 08-07-2005 12:31 PM

Quote:

Originally Posted by micheal332001
in the read me file it says to change vb3_ to your
prefix.

Oops.. I didnt even notice that.. My bad... Again, nice addon...

micheal332001 08-07-2005 12:55 PM

your welcome m8

I will let you know if there is any more addons ready for this as i have them

adamgessel 08-07-2005 04:21 PM

Thank you, micheal332001, it has been added to our page for vbcasino (https://vborg.vbsupport.ru/showthread.php?p=749245).

MorrisMcD 08-08-2005 02:16 AM

Quote:

Originally Posted by micheal332001
your welcome m8

I will let you know if there is any more addons ready for this as i have them

I'd love to see a stats page for each game.. Just an idea.. ;)

micheal332001 08-08-2005 08:01 AM

i am working on some thing like this at the moment will let you know

Q-v-n-s-Q 09-07-2005 07:54 PM

casino hack are ********, useless

micheal332001 09-07-2005 08:29 PM

Quote:

Originally Posted by Q-v-n-s-Q
casino hack are ********, useless

ok you thing the casino hacks are ***** but there is no need for the swearing
as its not nice. and if you look at the hacks people do weather it be for the casino or other ones, they are there if you want them so please dont swear its not nice for others. Also most hacks may not be for you they are what they want on there site and want to share it with everyone. you dont have to like it or install it.

Everyone is intitled to his or her opinion but swearing is not the way to express yourself.

lonely 09-08-2005 11:38 PM

great hack, thank you

micheal332001 09-19-2005 05:31 PM

Quote:

Originally Posted by lonely
great hack, thank you

You are very welcome m8

HHU 09-22-2005 12:31 AM

Micheal, are you able to help me out installing the casino hack, i'm getting an error on step 3 of the installation process.

And then I can install this after... Thanks

micheal332001 09-22-2005 07:34 AM

Hi there m8

What is the problem you are having with the hack.
I know step 3 is the install of the setting to the vbcasino.
I will have alook at the code and post a fixed install file for you later today.
The only other way is for you to give me access to your database so i can take alook.
But it would be better if i could get this sorted with out going to your database.

I will have alook and see if i can fix for you.
What version of the vbcasino are you using and have you got any of the vbcasino addons installed too.

Mike


All times are GMT. The time now is 05:02 AM.

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.01109 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete