Jump to content

SKSE 1.7.1 Script Compiling Errors


Jun3d1

Recommended Posts

Hi,

I'm seeking assistance indetermining the root cause behind my issues scripting in the Creation Kit. I'm currently unable to compile scripts due to errors that seem to be due to the psc files provided by skse build 1.7.1. The program doesn't recognize parameters and variables within the psc files. Has anyone else seen this issue and is there a fix for this? I've read through the changelog and found that DirectXSDK is now required for compiling. I have downloaded DirectXSDK and am just wondering what I'm doing wrong. Any help will be greatly appreciated. Thanks.

1.7.1:- fixed IsValidRace for armor races- added MagicEffect.GetCasting/DeliveryType- fixed crash when calling UpdateWeight on non-facegen Actors- GetTotalItemWeight computed correctly for non-players- added Potion.IsPoison, GetUseSound- added Weapon.GetTemplate- added Ammo.IsBolt, GetProjectile, GetDamage- added Game.GetDialogueTarget- added SKSETaskInterface::AddUITask- serialization understands deleted forms- added SKSEMessagingInterface- plugin messages sent on save, preload, postload, delete- WornObject.GetDisplayName returns base form name if no display name is present- added WornObject, ObjectReference.GetPoison- DirectX SDK now required for compilation****- fixed WornObject slot/mask lookup- added NetImmerse.SetNodePosition- added Actor.GetFurnitureReference- added Game.GetCurrentCrosshairRef- added NetImmerse.GetRelativeNodePositionX/Y/Z- added Actor.Set/ResetExpressionPhoneme/Modifier- added Form.HasWorldModel, Get/SetWorldModelPath/NumTextureSets/NthTextureSet/SetWorldModelNthTextureSet- added HeadPart.IsExtraPart- added Form.IsPlayable- added ObjectReference.GetAllForms

Starting 1 compile threads for 1 files...
Compiling "test3"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(4,33): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(8,45): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(27,49): unknown type globalvariable
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(28,34): globalvariable is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(28,1): type mismatch on parameter 1 (did you forget a cast?)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(4,15): unknown type class
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(10,18): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(12,66): unknown type globalvariable
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(13,12): globalvariable is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,34): globalvariable is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,40): cannot compare a none to a float (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,40): cannot relatively compare variables to None
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,90): globalvariable is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,96): cannot compare a none to a float (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(18,96): cannot relatively compare variables to None
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(135,58): unknown type globalvariable
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(140,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(144,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(148,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(155,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(158,62): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(159,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(169,31): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(173,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(176,33): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(179,36): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(185,28): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(200,71): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(205,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(208,57): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(229,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(232,48): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(236,33): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Quest.psc(241,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\LeveledItem.psc(13,24): unknown type globalvariable
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\LeveledItem.psc(14,40): unknown type globalvariable
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(48,15): unknown type light
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(49,24): unknown type light
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(51,22): unknown type effectshader
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(52,35): unknown type effectshader
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(54,22): unknown type effectshader
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(55,39): unknown type effectshader
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(57,20): unknown type projectile
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(58,34): unknown type projectile
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(60,19): unknown type explosion
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(61,32): unknown type explosion
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(72,23): unknown type impactdataset
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(73,40): unknown type impactdataset
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(78,28): unknown type imagespacemodifier
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MagicEffect.psc(79,45): unknown type imagespacemodifier
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Race.psc(20,19): unknown type voicetype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Race.psc(23,52): unknown type voicetype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(55,24): unknown type class
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\HeadPart.psc(23,18): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\HeadPart.psc(24,32): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(104,19): unknown type voicetype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorBase.psc(105,32): unknown type voicetype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(51,70): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(54,69): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(67,77): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(72,76): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(176,41): unknown type wordofpower
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(251,57): unknown type imagespacemodifier
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(257,31): unknown type wordofpower
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Game.psc(263,32): unknown type wordofpower
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ActorValueInfo.psc(54,30): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Shout.psc(4,21): unknown type wordofpower
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Shout.psc(8,46): unknown type wordofpower
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(170,17): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(179,17): unknown type package
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Ammo.psc(9,20): unknown type projectile
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Weapon.psc(54,16): unknown type static
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Weapon.psc(55,33): unknown type static
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(220,36): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(293,45): unknown type associationtype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(377,34): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(439,32): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(454,28): unknown type idle
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(457,38): unknown type idle
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(463,35): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(525,33): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(557,32): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(568,30): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(637,55): unknown type formlist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(721,32): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(721,51): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(733,29): unknown type package
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(737,30): unknown type package
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(741,27): unknown type package
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Cell.psc(7,17): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Cell.psc(22,33): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(86,33): location is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(86,77): location is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(110,5): unknown type key
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(112,5): type mismatch on parameter 1 (did you forget a cast?)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(112,29): cannot compare a none to a int (cast missing or types unrelated)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(113,3): type mismatch on parameter 1 (did you forget a cast?)
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(242,18): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(245,15): unknown type scene
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(251,18): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(254,17): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(269,13): unknown type key
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(368,19): unknown type voicetype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(374,20): unknown type worldspace
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(388,41): unknown type locationreftype
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(465,90): unknown type encounterzone
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(477,45): unknown type impactdataset
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(517,19): unknown type topic
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(544,33): unknown type faction
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(598,36): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(600,10): unknown type location
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(604,20): location is not a known user-defined type
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(665,67): unknown type projectile
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(822,24): unknown type referencealias
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ObjectReference.psc(828,30): unknown type formlist
No output generated for test3, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on test3

Link to comment
Share on other sites

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

Link to comment
Share on other sites

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

I was able to find a non steam creation kit download. It had all the source files and overwrote the skse source files. After that it worked so that tells me it may be something with skse 1.7.1

Link to comment
Share on other sites

 

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

I was able to find a non steam creation kit download. It had all the source files and overwrote the skse source files. After that it worked so that tells me it may be something with skse 1.7.1

 

Why get a non Steam version?

Link to comment
Share on other sites

 

 

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

I was able to find a non steam creation kit download. It had all the source files and overwrote the skse source files. After that it worked so that tells me it may be something with skse 1.7.1

 

Why get a non Steam version?

 

The only reason I got it was due to the fact that uninstalling and reinstalling the CK didn't work (from steam)[as suggested by a different forum post for my issue]. I was looking in forums for a fix and someone mentioned it so I said "What the hay! I'll give it a shot!" All I know is that it replaced the skse 1.7.1 .psc files and it began working.

 

The reason I believe it may be the skse build is because I deleted my copy of skyrim and downloaded it again through steam. I then got skse with a full vanilla copy of skyrim and tried to compile.... Lo and Behold, same errors. I would assume it's working for everyone else thought, since I have had a helluva time trying to find a fix for this.

Link to comment
Share on other sites

It's much simpler and has absolutely nothing to do with SKSE. The most recent CK update packaged all of the source scripts into a Scripts.rar file in the Skyrim/Data folder. You have to extract the source files from it to compile any scripts. Those errors are about the scripts that SKSE hasn't modified and are missing if you haven't extracted them from Scripts.rar.

Link to comment
Share on other sites

It's much simpler and has absolutely nothing to do with SKSE. The most recent CK update packaged all of the source scripts into a Scripts.rar file in the Skyrim/Data folder. You have to extract the source files from it to compile any scripts. Those errors are about the scripts that SKSE hasn't modified and are missing if you haven't extracted them from Scripts.rar.

 

LoL!!! That is just splendid. I can't believe I missed that. I just validated my CK files and 'pop' comes a script.rar file. Thank you CD and Moto for the explanation.

I did read about the script.rar file in the forums as well but when I previously verified my cache, I didn't see it in the DATA folder. I must have just missed it.

Link to comment
Share on other sites

 

 

 

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

I was able to find a non steam creation kit download. It had all the source files and overwrote the skse source files. After that it worked so that tells me it may be something with skse 1.7.1

 

Why get a non Steam version?

 

The only reason I got it was due to the fact that uninstalling and reinstalling the CK didn't work (from steam)[as suggested by a different forum post for my issue]. I was looking in forums for a fix and someone mentioned it so I said "What the hay! I'll give it a shot!" All I know is that it replaced the skse 1.7.1 .psc files and it began working.

 

The reason I believe it may be the skse build is because I deleted my copy of skyrim and downloaded it again through steam. I then got skse with a full vanilla copy of skyrim and tried to compile.... Lo and Behold, same errors. I would assume it's working for everyone else thought, since I have had a helluva time trying to find a fix for this.

 

 

 

 

 

Verify Cache for Creation Kit and Skyrim. Then look for "scripts.rar" in your data folder...Bethesda archived all the scripts. Be careful extracting them, if you have loose files from mods, they will be overwritten when you extract. Good luck.

I was able to find a non steam creation kit download. It had all the source files and overwrote the skse source files. After that it worked so that tells me it may be something with skse 1.7.1

 

Why get a non Steam version?

 

The only reason I got it was due to the fact that uninstalling and reinstalling the CK didn't work (from steam)[as suggested by a different forum post for my issue]. I was looking in forums for a fix and someone mentioned it so I said "What the hay! I'll give it a shot!" All I know is that it replaced the skse 1.7.1 .psc files and it began working.

 

The reason I believe it may be the skse build is because I deleted my copy of skyrim and downloaded it again through steam. I then got skse with a full vanilla copy of skyrim and tried to compile.... Lo and Behold, same errors. I would assume it's working for everyone else thought, since I have had a helluva time trying to find a fix for this.

 

Fair enough. It is recommended to use only legit versions of Steam exclusive titles. No telling what they might package into a hacked version. Glad you have it all figured out. Good luck.

Link to comment
Share on other sites

  • 7 months later...
  • Recently Browsing   0 members

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