Jump to content

Bekzhan

Registered
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Bekzhan

  1. View File Kudos Pazaak Counter Overflow Fix Fixes an overflow in Kudos's Pazaak progression counter on Tatooine. After the player's 128th win against Kudos, tat_fazzpazzstate overflows to -128. While the counter remains negative, Kudos is effectively stuck in his novice state for the next 128 wins, reverting to his initial dialogue branch, tier-1 deck and stake. Once the counter wraps back to 0, his normal progression starts over from the beginning. This mod caps the counter at its final meaningful state once Kudos's normal progression is complete. It also restores overflowed negative values to that final state the next time the reset script runs. Normal progression through the first ten wins is unchanged. Installation instructions Copy: k_ptat_paz_rese2.ncs into your game's Override folder. To uninstall, remove k_ptat_paz_rese2.ncs from the Override folder. Main features Prevents tat_fazzpazzstate from overflowing after 128 wins. Preserves Kudos's normal progression through the first ten wins. Freezes the counter at its final meaningful state once progression is complete. Automatically repairs already-overflowed negative counter values when the script next runs. Does not alter Kudos's Pazaak decks, wagers, rewards or game balance. Compatibility Compatible with vanilla KotOR, K1R and K1CP. The mod does not alter Pazaak decks, wagers or rewards. It may conflict with another mod that modifies k_ptat_paz_rese2.ncs or deliberately extends tat_fazzpazzstate beyond its vanilla progression. Tested with tat_fazzpazzstate already overflowed: one final 75-credit game occurred, after which the variable was restored to 10 and subsequent games returned to the permanent high-tier state. The original bug can be reproduced by playing 128+ games against Kudos or by manipulating tat_fazzpazzstate with KotOR Savegame Editor. Discovered during an apparently unreasonable amount of legitimate Pazaak grinding. Notes Already-overflowed saves: If the counter has already overflowed, one final 75-credit game may occur before the fix takes effect. After that game, the counter is restored to 10 and subsequent games return to Kudos's permanent high-tier deck state. Vanilla note: In the unmodded PC game, Kudos's permanent high-tier wager is only 50 credits, while his overflowed novice-state wager is 75. As a result, the original overflow can actually be advantageous for credit grinding in vanilla. This fix restores the intended permanent high-tier behavior regardless of wager values and is therefore most beneficial with K1CP (which increases the late-game stake to 500) or other mods that increase Kudos's late-game stake. Submitter Bekzhan Submitted 08/12/2026 Category Mods K1R Compatible Yes  
  2. Version 1.0

    2 downloads

    Fixes an overflow in Kudos's Pazaak progression counter on Tatooine. After the player's 128th win against Kudos, tat_fazzpazzstate overflows to -128. While the counter remains negative, Kudos is effectively stuck in his novice state for the next 128 wins, reverting to his initial dialogue branch, tier-1 deck and stake. Once the counter wraps back to 0, his normal progression starts over from the beginning. This mod caps the counter at its final meaningful state once Kudos's normal progression is complete. It also restores overflowed negative values to that final state the next time the reset script runs. Normal progression through the first ten wins is unchanged. Installation instructions Copy: k_ptat_paz_rese2.ncs into your game's Override folder. To uninstall, remove k_ptat_paz_rese2.ncs from the Override folder. Main features Prevents tat_fazzpazzstate from overflowing after 128 wins. Preserves Kudos's normal progression through the first ten wins. Freezes the counter at its final meaningful state once progression is complete. Automatically repairs already-overflowed negative counter values when the script next runs. Does not alter Kudos's Pazaak decks, wagers, rewards or game balance. Compatibility Compatible with vanilla KotOR, K1R and K1CP. The mod does not alter Pazaak decks, wagers or rewards. It may conflict with another mod that modifies k_ptat_paz_rese2.ncs or deliberately extends tat_fazzpazzstate beyond its vanilla progression. Tested with tat_fazzpazzstate already overflowed: one final 75-credit game occurred, after which the variable was restored to 10 and subsequent games returned to the permanent high-tier state. The original bug can be reproduced by playing 128+ games against Kudos or by manipulating tat_fazzpazzstate with KotOR Savegame Editor. Discovered during an apparently unreasonable amount of legitimate Pazaak grinding. Notes Already-overflowed saves: If the counter has already overflowed, one final 75-credit game may occur before the fix takes effect. After that game, the counter is restored to 10 and subsequent games return to Kudos's permanent high-tier deck state. Vanilla note: In the unmodded PC game, Kudos's permanent high-tier wager is only 50 credits, while his overflowed novice-state wager is 75. As a result, the original overflow can actually be advantageous for credit grinding in vanilla. This fix restores the intended permanent high-tier behavior regardless of wager values and is therefore most beneficial with K1CP (which increases the late-game stake to 500) or other mods that increase Kudos's late-game stake.
  3. Not sure if it counts as a bug, but I haven't found it anywhere else. Kudos's pazaak counter breaks after playing 128 games. After playing 128th game, his dialogue changes and the option to play pazaak moves from the first level of his dialogue tree: (Well, nice to see you again. Would you like another game? You've proven your skill, and I like being challenged.) 1. Let's have a game to the second level of his dialogue tree. (Hello again. What can I do for you? As I must have said, I'm no hunter like the others here.) 1. I want to ask about Pazaak > (What did you want to talk about? Would you care for a game?) > 2. Let's have a game The stake also resets from 500 (with this mod) to 75, and stays like that forever for a very long time, even if you win 4 or more games with this stake (tested it by playing 9 more games after that, increasing the global counter to 137 games). So, he kinda starts treating you always like meeting you for the first time. Ways to reproduce: either play with him 128+ pazaak games (like I did. I just love Pazaak, I like winning big, and I probably have too much time on my hands) or use KotOR SaveGame Editor to change in the savefile the value of: Globals > Numerics > tat_fazzpazzstate to 128 or higher. I haven't tested how this works in an unmodded game. My guess is that the same thing happens there, except that the stake resets from 50 to 75 rather than from 500 to 75. If I understand correctly, this variable effectively wraps modulo 256. At 128 it becomes -128, then 129 becomes -127, 130 becomes -126, etc. I tested this a bit further. If tat_fazzpazzstate is changed to 262, Kudos treats it as game/state #6 and proposes a 200-credit bet, using his second-tier deck. If it's changed to 264, he brings back the 500-credit bets. That seems consistent with 262 wrapping to 6 and 264 wrapping to 8. If that's indeed what's happening, perhaps there is a relatively simple workaround: once Kudos reaches his final permanent Pazaak state, tat_fazzpazzstate could simply stop increasing and remain at 10 (or whatever exact value represents his final state). There doesn't seem to be any gameplay reason to keep counting games after that, since from game 11 onwards his deck, dialogue and stake no longer progress further. For compatibility with saves where the counter has already overflowed, perhaps the script could also check for a negative tat_fazzpazzstate and reset it to the final state value. So, for example, an overflowed value such as -128 would be normalized back to 10 instead of making Kudos treat the player as a novice again. Not sure how feasible that is with the existing scripts, but it seems like it could avoid the overflow without needing to change the global variable type itself.
  4. I still don't get the assumption that there were any development plans to allow T3-M4 to be recruited early. Canderous Ordo's line: "But that little T3 unit you got from Janice should be good enough to get the job done" can be heard in the unmodded game normally if you purchase the droid and immediately go to Javyar's cantina to ask Canderous again what you need to do. It was added for him to not to tell you to purchase a droid at this point when he can clearly see you already have one.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.