Jump to content

Error when Compiling a Script - "sslUtility" and more


Recommended Posts

Greetings,

 

at first, i'm pritty new to skyrim Scripting (and also to CreationKit), please don't be to hard :)

 

i'm trying modify a script that is using SexLib. But when i try to compile i get many Sex Lib Framework Errors

Anyone know what i made wrong?

 

 

 


[.....]\Data\Scripts\Source\sslUtility.psc(7,12): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslUtility.psc(7,23): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslUtility.psc(7,5): type mismatch while assigning to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslUtility.psc(9,15): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslUtility.psc(9,26): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslUtility.psc(10,5): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslUtility.psc(10,16): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslUtility.psc(10,35): cannot compare a none to a string (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslUtility.psc(11,9): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslUtility.psc(11,20): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslUtility.psc(17,9): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslUtility.psc(17,20): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslUtility.psc(17,2): type mismatch while assigning to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslAnimationFactory.psc(46,1): RegisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslAnimationFactory.psc(47,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslAnimationFactory.psc(48,1): UnregisterForAllModEvents is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationFactory.psc(27,1): RegisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationFactory.psc(28,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationFactory.psc(29,1): UnregisterForAllModEvents is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(41,17): GetModCount is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(41,17): cannot call the member function GetModCount alone or on a type, must call it on a variable
[.....]\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(41,5): type mismatch while assigning to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(44,24): GetModName is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationDefaults.psc(44,24): cannot call the member function GetModName alone or on a type, must call it on a variable
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(17,45): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(48,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(48,58): cannot cast a none to a sslbaseanimation, types are incompatible
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(50,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(50,57): cannot cast a none to a sslbaseanimation, types are incompatible
[.....]\Data\Scripts\Source\sslCreatureAnimationSlots.psc(57,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslAnimationSlots.psc(181,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslAnimationSlots.psc(181,50): cannot cast a none to a sslbaseanimation, types are incompatible
[.....]\Data\Scripts\Source\sslAnimationSlots.psc(183,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslAnimationSlots.psc(183,49): cannot cast a none to a sslbaseanimation, types are incompatible
[.....]\Data\Scripts\Source\sslAnimationSlots.psc(190,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslBaseVoice.psc(39,23): GetVoiceType is not a function or does not exist
[.....]\Data\Scripts\Source\sslBaseVoice.psc(44,8): SetVoiceType is not a function or does not exist
[.....]\Data\Scripts\Source\sslBaseVoice.psc(46,8): SetVoiceType is not a function or does not exist
[.....]\Data\Scripts\Source\sslBaseVoice.psc(49,7): SetVoiceType is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceFactory.psc(31,1): RegisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceFactory.psc(32,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceFactory.psc(33,1): UnregisterForAllModEvents is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceSlots.psc(136,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceSlots.psc(136,46): cannot cast a none to a sslbasevoice, types are incompatible
[.....]\Data\Scripts\Source\sslVoiceSlots.psc(138,14): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslVoiceSlots.psc(138,45): cannot cast a none to a sslbasevoice, types are incompatible
[.....]\Data\Scripts\Source\sslVoiceSlots.psc(145,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorStats.psc(338,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(428,55): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(428,85): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(670,2): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(673,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(683,23): RegisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadModel.psc(686,1): SendModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorAlias.psc(125,11): SheatheWeapon is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorAlias.psc(255,22): GetCameraState is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorAlias.psc(255,22): cannot call the member function GetCameraState alone or on a type, must call it on a variable
[.....]\Data\Scripts\Source\sslActorAlias.psc(255,39): cannot compare a none to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslActorAlias.psc(454,1): UnregisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorAlias.psc(460,1): UnregisterForModEvent is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorAlias.psc(481,1): UnregisterForAllModEvents is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorSlots.psc(84,18): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorSlots.psc(84,50): cannot cast a none to a sslactoralias, types are incompatible
[.....]\Data\Scripts\Source\sslActorSlots.psc(86,18): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorSlots.psc(86,49): cannot cast a none to a sslactoralias, types are incompatible
[.....]\Data\Scripts\Source\sslActorLibrary.psc(76,13): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(81,13): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,14): IsRaceFlagSet is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,43): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,69): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,54): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,89): cannot compare a none to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,98): variable StringUtil is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,124): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,109): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(102,142): cannot compare a none to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslActorLibrary.psc(107,13): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(107,61): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(107,111): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(107,160): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(109,115): GetName is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(209,16): GetMaskForSlot is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(209,16): cannot call the member function GetMaskForSlot alone or on a type, must call it on a variable
[.....]\Data\Scripts\Source\sslActorLibrary.psc(209,3): type mismatch while assigning to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslActorLibrary.psc(210,12): GetWornForm is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(210,30): cannot cast a none to a armor, types are incompatible
[.....]\Data\Scripts\Source\sslActorLibrary.psc(211,28): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(218,30): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(232,30): HasKeyWordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(268,25): GetType is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(268,6): type mismatch while assigning to a int (cast missing or types unrelated)
[.....]\Data\Scripts\Source\sslActorLibrary.psc(344,50): HasKeywordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(346,50): HasKeywordString is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(383,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(384,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(385,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(386,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(387,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(388,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(389,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(390,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(391,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(392,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(393,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(394,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(395,1): RegisterForKey is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(401,1): UnregisterForAllKeys is not a function or does not exist
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,44): variable UI is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,47): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,73): variable UI is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,76): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,104): variable UI is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,107): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,138): variable UI is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(407,141): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(414,17): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(414,23): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(414,43): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(414,49): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(416,15): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(416,21): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(422,22): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(422,28): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(422,49): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(422,55): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslActorLibrary.psc(424,20): variable input is undefined
[.....]\Data\Scripts\Source\sslActorLibrary.psc(424,26): none is not a known user-defined type
[.....]\Data\Scripts\Source\sslThreadSlots.psc(73,19): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadSlots.psc(73,52): cannot cast a none to a sslthreadcontroller, types are incompatible
[.....]\Data\Scripts\Source\sslThreadSlots.psc(75,19): GetAliasByName is not a function or does not exist
[.....]\Data\Scripts\Source\sslThreadSlots.psc(75,51): cannot cast a none to a sslthreadcontroller, types are incompatible

Link to comment
  • 2 months later...
  • 3 weeks later...

 

Greetings,

 

at first, i'm pritty new to skyrim Scripting (and also to CreationKit), please don't be to hard :)

 

i'm trying modify a script that is using SexLib. But when i try to compile i get many Sex Lib Framework Errors

Anyone know what i made wrong?

 

 

 

[.....]\Data\Scripts\Source\sslUtility.psc(7,12): variable StringUtil is undefined

[.....]\Data\Scripts\Source\sslUtility.psc(7,23): none is not a known user-defined type

[.....]\Data\Scripts\Source\sslUtility.psc(7,5): type mismatch while assigning to a int (cast missing or types unrelated)

[.....]\Data\Scripts\Source\sslUtility.psc(9,15): variable StringUtil is undefined

[.....]\Data\Scripts\Source\sslUtility.psc(9,26): none is not a known user-defined type

 

 

 

The dreaded [ Source\ski_widgetmanager.psc(29,1): RegisterForModEvent is not a function or does not exist ]

Skyrim Bug is solved.

 

In short, the SKSE *.exe installer looks at he date of the script files, and doesn't install if of the same date.

 

This is probably a convienence for the SKSE developers, so they don't have to wait for a full install file transfer time when testing a small change to just a few files.

 

So, If you've been fighting the problem, and just re-installed, the Skyrim game, then SkyUI, some of the files which should be overwritten with SKSE versions are not, and hence it cannot find the handles fo rhte ResisterForMenu or RegisterFor******!

 

So, download the Archieve version of the file, and manually copy and paste the Script files, both *.pex, and source *.psc into the Skyrim/Data/Scripts folder, and everything will start working again.

 

 

I was so frustrated with this problem, that until I came across this post I had devolved into:

 

Drinking Whiskey

 

Kicking the Dog

 

Pounding on the keyboard until I got blood and plastic shards

 

Searching for hard drugs

 

Screaming at the sky

 

and contemplating using nuclear weapons on innocent cities in utter frustration!

 

 

Thanks to (Enthusiast) on the Nexus Formus, ... I'm better now.

 

Spread the word.

 

Link to comment

I've had some of these issues with the SexLab Gender Change mod D:

 

There are always 2 things you need to keep in mind when modding with SexLab:

 

1.    Prerequisites. As a beginner myself I was completely unaware of something that is actually explained over at Ashal's wiki for SexLab, so I can personally confirm it does feel like a common thing to, say, not install the SkyUI SDK source scripts.

 

2.    Order of installation of the prerequisites. The second problem I stumbled upon was exactly the second thing to be pointed by Ashal under the Common Compiling Problems, and it's that I installed the CK *after* installing SKSE, and thus CK replaced SKSE scripts.

 

All of this, including the download links for all the prerequisites, the information about the common problems I mostly quoted *plus* a ton of really great and helpful stuff for us beginners can be found in the following link:

http://git.loverslab.com/sexlab/framework/wikis/home

 

Cheers :)!

Link to comment
  • 2 months later...

I dunno if this is true for everyone, but if you ever try to compile a script with Creation Kit and it fails, you've gotta delete the failed copy of the script/psc completely and either paste a back-up copy, or re-write the whole script again before making any edits... I read somewhere that once CK fails to compile a script, it keeps a bunch of that "failed data" or something in that particular file, so trying to edit and recompile that same script will do you no good outside of adding even more "failed data". I was pulling my eyeballs out before I knew this.

 

Thank you guys for this thread btw, you got me out of a pretty annoying hiccup.

.

Link to comment

Archived

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

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use