Jump to content

Script error message


Recommended Posts

Posted

Starting 1 compile threads for 1 files...
Compiling "ABBSuckLifeTlamScript"...
E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(392,1): 
the parameter defaults of function centeroncoords in state animating on script sslthreadcontroller do not match the parent script sslthreadmodel
E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(3032,1): 
the parameter defaults of function newthread in state disabled on script sexlabframework does not match the empty state
No output generated for ABBSuckLifeTlamScript, compilation failed.

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

 

This error message pops up always as soon as SL is involved.

The error line might differ depending on the different SL versions I tried, but always the same error message

Hook in via SL aroused, same message, even if SL is not called directly

 

What I did

setup bare minimum SL and requirements

Try compile within MO or outside MO, same error message

Tested PSC's from several SL versions incl. LE SE

copied all PSC in DATA  ....Source

made extra mod for those scripts

a friend can compile all scripts, hooked via SLA or SL without error message.

 

Any hints ?

 

 

Posted
35 minutes ago, Tlam99 said:

E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(392,1): 
the parameter defaults of function centeroncoords in state animating on script sslthreadcontroller do not match the parent script sslthreadmodel
E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(3032,1): 
the parameter defaults of function newthread in state disabled on script sexlabframework does not match the empty state

 

Declaration for function CenterOnCoords in not the same in sslThreadContrller.psc and sslThreadModel.psc.

I have SL 1.65(for skyrim 1.6.640) and no problem with compiling. And CenterOnCoords has the same declaration in both scripts.

It looks like:

function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)

 

I would say, you changed those 2 scripts or you have mod(s) that change those 2 scripts(but did a bad job).

 

Posted (edited)
49 minutes ago, Tlam99 said:

Any hints ?

 

The most common problem when compiling scripts is missing source files but your error message say that the file exist.

Then, your problem must come from the change made in SPECIAL about the location of the source files.

 

In Legenday the source files are located in DATA\Script\Source

In Special the source files are located in DATA\Source\Scripts

 

I take a look inside the ZIP files from Sexlab 1.62, 1.63, 1.64c, UtilityPlus, SLSO, ... and every one of them have their source files in DATA\Script\Source (Legendary format)

Then, you must have an older mod with older source files in DATA\Source\Scripts (Special format) and the utility that you are ussing to compile the script read from that folder.

 

Can be the configuration of the Creation Kit, or the bat file used to compile or the configuration of the TextEditor if you have integrated compilation.

One of your utilities must be configured to read the source files from DATA\Source\Scripts while the good source files are in DATA\Script\Source (Legendary format)

 

I have all my system reading source files from DATA\Script\Source as was made in Legenday.

I have configured my CK to read and put the new source files in that folder and i use a bat file to compile that read from the Original Legendary folder.

When I have a compilation error the first thing that i look is where the ZIP file have the source files.

If send it to the normal Special folder (DATA\Source\Scripts) I edit the ZIP file and reinstall the mod to have ALL the sources in DATA\Script\Source (Legendary format)

 

You must decide personally WHERE you whant have ALL your source files and configure your system to read allways from that folder.

And verify hat every mod you install put their Source Files in that folder.

When the mod send it to the another folder take corrective manual operations.

 

Edited by alex77r4
Posted (edited)
1 hour ago, Tlam99 said:

Compiling "ABBSuckLifeTlamScript"...

 

Your exact problem can be specifically realated to ABBA because:

The ZIP file from the Legendary version of ABBA send the source files to Data\Script\Source

The ZIP file from the Special      version of ABBA send the source files to Data\Source\Scripts

 

If you have your system configured to read Source Files from Data\Script\Source (Legenday format) but you want compile the Special version of ABBA you can get that error because the source files not match. Verify how you have configured your system, where are located the last source files from SexLab and where you have the Source files from ABBA.

Edited by alex77r4
Posted
9 minutes ago, Fotogen said:

function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)

 

I would say, you changed those 2 scripts or you have mod(s) that change those 2 scripts(but did a bad job).

It's the same here and I copied the scripts into the data/scripts/source (the path I use in CK ini settings).

If I open the SL scripts in CK they show exactly the same as you mentioned, in sslThreadContrller.psc and sslThreadModel.psc.

function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)

 

function in ThreadController

 

........

    function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)
        parent.CenterOnCoords(LocX, LocY, LocZ, RotX, RotY, RotZ, resync)
        if resync
            RealignActors()
            SendThreadEvent("ActorsRelocated")
        endIf
    endFunction

 

..............

 

function in ThreadModel  (the parent)

 

.............

function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)
    CenterLocation[0] = LocX
    CenterLocation[1] = LocY
    CenterLocation[2] = LocZ
    CenterLocation[3] = RotX
    CenterLocation[4] = RotY
    CenterLocation[5] = RotZ
endFunction

 

 

Nothing is overwriting the scripts, as sais, setup with bare minimum, only SL and depencies.

copied original SL scripts into Data/scripts/source several times with several SL releases and checked, it doesn't get overwriten.

 

I copied even the function line

    function CenterOnCoords(float LocX = 0.0, float LocY = 0.0, float LocZ = 0.0, float RotX = 0.0, float RotY = 0.0, float RotZ = 0.0, bool resync = true)

 

from controller to model and vice versa to ensure there is no mismatch.

 

The above functions are copied out of  Notepad++ to ensure I hit the correct lines.

Maybe I should try a AE version of the scripts, LE and SE versions might be faulty.

  • 4 months later...
Posted

For any people with this problem:

Set "Regional Standards" in Control Panel to "English (USA)" then restart MO2/CK/Script Compiler.
Voila - compilation successful.

  • 1 year later...
Posted
On 4/14/2023 at 7:47 PM, adarkman said:

For any people with this problem:

Set "Regional Standards" in Control Panel to "English (USA)" then restart MO2/CK/Script Compiler.
Voila - compilation successful.

god bless you

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...