![]() |
Thanks a bunch man... you've been a huge help with this hack
greatly appreciate it! |
your very welcome m8
I will be making some more for this too. Mike |
Ugh...
Installing was easy, probably one of the easiest I've done so far, but... 1) WHY do you make us edit all the usergroups manually to decide what kinds of games they can play? 2) WHY don't you put a casino link in the navbar? 3) WHY is the grammar so horrible? |
Quote:
|
Quote:
Hi there Thanks for this its very nice you think this but it does not bother me as i like to help anyone out if i can. Im hoping the autor is going to send me the new version so i can add some things in for the new things he is puttin in. I think a bit of flash is a good idea thats why i stated doing it. Im also making a flash casino index page instead of having that gif image there. With having it made in flash it can be made for each web site and have your own ads on it. If anyone whats this then i will sort it out, but if anyone whats the main casino flash page made for them i can do this for a small fee. The fee to make a flash page for your site would only be ?5 it will be made to what you want, and have your sites name in it. Im trying to work out a way to have all the stats pages in flash but this is not easy but i will get there. Any ways thanks for the nice words and that i just like to help and make things better for everyone. Mike |
Quote:
1) WHY do you make us edit all the usergroups manually to decide what kinds of games they can play? A, The reason you have to do this is you may not want all you members to play all the casino games. Also you will have to stop unregisterd users from playing the casino and using your bandwidth. Q, 2) WHY don't you put a casino link in the navbar? A, The reason he has not done this is not all sites want to put a link in the navbar. Also if you have payed for a theme for your VB site you cannot use the navbar to put the link in as these themes use the header template for the navbar links. Q. 3) WHY is the grammar so horrible? A, If you have looked at his profile you would see he is from Belgium so English is not going to be his best lang is it. Also if you think its so bad why not change it yourself its easy to do. Mike |
nice I am install it right now
|
Hi all
Like i said before i have been working on sorting out the pages to be in flash. Well i have now done the lottery page and here is a preview of it. |
Quote:
|
Quote:
In Preview.... I really really hope you are gonna let us have it when it's complete, right? :D :D :D |
i will be releasing it when i have got all of them done.
at the moment there is one file to add and change the templates. there is no database changes and no file edits as far as i can tell yet. |
:) can not wait to try
|
Sorry guys, kind of neglected this hack since I upgraded to vBulletin 3.5 RC2, but I'll work on getting it working for RC2 & RC3 now... also will add micheal332001 to the supporters list because he has done a ton.
|
The roulette numbers are DEFINITELY wrong.
Odd/Even Black/Red 1-18 19-36 ALL of these are paying out 3-1 when they should be paying out 2-1. If you start out with 50 points, and you bet 50 on black and win, you will WIN 100 points to bring your total to 150. But your initial bet of 50 is not taken away. What SHOULD happen is that you bet 50 on black, black hits, and the casino TAKES YOUR 50 but gives you double your bet, so that your new total becomes 100. NOT 150. This seems like it's a simple miscalculation in the php. So yeah, the payout for those 3 things needs to be programmed to 2-1 instead of 3-1. Okay, I've fixed the code. Open up lottery.php find the 2 LINES lines that say: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
3-1 Payout is now 2-1 payout like it should be! I also highly suggest you change the 3 instances of: $win+=$twelvesstake*3; to $win+=$twelvesstake*2; to make it so that the payout for twelves is correct too. After making these changes I've tested all the numbers and my roullette game is now functioning 100% properly. When it says what you win and lose its a little deceiving, because what you actually net at the end of the game is not the amount you "win". When you put bets on multiple outcomes this is when it starts to look goofy, but it's definitely adjusting your ucash properly. |
Quote:
If you want me to test any think m8 i will do so also if you are adding any thing new i could make the new flash pages for it. |
micheal332001, please PM me, we will get this going for vbulletin RC2 & 3, I'll start working on the code right now to get it working for the new vbulletins and we'll go from there.
|
Hey,
srry of my absence (on this hack). Some time ago i made some nice updates, but then school started again, I had some troubles with my own websites and so on and so on. Soon I'll restart working on this. All idea's for new things can be posted here. I'll also take a look @ the flash thing to see if there can be done more in flash. Grz, seba |
Hi there wasa
I now have the lottery stats working in flash it loads another php file for the info. Im working on all the others at the moment but have not got far yet lol. I have been busy making my own hack for my site. The hack im working on is a vbleague hack i have made a league before for postnuke. Also if there is any thing i can help with let me know and ill see what i can do. Mike |
Hey, maybe you this tut can help you:
http://www.gotoandlearn.com/index2.html And choose: php+mysql+flash |
Thanks for that m8 That will help some to what im doing.
|
ive got this installed and looks good BUT
when im trying to test it on high/low it says i dont have any money how do i get cash for it lol do i have to have the shop hack installed or is there a hack i can install that works with this many thanks dean |
You need a kind of a money system....
Ucash/Ushop has a money system Vbookie en vbpetz also. If you only want the casino, you can always just make a row in you user database and give every user a certein amount of money/credits/points/.... grz, seba |
To make the vbcasino work with out a money system run this in your phpmyadmin
Remember to change the vb3_ to your prefix PHP Code:
Then to give everyone 500 money/credits/points/.... Run this in your phpmyadmin Again change the vb3_ to your prefix PHP Code:
|
This looks nice, going to install it when I get home in a few hours... question - anywhere I can download some games for it? Poker, Blackjack etc...
Nice job |
Using version 3.07 and I'm getting this error on step 3 of the installation (never had this installed before):
Database error in vBulletin 3.0.7: Invalid SQL: INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1); mysql error: You have an error in your SQL syntax near '; ' at line 2 mysql error number: 1064 Do you have any idea of what could be causing this problem? Thanks |
Quote:
From the looks of what you are trying to insert is wrong its to long. This is trying to insert 12 fields and there is only 6 for the lottery_setting table. In the casino_install.php file look for this on link 430 i think. PHP Code:
PHP Code:
Let me know if this fixs your problem. Mike |
Ok, Not Sure If Im Actually Going To Try To Reinstall This.. Seems Like Theres Too Many Errors For The Time Being And Not Enough Games, So Im Hesitant At This Time... Really Want A Casino Feature Though, Would Be Great
|
HHU
I have just tested the install script on my test site and it all installs fine. There is no errors as i can see. Download this version and all should be fine https://vborg.vbsupport.ru/attachmen...chmentid=32887 Mike Here is the install file i used put this file in your admincp folder and run it from the admin screen |
this hack has overwritten my shoutbox :(
is there a way of having both working at the same time? |
Hi there
There is no way this should overright your shoutbox hack in any way as the casino uses diffarent sql tables and the code edits have nothing to do with the shoutbox. I will test this out can you tell me what shoutbox hack you are using. Post the link here to the hack forum and i will try it out. Mike |
is there anyway of making it so it would do the following
show a message saying "forums richest member" and then when they lose their title it goes on the next persons profile is this possible many thanks dean |
Quote:
Whats the point in this as the ucash/ushop has this. If the casino had its own cash system then yes it would be a good idea. This could be done yourself all you need to do is insert a new table into the users then cakk the top 10 so you could show the to 10 richest. Mike |
ucash tells you how many points you have but i was thinking more like the arcade hack there was that displayed the arcade champ with a little trophy
|
Hi again m8
Like i said it could not be done with the ucash/ushop addon as you can earn points in just about any where. You would have to make your own cash tabel up to be able to do this. I do like the idea. Mike |
Ok, going to install this with the file you put up here...
Also add a cron job to includes/cron/lottery_cron.php choose a date, whenever you want the lottery to be reset. ^^ How do I go about doing this? Thanks |
Quote:
So then I did what this post here instructed.. although what you wanted me to change didn't quite look like what you said, and it was line 758. It looked like this: Code:
$DB_site->query(" But when I did change that, I got this error on step 3 of install... Invalid SQL: INSERT INTO `lottery_slots_stats` VALUES (1, 1, 1, 1, 1, 1, 1); mysql error: You have an error in your SQL syntax near '; ' at line 2 mysql error number: 1064 I really would like to install this... but what could be the problem? Thanks for the help Its the "Apply Default Settings" Step So now, its "installed" but not sure how much its working... The phrases are not showing up anywhere... I'll screenshot it: http://img14.imageshack.us/my.php?image=casino12hq.png And... http://img14.imageshack.us/my.php?image=casino28ba.png And same for Roulette etc... Would really like to have this installed... |
Hmm, Try the following:
Go to your admincp -> languages & phrases -> click ' rebuild all languages ' This will probably fix it. |
Quote:
Using VB 3.0.7 Also... is that all Step 3 does? The Phrases? Is there nothing else done in that step? |
this work for 3.0.7?
no template edits? |
Quote:
|
All times are GMT. The time now is 04:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|