vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - The Gameroom - Multiplayer gaming (follow up to Casino) (https://vborg.vbsupport.ru/showthread.php?t=219483)

Andrew Green 07-26-2009 07:48 PM

Quote:

Originally Posted by zombietom (Post 1856059)
Does this work with VB Credits? and do i need to remove vbCasino?

thanks

The casino I wrote? No, but you probably will want too. You can transfer all your stats over using the included script.

Should work with any field you have in the user table, you can change that in the settings. Change it to "Credits" and that shoudl do it.

Deimos 07-26-2009 07:48 PM

Seems to work with vbcredits, you need to change the line....

$this->cashType = "credits";

in settings.php
Replace the default with "credits"

I've installed it ok, it lets me access the games, but none seem to work properly, or at all
I don't see any betting chips on some games

On ninja stars for instance, I see the bar reel, but that's it
The "cash" bit says $0
When I click Deal in Blackjack or Let it ride, the cards dissapear and nothing happens.
On roulette, I add a bet, click spin, the wheel spins, but that's it, I don't know whether i've won or lost, heh
I can't then spin again, rebet or clear my bid.

Andrew Green 07-26-2009 07:51 PM

Quote:

Originally Posted by Deimos (Post 1856068)
Seems to work with vbcredits, you need to change the line....

$this->cashType = "credits";

in settings.php
Replace the default with "credits"

I've installed it ok, it lets me access the games, but none seem to work properly, or at all
I don't see any betting chips on some games

On ninja stars for instance, I see the bar reel, but that's it
The "cash" bit says $0
When I click Deal in Blackjack or Let it ride, the cards dissapear and nothing happens.
On roulette, I add a bet, click spin, the wheel spins, but that's it, I don't know whether i've won or lost, heh
I can't then spin again, rebet or clear my bid.


If you pm me a login that has access to the gameroom I can probably tell you what is wrong fairly easily.

Yux1000 07-26-2009 07:52 PM

done and install, thanks

Yux1000 07-26-2009 08:02 PM

Quote:

Originally Posted by Andrew Green (Post 1856070)
If you pm me a login that has access to the gameroom I can probably tell you what is wrong fairly easily.

this doesnt works, with cashtype set to credits

TimberFloorAu 07-26-2009 08:26 PM

If we just want the poker, is this possible? which files do we need to edit. Or are we allowed to edit them ourselves?

Regards Ste ( great mod btw )

Andrew Green 07-26-2009 08:43 PM

Quote:

Originally Posted by Yux1000 (Post 1856077)
this doesnt works, with cashtype set to credits


What's going wrong? It does work with credits, so there might be something else.


Quote:

Originally Posted by TimberFloorAu (Post 1856098)
If we just want the poker, is this possible? which files do we need to edit. Or are we allowed to edit them ourselves?

Regards Ste ( great mod btw )

Sort of... turning off the different tabs will be going into it, just isn't there right now.

Deimos 07-26-2009 08:50 PM

Thanks Andrew for your help fixing it.

jonah1892 07-26-2009 10:17 PM

this is awesome, been waiting for something that was better than the casino

will see whats included in the full version to decide whether to buy

question though, is there a way to update the ammount of cash a user has? as some of my members have no money what so ever

LilPimp 07-26-2009 10:54 PM

Thank you andrew for making a great hack.

Elmand 07-26-2009 11:01 PM

I downloaded this earlier, no problems installing. It works well and has gone down a treat. But the Texas Hold'em was a tad flawed. I played a game with 9 other people and it was laggy and glitchy. For example people were being made to check twice and people never get asked what they want to do (Call, Check, Fold, Raise). Also at one point someone won with a Full House which was only a Two Pair.

But very good job, but I hope the bugs get ironed out shortly.

darr3n 07-26-2009 11:45 PM

I had two games of reversi, and in both my opponent was occasionally unable to make the move he wanted to. Both times it was when he had the opportunity to gain a corner. Also at the end of the game it said I lost when I'd won and might not have updated the tile changes from the final move. Problems too not knowing when your opponent has left the chat and you're still typing away to yourself. If it matters, vb3.7, he was on firefox 3.5, I was on opera 9.64.

thanks btw for what I'm sure will be a very popular addon :)

nvnam 07-27-2009 12:26 AM

Nice update. Many thanks Andrew! Can you add Xiangqi chinese chess (http://en.wikipedia.org/wiki/Xiangqi) in the next update?

Andrew Green 07-27-2009 12:31 AM

Quote:

Originally Posted by jonah1892 (Post 1856160)
this is awesome, been waiting for something that was better than the casino

will see whats included in the full version to decide whether to buy

question though, is there a way to update the ammount of cash a user has? as some of my members have no money what so ever

Yes, in the admin tab you can adjust based on user, usertype or everyone in one shot.


Quote:

Originally Posted by Elmand (Post 1856178)
I downloaded this earlier, no problems installing. It works well and has gone down a treat. But the Texas Hold'em was a tad flawed. I played a game with 9 other people and it was laggy and glitchy. For example people were being made to check twice and people never get asked what they want to do (Call, Check, Fold, Raise). Also at one point someone won with a Full House which was only a Two Pair.

But very good job, but I hope the bugs get ironed out shortly.

If possible grab screenshots and send them to me anytime you get something odd, I can duplicate the state of the game and isolate the problem a lot easier.

As far as Laggy goes, what do you mean? There is going to be some lag, otherwise your server will die a horrible death.

Quote:

Originally Posted by darr3n (Post 1856193)
I had two games of reversi, and in both my opponent was occasionally unable to make the move he wanted to. Both times it was when he had the opportunity to gain a corner. Also at the end of the game it said I lost when I'd won and might not have updated the tile changes from the final move. Problems too not knowing when your opponent has left the chat and you're still typing away to yourself. If it matters, vb3.7, he was on firefox 3.5, I was on opera 9.64.

thanks btw for what I'm sure will be a very popular addon :)

Same as above, if I can see the board I can find the problem.

Ski-Whiz 07-27-2009 12:53 AM

I was playing hold'em... A player had a flush... while I had a pair of Aces...

It said I won with a pair.... It was tough to grab a screen shot, since by the time I realized it, the next hand was up... Just FYI..

djvj 07-27-2009 02:12 AM

The width is wrong on firefox v3.5. Had a few others verify and they all see the same thing. It cuts off everything on the right side:

http://img169.imageshack.us/img169/669/captureh.png

dirtyboxing 07-27-2009 02:18 AM

Most keyboards now have a key that says Prt Scr (print screen) or just Pt Sc. If you get an error hit Print Screen real quick, then open Paint or the like and click Paste. It's an easy way to grab a quick screen shot for stuff like this.

Thanks Andrew...my members have had so much fun with your Casino that I'm sad to see it go. I hope The Gameroom brings you the financial rewards you deserve.

Maxman1544 07-27-2009 02:18 AM

Thanks Andrew. Looking forward to the paid version.

I am confused about the admin options though, if I read correctly you add the userid (not group) in the setting file. I must have done something wrong because I don't see an admin tab or anything in the control panel.

Maxman1544 07-27-2009 02:21 AM

Quote:

Originally Posted by Maxman1544 (Post 1856239)
Thanks Andrew. Looking forward to the paid version.

I am confused about the admin options though, if I read correctly you add the userid (not group) in the setting file. I must have done something wrong because I don't see an admin tab or anything in the control panel.

Nevermind. It helps when I edit the right code. Thanks.

Maxman1544 07-27-2009 02:27 AM

One bug that I see is if you set the chips so that there are numerous available, the cash and bet totals appear on top of the chips.

For example in solo game - blackjack I have 1, 5, 10, 25, 50, 100, 250, 500. The chips cause you to scroll to see the 500 also.

Thanks.

djvj 07-27-2009 02:28 AM

I fixed the html to work on FF and IE properly. In the 'gameroom' template, the line should read this:

After:
<embed src="gameroom.swf" quality="high" bgcolor="#869ca7"

Change:
width="780" height="580" name="gameroom" align="middle"

To:
width="900" height="640" name="gameroom" align="middle"

Andrew Green 07-27-2009 02:32 AM

Quote:

Originally Posted by djvj (Post 1856235)
The width is wrong on firefox v3.5. Had a few others verify and they all see the same thing. It cuts off everything on the right side:

Likely related to your theme / css. Firefox 3.5 displays properly on mine. Glad you found a solution though.

Andrew Green 07-27-2009 02:35 AM

Quote:

Originally Posted by Maxman1544 (Post 1856249)
One bug that I see is if you set the chips so that there are numerous available, the cash and bet totals appear on top of the chips.

For example in solo game - blackjack I have 1, 5, 10, 25, 50, 100, 250, 500. The chips cause you to scroll to see the 500 also.

Thanks.

Pretty sure the settings file says that in the description of how that field works, any more then 4 or 5 per game and it's gonna look weird.

vijayninel 07-27-2009 03:02 AM

Working great now ..thanks :)

DeviantFlash 07-27-2009 03:28 AM

Any chance of getting the Hold 'em stats put back in?

They were great for bragging rights at the end of the game.

SnapOff Racing 07-27-2009 03:37 AM

Quote:

Originally Posted by Andrew Green (Post 1855953)
Is it showing as your turn? (Your name is bold) Can you select your pieces? (When you click on them the square turns blue)

none of the above, but it allows my opponent to make his move. any ideas?

Andrew Green 07-27-2009 03:42 AM

Quote:

Originally Posted by SnapOff Racing (Post 1856273)
none of the above, but it allows my opponent to make his move. any ideas?

Do you see his move, and can you chat with him using the chat box?

Wings69 07-27-2009 03:50 AM

Great update love it :)

SnapOff Racing 07-27-2009 03:56 AM

Quote:

Originally Posted by Andrew Green (Post 1856276)
Do you see his move, and can you chat with him using the chat box?

yes i see his move, and i can chat with him

Wings69 07-27-2009 03:58 AM

Sorry for being an idiot but how do we turn off the betting? I didn't see anything in plugin manager.

Andrew Green 07-27-2009 04:01 AM

Quote:

Originally Posted by SnapOff Racing (Post 1856284)
yes i see his move, and i can chat with him

That is odd... does it still show as his turn? Can he move again?

If you pm me 2 username / passwords that can use the gameroom (ex test1, test2) I can probably tell you what is going wrong.

New Joe 07-27-2009 04:07 AM

Could you tell a bit more about the part in bold,the 'navigate to the file' part.


Quote:

In order to transfer you statistics, betting events and cash from the Casino application upload the "updateCasino.php" file from the tools folder too your forum folder and navigate to the file. Once the process is complete, delete the file from your server.

Andrew Green 07-27-2009 04:11 AM

Quote:

Originally Posted by New Joe (Post 1856288)
Could you tell a bit more about the part in bold,the 'navigate to the file' part.

upload to your forum folder, open up a web browser, and type in the address of the file

ex: "http://yoursite.com/forum/updateCasino.php"

New Joe 07-27-2009 04:15 AM

Quote:

Originally Posted by Andrew Green (Post 1856289)
upload to your forum folder, open up a web browser, and type in the address of the file

ex: "http://yoursite.com/forum/updateCasino.php"

Thanks Andrew. :up:

Andrew Green 07-27-2009 04:20 AM

Quote:

Originally Posted by Wings69 (Post 1856285)
Sorry for being an idiot but how do we turn off the betting? I didn't see anything in plugin manager.


Settings file

SnapOff Racing 07-27-2009 04:26 AM

Quote:

Originally Posted by Andrew Green (Post 1856286)
That is odd... does it still show as his turn? Can he move again?

If you pm me 2 username / passwords that can use the gameroom (ex test1, test2) I can probably tell you what is going wrong.

login info pm'd

DarkArmada 07-27-2009 04:57 AM

Amazing Mod - compliments my board really well.

Just a question / request that I've had only on the first couple of games...

1. All in on Texas Holdem - in a massive game it takes a long time to go round the game at the pace set by the blind. An All In option would be amazing.
2. More Multiplayer games? Roulette could be done MP? Maybe even blackjack? (All against the one dealer)

Otherwise amazing Mod :)

Andrew Green 07-27-2009 05:05 AM

Quote:

Originally Posted by DarkArmada (Post 1856307)
Amazing Mod - compliments my board really well.

Just a question / request that I've had only on the first couple of games...

1. All in on Texas Holdem - in a massive game it takes a long time to go round the game at the pace set by the blind. An All In option would be amazing.
2. More Multiplayer games? Roulette could be done MP? Maybe even blackjack? (All against the one dealer)

Otherwise amazing Mod :)


I have to keep some things exclusive to the paid version ;)

MAORBARI 07-27-2009 05:45 AM

good mod!
where can i change the charset and the dir?
thx.

macc 07-27-2009 06:13 AM

maked update but chess could not get to work ?

just show one player ...
bosss &vs empty - and we are two players and can write messages on chat ...

some help?

reg

macc

edit: same problem with reversi - we are two players - just show one vs empty - could not start game ...


All times are GMT. The time now is 10:53 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.01498 seconds
  • Memory Usage 1,839KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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