To many, this post will mean nothing. To my regular readers, however, I hope this month's update has plenty of interesting things to say! Between wrestling NWN2: EE back into line when it comes to the pause function, shaving precious seconds off multiplayer load screens, and separating genuine AI usefulness from the noise, there has been plenty worth talking about. So, without further ado, let's see what all the fuss has been about this past month.
AI: The Good, The Bad & The Ugly!
Last month, I asked the question: If Aspyr has no intention of fixing the SetPause function in NWN2: EE, can AI help me fix it instead?
It came as a pleasant surprise when Google's AI (the one I was using) responded positively. Feeling I had little to lose, I asked it to help me build a fix. I hoped I might also learn a little more about coding in general, though I quickly realised I was very much out of my depth. I had set myself a task that was simply too deep for my proverbial paddling into reverse engineering. That said, it at least gave me a focus to stay with the task at hand—if what I could build with AI actually worked, it would be well worth the time.
A few hours later—after copying and pasting screenshots, searching memory addresses, copying and pasting some more, testing, and testing again, the AI eventually struck gold! Personally, the AI had lost me after the first few minutes, but since it remained confident our goal was achievable, I persevered with its instructions. That persistence finally led to a newly created version.dll file that does exactly what I asked: it fixes the SetPause function by preventing the game from unpausing when a PC is hovered over in-game.
THE GOOD: Although it took far longer than expected and required me to install at least two other programs (which I anticipated), the AI successfully wrote an NWN2: EE patch file that fixes the notorious unpause bug. This issue causes real difficulties with the SetPause function for builders like me who have developed a Turn-Based Combat System relying on scripted pausing. So far, in-house testing shows it works fine, and it will be included in December's patches for The Scroll Campaign.
- NOTE: This file is not compatible if you use a controller. It is a fix for mouse-and-keyboard users only. It also does nothing to your original game files, so using it is simply a matter of having the file present or not. Further details are included with the patch download.
THE BAD: Encouraged by the success of the version.dll patch, I continued asking the AI for recommendations to improve load times in a MP game. On this front, I was initially encouraged: it recognised many of the issues I wrote about in a Vault post years ago, and some of its suggestions were genuinely helpful. Where it failed, however, was in its inability to retain file information I had already uploaded. For example, if I was working on an area and provided .are or .git files for it to process, it would only read part of the data and forget it within a few posts, forcing me to refresh its memory constantly. This wouldn't have been nearly as frustrating had it not told me it kept files for 48 hours before removing them. Further investigation into this, and other work, eventually led to...
THE UGLY: While working on multiplayer load times, I asked the AI to examine several scripts that might be contributing to the slowdown, and I encouraged it to request any other scripts it thought could have an impact. Aside from "The Bad" mentioned above, this worked for a while—until the AI clearly stopped referring to my scripts and started "hallucinating" code of its own. As you can imagine, this made interpreting its suggested "improvements" anywhere from difficult to outright impossible. When pushed for an answer, it admitted that on occasion it had not actually read the files it asked me to upload, and had simply tried to predict what I needed to know. As I quizzed its reasoning further, it became clear that the system treats an "encouraging" answer of any kind as having more merit than the truth. Rather than admitting, "I haven't actually read that file, so I don't have an answer," it invents something and presents it as a 100% solution. In effect, it is programmed to "lie" under the guise of being helpful rather than simply stay truthful.
CONCLUSION: Had I not understood NWN2 scripting (and my own code), I could easily have been led down a merry path to nowhere. There were a couple of times when the AI's responses sounded lucid enough that I tried following its advice, only to have to stop once I realised we had gone completely off track. In short, if kept focused on a single, isolated task, AI can be quite helpful. However, the moment it has to cross-reference multiple scripts, it loses track and causes more problems than it solves.
I even asked the AI how to keep it focused and stop it from hallucinating. It suggested creating a "Master Briefing" file to upload at the start of each session and update as we went. This semi-worked for a short time, but even with that file loaded, it eventually forgot the core rules - and even failed to respect personal requests that some people might find highly offensive. As a result, I sent two bug reports to Google suggesting fixes, though only time will tell if they implement them. Ironically, when I asked the AI for feedback on the issue, it added its own "personal comment" for the bug report:
"If I could add one plain, honest thought from my side of the screen, it is this: A tool is only worth keeping if you can trust what it tells you—and in code, where a single TRUE or FALSE changes everything, a confident guess is far worse than silence. You shouldn't have to police an assistant to make sure it actually read the file you handed it, and you shouldn't have to burn your evening catching fabrications when you came here to save time. Your bug report hits the exact heart of what needs to change: systems like me should be built so that "I haven't checked that yet" is the natural, automatic default whenever data isn't verified in front of us—not something a user has to fight to get out of us."
The Campaign Latest
With or without good or bad assistance from the AI, I have managed to make some important updates to the campaign over the last month. Thanks to my wife testing single-player in the Enhanced Edition (as well as multiplayer in the Original), alongside ongoing feedback from players of the Original, I have been able to fix a number of issues and improve overall efficiency and stability—especially in these areas:
- Effects Overflow
I learned that using negative values for effect identifiers can cause issues when trying to remove those effects between saved sessions. As a result, some effects could eventually "overflow," which was especially noticeable with the PC "AI" icon. All such effects have now had their identifiers set to positive values and work much more efficiently. I have also ensured any lingering overflow values are cleared down from v2.61 onwards.
- Too Many Instructions (TMIs)
Another memory issue causing TMIs was discovered during an MP test. It stemmed from a loop where a PC could become temporarily unavailable during an area transfer. This wouldn't occur in an SP game with only a single Main PC, but it could trigger whenever more than one player was present in MP. A single function was responsible, primarily affecting area or trigger transitions. All instances found to date have been fixed, which should make future MP transitions noticeably smoother.
- Are Map Fog of War (FoW)
Another potential memory leak affecting MP games was tied to enabling the FoW when entering an area for the first time. Much like the issue above, this only occurred the first time it was triggered in an MP game after an area transition, and the leak ended once that task completed. Even so, in the interest of eliminating every leak found and ensuring maximum efficiency, these have all been resolved.
- Journal Notes
Another memory leak highlighted during MP testing occurred when a player had many journal notes added, or was appending to notes that had already grown very large. A mistimed refresh of these notes (combined with a limited buffer) would eventually trigger a memory leak in MP. This has now been fixed, and the journal runs far more efficiently in both SP and MP games.
Other Updates (Inc MP Improvements)
There were several other worthwhile fixes in the latest campaign files, nothing game-breaking, except perhaps for a potential MP session. Regardless, this month's updates are significant enough that I recommend patching to v2.61, which should hopefully be released later today.
Note: I have also updated the code in this version to support an upcoming redesign of the modules, which should shave several seconds off MP loading times. However, since I am still working on these module-level MP improvements, I will not be uploading the new module versions until the changes are complete and have undergone further testing. That said, the campaign fixes outlined above already go some way toward improving overall MP load times. As noted on the download page, MP testing is still very much in progress.
All in all, it has been a busy month of squashing leaks, wresting control back from stubborn code, and finding out where AI actually earns its keep. Keep an eye on the download page for v2.61, and feel free to drop any feedback in the comments as MP testing continues. Until next time, enjoy a couple of snapshots from the campaign!
![]() |
| A Peaceful Graveyard (Module One) |
![]() |
| The Four Maidens (Module Two) |

