PDA

View Full Version : Addon Vbcasino hack ( default payouts )


micheal332001
08-05-2005, 10:00 PM
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

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

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 ;)

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
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
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
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
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