Hergotzer Posted January 5, 2018 Posted January 5, 2018 With the help of gooser I've been lately testing around with Papyrus. I've been using Sublime Text 3 in this and while it works fine otherwise, any time I try to compile a script that is related to Sexlab, I get errors. When I compile any Sexlab related script, be it an actual Sexlab's script or otherwise, the compile fails and the same two errors appear regardless of script (as long as it's Sex-lab related. Any Vanilla or unrelated scripts work fine). Here's the log if I try to compile SexLabFramework.psc: Starting 1 compile threads for 1 files... Compiling "SexLabFramework"... D:\Desktop\Steam\steamapps\common\Skyrim\Mods\SexLabFramework v162 FULL\scripts\Source\sslThreadController.psc(365,1): the parameter defaults of function centeroncoords in state animating on script sslthreadcontroller do not match the parent script sslthreadmodel D:\Desktop\Steam\steamapps\common\Skyrim\Mods\SexLabFramework v162 FULL\scripts\Source\SexLabFramework.psc(3016,1): the parameter defaults of function newthread in state disabled on script sexlabframework does not match the empty state No output generated for SexLabFramework.psc, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on SexLabFramework.psc The log appears the same if I try to compile other scripts as well, just the names change. The two errors are identical each time, however. With gooser we were able to find out the problem with the first error, but after some tries and checking we found out that there doesn't seem (to us) be no mismatch on CenterOnCoords. Here are my current lines on the scripts: sslThreadController.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) parent.CenterOnCoords(LocX, LocY, LocZ, RotX, RotY, RotZ, resync) if resync RealignActors() SendThreadEvent("ActorsRelocated") endIf endFunction 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) CenterLocation[0] = LocX CenterLocation[1] = LocY CenterLocation[2] = LocZ CenterLocation[3] = RotX CenterLocation[4] = RotY CenterLocation[5] = RotZ endFunction So on that, if someone sees the problem or can help in this, it would be greatly appreciated. However, I'm very much a beginner in both scripting and Papyrus, so my ability to comprehend complicated guides is limited. Simple "Do this and then this" type help is enough if it's even possible. On the second error I have no idea. I don't know where to even start with it, much less how to solve it. Here's the line the error seems to talk about if its needed: sslThreadModel function NewThread(float TimeOut = 30.0) Help in solving either of the errors is appreciated. Also, as this problem is not exactly directly related to Sexlab itself, do tell me if this was posted in the wrong section.
gooser Posted January 5, 2018 Posted January 5, 2018 Someone else posted this exact error, but there were no followups. https://www.loverslab.com/topic/47759-papyrus-compile-error/
laurient Posted January 10, 2018 Posted January 10, 2018 Hey, I found the solution. Put your Windows regional format Settings (hour, date, numbers) to English U.S. And it compile. (Found the solution in an obscure Google englisn translated russian forum ^^')
Hergotzer Posted January 11, 2018 Author Posted January 11, 2018 18 hours ago, laurient said: Hey, I found the solution. Put your Windows regional format Settings (hour, date, numbers) to English U.S. And it compile. (Found the solution in an obscure Google englisn translated russian forum ^^') How is this done in Windows 10? EDIT: Ok, scratch that. Found it and it worked! I guess I should inform the guys behind Sublime about this; it seems that it can't compile properly unless the system language is US English...
LazyBoot Posted January 11, 2018 Posted January 11, 2018 I'm going to guess that it is probably this setting that is causing the issue if it's set to anything other than this:
laurient Posted January 12, 2018 Posted January 12, 2018 On 11/01/2018 at 6:25 PM, Hergotzer said: How is this done in Windows 10? EDIT: Ok, scratch that. Found it and it worked! I guess I should inform the guys behind Sublime about this; it seems that it can't compile properly unless the system language is US English... The problem doesn't come from Sublime but from the papyrus compiler, because i don't use Sublime to compile it but directly the Creation kit and i had the same problem.
Ashal Posted January 13, 2018 Posted January 13, 2018 It's a localization issue. You can either change your windows setting to use . for decimals, or if you want, just edit the script's function to use , instead of . and save it, no need to recompile it I don't think.
laurient Posted January 14, 2018 Posted January 14, 2018 i don't think it will work because the , is used to separate the parameters ^^'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.