The issue I'm having is that when I open the campaign file, or sometimes even just by changing rooms, when I click on a token, which launches the character sheet in a custom window, I will get the following error text in the Chat Room, and the Character Sheet Window will not populate the character sheet data, instead remaining blank.
Code: Select all
Error in body of roll. Statement options (if any): H, if( SWT_OwnedCurrent == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_OwnedSelected == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || isGM() == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_ForceLoad == 1), CODE Statement Body : { [H, MACRO("SheetLoadCheck@this"): macro.args] };{ [H: ""] }
Error in body of roll. Statement options (if any): H, if( SWT_OwnedCurrent == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_OwnedSelected == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || isGM() == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_ForceLoad == 1), CODE Statement Body : { [H, MACRO("SheetLoadCheck@this"): macro.args] };{ [H: ""] }
Error in body of roll. Statement options (if any): H, if( SWT_OwnedCurrent == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_OwnedSelected == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || isGM() == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_ForceLoad == 1), CODE Statement Body : { [H, MACRO("SheetLoadCheck@this"): macro.args] };{ [H: ""] }
Error in body of roll. Statement options (if any): H, if( SWT_OwnedCurrent == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_OwnedSelected == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || isGM() == 1 && isDialogVisible("EntryWindow") == 0 && SWT_CharacterType == 1 || SWT_ForceLoad == 1), CODE Statement Body : { [H, MACRO("SheetLoadCheck@this"): macro.args] };{ [H: ""] }
Solving the problem seems to be as simple as cutting and re-pasting the token back into the map. However, since something as simple as changing rooms can affect the tokens--and I don't even mean removing the tokens from the current room and pasting them in another room (though that causes it too), I just mean like, I change rooms to glance at something and come back to the original room, not having done anything--and this issue seems to affect as many as HALF the tokens on the map (but strangely not all), it can be a gigantic pain in the butt to cut and paste all the tokens repeatedly.
Does anyone know what might be causing this issue, and how I might go about fixing it?