Papyrus Log Worries

Post » Tue Nov 20, 2012 4:20 am

Hey guys, I decided to turn on logging to see what sort of things my game throws out. And it was showing me errors for scripts attached to my quests, saying the property cannot be initialised because the script no longer contains that property.

It's confused me because the quest hasn't even started when this error was recorded. And in the CK the properties are fine. It said this about 4 or so other properties in my other scripts.

Also a lot a vanilla skyrim quests had similar errors show.

Is this normal? Should I be worried?
User avatar
Farrah Lee
 
Posts: 3488
Joined: Fri Aug 17, 2007 10:32 pm

Post » Tue Nov 20, 2012 5:31 pm

Do the same errors occur when you use a newly-started game save?
User avatar
darnell waddington
 
Posts: 3448
Joined: Wed Oct 17, 2007 10:43 pm

Post » Tue Nov 20, 2012 6:30 pm

Do the same errors occur when you use a newly-started game save?

Yep which confused me even more lol.
User avatar
Robyn Lena
 
Posts: 3338
Joined: Mon Jan 01, 2007 6:17 am

Post » Tue Nov 20, 2012 2:38 pm

Not normal, and yes, you should be worried. This has happened to me a couple of times now too and it took some serious gymnastics to clear up. Starting with having had to wipe out properties on an entire script and then put them all back because something got lost somewhere that the game couldn't cope with.

I've no idea what the trigger conditions are, but it hasn't happened more than the couple times I've had to deal with it. Thankfully.
User avatar
mollypop
 
Posts: 3420
Joined: Fri Jan 05, 2007 1:47 am

Post » Tue Nov 20, 2012 10:08 am

Thanks Arthmoor. Must be bad then, but worrying if vanilla quest errors were there to :/
User avatar
Victor Oropeza
 
Posts: 3362
Joined: Sun Aug 12, 2007 4:23 pm

Post » Tue Nov 20, 2012 7:02 am

I see now yea. The script that the error says it's attached to, doesn't actually have that property, but it may have done at some point. Although the property is removed completely, the ref the error is referring to, still shows as being part of that script/quest, when you use Use Info.

So for me, it's saying my global is still attached to a quest (when I view the Use Info), when it's not. It seems that clearing the properties down on the script in the error, exiting the quest, and going back in, setting the value for all the properties again, does fix it.

Thanks for your help mate :)
User avatar
Robert Garcia
 
Posts: 3323
Joined: Thu Oct 11, 2007 5:26 pm

Post » Tue Nov 20, 2012 5:30 pm

The error stems from the master file telling Papyrus to set a property to a value, but the script has had the property removed. Usually this happens when you delete a property that a script used to have. In-game, Papyrus is just going to ingore the extra masterfile data after spitting out that error.

The CK should fix it for you automatically if you open the offending script's property edit window, and hit OK on *both* the property window and the form, and then save the plugin. It's doing a silent cleanup when you open the window, but it won't save the changes unless you OK them. In the cases where the script no longer has any properties (and so the OK button is greyed out), just detach and re-attach the script.
User avatar
maddison
 
Posts: 3498
Joined: Sat Mar 10, 2007 9:22 pm

Post » Tue Nov 20, 2012 5:59 pm

The error stems from the master file telling Papyrus to set a property to a value, but the script has had the property removed. Usually this happens when you delete a property that a script used to have. In-game, Papyrus is just going to ingore the extra masterfile data after spitting out that error.

The CK should fix it for you automatically if you open the offending script's property edit window, and hit OK on *both* the property window and the form, and then save the plugin. It's doing a silent cleanup when you open the window, but it won't save the changes unless you OK them. In the cases where the script no longer has any properties (and so the OK button is greyed out), just detach and re-attach the script.

That's what I found mate, after playing around, simply opening up the properties again, OK the props and the script/quest, then Save, the errors go away. Didn't have to reset every property in the end :)
User avatar
darnell waddington
 
Posts: 3448
Joined: Wed Oct 17, 2007 10:43 pm

Post » Tue Nov 20, 2012 6:39 pm

The http://www.creationkit.com/Papyrus_Runtime_Errors page on the wiki documents those errors. I only recently started using console logging, anyone who writes scripts should being using it.
User avatar
Joe Alvarado
 
Posts: 3467
Joined: Sat Nov 24, 2007 11:13 pm


Return to V - Skyrim