Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
The Gameroom - Multiplayer gaming (follow up to Casino) Details »»
The Gameroom - Multiplayer gaming (follow up to Casino)
Version: 1.1.1, by Andrew Green Andrew Green is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 07-25-2009 Last Update: 08-22-2009 Installs: 354
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

For vb 4.x: https://vborg.vbsupport.ru/showthread.php?t=239817

This is a late-Beta, it has been tested fairly extensively and all the big kinks should be worked out. That said, once this hits more sites a couple other bugs are bound to work themself out. It works going back at least as far as the 3.6 branch of vBulletin, not sure about 3.5.

This is the free version of The Gameroom by http://vbgaming.org, the follow up / expansion of the Casino plugin for vBulletin. It improves the multiplayer gaming aspects by bringing in more games, and allowing users more options when starting and joining games. Included is a upgrade script for transfering your stats from the Casino to the Gameroom.

Multiplayer games are played live, with embedded chatrooms

Features include:

- Lobby
--- Chatroom for arranging games

- Solo Games
--- Blackjack
--- Let it Ride
--- Roulette
--- Video Poker
--- 3 different slot machines

- Texas Hold'em
--- Multiple tables
--- Customize blinds and rules when creating a game
--- Passwords for private games
--- vBulletin avatars in game
--- Alert sounds to notify to alert you when it is your turn

- 7-Card Stud
--- Multiple tables
--- Set Ante
--- Passwords for private games
--- vBulletin avatars in game
--- Alert sounds to notify to alert you when it is your turn

- Chess
--- Standard chess rules, with legal moves enforced.
--- Alert on Check and Checkmate
--- Tracking of the 50-move rule and Threefold repetition rule
--- Passwords for private games

- Reversi (aka Othello)
--- Legal moves enforced.
--- Passwords for private games

- Statistics
--- Redesigned offering graphs and sortable datagrids

- Betting
--- Module can be turned off if not in use
--- pool bets, where the bets are added together and dived amongst the winners

- Optional status bar
--- Choice of flash or html bar
--- Placed in main template
--- Shows current gameroom status (open multiplayer games, messages can be sent from within, # of open bets in betting module)

- Cash Bonuses for actions that benefit your site
--- Posting
--- Starting threads
--- Referalls
--- Daily sign in
--- Giving rep
--- Recieving Rep
--- Voting
--- Rating threads


August 1st - 0.9.8
- Added Settings to admin section
- Reversi board colours can now be changed
- Reset stats option
- Delete event option (event must be closed & settled first)
- Reduced cpu load of chess and reversi
- Blackjack - Added Surrender option
- poker - players with no money cannot continue
* Update -> upload & overwrite, import product file


0.9.9

- Added volume control
- Added "/buzz" chatroom function
- Added alert to user entering room
- Added audio alert to 'check' in chess
- Fixed bug with getting list of games when certain tabs are dissabled
- Fixed get games timer not shutting off properly when switching tabs
- Fixed decimals in poker when using different cash type
- Fixed names with certain characters messing up stats
- Fixed bug that caused "start game" box to uncheck if you entered a message
- Adjust cash can use userid / usergroupid as well as name
- Not logged in screen in language (can be translated / edited)
- The user that imports the product file is made a admin & mod, rather then using "1" as a default
- cash type to 64-bit value in flash component (for those with really high values)
- Poker time out is set up. You have 60 seconds to act, then forced fold. Warning buzzer and countdown starts at 20 seconds remaining
* Update -> upload & overwrite, import product file


August 3rd (0.9.9RC)
- Update cash in solo games and betting on enter & transfer
- Change event listener on colour selectors in settings, makes it stick properly.
- Theme colour updates on the fly when changed, so you can see what things will look like as you adjust it.
- Fixed a glitch in the board games that would bring text into the game chatroom from the Lobby chat room.
- Fixed a bug relating to the board games when other sections had been turned off
- Added payout chart to game screen for Slots, Video Poker & Let it ride
- Border changes with theme color

1.0.0
- Fixed up some language things
- Added a plugin to cache the html banner templates

1.0.1
- Bug: checkmate on promotion
- Bug: poker all in led to dropping player early
- Bug: foreign language fixes
- Bug: Double posts in chatrooms
- Bug: Update betting cash on tab click
- Bug: Poker Blinds go into pot, even if player can't make them
- Status bar colour updates with Theme
- Possible outcomes in betting up from 8 to 18

Note: There is a 2mb upload limit, so the flash banner came out of the main .zip which finally pushed itself over 2mb.



1.1.1


1.1.1
- Bug: Double entries on betting resolved
- Bug: Fixed error when two players tie with full house
- Bug: Top Poker Players stats displays properly
- Bug: User name colours in lobby now 'stick'
- Edit language is now a tree view, default phrase displays properly
- in game & add game phrases for poker are now in language
- "Players" phrase in Flash Banner reacts to changes in language
- Default Cash is now editable
- Disabled Hooks on XML calls, may improve speed slightly, decrease chances of conflict
- Can override general usertype permissions for each group of games
kjack push when both player & dealer have a blackjack
- Chatroom 'flicker' on new message
- castle through check
- Add users in gameroom count to link
- Seperated framework, Flash caches this once, and only once. Resulting in a smaller file size everytime after the first. It is cached across sites as well, so there is a good chance most people already have it
- Roulette history was showing '37' when it landed on '0'
- Chess - Optional grid labels / moves in chat box

Updating:
1) Upload the framework files, they should go into the main forum folder with the .swf files folder. You will only need to do this once, which is why they are in a seperate file.
2) Upload the files in the main package, make sure everything overwrites old copies.


*********************************
** Common Problems **
*********************************

Non-english letters are not working properly
This is a problem with flash player and has been in there bug tracker for a long time. The workaround is to edit the "gameroom" template, remove the line that ways "wmode='transparent'", the downside it your popup menus will come up behind the flash box, rather then in front of it.
Images are working in IE, but not in Firefox
You likely have some form of image hot linking turned on, it is causing the requests for the images to be blocked.
Locked self out of admin panel
In the tools folder there is a file called 'makemeadmin.php', upload this and go to that page. It will make you admin, don't leave it on your server when you are done.
Updated and it is acting funny
Make sure all of your files are up to date. When you update ensure that all files are overwritten. Having mix matched files will cause funny behaviour. You may also have to clear your cache and reload the page after uploading a new gameroom.swf file.

*********************************
** Uninstall **
*********************************

If you want to uninstall the following procedure will get you through it without tossing any DB errors:

1) Dissable the product, this shuts down all the plugins. If the files are removed and plugins are still active you may see errors on your site.

2) Undo the template changes, changes where made to the navbar template and the postbit / postbit legacy template.

3) Delete all files. If the files are still present and you remove the database entries by uninstalling the product anyone that attempts to access one of them will cause a error. The Flash Banner could cause many as it could still be making calls after the template changes are undone.

gameroom.php
gameroom.swf
gameroomBanner.swf
gameroom/*
includes/cron/gameroom_nightly.php


4) Uninstall the product file, which removes all database entries, that means the following are removed:

tables with 'gameroom_' as a prefix
gameroom_cash field within the user table

Download Now

File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #502  
Old 08-24-2009, 02:06 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
Try disabling the banner plugins, those are the only things that can effect every page. That said, nothing touches either that file or that function anywhere in my code, so I'm guessing... I suspect you have another plugin or modification that is not playing nice with mine.
Hopefully, nobody will be on tonight so I can test that.

Aren't you're admin tools outside the ACP? When enabled I can't get to any part of the forum.
Reply With Quote
  #503  
Old 08-24-2009, 08:02 AM
tandy tandy is offline
 
Join Date: Jun 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this update and for all your work.
Reply With Quote
  #504  
Old 08-24-2009, 08:49 AM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew,

Thanks for this release and for being so responsive to the community. I think I will purchase the commercial version as well, just for the chess rankings :-)

I have made quite a few mods to the the vb.org (free) version, including (1) removing time limits for chess game (game start and play timouts), (2) adding long algebraic chess notation, and (3) showing inactive games in the board display.

Question: What Chess notation are you using? Do you mind to toss up a screen shot?

Thanks!

PS: I was considering an option to use either long notation or short notation. Also, I am going to log these moves into the database and make it so when someone rejoins the game , the log of prior moves is displayed in the game chat.
Reply With Quote
  #505  
Old 08-24-2009, 12:39 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After Uploading the Files and Updating and Overwriting the Product, when trying to access the "gameroom.php" File appears an Error Message:

"RSL Error 1 of 1"

"Error #2032"

Previous Version Works Fine but this New One don't.

I Hope this can be Fixed.

My Best Regards.

Reply With Quote
  #506  
Old 08-24-2009, 12:52 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Overwrited the "gameroom.swf" File of the Previous Version (the one of August 11th), and it Loaded the Gameroom, so the Problem is with that Particular File.

I Hope You Can Fix It, I noticed that the New File has 516 KB and the Previous One had 793 KB (the one that works fine), so something is missing in the New File or is Not Linking Well with some Change in the Latest Update.

I'm Using it with vB373 PL1.

My Best Regards.

Reply With Quote
  #507  
Old 08-24-2009, 01:01 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
After Uploading the Files and Updating and Overwriting the Product, when trying to access the "gameroom.php" File appears an Error Message:

"RSL Error 1 of 1"

"Error #2032"

Previous Version Works Fine but this New One don't.

I Hope this can be Fixed.

My Best Regards.

I think that you must upload files from framework.zip in your forum root and your gameroom should work fine!

regards
macc
Reply With Quote
  #508  
Old 08-24-2009, 04:08 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
..... I am going to log these moves into the database and make it so when someone rejoins the game , the log of prior moves is displayed in the game chat.
The first half was easy, just added a new db field move to table gameroom_board_game_log and added the move to the log update dB query.

The next part is a lot more tricky I think, off hand, the best approach is to create a new type sysMsg function that writes the moves to the chat window on demand. "On demand" means that the system will look at the chat messages in the gameroom, and if the chat "GETMOVES" (or something like that) when that will be interpreted as a command and it will read the moves out of the dB and then post then to the game chat area.

Maybe even an optional number of moves, like GETMOVES 10 (that defaults to ALL when an optional number argument is not present).

The more I think about it, I think adding a simple chat-system-command interpreter is maybe the best way to go......
Reply With Quote
  #509  
Old 08-24-2009, 04:19 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
After Uploading the Files and Updating and Overwriting the Product, when trying to access the "gameroom.php" File appears an Error Message:

"RSL Error 1 of 1"

"Error #2032"

Previous Version Works Fine but this New One don't.

I Hope this can be Fixed.

My Best Regards.

You need those framework files, pulling those out is what reduced the file size, that way they are cached by flash player (and are used across many flash apps) so users only need to download them once, then never again.


Quote:
Originally Posted by imported_silkroad View Post
The first half was easy, just added a new db field move to table gameroom_board_game_log and added the move to the log update dB query.

The next part is a lot more tricky I think, off hand, the best approach is to create a new type sysMsg function that writes the moves to the chat window on demand. "On demand" means that the system will look at the chat messages in the gameroom, and if the chat "GETMOVES" (or something like that) when that will be interpreted as a command and it will read the moves out of the dB and then post then to the game chat area.

Maybe even an optional number of moves, like GETMOVES 10 (that defaults to ALL when an optional number argument is not present).

The more I think about it, I think adding a simple chat-system-command interpreter is maybe the best way to go......
Right now they are storred in the chat logs, as userID '-1', which is what is used to filter them out when they are turned off. Match chatid and pull all entries by userid -1 and you should have what you are looking for. Right now it automatically pulls all messages from the last 2 minutes when you enter a room, if you modify that to also pull any that have a userid of -1 you should get what you want.

As for the notation, it is expanded to make sense to people that don't know chess notation. You get the letters / numbers on the screen and messages like "Rook a4-b4"
Reply With Quote
  #510  
Old 08-24-2009, 04:45 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
Right now they are storred in the chat logs, as userID '-1', which is what is used to filter them out when they are turned off. Match chatid and pull all entries by userid -1 and you should have what you are looking for. Right now it automatically pulls all messages from the last 2 minutes when you enter a room, if you modify that to also pull any that have a userid of -1 you should get what you want.

As for the notation, it is expanded to make sense to people that don't know chess notation. You get the letters / numbers on the screen and messages like "Rook a4-b4"
Whoo.... perfect. Thanks!

Great, that means I can purchase your commercial version (demand more support, LOL) and rebuild my mods in class_boardgame.php that displays the inactive games (finished games) in the boardroom view, and with a little more work, a user could easily pull up an old game and review the moves, if they wanted too... Great!

Also, since you log the board positions as well, it is not much work to add a REPLAY command and a STEP or NEXT command via a chat-interpreter :-)

I think a simple chat-interpreter can add a lot of value :-)

Cheers and thanks again for the last update. I will try it soon, when I am "in the mood" to recode the necessary mods into the new version. I am a very bad PHP programmer, so I don't know how to make vB hooks....
Reply With Quote
  #511  
Old 08-24-2009, 04:54 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Andrew,

I just noticed there is no user ID in the chatlog and the logs seem to be aggressively pruned. So, I am not sure that the chatlog is the ideal place for a "moves" database. I agree that the chatlog needs to be pruned, so I think it might be best to log the moves in the game_board_game table along with their cvs buddies

The alternative to not prune the chatlog and fix the bug/issue with no userID being correctly logged in the chatlog dB seems to make the alternative of simply using the board_game_log more attractive and efficient.

Screenshot ....
Attached Files
File Type: (21.3 KB, 18 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04998 seconds
  • Memory Usage 2,377KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete