Tabletop Simulator

Tabletop Simulator

Scripted Hold'em Poker Table
This topic has been locked
Skor  [developer] 30 Apr, 2016 @ 12:11pm
Update 04-30-2016
The pot, as well as the current bet, are now displayed using a 3dtext on the table instead of the counters.
< >
Showing 1-2 of 2 comments
Kowgan 30 Apr, 2016 @ 5:07pm 
Nice update, these are some cool features.

I got a few bugs/tweaks to report on this one:

- Current bet will, sometimes, count and display all/some of the chips on the table (instead of the largest one per player).
I.E. 100/200 Blinds are posted, Under the gun calls. Current bet should be 200, but for some reason it counts 200 (UTG) + 200 (BB) and displays 400 as the current bet.

- Current bet doesn't update to 0 when the bets are collected. This can cause some confusion when the next round starts.

- Pulsing Action text randomly disappeared/stopped working on Freeman's table. He didn't Ctrl-z before that. Unfortunately, I can't provide more details on this one, but I'll try to reproduce it.

Hope this helps. As always, thank you so much for your effort. :)
Skor  [developer] 30 Apr, 2016 @ 7:32pm 
Originally posted by Kowgan:
- Current bet will, sometimes, count and display all/some of the chips on the table (instead of the largest one per player).
I.E. 100/200 Blinds are posted, Under the gun calls. Current bet should be 200, but for some reason it counts 200 (UTG) + 200 (BB) and displays 400 as the current bet.
Due to how the current bet is calculated, out-of-turn bets can throw it off. The script keeps a table of players in the game and a corresponding table of bets for each player. When the hands are dealt, it calculates the SB and BB as 1/3 and 2/3 the bets on the table at the time, and sets those amounts to the first and second players in the players table. From that point on, it checks for an increase in the total pot and adds that amount to the current player's bet before action moves to the next player. If, for example, the action player calls the 200, and the next player also calls before the action button is clicked, it will see that the pot increased by 400 and think that the action player put in that much. This system is far from perfect, but it's all I can really do for now without majorly changing the table (something I'm actually considering doing).

The situation you described I can see happening under the following circumstances: SB puts in 100. Deal is clicked. BB puts in 200 late (so it calculated sb/bb based on the 100, and should display current bet as 66.6666666667, though you didn't mention this happening). UTG calls 200. Action button is clicked, and the pot change since the Deal button was clicked is 400, so it sets the third player's bet and current bet as 400.

- Current bet doesn't update to 0 when the bets are collected. This can cause some confusion when the next round starts.
This is something I can fix pretty easily. As long as bets are collected before the next stage is dealt, it will be updated to 0 when the next round of betting starts.

- Pulsing Action text randomly disappeared/stopped working on Freeman's table. He didn't Ctrl-z before that. Unfortunately, I can't provide more details on this one, but I'll try to reproduce it.
It actually sounds like the toggle button might be getting clicked. The toggle button is on the bottom of the reversi chip that the action button is on, so I wonder if it's somehow thinking he clicks on that when he clicks on action. Next time it happens, ask him to flip it over and click the toggle button, and see if that fixes it.
< >
Showing 1-2 of 2 comments
Per page: 1530 50