dkatryl Posted May 18, 2013 Posted May 18, 2013 Not sure what I am doing wrong, but I must be missing something very obvious, but I am just hitting a roadblock on what appears should be a very easy step. From http://git.loverslab.com/sexlab/wikis/home you basically tell us to setup a script to use the Framework by adding the line: SexLabFramework property SexLab auto I tried that with an essentially empty script fragment that only contained: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 1Scriptname _SLSubmit Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0Function Fragment_0(ObjectReference akSpeakerRef)Actor akSpeaker = akSpeakerRef as Actor;BEGIN CODE;Test;END CODEEndFunction;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment From there, I tried to add the framework stuff by both methods from that site. I tried to simply open the script in the papyrus manager, pasting the line at the bottom, saving, then right clicking and compiling, as well as from within a quest that had the fragment, at the script name properties, manually adding it just like the bottom of the site. Both methods simply get me the following: Starting 1 compile threads for 1 files... Compiling "_SLSubmit"... E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(56,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(57,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(58,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(59,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(60,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(61,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(62,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(63,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(64,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(65,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(66,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(67,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(68,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(70,1): RegisterForMenu is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(77,1): SendModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(266,1): SendModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(278,1): SendModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configbase.psc(114,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configbase.psc(115,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configbase.psc(731,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configbase.psc(739,1): UnregisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslSystemConfig.psc(522,31): GetName is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslSystemConfig.psc(522,41): cannot compare a none to a string (cast missing or types unrelated) E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslSystemConfig.psc(525,65): GetName is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslBaseThread.psc(248,9): UnregisterForAllKeys is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslBaseThread.psc(612,10): UnregisterForAllKeys is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\sslBaseThread.psc(893,11): UnregisterForAllKeys is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(250,53): IsRaceFlagSet is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(254,6): HasKeyWordString is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(339,16): GetMaskForSlot is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(339,16): cannot call the member function GetMaskForSlot alone or on a type, must call it on a variable E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(339,3): type mismatch while assigning to a int (cast missing or types unrelated) E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(340,12): GetWornForm is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(340,30): cannot cast a none to a armor, types are incompatible E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(391,25): GetType is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(391,6): type mismatch while assigning to a int (cast missing or types unrelated) E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1066,2): SendModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1070,1): SendModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1092,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1093,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1094,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1095,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1096,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1097,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1098,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1099,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1100,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1101,1): RegisterForKey is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SexLabFramework.psc(1102,1): RegisterForKey is not a function or does not exist No output generated for _SLSubmit, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on _SLSubmit What is puzzling me even more is I get this same error even if I try to compile an existing working SexLab based script, like for instance any one I tried from the SexLabWorkingGirl I was looking at to try to compare to mine to see what I was doing wrong. But that gave the same error for me. I have tried everything I can think of and am coming up empty, so hopefully you can shed some light on this.
Ashal Posted May 18, 2013 Posted May 18, 2013 Those errors are all for SKSE functions, so you likely don't have the source files for SKSE installed properly, stopping you from compiling scripts that have SKSE functions in them.
dkatryl Posted May 18, 2013 Author Posted May 18, 2013 Hrm, I run Skyrim from SKSE (currently using skse_1_06_13) and have been for a while now. But, I will definitely investigate that, since I was coming up with nothing on my end. However, most of those calls seemed to be for things related to SkyUI. At least that's what it looked like to me trying to make sense of it all.
Ashal Posted May 18, 2013 Posted May 18, 2013 same thing applies to skyui, you need the skyui script files in order to compile scripts with mcm functions, https://github.com/schlangster/skyui/wiki download the skyui 3.4 sdk and copy it's psc & pex files over, same with skse, make sure you have the psc files from that as well.
dkatryl Posted May 18, 2013 Author Posted May 18, 2013 GAAAAAAAAAAAAAAAH!!! THAT is what it was! You see, I had the last SkyUI 3.4 from nexus installed, and when it originally said something like "missing SKI_ConfigBase" or something, I figured it needed the scripts packed up in the .BSA file that came with SkyUI. I never knew about the SDK download. So yeah, deleted the .BSA scripts, extracted the SDK scripts, and BAM! compiled on the first try. Awesome, now I can actually begin work! Appreciate!
Thargon Posted February 1, 2014 Posted February 1, 2014 Not sure what I am doing wrong, but I must be missing something very obvious, but I am just hitting a roadblock on what appears should be a very easy step. From http://git.loverslab.com/sexlab/wikis/home you basically tell us to setup a script to use the Framework by adding the line: SexLabFramework property SexLab auto I tried that with an essentially empty script fragment that only contained: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname _SLSubmit Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE ;Test ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment From there, I tried to add the framework stuff by both methods from that site. I tried to simply open the script in the papyrus manager, pasting the line at the bottom, saving, then right clicking and compiling, as well as from within a quest that had the fragment, at the script name properties, manually adding it just like the bottom of the site. Both methods simply get me the following: Starting 1 compile threads for 1 files... Compiling "_SLSubmit"... E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(56,1): RegisterForModEvent is not a function or does not exist E:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(57,1): RegisterForModEvent is not a function or does not exist What is puzzling me even more is I get this same error even if I try to compile an existing working SexLab based script, like for instance any one I tried from the SexLabWorkingGirl I was looking at to try to compare to mine to see what I was doing wrong. But that gave the same error for me. I have tried everything I can think of and am coming up empty, so hopefully you can shed some light on this. 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 (Journeyman) on the Nexus Formus, ... I'm better now. Spread the word.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.