Jump to content

Recommended Posts

Posted (edited)

I'm very new to scripting, and just got setup with PCA for Skyrim SE. Using https://documentation.pca-app.dev/docs/ to get me started. I wanted to add 2 more cup sizes (well, really just 2 new records so I'd have 6 instead of 4 3ba bodies to play with) to 3BA (2.43). I have the records for the spell, quest, armor addons, and such created just fine-- but I realized I needed to edit about 3 scripts so the 2 new options appear in the MCM.

 

So I opened these 3 source files, and began searching for what seemed relevant to make them appear (really just whenever I noticed certain IDs that looked familiar to what was in the .esp records), and made some additions for the 2 new 3ba bodies.

-Mus3BAddonMCM.psc

-ToggleSpellNPC3BBB.psc

-ToggleSpellNPC3BBBMultiple.psc

 

However, when I try to compile these I keep getting errors-- and am unable to continue. I'm not familiar enough with this yet, could someone compile these and let me know what was wrong? All I'm grasping (again, I'm a beginner) is that an argument is missing, and is supposed to have a default value? I don't know the syntax for it, where it goes etc.

 

Compilation log (similar for all 3):

 

Spoiler

W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(167,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(169,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(171,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(172,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(174,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(175,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(176,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(181,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(185,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(186,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(187,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(196,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(197,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(204,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(209,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(222,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(222,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(252,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(252,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(263,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(263,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(273,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(273,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(283,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(283,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(292,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(292,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(301,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(301,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(313,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(313,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(328,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(328,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(396,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(396,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(405,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(405,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(414,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(414,2): argument a_statename is not specified and has no default value

 

Mus3BAddonMCM.psc ToggleSpellNPC3BBB.psc ToggleSpellNPC3BBBMultiple.psc

Edited by randompeep
Posted
10 hours ago, randompeep said:

However, when I try to compile these I keep getting errors-- and am unable to continue. I'm not familiar enough with this yet, could someone compile these and let me know what was wrong? All I'm grasping (again, I'm a beginner) is that an argument is missing, and is supposed to have a default value? I don't know the syntax for it, where it goes etc.

 

Try and see if you can compile the scripts that come with 3BA. If you get the same errors, you are missing some source scripts. You might need the source scripts of the dependencies of 3BA as well. 

Posted

Some of the source scripts from 3ba compile fine. I extracted the scripts.zip file, and thought that would cover some of the dependencies. I've tried using the CreationKit and am receiving the same errors. It does seem like something is missing, but I don't know where to start to retrieve what is missing. I have the source for 3BA, which probably makes references to other sources-- but idk what those are.

Posted
7 minutes ago, randompeep said:

Some of the source scripts from 3ba compile fine. I extracted the scripts.zip file, and thought that would cover some of the dependencies. I've tried using the CreationKit and am receiving the same errors. It does seem like something is missing, but I don't know where to start to retrieve what is missing. I have the source for 3BA, which probably makes references to other sources-- but idk what those are.

 

The requirements are CBPC, SMP, XPMSSE, and PapyrusUtil. Maybe one of those will help.

Posted (edited)

I have far fewer errors than before, but there are still some.  I found whatever source scripts there were in the requirements for 3BA, and made sure they appeared in data\source\scripts. 

 

Tried compiling Mus3BAddonMCM.psc.

 

ski_configmanager looks like it belongs to SkyUI.

 

PCA:

Spoiler

Mus3BAddonMCM.psc

W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(167,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(169,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(171,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(172,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(174,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(175,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(176,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(181,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(185,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(186,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(187,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(196,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(197,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(204,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(209,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(222,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(222,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(252,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(252,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(263,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(263,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(273,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(273,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(283,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(283,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(292,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(292,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(301,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(301,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(313,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(313,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(328,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(328,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(396,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(396,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(405,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(405,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(414,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\Mus3BAddonMCM.psc(414,2): argument a_statename is not specified and has no default value
 

 

CreationKit:

Spoiler

ski_configmanager.psc(45,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(46,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(47,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(48,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(49,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(50,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(51,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(52,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(53,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(54,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(55,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(56,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(57,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(58,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(59,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(60,6): RegisterForMenu is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(64,6): SendModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(105,6): SendModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(116,6): SendModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configmanager.psc(154,6): SendModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configbase.psc(704,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configbase.psc(709,6): UnregisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configbase.psc(810,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\ski_configbase.psc(811,6): RegisterForModEvent is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BPhysicsManager.psc(168,57): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BPhysicsManager.psc(171,59): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BPhysicsManager.psc(183,80): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BPhysicsManager.psc(199,80): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(116,1): RegisterForCrosshairRef is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(138,1): RegisterForCrosshairRef is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(167,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(169,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(171,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(172,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(174,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(175,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(176,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(181,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(185,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(186,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(187,7): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(196,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(197,1): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(204,41): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(204,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(209,2): argument a_flags is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(222,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(222,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(252,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(252,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(263,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(263,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(273,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(273,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(283,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(283,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(292,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(292,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(301,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(301,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(313,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(313,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(328,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(328,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(396,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(396,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(405,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(405,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(414,2): argument a_noupdate is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(414,2): argument a_statename is not specified and has no default value
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(472,1): UnregisterForAllKeys is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(474,2): RegisterForKey is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(477,2): RegisterForKey is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(594,44): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(918,44): GetName is not a function or does not exist
W:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\Mus3BAddonMCM.psc(1230,45): GetName is not a function or does not exist
No output generated for Mus3BAddonMCM, compilation failed.

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

 

Edited by randompeep
Posted
19 hours ago, randompeep said:

ski_configmanager looks like it belongs to SkyUI.

 

Yes, and you need the source scripts from github for SkyUI.

Posted (edited)

Thanks for the confirmation, I thought that-- and so I put ski_configmanager.psc into the data\source\scripts folder. Now I figure maybe mine was modified or something since it is looking for what appears to be a function inside of the .psc file. I went to github https://github.com/schlangster/skyui/blob/master/dist/Data/Scripts/Headers/SKI_ConfigBase.psc and do not see the Function there either in the source. So I'm at a loss.

 

I see "onConfigRegister()" but that is not RegisterForModEvent, so I expect it to not work still. I don't know if maybe they both do the same thing, I can just rename the event so it matches, but that might break other scripts.

 

Looking at the date from the link there, I guess the Nexus file is more up to date. However, it doesn't contain the source from what I can tell.

 

Hmm. I just used Champollion to decompile ski_configmanager.pex from SkyUI, and it looks like it doesn't even have it in there.

Spoiler

;/ Decompiled by Champollion V1.0.1
Source   : SKI_ConfigManager.psc
Modified : 2015-08-17 10:32:33
Compiled : 2017-10-03 15:48:11
User     : Sebastian
Computer : SEBASTIAN-PC
/;
scriptName SKI_ConfigManager extends SKI_QuestBase hidden

;-- Properties --------------------------------------
String property JOURNAL_MENU
    String function get()

        return "Journal Menu"
    endFunction
endproperty
String property MENU_ROOT
    String function get()

        return "_root.ConfigPanelFader.configPanel"
    endFunction
endproperty

;-- Variables ---------------------------------------
String[] _modNames
Bool _locked = false
Bool _lockInit = false
Int _updateCounter = 0
Bool _cleanupFlag = false
Int _configCount = 0
SKI_ConfigBase[] _modConfigs
SKI_ConfigBase _activeConfig
Int _curConfigID = 0
Int _addCounter = 0

;-- Functions ---------------------------------------

function Log(String a_msg)

    debug.Trace(self as String + ": " + a_msg, 0)
endFunction

function OnGameReload()

    self.RegisterForModEvent("SKICP_modSelected", "OnModSelect")
    self.RegisterForModEvent("SKICP_pageSelected", "OnPageSelect")
    self.RegisterForModEvent("SKICP_optionHighlighted", "OnOptionHighlight")
    self.RegisterForModEvent("SKICP_optionSelected", "OnOptionSelect")
    self.RegisterForModEvent("SKICP_optionDefaulted", "OnOptionDefault")
    self.RegisterForModEvent("SKICP_keymapChanged", "OnKeymapChange")
    self.RegisterForModEvent("SKICP_sliderSelected", "OnSliderSelect")
    self.RegisterForModEvent("SKICP_sliderAccepted", "OnSliderAccept")
    self.RegisterForModEvent("SKICP_menuSelected", "OnMenuSelect")
    self.RegisterForModEvent("SKICP_menuAccepted", "OnMenuAccept")
    self.RegisterForModEvent("SKICP_colorSelected", "OnColorSelect")
    self.RegisterForModEvent("SKICP_colorAccepted", "OnColorAccept")
    self.RegisterForModEvent("SKICP_inputSelected", "OnInputSelect")
    self.RegisterForModEvent("SKICP_inputAccepted", "OnInputAccept")
    self.RegisterForModEvent("SKICP_dialogCanceled", "OnDialogCancel")
    self.RegisterForMenu(self.JOURNAL_MENU)
    _lockInit = true
    _cleanupFlag = true
    self.CleanUp()
    self.SendModEvent("SKICP_configManagerReady", "", 0.000000)
    _updateCounter = 0
    self.RegisterForSingleUpdate(5 as Float)
endFunction

function OnSliderSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.RequestSliderDialogData(optionIndex)
endFunction

function CleanUp()

    self.GotoState("BUSY")
    _cleanupFlag = false
    _configCount = 0
    Int i = 0
    while i < _modConfigs.length
        if _modConfigs == none || _modConfigs.GetFormID() == 0
            _modConfigs = none
            _modNames = ""
        else
            _configCount += 1
        endIf
        i += 1
    endWhile
    self.GotoState("")
endFunction

function OnMenuClose(String a_menuName)

    self.GotoState("")
    if _activeConfig
        _activeConfig.CloseConfig()
    endIf
    _activeConfig = none
endFunction

function ForceReset()

    self.Log("Forcing config manager reset...")
    self.SendModEvent("SKICP_configManagerReset", "", 0.000000)
    self.GotoState("BUSY")
    Int i = 0
    while i < _modConfigs.length
        _modConfigs = none
        _modNames = ""
        i += 1
    endWhile
    _curConfigID = 0
    _configCount = 0
    self.GotoState("")
    self.SendModEvent("SKICP_configManagerReady", "", 0.000000)
endFunction

function OnKeymapChange(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    Int keyCode = ui.GetInt(self.JOURNAL_MENU, self.MENU_ROOT + ".selectedKeyCode")
    String conflictControl = input.GetMappedControl(keyCode)
    String conflictName = ""
    Int i = 0
    while conflictControl == "" && i < _modConfigs.length
        if _modConfigs != none
            conflictControl = _modConfigs.GetCustomControl(keyCode)
            if conflictControl != ""
                conflictName = _modNames
            endIf
        endIf
        i += 1
    endWhile
    _activeConfig.RemapKey(optionIndex, keyCode, conflictControl, conflictName)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnMenuSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.RequestMenuDialogData(optionIndex)
endFunction

function OnUpdate()

    if _cleanupFlag
        self.CleanUp()
    endIf
    if _addCounter > 0
        debug.Notification("MCM: Registered " + _addCounter as String + " new menu(s).")
        _addCounter = 0
    endIf
    self.SendModEvent("SKICP_configManagerReady", "", 0.000000)
    if _updateCounter < 6
        _updateCounter += 1
        self.RegisterForSingleUpdate(5 as Float)
    else
        self.RegisterForSingleUpdate(30 as Float)
    endIf
endFunction

Int function GetVersion()

    return 4
endFunction

function OnOptionDefault(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.ResetOption(optionIndex)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnOptionSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.SelectOption(optionIndex)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

Int function NextID()

    Int startIdx = _curConfigID
    while _modConfigs[_curConfigID] != none
        _curConfigID += 1
        if _curConfigID >= 128
            _curConfigID = 0
        endIf
        if _curConfigID == startIdx
            return -1
        endIf
    endWhile
    return _curConfigID
endFunction

function OnDialogCancel(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnSliderAccept(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Float value = a_numArg
    _activeConfig.SetSliderValue(value)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

Int function RegisterMod(SKI_ConfigBase a_menu, String a_modName)

    self.GotoState("BUSY")
    if _configCount >= 128
        self.GotoState("")
        return -1
    endIf
    Int i = 0
    while i < _modConfigs.length
        if _modConfigs == a_menu
            self.GotoState("")
            return i
        endIf
        i += 1
    endWhile
    Int configID = self.NextID()
    if configID == -1
        self.GotoState("")
        return -1
    endIf
    _modConfigs[configID] = a_menu
    _modNames[configID] = a_modName
    _configCount += 1
    _addCounter += 1
    self.GotoState("")
    return configID
endFunction

Int function UnregisterMod(SKI_ConfigBase a_menu)

    self.GotoState("BUSY")
    Int i = 0
    while i < _modConfigs.length
        if _modConfigs == a_menu
            _modConfigs = none
            _modNames = ""
            _configCount -= 1
            self.GotoState("")
            return i
        endIf
        i += 1
    endWhile
    self.GotoState("")
    return -1
endFunction

function OnInit()

    _modConfigs = new SKI_ConfigBase[128]
    _modNames = new String[128]
    self.OnGameReload()
endFunction

function OnMenuAccept(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int value = a_numArg as Int
    _activeConfig.SetMenuIndex(value)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnInputSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.RequestInputDialogData(optionIndex)
endFunction

function OnMenuOpen(String a_menuName)

    self.GotoState("BUSY")
    _activeConfig = none
    ui.InvokeStringA(self.JOURNAL_MENU, self.MENU_ROOT + ".setModNames", _modNames)
endFunction

function OnModSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int configIndex = a_numArg as Int
    if configIndex > -1
        if _activeConfig
            _activeConfig.CloseConfig()
        endIf
        _activeConfig = _modConfigs[configIndex]
        _activeConfig.OpenConfig()
    endIf
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnColorAccept(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int color = a_numArg as Int
    _activeConfig.SetColorValue(color)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnInputAccept(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    _activeConfig.SetInputText(a_strArg)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

function OnOptionHighlight(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.HighlightOption(optionIndex)
endFunction

; Skipped compiler generated GotoState

; Skipped compiler generated GetState

function OnColorSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    Int optionIndex = a_numArg as Int
    _activeConfig.RequestColorDialogData(optionIndex)
endFunction

function OnPageSelect(String a_eventName, String a_strArg, Float a_numArg, Form a_sender)

    String page = a_strArg
    Int index = a_numArg as Int
    _activeConfig.SetPage(page, index)
    ui.InvokeBool(self.JOURNAL_MENU, self.MENU_ROOT + ".unlock", true)
endFunction

;-- State -------------------------------------------
state BUSY

    Int function RegisterMod(SKI_ConfigBase a_menu, String a_modName)

        return -2
    endFunction

    function CleanUp()

        ; Empty function
    endFunction

    function ForceReset()

        ; Empty function
    endFunction

    Int function UnregisterMod(SKI_ConfigBase a_menu)

        return -2
    endFunction
endState
 

 

 

MO2 doesn't show the script being overwritten by anything either.

Edited by randompeep

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