RimWorld
RiMind
Se afișează 21-27 din 27 intrări
< 1  2  >
Actualizare: 6 sept. @ 8:36

Bug Fixes

Fixed a prompt malfunction issue.
This mod is currently testing a momentum system that determines a pawn's willingness to maintain a conversational flow with another interacting pawn. To do this, when sending a prompt to the AI, we require an identifier that helps it determine the purpose of the current utterance and whether the user is speaking with the intention of receiving a response.

We initially used a tuple for this identifier for readability, which repeatedly caused a 429 quota exceeded error (and sometimes worked, which was confusing). After removing the tuple, we successfully received a response. We found this issue while debugging and referencing the original RimTalk mod's code.

Actualizare: 6 sept. @ 3:01

Major Bug Fixes

Fixed Pawns Stopping Speech: A critical bug where pawns' desire to speak would stop updating after a certain period of time from the start of the game, causing them to no longer generate dialogue, has been resolved.

Addressed Null Response Warnings and Missing Dialogue: Resolved an issue where the program failed to properly read the AI's response even though the AI successfully generated dialogue. This caused a Null response warning and resulted in the dialogue being omitted.

Fixed Outdoors Space Processing Errors: Fixed a severe bug that caused the game to freeze or crash in certain situations, especially when a pawn was near a door.


Improvements & Balancing

Improved Dialogue Request Queue Logic: The issue where all other pawns' dialogue requests were blocked while one pawn was waiting for an AI response has been fixed. Now, dialogue requests are made sequentially at a set interval, regardless of the AI response time.

Stabilized Time Calculation Logic: The core update logic of the mod has been synchronized with RimWorld's base time system to enhance stability and eliminate potential time calculation errors.

Improved Code Compatibility and Reliability: Replaced code that caused build errors in some RimWorld versions with standard APIs that work reliably across all versions.

Internal Code Cleanup: Outdated and unused code (e.g., if (false) blocks) has been removed, and the code has been modernized to comply with the latest API standards, reducing the potential for future errors.


A Note on Development
I'm new to C# and suspect that some of the custom methods I've created are causing mod-specific issues by overwriting the functions of existing RimWorld or Harmony code. I plan to gradually improve this over time.

Actualizare: 5 sept. @ 10:12

Discovered an issue where a single request was being sent 4 times. The code has been fixed to ensure only one request is sent per action.

Actualizare: 5 sept. @ 9:16

Fixed an issue where sending an empty initial message would confuse the AI, leading to inefficient responses and a 2-3x faster consumption of the API quota. This caused a 429 error and exhausted the API's resources shortly after the game started.

Actualizare: 5 sept. @ 6:54

[Auto-generated text]: Update on 9/5/2025 10:54:33 PM.

Actualizare: 5 sept. @ 5:52

[Auto-generated text]: Update on 9/5/2025 9:52:41 PM.

Actualizare: 5 sept. @ 1:09

[Auto-generated text]: Initial upload.