Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Would it be too hard to set a toggleable option for the Action button to skip players holding the AFK button? IMHO it doesn't make much sense that you expect AFK players to pay the blinds, since by default, the Deal button already skips AFK players when dealing cards.
I also noticed you haven't scripted the Sidepot yet. As I understand scripting this can become too complicated very easily, I have some ideas that may be worth of discussion. Poke me if you're interested. :)
I'm not sure if I want to add yet another button; I'm not really sure where I'd put it. Maybe I'll make a whole set of "Options" buttons in the future. But for now, if you want the blinds to skip afk players, you can make one simple change to the script. Find the following loop in the function getOrderedListOfPlayers:
When I mentioned a toggleable function, I didn't think of a button, but rather, a bool option on the script. But your solution works just as good as that. :)
As for the sidepots, what I had in mind would be simple enough to support about 3 sidepots (but easily expandable if needed), and I guess the possibly hard part would be deleting chips and replacing them with smaller value ones, if necessary, to correctly split a bet to match the sidepot.
I'll study a bit of LUA and your code to see if I can come up with something tangible.
--- Edit:
Oh, didn't notice it would break the code. What about the actionoffset = 0 line?
Also, is it just me or the deck is being moved to the center of the table while dealing cards to players? It moves back to place after done.
One last thing: I noticed the default deck has a script inserted on it. I like to use a custom deck by default. Should I insert that code into my custom deck?
Oh no, none of those things would break the script. bbcode is the formatting code for forum posts. That's why the rest of my post was in the code box.
Oh yes! This is something I forgot to mention. I did this to hopefully prevent the rare occasion of a player ending up with three cards (the card for another player would get too close to their hand and be intercepted).
Oh, I completely forgot about this. It's just a test code that I used to get the position of the deck when it's dropped (used to get the position of the center of the table for dealing). It's perfectly fine to delete this.
Ah, bbcode. I misinterpreted your original statement, my bad!
Thank you once again.
- Rewrote getPotPos function. It still functions exactly the same; I just made the code nicer.
- Removed the test script that I forgot was on the deck.
- Fixed a potential issue with it displaying the incorrect current bet when it deals players' hands in the event that there is leftover money in the pot from the previous hand (a leftover 100 from a split pot, for example).