Muse3 Posted December 30, 2021 Posted December 30, 2021 I've edited the source script "slowMotionOnPlayerDeath.psc" of this mod MRD.zip, but i'm having trouble recompiling ths scripts. Could someone do me a favor and do it for me? Also, why does the creation kit freeze when i do Gameplay>Complie Papyrus Scripts if i opened it with administrator privileges? Are there too many scripts? Thx in advance (if i forgot to include something please tell me)
spoonsinger Posted December 30, 2021 Posted December 30, 2021 Re - Also, why does the creation kit freeze when i do Gameplay>Complie Papyrus Scripts if i opened it with administrator privileges? Are there too many scripts? Don't choose the Compile Papyrus Script Option. Choose the 'Papyrus Script Manager', then enter the name of the script you want to compile to get it into the table list, (or partial if you have a few with similar names), then right click on one you want to compile and choose the 'compile' option. eg
VersuchDrei Posted December 30, 2021 Posted December 30, 2021 1 hour ago, smusini said: Also, why does the creation kit freeze when i do Gameplay>Complie Papyrus Scripts if i opened it with administrator privileges? Are there too many scripts? Because it tries to compile all scripts there are. And that's just too many. Do the script manager thing as spoonsinger said.
Muse3 Posted December 31, 2021 Author Posted December 31, 2021 @spoonsinger@VersuchDrei I tried compiling from where you said, but i'm getting different errors: Spoiler C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,21): cannot call the member function GetQuest alone or on a type, must call it on a variable C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,56): cannot cast a none to a pde_mcmscript, types are incompatible C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(62,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(62,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(108,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(108,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(111,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(111,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(199,52): GetName is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,9): variable StringUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,20): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot compare a none to a int (cast missing or types unrelated) C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot relatively compare variables to None C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(329,39): GetEquippedObject is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(336,39): GetEquippedObject is not a function or does not exist No output generated for slowMotionOnPlayerDeath, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on slowMotionOnPlayerDeath What could cause this?
spoonsinger Posted December 31, 2021 Posted December 31, 2021 20 minutes ago, smusini said: @spoonsinger@VersuchDrei I tried compiling from where you said, but i'm getting different errors: Hide contents C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,21): cannot call the member function GetQuest alone or on a type, must call it on a variable C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,56): cannot cast a none to a pde_mcmscript, types are incompatible C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(62,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(62,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(108,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(108,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(111,1): variable ConsoleUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(111,13): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(199,52): GetName is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,9): variable StringUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,20): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot compare a none to a int (cast missing or types unrelated) C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot relatively compare variables to None C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(329,39): GetEquippedObject is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(336,39): GetEquippedObject is not a function or does not exist No output generated for slowMotionOnPlayerDeath, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on slowMotionOnPlayerDeath What could cause this? Have you installed SKSE with it's source headers? ConsoleUtil with it's source headers? (i.e. libraries which seem to be required by the thing you are compiling).
Andy14 Posted January 1, 2022 Posted January 1, 2022 On 12/30/2021 at 10:27 PM, smusini said: Also, why does the creation kit freeze when i do Gameplay>Complie Papyrus Scripts if i opened it with administrator privileges? Are there too many scripts? Creation Kit does not compile anything at this point. But it reads in all source files. And that can take a long time and CK does not react until everything has been read. So just be patient. When CK has finished reading in (can even take several minutes) you will be shown the list of scripts and you can choose which of the scripts you want to compile.
Muse3 Posted January 1, 2022 Author Posted January 1, 2022 @spoonsinger I have installed both SKSE and ConsoleUtil w source files, this time getting these errors: Spoiler Starting 1 compile threads for 1 files... Compiling "slowMotionOnPlayerDeath"... C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,21): GetQuest is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,21): cannot call the member function GetQuest alone or on a type, must call it on a variable C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(28,56): cannot cast a none to a pde_mcmscript, types are incompatible C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(199,52): GetName is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,9): variable StringUtil is undefined C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,20): none is not a known user-defined type C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot compare a none to a int (cast missing or types unrelated) C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(247,42): cannot relatively compare variables to None C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(329,39): GetEquippedObject is not a function or does not exist C:\Program Files (x86)\Bethesda Softworks\The Elder Scrolls V Skyrim - Legendary Edition\Data\Scripts\Source\slowMotionOnPlayerDeath.psc(336,39): GetEquippedObject is not a function or does not exist No output generated for slowMotionOnPlayerDeath, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on slowMotionOnPlayerDeath I found consoleUtil header files (not the source scripts), where should i put them? And doesn't SKSE already installs its headers? Also, happy new year
Muse3 Posted January 3, 2022 Author Posted January 3, 2022 No luck... some people said that CK has trouble running trough MO, so i just moved the interested scripts to Data/Scripts/Source and lauched CK outside of MO. I still get that "GetQuest is not a function or does not exist", eve tho the source file containing it is RIGHT THERE
blank_v Posted January 3, 2022 Posted January 3, 2022 3 hours ago, smusini said: some people said that CK has trouble running trough MO Another one xD Ahh gosh its so funny when ppl try over and over again running CK via MO for no fking reason and they have tons of problems... Yes, CK do have problems when You run it via MO... especialy with Scripts... Papyrus compiler simply can't find all files that are needed to compile Your script... I compiled those two for you: slowMotionOnPlayerDeath.pex pde_MCMScript.pex But i can't compile: pde_banditScript.psc Because i don't have and i dont want to have SexLab... I'm planning to use OSA and OSex... SexLab is old and boring already... and CEO promised many cool updates and API for modders ( so u can use OSex instead of SexLab ) Spoiler Next time u ask sm1 to compile script for you... can u plz send just PSC files You want to compile?... There is no need to send ESP file or other files... On 12/30/2021 at 11:27 PM, smusini said: Also, why does the creation kit freeze when i do Gameplay>Complie Papyrus Scripts 1) Unpack Your Scripts !... 2) Download SKSE FROM THIS LINK -> https://skse.silverlock.org/ MO CK users have also in common that they use SKSE insalled via MO ( what the fuck? there is even warrning to not do that... ) and other half have installed SKSE via Steam ( good job ) it can work if You just play... but not if u also Mod... so download SKSE for Your version and make sure that SKSE overwrite all files ( otherwise You will have missing SKSE Functions ) 3) Download :: SkyUI ( u are using MCM ) :: SexLab ( one of Your scripts use it ) :: FileAcces ( ur scripts use it ) :: PapyrusUtil ( i don't know if u need it... but its best shit and every1 need to have it xD #lol ) in Order as i typed them and keep overwriting files... 4) run Creation Kit without MO ( just drop it to Skyrim folder and double Click CrashKit... i mean Creation Kit ) 5) compile as u was compiling... Gameplay -> Papyrus Script Manager btw. Compile Papyrus Scripts is for compiling multiple files at once... and no it should not load long... it is loading long in Your CrashKit because you using it in wrong way... Btw. about point 1) You can also just download my Pack of files u need... here: https://www.loverslab.com/files/file/17938-tobi-n-papyrus-style/ or just click here to direct download: https://www.loverslab.com/applications/core/interface/file/attachment.php?id=1198700 Those are files u need to work with Scripts in CrashKit... i deleted TIF PDB etc. files that u dont even touch in 99,999999% cases... so there is no reason to load them every single time... Spoiler Desktop 2022-01-03 22-21-52.mp4
Muse3 Posted January 3, 2022 Author Posted January 3, 2022 Thanks for the file! I did install SKSE manually on the game directory, and now i also stopped using Crubling Kit trough MO, but i still get some errors... Nevermind!! I put the FileAcces source scripts(thx for reminding me i forgot i needed them lol) and set to run as administrator, and now it compiles! Thanks for the tips and also the trouble of making the file
Recommended Posts
Archived
This topic is now archived and is closed to further replies.