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)

Zach 07-16-2004 11:13 PM

I for all the world can do anything on vbulletin except autopost - I feel like such a dunce

Taco John 07-18-2004 03:08 AM

This seems like a great hack! Thanks!

However, I can't find some features that I would think would be included... Like how can I adjust my users money amounts? Or how do I reset the game so that everybody is back on an even level? Are these options included/on the way?

It would be great if I could credit across particular user groups (ie. forum supporters). That would be great.

Terriffic hack! It'll be great for the upcoming football season... Hopefully you'll be able to get some of this added functionality in it.

Thanks!

TJ

immotive 07-19-2004 04:25 PM

here is a little finding by my forum member, i'm not sure if it is the correct way a vbookie should work. When it odds is 1.7, if we bet 100 points, after the bet is settled, we are getting back our capital (100 points) and our winning (170 points) which is 100 points more, is this a "designed" behaviour of vbookie?

http://www.singaporesoccer.com/forum...3&page=7&pp=15

Quote:

When U place a bet with Spools, say $100 for (+1.5 handicap)....U get back $140 which is ur initial capital + the $40 profits (i.e. U make a net of $40)...

In ur V-betting system, for the same scenario, it pays U $140 + $100 = $240 (U end up making $140)...

This is why I was able to get 300,000+ points from a mere 500 within a short period of time.....

If U do not believe, just try out first before replying with the "wat's wrong?"

In order for U to track without complication, try betting $100 on SAF give & $100 on Pagar eat at the same time for the coming match...... I guarantee whatever FT outcome, U get back the $200 capital plus net profits ( the net profits simply depend on the odds ). U will never end up losing. Suggest after U bet, bank in all ur balance so that it shows only zero. When settlement takes place, U will see the whole picture crystal clear. Having raised this matter more than once with futile responses, I now rest my case.

romeshomey 07-20-2004 03:17 AM

Awsome hack.. My members will love it!

Thanks.......!

Watson 07-20-2004 07:28 PM

Quote:

Originally Posted by CarolinaKid
This would be really great if there was a way to use paypal or another online bank so u could deposit real money....but i guess that would be gambling

Does Vbulletin Not allow Gambling? Or is it just illegal to do it with real money?

SnowBot 07-21-2004 04:11 PM

How do i get the templates to align properly? /me is a HTML geek.

romeshomey 07-21-2004 08:35 PM

Quote:

Originally Posted by Watson
Does Vbulletin Not allow Gambling? Or is it just illegal to do it with real money?

Its illegal in the United States.

Watson 07-22-2004 11:03 AM

Ahhh. So I could use this hack and do it for real cash then? I am in UK, just wondering if anyone in the UK has implemented this,

da prez 07-22-2004 07:46 PM

Quote:

Originally Posted by immotive
here is a little finding by my forum member, i'm not sure if it is the correct way a vbookie should work. When it odds is 1.7, if we bet 100 points, after the bet is settled, we are getting back our capital (100 points) and our winning (170 points) which is 100 points more, is this a "designed" behaviour of vbookie?

http://www.singaporesoccer.com/forum...3&page=7&pp=15

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.

da prez 07-22-2004 07:54 PM

Quote:

Originally Posted by Taco John
This seems like a great hack! Thanks!

However, I can't find some features that I would think would be included... Like how can I adjust my users money amounts? Or how do I reset the game so that everybody is back on an even level? Are these options included/on the way?

yes you can adjust any way you see fit by using something like following in your phpadmin :

to reset everyone to whatever ya want use :
Code:

UPDATE user SET vbookie_cash=500;
to give money to a certain person use :
Code:

UPDATE user SET vbookie_cash=500 WHERE userid=xxxx;
replace x's with userid #

Quote:

Originally Posted by Taco John
It would be great if I could credit across particular user groups (ie. forum supporters). That would be great.

use the following:
Code:

UPDATE user SET vbookie_cash=xxx WHERE usergroup=xx;
fill in xxx's with desired amount and usergroup.

Quote:

Originally Posted by Taco John
Terriffic hack! It'll be great for the upcoming football season... Hopefully you'll be able to get some of this added functionality in it.

Thanks!

TJ

yes it is, i read on rico's forum he is busy for most of summer, but maybe soon.

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

dynamite 07-26-2004 09:17 PM

Care to share what you did amairiya?

RMS-Chef 07-26-2004 10:51 PM

He probibly just made sure the last one did NOT have a comma.
Like:

Code:

'stylecache',
'vbookiesettings',
'utt_store_act'
), $specialtemplates);


tjdrico 07-27-2004 07:34 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?

The 'vbookie_bets_placed' table already has this information in the 'bet_placed TIMESTAMP' field.

yobajufa 07-27-2004 06:22 PM

Is anyone available to do vbookie customization for $.

pm me if you are!

YJ

joshskeety 07-27-2004 11:07 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

TTG 07-28-2004 07:25 AM

Quote:

Originally Posted by yobajufa
Is anyone available to do vbookie customization for $.

pm me if you are!

YJ

Should be easy to change the graphic "$" to suit your particular currency.

I changed mine to ? .. take a look here

Intex 07-28-2004 08:00 AM

tjdrico - if you select to use the Petz money and the uCash option, will it automatically increase and decrease both? I'd like to use both at the same time, but wanted to know if this would cause any problems.

xjussix 08-03-2004 09:03 AM

Thanks for this great hack. :)

I have a little problem unfortunately. At our forum the users can choose between two different styles. Clicking on vBookie link (or anything vBookie related) while using style #2 results in a completely blank page. Then I noticed that this particular style doesn't have those custom templates which style #1 has and it's probably the reason for this problem. In fact, style #1 is the only one which has those custom templates. I do have other styles too but those can't be selected.

Does anyone have any ideas how to fix it? Both styles are child styles of the original vBulletin 3 style.

vajb 08-03-2004 08:03 PM

I installed 3.0.3 fresh, installed the Arcade, Petz, Shoutbox and finally vBookie.

All worked perfectly pre-vbookie but when i try to reach the vBookiepage from the dropdown menu the "main" part of the view goes white, same goes for "Usergroup manager", that page is also blank.

Now - where did I do something wrong, almost completly certain i followed the procedure to the full extent, must've missed somewhere, anyone care to take a guess? Don't fancy reinstalling, but guess I'll have to after all :)

[edit]

Reinstalled VB3 & vBookie, usergrouppages work, vBookie from the nav-menu is white.

Only thing strange in the usergroup manager is that I can't set all 3 options concerning vBookie to Yes.

if i set them all to yes one or two of them turns up as No next time I check administrator permissions :(

PET 08-03-2004 10:22 PM

tjdrico - we want new version...we want new version :)

Acido 08-03-2004 10:43 PM

Yes we want :o

beet 08-04-2004 02:40 AM

Is it just me, or when the odds are 1 to 1, they get the same amount back that they put in? Shouldnt they get double back?

Mr. Brian 08-04-2004 10:33 PM

Well, I noticed that for handicap betting, for 1/4, 3/4, 1 1/4 hindicap. If win 1/2, or lose 1/2, how to settle using vbookie?

That would be great if vbookie does have this feature. :)

joshskeety 08-05-2004 01:45 AM

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

ogetbilo 08-06-2004 10:09 PM

Very great hack
I installed and clicked INSTALL

One little request: Can you please add a function that adds a desired amount of cash to all of the members? (or at least, can you tell me what SQL query should I do?)

rinkrat 08-06-2004 11:00 PM

Is there a hack to integrate this with Petz 2.0? If not there should be.

Kru 08-08-2004 11:33 AM

I am getting the following message if I am trying to give permission to the usergroups;

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Elite Guard',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
attachlimit = '0',
canpostvbookieevent = '1',
caneditothersvbookieevents = '0',
canbet = '1',
avatarmaxwidth = '130',
avatarmaxheight = '200',
avatarmaxsize = '2000000',
profilepicmaxwidth = '130',
profilepicmaxheight = '200',
profilepicmaxsize = '6553500',
pmquota = '50',
pmsendmax = '5',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '5831',
genericoptions = '30',
arcadepermissions = '19',
petzpermissions = '1'
WHERE usergroupid=2
mysql error: Unknown column 'canpostvbookieevent' in 'field list'

mysql error number: 1054

I think the bug must be in the usergroup.php but I can find it. Any ideas?

Kru 08-08-2004 02:52 PM

Ok I fixed my former problem anyway there is still another if I am trying to open vbookie.php for example like here: http://www.spiritual-connections.com...s/vbookie.php? I am just getting a blank screen. I checked the whole installation again and again but can't find the bug.

Any help is mostly welcome.

PranK 08-10-2004 09:35 AM

/me likes!
/me clicks install

bluesteel 08-11-2004 11:41 AM

Hi guys,

Brilliant add-on! My members love it.

At present I have a problem where events are showing up twice on the events page. (see attachment). I've searched this thread but couldn't find a similar problem.
Any help would be greatly appreciated.
Thanx in advance.

PS Further to this, it works out that the events show for the amount of bets placed on it. eg If 6 bets have been placed on an event, the event will show up 6 times. :(


All times are GMT. The time now is 04:47 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.05859 seconds
  • Memory Usage 1,852KB
  • 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
  • (6)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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