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)

TimberFloorAu 01-25-2010 08:16 PM

Dartho is re doing the MOD, without auto bitfield. This could be causing some issues. Please bear with him :up:

Rat1972 01-25-2010 10:28 PM

Quote:

Originally Posted by TimberFloorAu (Post 1966467)
Dartho is re doing the MOD, without auto bitfield. This could be causing some issues. Please bear with him :up:

offcourse! Glad that someone will fix this for us for free. I didnt read the topic good enough. My bad :)

dartho 01-26-2010 12:41 AM

For people with 4.0.4:
issue with stats only occurs iof there are no vBookie events after installing (The query ois empty coz there ios nothing to query)

issue with vCash not showing up an no one being able to bet is a bug which can be fixed by changing cash type to something otehr than vCash, and then back to vCash again.

I've got a new version ready which no longer uses bitfields for permission checking which worked 'out of the box' on a clean install.

I'll post it up shortly

dartho 01-26-2010 01:38 AM

4.0.5 Released - no longer uses bitfields for permissions, fixed vCash display, fixed stats page error.

To upgrade, install product, upload all files, and recheck you settings

You can also delete the bitfield_vbookiehack.xml from your includes/xml folder as it is no longer needed (perform a rebuild bitfields afterwards) - however leaving it shouldn't have any effect.

Fingers crossed

Switch3130 01-26-2010 01:45 AM

I haven't had a problem with this since installing, but I upgraded anyways.

Nice work.

Delilahs 01-26-2010 04:44 AM

working nicely my end ')

GreigM 01-26-2010 06:43 AM

Great job all seems fine with our install now, thanks again :)

One question, I would like the VBookie tab in the navbar to only show when in the forum section, not in CMS etc, would that be possible at all?

valendono 01-26-2010 11:27 AM

can u explain what is Odds and playing with it ? how we calculate price for the winner ?

dartho 01-26-2010 11:35 AM

mm... I could try, but would probably fail miserably. Have a read of http://en.wikipedia.org/wiki/Odds#Ga..._probabilities


[Edit] OK - I'll have a try anyway:

A simple example is tossing a coin and picking the outcome (Heads or Tails) the probablility is 1 to 2 (or 0.5) of getting either, so teh odds may well be 1 to 2 also (although in real life the bookie may make the odds more in his favouir so her makes a profit). In gambling 1 to 2 means to win 1, you must be 2. Your original bet is also returned if you win.

Say you put $10 on heads at 1 to 2 odds. In order to win 1, you must bet 2. Given we have bet $10, we will win $5 if the outcome is heads, you will also get your original $10 back.

allbuffs 01-26-2010 08:23 PM

Just made the jump from 4.0.1 to 4.0.5 I get a database error when clicking on stats.

Code:

Database error in vBulletin 4.0.1:

Invalid SQL:
SELECT COUNT(*) as numitems FROM vb_`vbookie_news`;

MySQL Error  : Table 'rassa_vb.vb_' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, January 26th 2010 @ 05:20:24 PM
Error Date    : Tuesday, January 26th 2010 @ 05:20:24 PM
Script        : http://www.mysite.com/vbookie.php?do=stats
Referrer      : http://www.mysite.com/vbookie.php?do=bets
Classname    : vB_Database
MySQL Version : 5.1.42



All times are GMT. The time now is 07:57 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.01799 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (1)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