Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBookie - vBulletin Betting Hack Details »
vBookie - vBulletin Betting Hack
Mod Version: 1.00, by tjdrico (Member) tjdrico is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (5 votes - 4.80 average) Installs: 359
Released: 04 Jun 2004 Last Update: Never Downloads: 389
Not Supported  

vBookie

Introduction

vBookie is a 'bookmakers' or betting extension to vBulletin. It enables authorised members to post Events and Outcomes that forum members can bet on. Each Outcome has its own set of odds, and odds can be modified through the life of an Event (bets that are placed are stored with the prevailing odds, so even if the odds change, your users are paid at the correct rate).

Once the results are known, Events can be settled and forums members awarded their winnings.

vBookie uses its own vCash by default, but this has no more use than as 'bragging rights'. However, vBookie also comes with a built-in switch to allow it to use either uCash or Petz money instead. That means that all bets are paid for and settled using uCash or Petz money, making betting even more attractive than just for fun on forums with uShop/Petz installed. Although vBookie does not have any built-in facility to integrate with any other store hacks, it's a very simple job to hack vBookie itself to integrate it with any store/points system you care to use.

Features
  • master switch to turn vBookie off
  • option to use uCash
  • option to use Petz money
  • settings to restrict the creation of Events to specific user groups
  • settings to restrict which user groups can bet on Events
  • settings to restrict which user groups can edit or settle other people's Events
  • per-Event, specify whether punters may bet on more than one outcome
  • optional 'charity mode' so that the poorest members of the forum always have something to play with
  • supplied with a module for vBadvanced

Please click if you install this hack, thanks. Please also let me know - send me an email or a PM. If you'd let me know the forum URL too that'd be cool!

vBookie is free, and will remain free.

Updates

1.0.0 -> 1.0.1

- adds the ability to delete Events. See this post for upgrade instructions if you already have 1.0.0

1.0.1 -> 1.0.2

Corrected a minor bug with the charity mode when using uCash. See this post for manual upgrade instructions from 1.0.1.

1.0.2 -> 1.0.3

Corrected a minor bug with the richest people display when using uCash. Just overwrite includes/functions_vbookie.php with the one from the new Zip file.

1.0.3 -> 1.0.4

Corrected some date display problems when using "Detailed" dates. For manual update instructions, see this post.

Corrected Petz bug whereby all winnings were paid to the bet's owner rather than individual winners. To upgrade from 1.03 or earlier, see this post or overwrite includes/functions.vbookie.php with the 1.0.4 version.

Problems?

-> Petz - If you are using Petz there is a bug in all versions up to and inclusing 1.0.3. Your players won't get paid their winning, and all payouts will end up in the account of the person that posted the Event. To correct this, please see this post. This fix will be incororated into 1.0.4 onwards.

-> If you can't post Events, or can't bet on them make sure you have set your user permissions

-> If you have an SQL error Invalid SQL: UPDATE SET =25 WHERE <25 make sure you are using version 1.0.3 or later.

-> If you have any other general problems, please check the installation/hack instructions and make sure you have carried out all the steps and also check that you made the changes correctly

Anything else, ask in this thread.

Other Stuff

-> If you are using Detailed Date & Time display and have a problem with Event dates appearing as '1 Minute Ago', see this post.

-> If you want to use poster 'Reputation' as the currency for vBookie, see this post.

About Odds

Odds of "5/1" are "amount won per amount placed". This means that I would win 5 for every 1 placed. Of course, if I win, I get my stake back as well. Odds of "1/5" means that I win 1 for every 5 placed. I'd have to place 25 to win just 5.

Decimal Odds

Decimal odds are just another way of displaying the same information. 2.0 is the same as 2/1. 0.2 is the same as 1/5. vBookie only lets you specify odds in terms of x/y, but if you think in terms of decimal you can still work out what odds to provide. Simply think of your decimal odds as "2.0 / 1.0" or "0.5 / 1.0" and then multiply each side through by 10 or 100 until there are only zeros to the right of the decimal point, then just take the whole number part.

2.0 / 1.0 has no decimals, so this is the same as 2/1

0.5 / 1.0 has a 0.5, so multiply both parts by 10 to get 5.0 / 10.0. Then you can specify your odds as 5 / 10. You might also realise that this is the same as 1/2. The technique is a simple way to work out any odds you may need to specify.

Odds of 0.65 -> 0.65 / 1.0 -> 65.0 / 100.0 or 65/100. Then you can divide through by 5 to get to 13 / 20, although this step isn't necessary.


_______________________________________

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	post-event.gif
Views:	3485
Size:	100.7 KB
ID:	18957   Click image for larger version

Name:	open-event-display.gif
Views:	2913
Size:	61.9 KB
ID:	18958   Click image for larger version

Name:	settle-event-display.gif
Views:	2022
Size:	45.5 KB
ID:	18959   Click image for larger version

Name:	event-thread.gif
Views:	1347
Size:	6.6 KB
ID:	18960  

Click image for larger version

Name:	yes-post.gif
Views:	1762
Size:	5.6 KB
ID:	18961   Click image for larger version

Name:	main-page-main.gif
Views:	2240
Size:	37.3 KB
ID:	18962  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBookie for vBulletin 3.5 Andreas vBulletin 3.5 Add-ons 2436 06 Oct 2013 15:37

Comments
  #2  
Old 04 Jun 2004, 23:27
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
/me clicks install again
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #3  
Old 05 Jun 2004, 01:11
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
sounds excellent will install tomoz
Reply With Quote
  #4  
Old 05 Jun 2004, 01:36
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Real name: wayne
how and WHO organises the events? because i was thinking right, i own a car website and i thought members can each own a car and put cash into the pot and race eachother is that possible with this ?
Reply With Quote
  #5  
Old 05 Jun 2004, 02:45
dniMTheory dniMTheory is offline
 
Join Date: Apr 2003
Got it installed with no problems at all. Perfect instructions.

A few things.

1. My "open until" and "payout on" dates are the same as the time I posted the thread.
It just says "This event will pay out after 1 Minute Ago at 12:00 AM" even though i set the payout for two days from now. Same thing for event info.

2. I'm using Ucash and the display of richest people is way off.
Reply With Quote
  #6  
Old 05 Jun 2004, 07:50
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Can this be used to bet on real events such as sports? There would be no "odds" needed then. Simply wait until the end of the game and then someone would go enter the score. Is this possible with this?
Reply With Quote
  #7  
Old 05 Jun 2004, 09:44
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Apr 2004
Originally Posted by corsacrazy
how and WHO organises the events? because i was thinking right, i own a car website and i thought members can each own a car and put cash into the pot and race eachother is that possible with this ?
If you give them the right permissions, anyone can post events, but payouts are always made by "the system". It's not possible to win from another poster as such.
__________________
Old communities never die, they just respawn!
vBookie - a bookmaking extension for vB 3.0.0
User-optional Replacements-based Censorship for vB 3.0.0
Hide Threads Posted By Ignored Users for vB 3.0.0
Reply With Quote
  #8  
Old 05 Jun 2004, 09:46
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Apr 2004
Originally Posted by 006
Can this be used to bet on real events such as sports? There would be no "odds" needed then. Simply wait until the end of the game and then someone would go enter the score. Is this possible with this?
Do you mean just betting on "the winner"? If so you could just enter each team/participants name as an Outcome, with them all having Odds of 1/1. Then just select the winning team when you settle the bet. Everyone who bet on the winner would get their stake back plus the same amount again.
__________________
Old communities never die, they just respawn!
vBookie - a bookmaking extension for vB 3.0.0
User-optional Replacements-based Censorship for vB 3.0.0
Hide Threads Posted By Ignored Users for vB 3.0.0
Reply With Quote
  #9  
Old 05 Jun 2004, 09:53
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Apr 2004
Originally Posted by dniMTheory
Got it installed with no problems at all. Perfect instructions.

A few things.

1. My "open until" and "payout on" dates are the same as the time I posted the thread.
It just says "This event will pay out after 1 Minute Ago at 12:00 AM" even though i set the payout for two days from now. Same thing for event info.

2. I'm using Ucash and the display of richest people is way off.
1. I've never had that problem, so it's difficult to suggest what the reason is without access to your forum/event. I will try to replicate it. What timezone are you using?

2. The query I'm using is this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should work out something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


It might be that I don't understand uCash properly, as I don't really use it. I'll try to find out what's what and iron out any glitches.
__________________
Old communities never die, they just respawn!
vBookie - a bookmaking extension for vB 3.0.0
User-optional Replacements-based Censorship for vB 3.0.0
Hide Threads Posted By Ignored Users for vB 3.0.0
Reply With Quote
  #10  
Old 05 Jun 2004, 10:48
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Real name: Lucius Hunk
great, this is what I was asking hundreds of time. Thank you tjdrico !
going to install this soon
thanks again.
Reply With Quote
  #11  
Old 05 Jun 2004, 11:18
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
upgrade went mega smoothly
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #12  
Old 05 Jun 2004, 16:47
yl88 yl88 is offline
 
Join Date: Jan 2004
good job, i will install it later.
Reply With Quote
  #13  
Old 05 Jun 2004, 17:59
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Real name: John
/me clicks install again
__________________
Reply With Quote
  #14  
Old 05 Jun 2004, 19:34
xQuEeNzNaZcHox xQuEeNzNaZcHox is offline
 
Join Date: May 2003
I truly screwed up

www.nymfans.com
Reply With Quote
  #15  
Old 05 Jun 2004, 19:39
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Apr 2004
Originally Posted by xQuEeNzNaZcHox
I truly screwed up

www.nymfans.com
Screwed up the installation?
__________________
Old communities never die, they just respawn!
vBookie - a bookmaking extension for vB 3.0.0
User-optional Replacements-based Censorship for vB 3.0.0
Hide Threads Posted By Ignored Users for vB 3.0.0
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:03.

Layout Options | Width: Wide Color: