Failed to compile my MCM (RegisterForModEvent is not a function or does not exist)
ZoeS17 opened this issue · 2 comments
ZoeS17 commented
I received an error in compiling my MCM script and even tried researching in the sources provided with SkyUI as well as SKSE.
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(61,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(62,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(63,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(64,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(65,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(66,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(67,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(68,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(69,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(70,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(71,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(72,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(73,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(75,1): RegisterForMenu is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(83,1): SendModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(103,1): SendModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(300,1): SendModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\ski_configmanager.psc(316,1): SendModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SKI_ConfigBase.psc(116,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SKI_ConfigBase.psc(117,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SKI_ConfigBase.psc(735,1): RegisterForModEvent is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\SKI_ConfigBase.psc(743,1): UnregisterForModEvent is not a function or does not exist
No output generated for<my Script name>, compilation failed.
Versions in use:
- SkyUI - 4.1
- SKSE - 1.7.1
Note: I purposely removed my scripts name though it may be completely unnecessary.
ZoeS17 commented
Reloaded from the SDK 4.1 via MO overwrite I made and fixed it by forcing the .pex and new .psc sources.
GDCristian commented
Reloaded from the SDK 4.1 via MO overwrite I made and fixed it by forcing the .pex and new .psc sources.
how did you force it to compile?