Jump to content

Script Compilation Failed


Recommended Posts

Posted

I am trying to modify slightly a script from anothers mod, but having difficulties. Can anyone explain what would cause the errors listed below? Thank you.

 

AddInputOption is not a function or does not exist

SetInputDialogStartText is not a function or does not exist

SetInputOptionValue is not a function or does not exist

Posted
22 minutes ago, Monoman1 said:

If this is LE You need skyui sdk

https://github.com/schlangster/skyui/wiki

 

If this is SE. I don't know exactly but there's probably an equivalent. 

 

Edit: SkyUI is just scripts so the LE SDK should do the job either way. Thought there was a SKSE plugin for some reason. 

I have the SkyUI 5.1 sdk. I don't know of any version that corresponds to the 5.2 that is current on Nexus for SSE.

Posted

You may have to decompile some skyui pex files using champollion that sources were never provided for some reason. 

 

You should post the full compiler output. 

Posted
15 minutes ago, Monoman1 said:

You may have to decompile some skyui pex files using champollion that sources were never provided for some reason. 

No, no, no, no, no, no, no, no

Im too lazy to write more nos, but no

 

You just use the 5.1 SDK

 

Id rather ask where the Sourcefiles are stored. You need  to move the files from the SDK from Script/Source to Source/Script or else the compiler wont find them

Posted

I have all of the psc files in source/scripts. Here is the log minus the actual names of the psc files.

 

C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(1368,37): AddInputOption is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(1368,5): type mismatch on parameter 2 (did you forget a cast?)
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(1540,32): AddInputOption is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(1540,2): type mismatch on parameter 2 (did you forget a cast?)
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4482,4): SetInputDialogStartText is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4480,2): function onoptioninputopen cannot be defined in state aggressivetoggleslist_st without also being defined in the empty state
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4490,4): SetInputOptionValue is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4486,2): function onoptioninputaccept cannot be defined in state aggressivetoggleslist_st without also being defined in the empty state
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4868,4): SetInputDialogStartText is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4866,2): function onoptioninputopen cannot be defined in state slacprofiles_st without also being defined in the empty state
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4875,4): SetInputOptionValue is not a function or does not exist
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(4872,2): function onoptioninputaccept cannot be defined in state slacprofiles_st without also being defined in the empty state
C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\xxxxxxxx.psc(5106,2): SetInputOptionValue is not a function or does not exist

Posted
12 hours ago, Inanna17 said:

minus the actual names of the psc files

Why....? Is it top secret?

 

Does script xxxxxxxx.psc??? extend the ski config base class? 

13 hours ago, Scrab said:

no, no, no, no, no, no, no

Ah ok. Simple fact is that skyui + the sdk does not contain all source files and i have definitely fixed compiling issues in the past by decompiling the needed scripts. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...