Tabletop Simulator

Tabletop Simulator

Scripted Hold'em Poker Table
This topic has been locked
Skor  [developer] 9 Nov, 2016 @ 12:43pm
Update: 11 - 09 - 2016
Scripts updated: Global
Possible issue: If you copy/paste the script to your own saved game, it will load the old options table which does not include new variables that I added, which may result in an error in the Host Settings options menu.
Solution: Delete the global script entirely from your saved table. Save the file without the script. Load the save. Paste new global script and save.

Nevermind, that doesn't work. I even saved a game to a new file with no global script, and then pasted the script into the new file, but no luck.
So I added a check in the onload function to see if the new variables exist, and if not, to create them. Should be good now to simply copy/paste the script.

New stuff:
  • Autoclock option: Spawns a clock in front of the player automatically. This clock has a separate time (adjustable) from the clock spawned by the Clock button on the main menu.
    • Pause button: Adds a pause button to the autoclock-spawned clock allowing the player to pause it if they need more time. A clock manually spawned from the main menu will not have a pause button.
  • Autofold: Automatically fold the player when the clock expires. Technically, players get one extra second from the time the clock hits zero and beeps. I tried to set it to fold the player exactly at zero, but foldPlayer passes action, which destroys the clock, and interrupts the beep sound. The autofold setting also applies to the main clock button.
  • I think I finally fixed the issue with the action text disappearing when one player is left to call an all in bet.
  • Deleted the stray $10k that I left on the change machine in the previous release.
  • Added a third change machine behind Green/Yellow seats.
Last edited by Skor; 9 Nov, 2016 @ 1:10pm
< >
Showing 1-5 of 5 comments
Skor  [developer] 9 Nov, 2016 @ 4:19pm 
Another small update:
The cards in hands are now faced down when the game is reset, so players can no longer catch a glimpse of another player's cards as the deck resets.

Edit: And now the clock, if one exists, gets destroyed upon collectBets.
Last edited by Skor; 9 Nov, 2016 @ 4:43pm
Skor  [developer] 9 Nov, 2016 @ 5:39pm 
When dealing community cards, the scale of the board object is now taken into consideration.
Skor  [developer] 10 Nov, 2016 @ 11:59am 
Small update because I broke busted tokens. I use a different name on my personal table, and I forgot that I changed it to that in the script. Now it just checks for either, so it shouldn't happen again.
Kowgan 10 Nov, 2016 @ 3:57pm 
Everyday is updateday :)

Awesome support, Skor. I love the new clock updates. Thank you.
Skor  [developer] 10 Nov, 2016 @ 10:24pm 
The update just now only fixed a non-gamebreaking Lua error that occured if the last player in the game mucks their cards with the fold hand button.
< >
Showing 1-5 of 5 comments
Per page: 1530 50