EDIT/UPDATE: Actually, I believe I have found a way to get around this problem *if* you set up the database with empty placeholders for the variables that will be updated in a module. It seems that updating a variable that is already in the database does not harm the transitions (as far as I can see). It's early testing yet, but this would be the simplest way around the crashing issue, as it would mean either:-
a) Supplying the player with a database already to update, or ....
I will test this further, and no news, means good news and that will also be a good workaround.
Lance.
With reference to the transition crashes I was having in this post, I am still trying to improve on my own "fix", which (in some situations) is currently limited to forcing the player to restart the game afresh (quit to desktop) before reloading a game if need be.
I have noted that Exiting To the Main Menu to reload a game is not the same thing as Exiting To the Desktop to restart the game afresh and then reloading. (Obvious I know.) But, the question I am trying to ask is (and need help with) ... is there any way to clear down the data (clear the cache?) of the game in the same way as exiting the game to desktop, but taking the player back to the Main menu instead?
i.e. Is there a command that when "exiting to desktop" calls (clearing the cache?) that I can use when "exiting to main menu" instead?
The problem (bottom line) is that when I store camapign variables in a game (even when the player is exiting it for any reason), any form of reloading a game (which calls the campaign variables back) causes the game to crash on transitions - UNLESS the reloading is from a fresh start of NWN2.
Surely there must be a way of "clearing the data" that is causing the issue without having to exit the game completely? Of course, the ideal solution would be to have a way of "clearing this data" while still in the module itself, but I am happy to just have it cleared when outside the module BUT without having to exit to desktop if possible.
EDIT: The XML calls are UIButton_Input_ExitApp versus UIButton_Input_ExitToMainMenu. However, I have no idea how to edit these functions. Is editing XML functions even possible?
Many Thanks.
Lance.
Modifié par Lance Botelle, 12 mai 2012 - 04:45 .





Retour en haut






