vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBookie - vBulletin Betting Hack (https://vborg.vbsupport.ru/showthread.php?t=65844)

LoOnEyToOnZ 07-22-2004 11:55 PM

Quote:

Originally Posted by da prez
this is correct because it subtracts initial bet from your total.

if you had $500 and bet $100 your new vCash total is $400
then when bet is settled you get what you bet $100 + wininngs $170 (@1.7 to 1 odds)

that is correct way to do it.

I thought the correct way would be for the $100 initial bet to be included within the $170 winning though.... since 1.7 odds usually means that you win only 0.7

romeshomey 07-22-2004 11:59 PM

Quote:

Originally Posted by LoOnEyToOnZ
I thought the correct way would be for the $100 initial bet to be included within the $170 winning though.... since 1.7 odds usually means that you win only 0.7

No.

Say for instance you made a $10 bet on something with 42-1 odds.
Say you had $500 before making the bet.

If you lose, you would be down $10 and your balance down to $490, but if you win you would win $420 making your balance now $920.

I made a $10 bet on the Ravens to win the Super Bowl in 2000 on 42-1 odds before the season started. $420 was deposited to my account the day after the Super Bowl for my winnings.

So basically if you bet $10 on something on 10-1 odds and win, you would win $100, or if you lost would only lose your initial $10.

da prez 07-23-2004 12:35 AM

the easiest way to look at it is, if you laid a $50 chip down at vegas roulette wheel on black (1 to 1 odds),
and it came up black, you would get your chip back and another one.

betting in first 3rd 1-12 (3 to 1 odds)
if you bet $50 and you won, you would get first $50 chip and 3 more of them, etc.

romeshomey 07-23-2004 06:44 PM

Is it possible to retract a bid another user has made?

For example. I had a event set up for Eddie Georges signing. Betting on what team he would sign with.

There was no way to set a date that would end on the day and time of the event so it was left open.

Anyhow, when he signed, I had a bet made by someone for 400 vCash and it was a bet made after the event took place but I wasnt here to end the event when it actually ended.

So, how can I go about taking those winnings he made back?

Would it be possible to add a date and time to when each bet was made, and then to make it possible to edit vCash in the Admin CP under user information like you can for post count?

joshskeety 07-23-2004 11:17 PM

I get this error message when installing.. It gets to the "do database modifications" part and then I get..

Database error in vBulletin 3.0.1:

Invalid SQL:
CREATE TABLE vb3_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

Any solutions?

Josh

romeshomey 07-24-2004 09:10 AM

OK, I figured out how to edit amounts won, etc..

What can I do to add a date stamp to bets that are made so I can see date and time they are placed?

RMS-Chef 07-25-2004 04:43 AM

Quote:

Originally Posted by romeshomey
OK, I figured out how to edit amounts won, etc..

What can I do to add a date stamp to bets that are made so I can see date and time they are placed?

Again, in the database, you would have to find the bet in question. There is a timestamp in there. This post may help: http://www.respawned.co.uk/forums/showthread.php?t=1832

amairiya 07-25-2004 06:51 PM

I currently have uShop installed and I am running vB 3.0.3

And I'm having some problems with the modification of init.php. I keep getting parse errors anytime I try to combine these pieces of code.

Code:

'stylecache',
            // +++ vBookie
            'vbookiesettings'
            // --- vBookie
        ), $specialtemplates);

and the one from uShop

Code:

        // ## <ucs>
                        'stylecache',
                        'utt_store_act'
// ## </ucs>
                        ), $specialtemplates);

If anyone has these two hacks installed and working properly, could you please tell me the piece of code that I need to put in the init.php file in order for them to work and not get parse errors? Thanks.

amairiya 07-25-2004 07:44 PM

nevermind I figured it out myself, thanks!

joshskeety 07-25-2004 10:53 PM

I get this error message when installing.. It gets to the "do database modifications" part and then I get..

Database error in vBulletin 3.0.1:

Invalid SQL:
CREATE TABLE vb3_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

Any solutions?

Josh


All times are GMT. The time now is 09:12 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.01409 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
  • (2)bbcode_code_printable
  • (3)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