vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

Andrew Green 02-25-2009 02:34 PM

Just to let everyone know, this sucked is still being developed... well, more of a complete rewrite...

Should have a release sometime fairly soon, the poker table has undergone a complete overhaul, now you can have multiple tables, multiple betting rules are available, etc.

Preview is up here: http://vbgaming.org/forum/showthread.php?t=254

And you can get an idea on where it is at.

towermatt 02-25-2009 06:56 PM

Update coming soon Andrew?

Habsy 02-27-2009 05:56 AM

Waiting on the update too. Casino went kaput when I upgraded to 3.81. errors out. Had to uninstall. My users are jonesing now.

Andrew Green 03-01-2009 03:59 PM

Quote:

Originally Posted by towermatt (Post 1754536)
Update coming soon Andrew?

It's getting there...

At least one more game to finish, possible two and a bunch of "packaging" and cosmetic stuff to do before I can do any kind of release.

The existing games all "work" in the new environment. some need a little more testing and cosmetic stuff. The poker plays with no-limit, limit and pot limit rules, and has quite a few more options for game creation, which is now in the users hands (multiple games can be running at once), Uses avatars where available instead of card backs until the show down, can play with fixed stake and multipliers (ex everyone puts in $100, starts with $25,000)

It's getting there, but not finished yet.

DieselMinded 03-01-2009 05:38 PM

please release a version w/o the texas holdem as i use plug in poker for that and only use this for the other things

ULSS 03-01-2009 06:09 PM

Thanks Andrew.. I just intalled under 3.7.3.. looks good so far, but havn't played with it much yet.. Thought I'd post this for you..

To add Casino in the postbit area below the number of posts. Instead of editing the template, you can use a plugin.

Code:

Product: Casino
Hook Location: postbit_display_start
Title: Show Cash after Posts
Execution Order: 5
Code: $template_hook[postbit_userinfo_right_after_posts] .= "$vbphrase[casino_casino_cash]: $vbphrase[casino_currency_marker]$post[casino_cash]";

If I come up with more plugins, I'll let you know..

Thanks again

Gamelobby 03-01-2009 09:37 PM

Quote:

Originally Posted by ULSS (Post 1757747)
Thanks Andrew.. I just intalled under 3.7.3.. looks good so far, but havn't played with it much yet.. Thought I'd post this for you..

To add Casino in the postbit area below the number of posts. Instead of editing the template, you can use a plugin.

Code:

Product: Casino
Hook Location: postbit_display_start
Title: Show Cash after Posts
Execution Order: 5
Code: $template_hook[postbit_userinfo_right_after_posts] .= "$vbphrase[casino_casino_cash]: $vbphrase[casino_currency_marker]$post[casino_cash]";


What do we do with this plug in...!?

DobieGillis? 03-01-2009 10:47 PM

Quote:

Originally Posted by DiesellMinded (Post 1757721)
please release a version w/o the texas holdem as i use plug in poker for that and only use this for the other things

what plug in poker do you use?

ULSS 03-01-2009 11:22 PM

Quote:

Originally Posted by Gamelobby (Post 1757943)
What do we do with this plug in...!?

That plugin is what you can do instead of editing the template for displaying a users cash value in the postbit area.

Gamelobby 03-02-2009 01:21 AM

I see that, but what do we do to use it..?

Do we add that code somewhere or download something, or what.??
Sorry im not a coder. i dont know what this means, but i would like to have this working in the postbit.

Thanks

ULSS 03-02-2009 01:24 PM

Quote:

Originally Posted by Gamelobby (Post 1758132)
I see that, but what do we do to use it..?

Do we add that code somewhere or download something, or what.??
Sorry im not a coder. i dont know what this means, but i would like to have this working in the postbit.

Thanks

If you HAVE NOT done the template edit that displays the users cash amount in the post bit area below the users number of posts, then you can do this. Hopefully, Andrew can include this plugin in his next release so that the template edit isn't required.

1. Download the attached plugin.
2. Goto AdminCP
3. In the left menu, near the bottom, expand the group called "Plugins & Settings"
4. Click "Adownload / Upload Plugins" link
5. At the bootom, under "Import Plugin Definitions XML File" click the Browse button and find the plugin that you downloaded from this post and click OK.
6. Click Import.

Now the users cash value should be displayed right after the number of posts in the postbit area.

Edit: oops.. i forgot the attachment.. here it is

ULSS 03-02-2009 01:26 PM

Andrew, Everything is working great! I'd love to see an update that allows you to have different setters per usergroup. Like increased bonus amounts and table limits for a "premium group".

Thanks..

hondaprelude88 03-02-2009 02:59 PM

Quote:

Originally Posted by dartho (Post 1575551)
I edited the searchcloud variable names ($s from memory? I made it $scloud) so they no longer conflicted...

Edit the "vB Google Search Cloud 1" plugin and make the code:

Code:

ob_start();
require_once('./search_cloud.php');
$scloud = new SearchCloud();
$scloud->handlePageHit();
$scloud->showCloud();
$vbsearchcloud = ob_get_contents();
ob_end_clean();

Then I edited the search_cloud.php and changed the occurrences of $s there to $scloud (2 occurrences in teh _getURL() function)

They should work together now.


thanks for the fix

DobieGillis? 03-03-2009 12:39 AM

Yawn, is this thing being updated?

Gamelobby 03-03-2009 03:23 AM

He posted this just yesterday... give him time, will ya'

Quote:

Originally Posted by Andrew Green (Post 1757640)
It's getting there...

At least one more game to finish, possible two and a bunch of "packaging" and cosmetic stuff to do before I can do any kind of release.

The existing games all "work" in the new environment. some need a little more testing and cosmetic stuff. The poker plays with no-limit, limit and pot limit rules, and has quite a few more options for game creation, which is now in the users hands (multiple games can be running at once), Uses avatars where available instead of card backs until the show down, can play with fixed stake and multipliers (ex everyone puts in $100, starts with $25,000)

It's getting there, but not finished yet.


ULSS 03-03-2009 04:14 PM

Andrew,

Here's another plugin that could be added. This will add a "Casino" button the the navbar, just to the right of "User CP". Then there's no need to edit the navbar template for this.

I was also trying to do a plugin for the $inpoker variable, to get away from that edit, but couldn't get it to work right. I was trying to pop in where there's a variable for an advertisment below the navbar. oh well.. still have to edit navbar template for that one..

Cheers..

protow 03-03-2009 09:29 PM

anyone try this on 3.8 yet? and do you need anything else to make this hack work? like vbgames or anything like that?

rob4448585 03-03-2009 10:57 PM

Quote:

Originally Posted by protow (Post 1759597)
anyone try this on 3.8 yet? and do you need anything else to make this hack work? like vbgames or anything like that?

i have it on 3.8.1 works great

protow 03-04-2009 07:54 AM

Installed! i do have 1 ? is there a way for members after they lose all there money to goto a banker and get more?

Gamelobby 03-04-2009 06:13 PM

They just need to log in & be active to get more. :)

protow 03-04-2009 07:49 PM

i hear that one lol i just said to heck with it.. i made a pit boss group and pit boss member gave him a few $$$ and when people run out i just transfer it..

protow 03-04-2009 07:49 PM

hey is there a Craps type of game for this in the works?

Gamelobby 03-04-2009 08:19 PM

I believe it is in the works.. (i think i read that somewhere) or maybe it was just wishful thinking. lol

towermatt 03-04-2009 08:54 PM

Quote:

Originally Posted by Andrew Green (Post 1757640)
It's getting there...

At least one more game to finish, possible two and a bunch of "packaging" and cosmetic stuff to do before I can do any kind of release.

The existing games all "work" in the new environment. some need a little more testing and cosmetic stuff. The poker plays with no-limit, limit and pot limit rules, and has quite a few more options for game creation, which is now in the users hands (multiple games can be running at once), Uses avatars where available instead of card backs until the show down, can play with fixed stake and multipliers (ex everyone puts in $100, starts with $25,000)

It's getting there, but not finished yet.

That sounds WONDERFUL!

<drools>

blastme 03-09-2009 09:19 PM

Could someone please explain what folders and or files should be uploaded and to where exactly. I am an novice here and tried uploading but obviously made mistakes as saw nothing. Importing the product file in admin CP I understand but uploading what folders, files and to where in directory is where I am confused. Go easy on this newbie. :)

towermatt 03-09-2009 09:36 PM

This would have to do with your actual server blastme.

You should have access to upload files to it. Depending on where your forum is, you upload most of the files there per instruction. It's really straight forward file management.

It's been a while since I uploaded it so PM me with specifics if you need help.

blastme 03-09-2009 10:00 PM

Quote:

Originally Posted by towermatt (Post 1764366)
This would have to do with your actual server blastme.

You should have access to upload files to it. Depending on where your forum is, you upload most of the files there per instruction. It's really straight forward file management.

It's been a while since I uploaded it so PM me with specifics if you need help.



Yes I have FTP access to cpanel if that is what you mean.


>>"Upload the "casino.php" file and "casino" folder into the same folder as your forum."


The above goes into your forum folder ?



>>"upload the files in the admimcp folder and includes folder"



Do you upoload the admincp/include folders that came with the download zip file or do you upload the files contained in the admincp/folder ? if its the folders where do they go and if its the files in the folders where do they go ?


TIA

towermatt 03-10-2009 02:03 PM

So the first instruction is telling you to upload the casino.php into the same folder your forum is in. That way you have a an address to go to. Mine is

http://www.thedarktower.com/palaver/casino.php

"palaver" is my forum folder--Put the "casino" folder in there as well

After that you will load files to folders already existing. So every thing in the downloaded AdminCP folder goes into your existing AdminCP folder in your forum folder.

Everything in the Includes folder from the download-goes into Includes existing on your server.

So you are just moving files into existing folders at that point. Get it all done and you should be good to go if you have uploaded the product.xml

blastme 03-10-2009 09:12 PM

Quote:

Originally Posted by towermatt (Post 1764919)
So the first instruction is telling you to upload the casino.php into the same folder your forum is in. That way you have a an address to go to. Mine is

http://www.thedarktower.com/palaver/casino.php

"palaver" is my forum folder--Put the "casino" folder in there as well

After that you will load files to folders already existing. So every thing in the downloaded AdminCP folder goes into your existing AdminCP folder in your forum folder.

Everything in the Includes folder from the download-goes into Includes existing on your server.

So you are just moving files into existing folders at that point. Get it all done and you should be good to go if you have uploaded the product.xml



Thank you. Its installed now.

towermatt 03-11-2009 03:15 PM

Glad I could help. :D

brettxw 03-23-2009 03:08 AM

I've been reading the how to-s but just now noticed that I dont have 3.6..I have 3.8..Will it still work?

If so..

I installed everything correctly. uploaded the XML..

Can't find the lottery setting in my AdminCP Any ideas?

scottjonesqpr 03-23-2009 04:20 PM

ive installed it but where is it?

its not under arcade????

scottjonesqpr 03-23-2009 04:28 PM

anyone????

scottjonesqpr 03-23-2009 04:42 PM

no-one?

might as well uninstall it then

F0xy 03-23-2009 08:33 PM

Quote:

Originally Posted by scottjonesqpr (Post 1775148)
no-one?

might as well uninstall it then


its located at: http://www.yoursite.com/forum/casino.php

brettxw 03-23-2009 10:57 PM

can someone help me please?

brettxw 03-23-2009 11:05 PM

It had to of install correctly because under each member they have casino cash of 250. and when I go to the casino php located at http://forums.blackberryos.com/forums/casino.php there is nothing there. GR i really want this to work

Jebadiah04 03-26-2009 08:54 PM

Quote:

Originally Posted by brettxw (Post 1775405)
It had to of install correctly because under each member they have casino cash of 250. and when I go to the casino php located at http://forums.blackberryos.com/forums/casino.php there is nothing there. GR i really want this to work

Did you upload all your files to your server using a FTP program? If you did, looks like you missed the "casino.php" file or got it in the wrong place. Might check to see if you have missed any more files too.

Jebadiah04 03-26-2009 08:57 PM

Quick question, I peeked at the vbgaming.org site and noticed you had a "casino cash: $xxxx" section on there. How do i go about adding that?

Example of what i mean.

http://vbgaming.org/forum/showthread.php?t=149

it lists the amount of casino cash in every post.



Thanks in advance!

Jebadiah04 03-26-2009 09:04 PM

Quote:

Originally Posted by brettxw (Post 1774781)
I've been reading the how to-s but just now noticed that I dont have 3.6..I have 3.8..Will it still work?

If so..

I installed everything correctly. uploaded the XML..

Can't find the lottery setting in my AdminCP Any ideas?

did you upload the 3 provided files in the AdminCP folder?

They are called
casino_donate.php
casino_games.php
casino_serttings.php


All times are GMT. The time now is 09:20 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.04048 seconds
  • Memory Usage 1,837KB
  • 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
  • (3)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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