vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   VBCasino (https://vborg.vbsupport.ru/showthread.php?t=92613)

waza 07-23-2005 06:28 PM

I SHOULD NEED:
Can somebody give me (by uploading here) a zip package with all the images of a card game.
So the four times 1->10 + 3 pics.

Thx,
seba

MorrisMcD 07-24-2005 02:59 AM

How close is this to being out of Beta testing.. Seems a bunch of you have it workin well now...

mcyates 07-24-2005 07:01 AM

Quote:

Originally Posted by waza
Ow, srry this is dutch :)
in the next release it's all phrased, so you'll understand it.

For now:
U Mag geen tickets Kopen -> U can't buy tickets, you can set this per usergroup in the admincp

U hebt te weinig geld -> You don't have enough money. you can set the price per ticket per usergroup in the admincp, you also need a money system... (like ucash/ushop)

If you don't have a money system (this requires some phpmyadmin knowledge):
go to you phpmyadmin and go to your vbulletin user table.
at a column named like credits, points, money, ...
Give U are all the users something like 500 credits.

Go to you casino settings and set the cashrow to wath you have named you column.

ok thanks. Once you sort the language out and make the winners show up then this will be a very good hack. I'll keep using it and just upgrade every time you do an upgrade.

Cheers

mcyates 07-24-2005 12:30 PM

BIG PROBLEM

Some of my members have complained that they have lost all their money after playing the lottery. How can this happen? Its only happened to people who have played the lottery.

waza 07-25-2005 10:41 AM

I think I have already fixed this, but to be sure:
can you tell me:
-did all of your members had this problem
-Where they all in the same usergroup
-what are there settings and what do they have to pay for a ticket.

IMPORTANT:
For safety reasons everyone can better close this hack untill I release beta 2 (Normally tomorrow).

MUDERCOOL 07-26-2005 09:57 AM

I'm waiting for beta 2 release eagerly, thanks wasa.

adamgessel 07-26-2005 03:42 PM

The 2nd Beta will be released tomorrow. It got delayed after a couple of things didn't work right.

waza 07-26-2005 04:43 PM

I know the fealing.
Maybe I'll make the release of tomorrow the 1.1.0 beta 1 :p.
There has been changed a lot.
my lottery.php counts almost 800 lines, you'll see why!!

adamgessel 07-27-2005 07:10 PM

I'm currently beta testing the beta ;)

Waza should be releasing it after we both look it over, but I'm not sure. I'm checking to make sure that people shouldn't have problems, and then maybe a final will be released.

murrtex 07-28-2005 12:34 AM

I applied this hack .but it does not work.I wanna uninstall it.How can i do.please help me...

boo.3 07-28-2005 01:14 AM

Texas hold'um *online*

and black jack *online*

then this would be sweet ;D

waza 07-28-2005 09:02 AM

@murrtex: In the beta 2 there is a uninstaller.
@boo.3: maybe for a later release.

In the beta 2 there are 3 new games, full phrased, a working winners section, thousands of bug fixes and a uninstaller.

murrtex 07-28-2005 09:24 AM

Quote:

Originally Posted by waza
@murrtex: In the beta 2 there is a uninstaller.
@boo.3: maybe for a later release.

In the beta 2 there are 3 new games, full phrased, a working winners section, thousands of bug fixes and a uninstaller.


can you give me that download link please? (Beta 2) thanks

Biker_GA 07-28-2005 01:46 PM

Not available yet. ;) That's what they're still working on.

pepel13 07-28-2005 01:51 PM

Now that's what I've been looking for!

Too bad this is still in beta but I'll hope it will be il full release one day ;)

Thanks

waza 07-28-2005 05:42 PM

I'll release it tomorrow, 100% sure :).
Btw, If somebody could give me all the images of a card game??
Then i'll make blackjack (what will be for a later release).

Biker_GA 07-28-2005 05:54 PM

Heh. My users are going to hate you for creating this. I'm lovin' it. I'm watching money fly out of their pockets at record rates. **grin**

MorrisMcD 07-30-2005 03:58 PM

Released yet??? All bugs worked out?? I would normally just install it now, but this is a super busy time for my forum... I dont want to compromise any downtime at all...

Also.. I am going to be upgrading my server soon, and was wondering how many queries this hack brings.. Will it slow down my site significantly? If it not too intensive?

boo.3 07-30-2005 05:12 PM

Quote:

Originally Posted by waza
@murrtex: In the beta 2 there is a uninstaller.
@boo.3: maybe for a later release.

In the beta 2 there are 3 new games, full phrased, a working winners section, thousands of bug fixes and a uninstaller.

ok thanks for reply ;)

micheal332001 07-30-2005 05:35 PM

Hi all

I have moded this a bit more i have added in a option to have the jackpot for the slots reset
to a set amount the admin puts in when in the casino options.
Also i have changed the payout so that if a player gets 3 bananas, 3 apples or 3 oranges they get a small % from the main jackpot, but if a player get 3 stars they win 100% of the jackpot this will reset back to the preset jackpot you have put in the casino options.
Im just finishing some of the code and making a read me file up so will add this in then.

micheal332001 07-30-2005 06:06 PM

Oh just found out that when the lottery had been done it dont show the winners when you click winners.
Is there a fix for this

micheal332001 07-30-2005 10:42 PM

here is the code for getting the winners if anyone could help me sort this out.


php code

PHP Code:

 if($_REQUEST['do']=="winners"){
$winner_results=$DB_site->query("SELECT t1.*,t2.username FROM ".TABLE_PREFIX."lottery_winners as t1,".TABLE_PREFIX."user as t2 WHERE t1.userid=t2.userid ORDER BY t1.id DESC");
$are_winners=$DB_site->num_rows($winner_results);
if(
$are_winners==0){
$winnerbits="0";
eval(
'$current = "' fetch_template('lottery_winner') . '";');
}else{
$winnerbits="1";
$i=0;
$e=1;
while(
$winners=$DB_site->fetch_array($winner_results)){
$kleur = ($e 2) ? $class='alt2' $class='alt1';
$winners['place']=$winners['place']+1;
$date=$winners['date'];
if(
$e==1){
    
$prev=$date;
}
if(
$prev!=$date){
    
$datum=$prev;
    eval(
'$morebits .= "'.fetch_template('lottery_winner_bit').'";');
    
$prev=$date;
    
$showbits="";
    
$i++;
}
eval(
'$showbits .= "' fetch_template('lottery_winner_bit_bit') . '";');
$e++;
}
eval(
'$current = "'.fetch_template('lottery_winner').'";');
}



TPCComOld 07-31-2005 01:44 AM

Hey Waza,

I'm curious to know if you plan to or would consider adding Texas No Limit Hold em Poker to the casino?

I know it would be a hit.

adamgessel 07-31-2005 10:02 PM

I'm not sure if he went on vacation, I have been gone for the last few days and he has sent me the latest version. I sent him a PM reply, and if he doesn't respond I will try releasing it. I am adding a few things and bug testing it.

micheal332001 07-31-2005 10:38 PM

The onle problem i have is with the view winners as i have modded the slots for my site.
The slots on my site have a fixed win for the bananas oranges and apples.
The jackpot that was there is now only for the stars and every time someone plays the slots the jackpot will go up but the others will stay the same.
Also if a player wins the jackpot the jackpot will reset to a set amount set in the admincp/casino options. The win amount for the other fruits are also set there.
This gives the admin more control over the amount of points won.
I have also moded some templates so it will show the win pot for each fruit.

slim cutty 08-01-2005 05:58 AM

can anyone tell me why I continue to get this error when trying to install this

--------------------------------------------------------------

Database error in vBulletin 3.0.7:

Invalid SQL:
ALTER TABLE usergroup ADD lotteryticketprice INT UNSIGNED DEFAULT '10' AFTER pmunread

mysql error: Unknown column 'pmunread' in 'usergroup'

mysql error number: 1054

----------------------------------------------------------------

Biker_GA 08-01-2005 06:06 AM

Apparently you do not have a column called "pmunread" in your usergroup table.

slim cutty 08-01-2005 06:26 AM

How do I ad that column? and was it a column that is in the original install of vbulletin that I may have deleted? Help please...thanks in advance

EDITED *

wow..the file above that is zip''d is an old file.... how come it's still there? found all the errors reading every posts here... thanks for the help

Marco van Herwaarden 08-01-2005 06:30 AM

Just take out the 'AFTER pmunread'.

There is no pmunread column in the usergroup table, and it also doesn't make much sense to have one.

slim cutty 08-01-2005 10:00 AM

@ Micheal

How did you get those stats to show on the slot page? Did you modify any code in the lottery.php, if so where at did you modify code?

My page looks like his below.. it shows nothing but zeros doesn't seem to be making any connection with the database... but deducts uCash Points?

https://vborg.vbsupport.ru/

Any assistance on this please?

adamgessel 08-01-2005 03:15 PM

If you downloaded my version of the install file, you won't have any problems. It fixes a lot of problems you will have.

wwesn1 08-01-2005 03:18 PM

I thought this was suppose to be updated a couple days ago?!

adamgessel 08-01-2005 03:25 PM

Update:
Waza went on vacation, forgot to update. I'm going to post the new version here in a few minutes. I'm testing it out.

If I find anything wrong then it might take a little longer...

adamgessel 08-01-2005 05:08 PM

NEW VERSION:
https://vborg.vbsupport.ru/showthread.php?t=93370

wwesn1 08-01-2005 05:25 PM

well the new version thread seems to be gone. anyhow I did manage to download it and install and when I use it all I see is a page with an image on it that says "Play a game and maybe you'll in the Jackpot' but there are no games!

adamgessel 08-01-2005 05:27 PM

Sorry, put it in a new forum. It is available here:
https://vborg.vbsupport.ru/showthread.php?t=93374

Anyways, I'm looking into your problem. Please make sure you set all usergroups correctly. I'll look into the code to make sure everything is right...

wwesn1 08-01-2005 05:29 PM

okay thanks, and yes all the settings are correct

wwesn1 08-01-2005 05:30 PM

same thing on your demo forum

adamgessel 08-01-2005 05:30 PM

Okay, looking into the code... if something is found that is wrong, an updated version will be uploaded on the new thread and you will be notified.

micheal332001 08-01-2005 11:10 PM

Quote:

Originally Posted by slim cutty
@ Micheal

How did you get those stats to show on the slot page? Did you modify any code in the lottery.php, if so where at did you modify code?

My page looks like his below.. it shows nothing but zeros doesn't seem to be making any connection with the database... but deducts uCash Points?

http://www.mesajtahtasi.com/seemszero.jpg

Any assistance on this please?


Hi m8

There is not a problem with the code here there is a problem with the sql
if you look in to the sql and look for the table lottery_slots_stats
you will see its enpty you need to insert the info in manuly but use all ones as if you put 0's in it will not work.

Hope that helps


All times are GMT. The time now is 11:04 AM.

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.01241 seconds
  • Memory Usage 1,828KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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