Jump to content

Need help compiling Sexlab scripts(Solved)


Recommended Posts

Posted (edited)

I just can't figure it out. I get lots of errors using the CK or other programs. If there's anyone who knows this stuff could you make me a MF kissing script that keeps the clothes on? Something that I can link to in dialogue and I think I need separate ones for male and female player characters but I'm not sure. Thanks

Edited by Bruhskyrim2
Posted
1 hour ago, Bruhskyrim2 said:

I get lots of errors using the CK or other programs.

 

Like what?  Those are solvable if we know what they are.

Posted
1 hour ago, Seijin8 said:

Like what?  Those are solvable if we know what they are.

sslBaseExpression.psc(123,3): variable MfgConsoleFunc is undefined

sslBaseExpression.psc(123,18): none is not a known user-defined type
sslActorAlias.psc(495,5): variable NiOverride is undefined

sslActorAlias.psc(1758,49): UseFurniturePackage is not a property on script sslthreadcontroller or one of its parents

sslThreadModel.psc(618,74): none is not a known user-defined type

sslThreadModel.psc(618,63): variable xxsUtility is undefined

Lots more like this

Posted (edited)

It is usually means you are missing dependencies. If my understanding is correct, compiling a script also means compiling it's dependencies (and the dependencies' dependencies), until everything works well

In this case, you are missing source scripts from MfgConsoleFunc, NiOverride (under Modders Package), and xxsUtility

 

Make sure the source scripts from those mods (file ending with .psc) are in the Data/Source/Scripts (or Data/Scripts/Source, I am not sure which)

Edited by LittleWhiteNeko
Posted

I might be doing it wrong, but the only way I could make any script with Sexlab compile was temporarily copy the Sexlab scripts and sources into my mod under construction. 

The same applied to FNIS, and any other relevant mod.

Once constructed, I deleted the copies and all worked OK.

 

Some people don't seem to need to do this. But for me it is the only way it will work.  I use MO2.

Posted
10 hours ago, LittleWhiteNeko said:

In this case, you are missing source scripts from MfgConsoleFunc, NiOverride (under Modders Package), and xxsUtility

I have all those mods including the modders package and still get the same errors. This is just impossible then?

Posted
13 minutes ago, Bruhskyrim2 said:

I have all those mods including the modders package and still get the same errors. This is just impossible then?

 

NiOverride is part of race menu i believe and race menu comes as a .bsa so you might need to unpack the .bsa to get the .psc's to place in your folder with the other .psc's

Posted
1 hour ago, Bruhskyrim2 said:

I have all those mods including the modders package and still get the same errors. This is just impossible then?

That would mean the compiler cannot find the source files; either you dont put them in the right place or the compiler is not set up properly. If you use MO2, there are steps you need to do to make it works.

Posted
2 hours ago, pinky6225 said:

race menu comes as a .bsa so you might need to unpack the .bsa to get the .psc's

Okay this got rid of that specific error so thanks. I'll check on the other ones for more BSAs. Dumb question but how do I resize the window for the Papyus Script Compiler in the CK? It's hard to read everything in it

Posted
33 minutes ago, Bruhskyrim2 said:

Okay this got rid of that specific error so thanks. I'll check on the other ones for more BSAs. Dumb question but how do I resize the window for the Papyus Script Compiler in the CK? It's hard to read everything in it

 

Afraid i don't know on that one as i setup notepad++ to let me compile that way as i found the CK to be rather prone to crashing/doing odd stuff

Posted (edited)

 

Spoiler


C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadLibrary.psc(927,16): FurnitureRef is not a property on script sslthreadcontroller or one of its parents
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(425,26): FurnitureStatus is not a property on script sslthreadcontroller or one of its parents
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(1758,49): UseFurniturePackage is not a property on script sslthreadcontroller or one of its parents
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(1769,49): UseFurniturePackage is not a property on script sslthreadcontroller or one of its parents
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(1828,51): UseFurniturePackage is not a property on script sslthreadcontroller or one of its parents
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(617,51): GetFlagSmallscriptScaleCreatures is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(617,51): cannot call the member function GetFlagSmallscriptScaleCreatures alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(618,31): HasScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(618,31): cannot call the member function HasScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(618,74): HasScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(618,74): cannot call the member function HasScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(621,35): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(621,35): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(622,35): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(622,35): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(625,35): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(625,35): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(626,35): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(626,35): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(797,24): GetFlagSmallscriptCreatureActivate is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(797,24): cannot call the member function GetFlagSmallscriptCreatureActivate alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(799,101): GetFlagSmallscriptScaleCreatures is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(799,101): cannot call the member function GetFlagSmallscriptScaleCreatures alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(802,31): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(802,31): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(803,31): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(803,31): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(806,31): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(806,31): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(807,31): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(807,31): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(816,26): GetFlagSmallscriptExcludeLotaCreatureDef is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(816,26): cannot call the member function GetFlagSmallscriptExcludeLotaCreatureDef alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(837,55): GetFlagSmallscriptScaleCreatures is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(837,55): cannot call the member function GetFlagSmallscriptScaleCreatures alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(840,31): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(840,31): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(841,31): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(841,31): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(844,31): xxsCopyScale is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(844,31): cannot call the member function xxsCopyScale alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(845,31): AddScaleSpell is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(845,31): cannot call the member function AddScaleSpell alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(857,71): GetFlagSmallscriptEnableOnOrgy is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(857,71): cannot call the member function GetFlagSmallscriptEnableOnOrgy alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(865,58): GetSmallscriptSizeDiff is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(865,58): cannot call the member function GetSmallscriptSizeDiff alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(865,44): cannot compare a float to a none (cast missing or types unrelated)
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(865,44): cannot relatively compare variables to None
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(881,62): GetSmallscriptSizeDiff is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(881,62): cannot call the member function GetSmallscriptSizeDiff alone or on a type, must call it on a variable
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(881,48): cannot compare a float to a none (cast missing or types unrelated)
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadModel.psc(881,48): cannot relatively compare variables to None
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(484,27): variable FurnitureTypeID is undefined
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(484,6): type mismatch while assigning to a int (cast missing or types unrelated)
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(485,5): variable UsingFurniture is undefined
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(570,68): variable FurnitureTypeID is undefined
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(571,28): variable FurnitureTypeID is undefined
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(571,25): cannot compare a int to a none (cast missing or types unrelated)
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(480,1): function movescene cannot be defined in state animating without also being defined in the empty state
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(699,4): MoveScene is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(785,5): SortFurnitureActors is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(928,5): variable UsingFurniture is undefined
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(933,2): SetCircleOfIntimacy is not a function or does not exist
C:\GAMES (SSD)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslFurnitureMarkers.psc(180,16): FurnitureRef is not a property on script sslthreadcontroller or one of its parents

I made some progress finding source files placed in the wrong locations like source/scripts instead of scripts/source, so here is what it looks like now. No idea where I could find any of these ones, though

Edited by Bruhskyrim2
Posted

I did it! Problem solved! The final nail in the coffin was that I was using OSLaroused instead of just Sexlab Aroused so I was missing a few scripts from there. I finally compiled the script and can get to work on my new project. Thanks everyone.

  • 5 months later...
Posted

I was able to get the same issue resolved (and one with the FNIS Creature Pack) with MO2 by editing each of the mod's zip files and adding a "scripts/Source/" directory, then copying all the .psc files into it and adding that as a mod to MO2. MfgFix, RaceMenu's Modder's Package (NiOverride), and FNIS Creature Pack all had their .psc files in "source/scripts/', which the game didn't mind, but Creation Kit couldn't find.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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