![]() |
Thanks for mod; it's very nice.
However, there is a fundamental problem with the odds. When you enter the normal odds format, e.g. 2/1 the odds are also displayed in decimal format, e.g. 2.0. The problem is that the coversion is not correct. 2/1 is 3.0 in decimal odds, not 2.0 as it currently displays. The conversion formula is divide and add one. Decimal odds reflect your total payback based on a bet of 1 unit, so if you were to bet £1 at decimal odds of 3.0, if your bet won you would receive £3 back; effectively £2 in winnings and your £1 stake. Normal odds don't take into account the stake returned, so 2/1 means for every 1 unit bet you will receive 2 units in winnings. However, you will also receive your stake back. Thus, if you were to bet £1 at odds of 2/1, if you bet won you would receive £2 in winnings and your £1 stake; £3 total |
Quote:
|
Quote:
An unrelated question, if I want to use vCash, where can I manually add funds to users accounts? Let's say I am running a weekly comp, and I want to reset everyone to 1000 each week for example.... |
2/1 is 2.0.
For every 1 $ placed you win 2 $ + you get your stake back, so that's 3 $ in total. |
Quote:
In sports betting, all decimal pricing includes the "initial stake". With fraction odds, you get to see "2 parts" in the X/Y format: 5/1 X = 5 = profit Y = 1 = Initial stake Total = 6 Because in decimal pricing, there is only "1 part", it includes both X + Y so that the user knows if they bet 1 unit, they will get back X + Y total I hope this makes sense, I've been gambling too long so this part I am definitely sure of :) I just want to say thanks so much for this! I'm busy setting up a forum with it in use :D p.s. I just found the Wiki entry for it, I hope it helps to confirm: http://en.wikipedia.org/wiki/Fixed-odds_gambling |
Well, i'ts just a matter of how to skin the cat ;)
Doesn't affect payouts so it isn't a big deal, is it? [high]* Andreas doesn't have any clue of betting nor did I ever use this Hack, so sorry for my lack of knowlegde.[/high] |
Quote:
Do you know where I can change the code to add the 1? My forum is going to be for gamblers and they are definitely going to complain lol... |
** No guarantees **
In Plugin vBookie: Show Events in Showthread PHP Code:
PHP Code:
In vbookie.php (each bit might appear multiple times) PHP Code:
PHP Code:
PHP Code:
|
Quote:
It worked!!! :) Thanks so much for your time..... I really appreciate it! |
Quote:
Don't worry ... upgraded anyway. |
All times are GMT. The time now is 02:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|