vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

Andreas 02-24-2006 04:37 PM

Yes, that's a bug in the installation routine.
Just import the XML again or call admincp/index.php?do=buildbitfields

robdawg 02-24-2006 04:42 PM

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. :)

robdawg 02-24-2006 05:24 PM

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.

argash 02-25-2006 05:02 AM

Quote:

Originally Posted by Andreas
@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.

https://vborg.vbsupport.ru/showpost....8&postcount=44

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.

dxguru 02-25-2006 06:29 AM

Quote:

Originally Posted by Andreas
Yes, that's correct IMHO.
Though as said before, I don't have the slightest clue of gambling :D

For someone who admits to not having "the slightest clue of gambling" you have done an awesome job Andreas.
Thanks :)

PaceAdvantage 02-25-2006 09:10 AM

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.

dxguru 02-25-2006 10:54 AM

Quote:

Originally Posted by PaceAdvantage
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.

IF this was to be implemented it would definately have to be optional. We don't have this kind of betting that I am aware of and cannot really understand why anyone would want to place a bet on something when they have no control over what odds they are betting on.

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

bashy 02-25-2006 11:12 AM

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

Andreas 02-25-2006 12:59 PM

The users will always be paid with the odds they bet on, no matter if you change the odds or not.

PaceAdvantage 02-25-2006 03:15 PM

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?


All times are GMT. The time now is 03:06 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
  • Page Generation 0.02083 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete