The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBookie - vBulletin Betting Hack Details »» | |||||||||||||||||||||||||
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
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. _______________________________________ Show Your Support
|
Comments |
#532
|
|||
|
|||
help i get this error when installing the database modifactions
Code:
Database error in vBulletin 3.0.6: Invalid SQL: CREATE TABLE vbookie_groups ( group_id SMALLINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY, group_title VARCHAR(255) NOT NULL ) TYPE=MyISAM mysql error: Invalid default value for 'group_id' mysql error number: 1067 Date: Thursday 28th of April 2005 04:45:09 PM Script: http://www.bodybuildingdungeon.com/forums/admincp/vbookie_install.php Referer: http://www.bodybuildingdungeon.com/forums/admincp/vbookie_install.php Username: **** IP Address: ****** |
#533
|
|||
|
|||
Read through the previous page.
|
#534
|
|||
|
|||
I'm having a problem getting the system to use UCASH and not VCASH.
I won't "not" show vcash or use the ucash to bet with. I have the option in the adminCP clicked and I have it correct on the postbit template. sample of the postbit: Malice Posts: 858 Join Date: Jan 2005 Location: Jerz Age: 22 Rep Power: 21 Points: 4653.30 (Donate) vCash: 0 What am I missing that's keeping the system from using the UCASH and not showing/using VCASH anymore? or is there a way I can get the ushop ubuy to run off of vcash? |
#535
|
||||
|
||||
This might of been asked already by someone, but I have a question...
Why do betters not get back the money they staked when placing a winning bet? Lets sat I bet 10 on an outcome with odds of 3/5, and won... vbookie only pays out 6 instead of 16 like it should! Why? |
#536
|
|||
|
|||
im gettin this error
Code:
Fatal error: Call to undefined function: construct_nav_option() in /home/bodybui/public_html/forums/admincp/index.php on line 454 |
#537
|
|||
|
|||
ok im in need of help big help!!!
im gettin this error when i click on a section at my forums Code:
Database error in vBulletin 3.0.6: Invalid SQL: SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg, post.pagetext AS preview, thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, vbookie_item_id, open, replycount, postusername, postuserid, thread.iconid AS threadiconid, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach , NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed , NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason FROM thread AS thread LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1) LEFT JOIN post AS post ON(post.postid = thread.firstpostid) WHERE thread.threadid IN (0,788,891,630,747,1080) ORDER BY sticky DESC, lastpost DESC mysql error: Unknown column 'vbookie_item_id' in 'field list' mysql error number: 1054 |
#538
|
|||
|
|||
it happens when i replace this code
Code:
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid, Code:
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, vbookie_item_id, open, replycount, postusername, postuserid, thread.iconid AS threadiconid, |
#539
|
|||
|
|||
anyone? please!
|
#540
|
||||
|
||||
Cant help you with that one, but a problem I encountered was when I used Dreamweaver to edit the files. It seemed to corrupt one. I would recommend trying the changes again and not using Dreamweaver (if indeed you are). Sorry I cant be much more help but Im very much a novice!
|
#541
|
|||
|
|||
When I go to make it active it never sticks on active... any advice?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|