![]() |
What's the code for adding 1 to the above bits to sort out the odds? I'm afraid I don't really know much in the way of coding.
Cheers. |
Quote:
|
After upgrading to 1.0.7 I now get repeated ...
Warning: Division by zero in /showthread.php(1909) : eval()'d code on line 78 ... when viewing a closed vBookie event thread, and also on new event threads. Looks like it appears once per outcome. Please can someone help me this time :) |
im lazy and didnt feel like searching through all 643 posts (though I did search the thread and couldnt find anything) but has parimutual or real time odds been implemented or would I need to hack it myself?
|
@dxguru
I don't think I changed anything to the showthread plugins. What's on line 78? @argash I don't even know what this is. So I guess it's not. |
Quote:
Original code PHP Code:
Changed this to PHP Code:
|
Erm ... the odds should be always > 0.
Doesn't make sense to have an outcome that could never win. |
I've seen odds of 1:2 on the betting sites before .. ie a $1 winning bet would return you $1.50 including your original bet (that's right isn't it?)
|
Yes, that's correct IMHO.
Though as said before, I don't have the slightest clue of gambling :D |
anyone having trouble with the permission not saving properly?
vBulletin Version: 3.5.4 |
Yes, that's a bug in the installation routine.
Just import the XML again or call admincp/index.php?do=buildbitfields |
yeah as soon as I posted that and dug through the forum a little I found that bit, but thanks for the fast response.
RTFM Thanks. :) |
Just wondering if you will ever have something with las vegas betting lines where you can change the lines and people bet different lines when they change.
Or a parley system? Thanks. |
Quote:
That post shows the basic forum of how it would work. Theres a few posts prior to it that go into a bit more detail. |
Quote:
Thanks :) |
Is there anyway to have the bets settle at the FINAL odds?
Currently, a user is paid at whatever the odds were at the time of the bet. I want to be able to go in after the event is over and edit the odds to reflect what the odds actually were at the END of the event, and have user bets paid off at the FINAL odds, which means every winner should be paid at the final odds, not the odds at the time the bet was made. This is akin to pari-mutuel wagering ala Horse Racing. Any idea how to alter the vbookie.php in order to payoff on whatever the FINAL odds were? Thanks in advance. |
Quote:
Why would you bat on something at odds of 5:1 when you know that after the event you may only be paid 1:1 (or worse)? |
I always thought that once you made a bet at X odds then no matter
how the odds change you will always be paid at X odds....?? |
The users will always be paid with the odds they bet on, no matter if you change the odds or not.
|
Yes I know this, but I want my users to be able to bet on a horse race using virtual cash....when you bet on horseracing in America, you are never really sure what the final odds will be until betting is closed. There can be major swings if you bet early. I want to simulate the pari-mutuel style of betting in order to run a contest.
My plan was to put up a morning line, have people bet, then when the race is closed, change the odds to the actual OFF odds of the race in question, and then people will be paid in virtual cash the same exact amount of money had they bet on the race in real life. Aren't there a few lines of code that can be added or changed to vBookie.php to have it calculate payouts based on the final odds instead of what the odds were when the person placed the bet? |
Even in pari mutuel style of betting your still paid at the odds you bet on at the time
|
Not anywhere in the U.S. If I bet on a horse race at 10 minutes to post, and the odds on my horse are 5-1, and when the race is finished and the betting is closed, the final odds are 3-1, I get paid at 3-1.....that's the way it has always been.....
Can anyone help me here? [PRIOR OFFER RECINDED] With my very limited knowledge of SQL and php coding, this doesn't seem like it should be that difficult a change.... |
Well this seems strange. I uploaded the files, imported the plugin, changed the permissions to the usergroups, but I only made the template change to newthread because I use ebux and don't need the postbit changes and my nav bar is cutom so don't really need that either......but yet when I make a new thread I can't get vbookie to show at the bottom so I can make a vbookie event. Any ideas?
|
|
weird I tried that before and nothing....but this time I re-imported it and then rebuil the bitfields and voila. Thanks.
|
oh I found what the problem was. I have a forum for mods only, and I cannot post a vbookie event in there.....however if I try to do it in any public forum it works fine.
|
hey andreas how can I make a link to vbookie.php in my quick links menu options?
I see in the instructions In Template navbar FIND -------------------------------------------------- <td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td> -------------------------------------------------- BELOW that ADD -------------------------------------------------- <td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td> is that the answer? cause I don't have that line in my navbar. |
You do have, it's just slightly different ... search for calendar.php
|
OK, I was able to find someone who altered the script for me to do what I required.....so cash offer now off the table....
|
Quote:
sorry but my German is better then my english. :) |
Everytime I update the forum permissions and then go back and view the permissions I set, the changes dont show up... :(
I dont want to have to do this by hand in the DB... |
hell...i wouldnt even know how...*sigh*....
please help... |
figured it out...read the thread...lol
|
How hard would it be to add an option to use the bookie's money when settling bets? ie. when you lay a bet the bookie receives the money, and then when you pay out the bets the winnings come out of the bookie's cash.
Some of my users have been taking advantage of a 'loophole' where they make their own events with big odds, bet on them themselves, then collect heaps of winnings. The money appears out of nowhere, so it's easily exploited, and means the site admin needs to keep a close eye on vbookie events. I think it would be more realistic if the bookie was the one who had to pay the winnings :) |
Andreas,
Is there a way I can disable the anon bet button? Thanks! |
Andreas how can I querry the DB to pull the top 10 people who have the most vcash or ebux?
|
I have a problem.
My bookie is not allowing people to bet, one a staff member and the other a regular member with no permissions and no other usergroup. I made a test account and it allowed me to bet. I dont know whats wrong, all of my settings appear correct. |
Any help????????
|
I have a sort've similar problem. My staff and admins can bet, but regular users cannot. Any ideas?
|
i have a small problem :(. I just installed it, BUT when i got to USERGROUP --> USERGROUP MANAGER, and i try to change the vBookie permissions, it always resets itself to everything "no." so even if i check something as yes, when i click "ok" and then return again to that page, it will still be no
ANYONE KNOW WHATS HAPPENING? |
All times are GMT. The time now is 07:17 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:
|