OK I figured it out
use 1 to 1 odds and set each outcome as a bet i.e.
Dolphins -1.5
Steelers +1.5
Under 34.5
Over 34.5
here's a hack I did that may interest some.. because there are about 32 bets possible every week in the NFL ~ 16 games, winner & Over/Under bets I wanted to institue a maximum bet per game
I edited vbookie.php
Find the following
PHP Code:
$q = "INSERT INTO " . TABLE_PREFIX . "vbookie_bets_placed (option_id, item_id, userid, bet_amount_placed, bet_odds_against, bet_odds_for, bet_private) VALUES ($k, $item_id, $bbuserinfo[userid], $v, ".
and above it add:
PHP Code:
// MAXIMUM STAKE HACK
if ((int)$v > 25)
{
$v = 25;
}
// END MAXIMUM STAKE HACK
Find the following
PHP Code:
if ((int)$v < 0)
{
standard_error(fetch_phrase('vbookie_negative_amount', PHRASETYPEID_ERROR, '', true, false, 0));
}
and bellow it add:
PHP Code:
// MAXIMUM STAKE HACK
if ((int)$v > 25)
{
$v = 25;
}
// END MAXIMUM STAKE HACK
// Now let's check to see if he's already made that bet in the past
$alreadybet = $DB_site->query_first("SELECT option_id from " . TABLE_PREFIX . "vbookie_bets_placed where userid=$bbuserinfo[userid] and option_id=$k");
if ($alreadybet['option_id'])
{
standard_error(fetch_phrase('vbookie_not_allowed_multiple', PHRASETYPEID_ERROR, '', true, false, 0));
}
//END
change the 25 to whatever you want your max to be