vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBookie for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=233473)

fly 08-20-2010 09:25 PM

Technically it's missing the vig. Most bookies charge one...

razorflowers 08-20-2010 09:54 PM

Quote:

Originally Posted by dartho (Post 2087069)
Yes - a bookie does work like that. You get you stake back if you win + returns. You lose your stake if you lose.

By your logic, if the odds are 1:2 and the user makes a 100 stake and wins, he will only get back 50 meaning he actually loses 50

When you bet on a real bookie, you will have a 150 bankroll after this bet, it's the logic yes, not stake + (stake*odds).

I think the problem comes with the fact vbexperience and vbookie work separately.
On the vbexperience ranking page, we have a total points column (for vbexperience) and a various points column (for vbookie)
For a winning bet, stake is refunded in the vbexprience column and (stake*odds) is added in the various points column.

I'm the webmaster of a community betting website in france and my members dont understand why vbookie works differently than a real bookie.

Hope you will understand my poor english ^^

dartho 08-20-2010 10:11 PM

Yes - I am having trouble working out what you are trying to tell me.

vbookie: you bet 100, if you win, your 100 is returned and you win stake * odds. Where is the problem in this?

I do not use vbexperience and do not know what you mean by ranking page. Is it vbexperience that you are having issues with?

I could add in a vigorish I guess if there was a call for it...

razorflowers 08-20-2010 10:21 PM

Quote:

Originally Posted by dartho (Post 2087095)

vbookie: you bet 100, if you win, your 100 is returned and you win stake * odds. Where is the problem in this?

That's the problem in a real bookie you can't win your stake + (stake*odds) on a bet.

You bet 100 at 1/2 you cant have 250 in your bankroll, only 150..

Its (stake*odds) - 1 = your winnings or (stake*odds)-stake

Is it better ?

Maybe you are right when you say its a possible problem with vbexperience, cause the amount is right with vbookie, but stake is refunded always on vbexperience too...

dartho 08-20-2010 11:57 PM

Yes - sounds like a vbexperience issue.

DS MrSinister 08-21-2010 01:30 AM

dartho

Idea for your next release sir..

something like a Separate Sticky and Normal mod options. but entitled it Open and Closed or completed events.

razorflowers 08-21-2010 07:25 AM

Quote:

Originally Posted by dartho (Post 2087143)
Yes - sounds like a vbexperience issue.

In vbookie pack :

I want to remove the refunded stake for a winning bet. My problem is just for winning bet. Can i change a line code in php files, where ?

I mean put that : (stake*odds)-stake = winning bet

Thanks for your help and patience :)

dartho 08-21-2010 08:28 AM

Untested, but you could probably comment out line 1110 in vbookie.php which should read:

Code:

$amount_to_pay = $amount_won + $bet['bet_amount_placed'];// stake back

razorflowers 08-21-2010 03:50 PM

Quote:

Originally Posted by dartho (Post 2087275)
Untested, but you could probably comment out line 1110 in vbookie.php which should read:

Code:

$amount_to_pay = $amount_won + $bet['bet_amount_placed'];// stake back

Thanks a lot man, now it's ok :)

Krusty1231 08-21-2010 07:13 PM

So to make sure I have my stakes right.

1 to 1 odds pays you your stake back plus your bet. Example - I bet 100 - I win 100 so I get 200 back right?

2 to 1 odds pays you your stake back plus your bet. Example - I bet 100 - I win 200 so I get 300 back right?

Or am I wrong?

Thanks for any reply.


All times are GMT. The time now is 03:19 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.01797 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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