Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile my MCM (RegisterForModEvent is not a function or does not exist) #61

Closed
ZoeS17 opened this issue Jan 18, 2015 · 2 comments

Comments

@ZoeS17
Copy link

ZoeS17 commented Jan 18, 2015

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 ZoeS17 changed the title Failed to compile my MCM (RegesterModForUpdateEvent is not a function or does not exist) Failed to compile my MCM (RegisterModForModEvent is not a function or does not exist) Jan 18, 2015
@ZoeS17 ZoeS17 changed the title Failed to compile my MCM (RegisterModForModEvent is not a function or does not exist) Failed to compile my MCM (RegisterForModEvent is not a function or does not exist) Jan 18, 2015
@ZoeS17
Copy link
Author

ZoeS17 commented Jan 18, 2015

Reloaded from the SDK 4.1 via MO overwrite I made and fixed it by forcing the .pex and new .psc sources.

@ZoeS17 ZoeS17 closed this as completed Jan 18, 2015
@GDCristian
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants