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)

jeepnchris 07-30-2009 06:43 PM

Quote:

Originally Posted by Andrew Green (Post 1858680)
Everything except the one filename should be good.

Your calling
In navbar Template, at the very bottom or bottom add:


*************************************************

$gameroomBanner

*************************************************

and the file is GameroomBanner.swf

Maybe they are not related.

I am having a problem with the banner working.

Where does the cash show? Should it be under peoples username while just on the forum?

Thanks!
Chris

Andrew Green 07-30-2009 07:14 PM

Quote:

Originally Posted by jeepnchris (Post 1858685)
Your calling
In navbar Template, at the very bottom or bottom add:


*************************************************

$gameroomBanner

*************************************************

and the file is GameroomBanner.swf

Maybe they are not related.

I am having a problem with the banner working.

Where does the cash show? Should it be under peoples username while just on the forum?

Thanks!
Chris

The part you add to the navbar is a variable containing the html needed to embed the flash file, or to add the html table, depending on which plugin you have turned on. Are you seeing anything where the banner should be?

Cash won't show anywhere, unless you add it to the postbit, then it will show their. Just make sure you are editing the proper postbit.

jeepnchris 07-30-2009 07:29 PM

Quote:

Originally Posted by Andrew Green (Post 1858694)
The part you add to the navbar is a variable containing the html needed to embed the flash file, or to add the html table, depending on which plugin you have turned on. Are you seeing anything where the banner should be?

Cash won't show anywhere, unless you add it to the postbit, then it will show their. Just make sure you are editing the proper postbit.

Here is the postbit info---

$vbphrase[posts]: $post[posts]
<br /><a href='gameroom.php'>Gameroom cash</a>: $$post[gameroom_cash]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div




I have the banner working now. What does the HTML banner actually show?

Thanks !

Chris

Andrew Green 07-30-2009 07:32 PM

Quote:

Originally Posted by jeepnchris (Post 1858701)
Here is the postbit info---

$vbphrase[posts]: $post[posts]
<br /><a href='gameroom.php'>Gameroom cash</a>: $$post[gameroom_cash]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div


Is it not working?

Quote:


I have the banner working now. What does the HTML banner actually show?

Thanks !

Chris
same thing, just in a static html format, instead of flash

jeepnchris 07-30-2009 07:42 PM

Quote:

Originally Posted by Andrew Green (Post 1858703)
Is it not working?



It is not working. I also have the info in the postbit legacy file.

Chris

Alien 07-30-2009 07:53 PM

How would this work with a site with multiple styles, including light and dark?

Can I specify a vb variable (like bgcolor) that will grab the proper color from a style, or am I forced to be limited to one color regardless of style inside the css?

Otherwise, this is REALLY neat.

Throtex 07-30-2009 08:45 PM

Should the files in gameroom/tools be there? Would those be accessible to any user by being there?

By the way -- great work on this. My users have been waiting for an update to the casino for ages!

Toxist 07-31-2009 12:40 AM

what needs to be replaced in the already installed Gameroom, for the minor bug fix's. I hope not to have to reinstall all of it. A list of what to upload and over write would be helpful. For the time being I have embedded the Chess vs PC Flash game until I can get with you on how to add to the game room, or at least an icon to redirect to the 3D flash Game, provided it's feasible and Possible. :)

LilPimp 07-31-2009 01:36 AM

is there a way to make it like 5 posts a day to play in the gameroom?

Andrew Green 07-31-2009 02:37 AM

Quote:

Originally Posted by jeepnchris (Post 1858706)
It is not working. I also have the info in the postbit legacy file.

Chris

Do you get anything? You've added text to the template so you should at least be seeing that?

Quote:

Originally Posted by Alien (Post 1858714)
How would this work with a site with multiple styles, including light and dark?

Can I specify a vb variable (like bgcolor) that will grab the proper color from a style, or am I forced to be limited to one color regardless of style inside the css?

Otherwise, this is REALLY neat.

No detection of multiple themes, it's a single setting. Likely wouldn't be terribly hard for you to implement, just a "if...else if" chain in the settings file would do that.

Quote:

Originally Posted by Throtex (Post 1858732)
Should the files in gameroom/tools be there? Would those be accessible to any user by being there?

By the way -- great work on this. My users have been waiting for an update to the casino for ages!

Nope, only upload those if you need them

Quote:

Originally Posted by LilPimp (Post 1858834)
is there a way to make it like 5 posts a day to play in the gameroom?

No, but it is a interesting idea.

LilPimp 07-31-2009 03:00 AM

Andrew a few bugs i found. I just installed the 0.9.7 version. I had 6 of my friends and we started a poker game but it was messed up first hand i had aces and my friend had aces. 2nd hand two people had pocket aces again. i have a screenshot of it because they both had ace of hearts and ace of spade both of them so we quit playing.. i just played my friend in chess and i had him in check and he did the king counter(roshee) or however u spell it while he was in check and that isn't allowed.

Andrew Green 07-31-2009 03:34 AM

I'll have a update up later tonight that fixes both of those.

Erika 07-31-2009 04:14 AM

Hi Andrew - I'm having a tough time installing this - I can't get any of the images to appear. I'm using Firefox and I just tested and they work fine in IE.

Any ideas?

Andrew Green 07-31-2009 05:33 AM

Quote:

Originally Posted by Erika (Post 1858884)
Hi Andrew - I'm having a tough time installing this - I can't get any of the images to appear. I'm using Firefox and I just tested and they work fine in IE.

Any ideas?

pm me a link and a test account with access to it.

tandy 07-31-2009 09:16 AM

When i click on Richest players i receive this message.

Quote:

[RPC Fault faultString="Error #1090: Echec de l'analyse XML : le format de l'?l?ment est incorrect." faultCode="Client.CouldNotDecode" faultDetail="null"]
at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

artifice 07-31-2009 06:09 PM

I'm having issues with this plugin. Every 5 minutes while this is enabled it causes the posts table to have to be marked as crashed and therefore needs to be repaired. Am I alone on this one?

Andrew Green 07-31-2009 06:45 PM

Quote:

Originally Posted by artifice (Post 1859200)
I'm having issues with this plugin. Every 5 minutes while this is enabled it causes the posts table to have to be marked as crashed and therefore needs to be repaired. Am I alone on this one?

It doesn't touch the posts table... are you sure this is the cause?

artifice 07-31-2009 06:53 PM

Yes. When I change the setting useVB to false the problems stop.

tandy 07-31-2009 06:58 PM

I understand it's a beta version but it seem there is a lot of work to do.
It crash (freeze) after few minutes of playing in poker for now.
When you start a new game in poker with 2 players we always have the sames cards, one with 2 aces and the other 2 queens and a five.
when making a new game, it's take few minutes before the other player see it and sometime the game disappear from the list.
In chess, we never can start the game.
In IE 8 the game appear in the upper left corner of a big grey square, in IE 7 and Firefox it's ok.
i run the last version downloaded this afternoon.
It'a super nice game, hope it will work fine sometime.

Farman 07-31-2009 07:48 PM

It doesnt works well for me , when i play it it works sometimes and whole sites get down for a while for me and people that are on my internet but works for others.

dancue 07-31-2009 08:32 PM

I have a question. Maybe you can answer it Andrew. Does this gameroom or the pro version of it have the option to bet against one person? A 1 on 1 bet? Would be cool to have this and then have their signature (or postbits) display the bet details.

Is this possible currently with either version? Would it be too much to ask for this as a future add-on if it is not already added?

Andrew Green 08-01-2009 12:38 AM

Quote:

Originally Posted by dancue (Post 1859282)
I have a question. Maybe you can answer it Andrew. Does this gameroom or the pro version of it have the option to bet against one person? A 1 on 1 bet? Would be cool to have this and then have their signature (or postbits) display the bet details.

Is this possible currently with either version? Would it be too much to ask for this as a future add-on if it is not already added?


Bet on what?

SBlueman 08-01-2009 11:11 AM

I installed the latest version and for some reason it's not coming up for me:

http://gridironfans.com/forums/gameroom.php

dancue 08-01-2009 12:37 PM

Quote:

Originally Posted by Andrew Green (Post 1859367)
Bet on what?

Any sports event. Let's say I'm positive A particular sports team is going to beat another. I want to be able to enter and/or select an amount of vbcredits I am willing to bet. Then I want to be able to place a limit on the amount of people who accept the bet. That would allow me to choose if I want to do a one on one bet. Selecting more than one for this option would either split the amount amongst my opponents if they win, or they are each given the amount I bet. Of course I would have to be able to select that as an option.

Would be nice to also be able to invite/challenge someone to a bet. A thread could be posted in a forum of my choice with the title "x has challenged y".

KeyTraderz 08-01-2009 03:10 PM

Is there any way to use vBcredits as the default currency for the games?

Stifmeister2 08-01-2009 04:19 PM

Quote:

Originally Posted by SBlueman (Post 1859515)
I installed the latest version and for some reason it's not coming up for me:

http://gridironfans.com/forums/gameroom.php

Hard to comfirm since your whole site seems to be down. :p

kylek 08-01-2009 04:26 PM

Quote:

Originally Posted by KeyTraderz (Post 1859619)
Is there any way to use vBcredits as the default currency for the games?

Yes for vbcredits, in the settings.php file change it so it shows credits.

* Column in the user table which is used for cash in betting games
*/
$this->cashType = "credits";

TheTradersArena 08-01-2009 05:07 PM

Quote:

Originally Posted by Erika (Post 1858884)
Hi Andrew - I'm having a tough time installing this - I can't get any of the images to appear. I'm using Firefox and I just tested and they work fine in IE.

Any ideas?

Andrew,
I am still having this same problem.....will PM you my site address and a test account.

socalsoccer 08-01-2009 07:01 PM

How are your members liking this mod? I am thinking of giving it a try.

Andrew Green 08-02-2009 01:09 AM

Settings can now be changed through the plugin, rather then the settings file.
Blackjack has a surrender option,
Board games should be a little lighter on the CPU
few other bug fixes

If after updating you have any problems let me know :)

Megatr0n 08-02-2009 01:29 AM

Andrew, can we update by overwriting certain files like before or upload the whole upload folder?

Andrew Green 08-02-2009 01:33 AM

Quote:

Originally Posted by Megatr0n (Post 1859864)
Andrew, can we update by overwriting certain files like before or upload the whole upload folder?


There is quite a few changes across a good chunk of the files, just toss them all.

mastertek2000 08-02-2009 02:00 AM

great mod Andrew Green marked installed
one thing is there a way to the make Gameroom Banner a different color

SBlueman 08-02-2009 02:01 AM

Still coming up with a blank screen....

http://gridironfans.com/forums/gameroom.php

KeyTraderz 08-02-2009 02:30 AM

Quote:

Originally Posted by kylek (Post 1859655)
Yes for vbcredits, in the settings.php file change it so it shows credits.

* Column in the user table which is used for cash in betting games
*/
$this->cashType = "credits";

Okay, just another noob question but when they win will it add to their vbcredits or to the Gameroom currency?

Andrew Green 08-02-2009 02:38 AM

Quote:

Originally Posted by SBlueman (Post 1859884)
Still coming up with a blank screen....

http://gridironfans.com/forums/gameroom.php


check your gameroom.swf file, it downloads about 10kb shy of what it should be.

Quote:

Originally Posted by KeyTraderz (Post 1859894)
Okay, just another noob question but when they win will it add to their vbcredits or to the Gameroom currency?

There is a setting that lets you select the field used for cash. Everything it does uses that field.

Trek 08-02-2009 02:46 AM

Ok, just updated. Only had time to try blackjack, but I played a hand and the losing text says "los e a" no quotes.

KeyTraderz 08-02-2009 02:54 AM

I was getting blank screen at first too, but now all it says is the time and nothing else?

WHen I was getting blank screen i just renamed the .swf file from Gameroom.swf to gameroom.swf (now I get the time thats it, i guess it better than blank screen)

Andrew Green 08-02-2009 03:02 AM

Quote:

Originally Posted by KeyTraderz (Post 1859907)
I was getting blank screen at first too, but now all it says is the time and nothing else?

WHen I was getting blank screen i just renamed the .swf file from Gameroom.swf to gameroom.swf (now I get the time thats it, i guess it better than blank screen)


Time is the banner, you renamed gameroomBanner.swf, which is not the actual game file, just a banner ;)

Andrew Green 08-02-2009 03:10 AM

Quote:

Originally Posted by Trek (Post 1859904)
Ok, just updated. Only had time to try blackjack, but I played a hand and the losing text says "los e a" no quotes.

opps... typo...fixed now, just replace blackjack_dealf.php to fix it.


All times are GMT. The time now is 01:45 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.01745 seconds
  • Memory Usage 1,844KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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