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)

merk_aus 05-30-2009 06:40 AM

Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.

dancue 05-30-2009 12:27 PM

Quote:

Originally Posted by merk_aus (Post 1819979)
Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.

YES!!

About time someone takes this on!! I have mine working for 3.8 already, but I would love to have the new features.

I'll definitely be dropping a few suggestions in this thread when I get them. The ones you mentioned already sound great!

dancue 05-31-2009 01:06 PM

For starters, I'd like for my users to be able to make bets between other users. If a person wants to bet x amount of money on a certain event, they can post it along with the amount of people (limit) they'd like to bet that amount against.

Whoever creates a bet can send people invites to bet, or anyone can bet depending on what that user wants to do.

highblue 06-01-2009 11:29 PM

Quote:

Originally Posted by merk_aus (Post 1819979)
Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.

Really can't thank you enough for working on this! I sure wish I could write code because I'd be trying to help every step of the way. As it is, about all I can offer are a few suggestions.

I'll just hit the first two off the top of my head... the Edit VBookie Event function should be a clickable button instead of clickable white text. That's already confused a couple of people in my forum, and I'll admit it's not as people-friendly as it could be... more easily visible, that is.

I'd also go back to an earlier suggestion. People should have the option to change their bets before the cut-off date. Particularly in the case of horseracing, that would clean up any problems connected to scratched horses. We ran into that issue last weekend, and it wasn't a problem for me to go into Admin CP and give them their points back, but if they'd been able to change their own bets, it would've saved me some time. Besides, horseracing bettors will often change their minds anyway. ;)

I'm sure I'll have more suggestions as you go along, but those two are at the top of the list right now... sorry, and one other problem. The other day, when a horse scratched out of a race, I tried to change the Number of Outcomes. So I reduced the Number of Outcomes by one and clicked the button to Update Event. Even though it was supposed to reduce the number by one (I assume, since I changed the number), it still showed the same Number of Outcomes as the original setting after I'd clicked Update. In short, reducing the Number of Outcomes had no effect at all. It wasn't a major problem... just a glitch in the original code, I suppose.

Thanks again, and I'll try to come up with some more suggestions. I really think this could be a MOTM because it's definitely got tons of potential. I'd vote for it!

Biker_GA 06-01-2009 11:34 PM

I'd love to see this mod back on my site. We used to bet on everything! :D

highblue 06-01-2009 11:51 PM

One of the bettors on my site just brought up a really good and very important point.

vBookie would be more workable for horseracing if the Ajax calculations for a pari-mutuel type of betting system could be disabled. We've got some excellent handicappers in our forum, and if all of them bet on the same horse, or even if most of them bet on the same horse - knowing it's going to win - then the vBookie odds on that race wouldn't even come close to reflecting the real world odds in the race.

In the real world race, that winning horse might go off at 1-1 or better, but in the vBookie race with most of the people betting on it, the horse could go off at 1-20 odds.

So for horseracing purposes, ideally we would have the option to disable the Ajax function that's calculating the odds based on the amounts being bet on the event. It might also be useful to have the option of disabling it for other events too.

New Joe 06-03-2009 03:43 AM

I downloaded this but it doesn't seem to work,

I clicked on Manage Products in my Admin Panel, then added Import and Imported the product XML, all installed but it doesn't work.
It show in my vBulletin Options but when I go to make a Thread the option isn't there to use the vBookie.
Any ideas why?

markhendo1986 06-03-2009 08:16 AM

Quote:

Originally Posted by markhendo1986 (Post 1808466)
Hi there,

Got this installed and all is up and running. Members are able to post a new event to bet on and are able to bet/settle bets.

However, when members are betting, their vCash doesn't go down and automatically returns to 500 vCash even after betting and losing their cash.

Any ideas how to fix this? I've not been 'giving to the poor' or anything like that...

Is anybody able to help me regarding this problem? I've managed to get this up and running in the past before but for some reason, this just isn't happening...

DS MrSinister 06-03-2009 12:53 PM

Quote:

Originally Posted by New Joe (Post 1822530)
I downloaded this but it doesn't seem to work,

I clicked on Manage Products in my Admin Panel, then added Import and Imported the product XML, all installed but it doesn't work.
It show in my vBulletin Options but when I go to make a Thread the option isn't there to use the vBookie.
Any ideas why?

sounds like you are running vb 3.6 or high.. you need to apply the fix and make the template edits. so it will work..

https://vborg.vbsupport.ru/showthrea...92#post1035092

New Joe 06-03-2009 02:19 PM

Quote:

Originally Posted by DS MrSinister (Post 1822710)
sounds like you are running vb 3.6 or high.. you need to apply the fix and make the template edits. so it will work..

https://vborg.vbsupport.ru/showthrea...92#post1035092

Done that but it still doesn't show in the options when I go to start a new Thread.


All times are GMT. The time now is 03:01 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.03384 seconds
  • Memory Usage 1,780KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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