Jump to content

Odd papyrus compiler behaviour


Recommended Posts

Posted

Hey folks,

 

recently I've noticed some odd things happening when compiling my scripts, the compiler is modifying some of my source scripts. One of them being sslObjectFactory.psc from sexlab which I've never even edited or compiled myself. I'm guessing that my CK setup is probably broken but I'm loath to get it from bethesda again as it's been updated and I'd not be able to use the amazing creation kit fixes mod.

 

Anyone else had this issue or have any ideas as to why it might happen?

Posted

Never seen the compiler ever compile anything but the one being worked on. It checks the source scripts that are parents of it but never compiles them. This is disturbing. ?

Posted
3 minutes ago, pburnt said:

Never seen the compiler ever compile anything but the one being worked on. It checks the source scripts that are parents of it but never compiles them. This is disturbing. ?

Yup I was like wtf? I wonder if it could be a bug in the new MO2 as it only started happening recently

Posted
5 minutes ago, Yinkle said:

Yup I was like wtf? I wonder if it could be a bug in the new MO2 as it only started happening recently

Never used MO2 so can't speak to that. One of the regular modders might have an answer. Wish I could help since you've helped me before. :P

Posted

You sure its compiler? Maybe its, dunno "aliens" ? I mean. first try to find out who really did it.

 

Lock files so they can't be changed? Set read-only. Change security, file ownership. Theres a Local Security Policy(Local Policies/Audit Policy) tools that allows you to track who did what.

 

I've never seen what you described. How is the file "changed"?

Posted
14 minutes ago, Fotogen said:

You sure its compiler? Maybe its, dunno "aliens" ? I mean. first try to find out who really did it.

 

Lock files so they can't be changed? Set read-only. Change security, file ownership. Theres a Local Security Policy(Local Policies/Audit Policy) tools that allows you to track who did what.

 

I've never seen what you described. How is the file "changed"?

It adds some gobbldygook to the start of the file

 

Edit: if I see it again I'll post what it adds here

Posted

Ok so it happened again and this time it messed up the racemenu NiOverride.psc script :/

 

normally the 1st few lines would be as follows:

Scriptname NiOverride Hidden

int Function GetScriptVersion() global
	return 6
EndFunction

; Valid keys
; ID - TYPE - Name
; 0 - int - ShaderEmissiveColor
; 1 - float - ShaderEmissiveMultiple

after trying to compile ABBA_Script_MCM.psc :

 

Starting assembly of ABBA_Script_MCM
0 error(s), 0 warning(s)
Assembly succeeded
ndFunction

; Valid keys
; ID - TYPE - Name
; 0 - int - ShaderEmissiveColor
; 1 - float - ShaderEmissiveMultiple

Really odd and annoying behavior!

  • 2 months later...
Posted

OK so I finally fixed this issue (I think). It seems that my anti virus real time scanner was messing with the papyrus compiler so I added it to the exclude list and since then no weird edits to source files, fingers crossed it never happens again!

 

Edit: sadly the problem is back so that didn't fix it.

Posted

Hi - I'm having real trouble just getting the compiler to work at all.  I'm using MO2 - is there a tutorial anywhere on how to set it up as what help I have found elsewhere hasn't worked.

  • 2 weeks later...
Posted

It turns out that the issue I was having was related to the uvfs in recent versions of MO2. A fix has just recently been posted on the MO2 discord.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...