Blackjack - Points don't change!

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Blackjack - Points don't change!
fi2508
CZ Newbie
fi2508 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 10
Points: 676
   
Hi icon_smile.gif

I downloaded the blackjack thing, and did as I was told. I can access it ok, but when I try to bet, it says I cannot bet with points I don't have, and I do have points. I also tried making it a free game by placing the '0' in place of the '1', but nothing changed... can someone please help??

I am using the integrated points system with PHPNUKE 7.3

Thanks icon_smile.gificon_smile.gif



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You have to change the points value in the game. Open the modules/Forums/BlackJack.php and find the section around line 135


/* Strings n Stuff */

   /* Change THe Following Strings To Suit Your Board */
      /* Nuke Or phpBB? Put A 1 (one) In Yours. */   
   $nuke         = "1";
   $phpBB         = "0";
      /* Delete the 1 if you want to play free, Add a 1 if you want to use points. */
   $use_reward      = "1";
      /* Highest Bet Allowed */
   $max_bet       = "50";
      /* Cost To Re-Deal The Cards */
   $re_deal_cost   = "25";
      /* Reward Times This Number For Their Prize. Leave It At One, They Win What They Bet */
   $reward_timez   = "1";
      /* Edit This ONLY IF YOURS IS DIFFERENT */
   $points_name    = $board_config['points_name'];
      /* Edit This ONLY IF YOURS IS DIFFERENT */
   $points       = $userdata['user_points'];      
   /* Finished With What You Edit */


Change the last variable


   $points       = $userdata['user_points'];


To:


   $points       = $userdata['points'];




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Blackjack
fi2508
CZ Newbie
fi2508 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 10
Points: 676
   
Ahh, now it is working...THANKYOU! .... BUT the points aren't changing icon_sad.gif are they supposed to?



Back to top Reply with quote
#4   
aUsTiN
CZ Active Member
usa.gif georgia.gif
Age: 41
Gender: Male
Website:
Status: Offline
Joined: Sep 09, 2003
0.02 posts per day
Posts: 142
Points: 57
  MSN Messenger 
$use_reward = "1"; <- has to be a 1 orelse it will play free.

Also telli, what version are you using?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum