Weird errors

Post » Mon Nov 19, 2012 1:41 am

Here's the script:
Scriptname AAspellAbSKSECheck extends activemagiceffect  {Checks if SKSE is loaded, and if not, notifies the user before quitting the game.}Message property AASKSEnotloaded autoEvent OnPlayerLoadGame()	;Debug.MessageBox("Game Loaded.")	if ( !SKSE.GetVersion() )		int i = AASKSEnotloaded.Show()		if ( i )			Debug.QuitGame()		endif	endifEndevent

It compiles fine and runs fine in the game, but...

When I click the properties button, I get this error:
http://i.imgur.com/jbbU7.jpg

"Errors encountered while attempting to reload the script"

The properties window still opens and it appears to fill the properties, but they're still "none" in the game, so the message never shows.

Help?
User avatar
Princess Johnson
 
Posts: 3435
Joined: Wed Feb 07, 2007 5:44 pm

Post » Mon Nov 19, 2012 1:42 am

Okay, I've tested a bit more and I should note that it happens for EVERY script I use the properties in now. This only started after installing SKSE.

I also get an error like this when I try to compile any scripts for the first time after opening the CreationKit. Error is script-specific, this is just an example:
http://i.imgur.com/n3SGq.jpg

After which, if I click "Yes to all", the behavior I mentioned in the previous post begins. Doesn't matter if I have a plugin open or not. I don't know, did I install SKSE incorrectly or something?
User avatar
Zoe Ratcliffe
 
Posts: 3370
Joined: Mon Feb 19, 2007 12:45 am

Post » Mon Nov 19, 2012 2:28 am

More testing:
If I remove the compiled scripts that came with SKSE out of the scripts directory (actor, actorbase, etc.), the errors are gone, yet my scripts which call SKSE functions still compile.

Anyone want to explain this to me? o_O
I would expect that those warnings would only exist if the compiler has to do something with the already compiled files... yet, if it does, why do my scripts with SKSE functions still compile when those are removed? If the compiler doesn't need to do anything with the compiled files (I didn't think it would?), then why did the warnings go away when I removed them?

However, since they're CK errors and not compiler errors, I don't really know what's going on.

I guess this works for now, but I'd like to know why still.
User avatar
Eduardo Rosas
 
Posts: 3381
Joined: Thu Oct 18, 2007 3:15 pm


Return to V - Skyrim