More Hotkeys Please - Script compile failure

Post » Thu May 29, 2014 10:51 am

The mod More Hotkeys Please won't work completely with SKSE 1.7.0.

The culprit is in MHP_Write.psc: Here is my changed version, where I removed the beta check:

Function SetupInit()    If MHP_Setup.getvalue() == 0        If SKSE.GetVersion() != 1            debug.messagebox("More HotKeys Please cannot run without SKSE.\n\nYou need to check your SKSE installation.\n")            Return        elseif SKSE.GetVersionMinor() < 6  <<----  removed beta version check            debug.messagebox("More HotKeys Please needs the latest version of SKSE.\n")            Return        endif    endif....... etc. ......

I get this error in the CK:

Starting 1 compile threads for 1 files...Compiling "MHP_Write"...F:\Steam\steamapps\common\skyrim\Data\Scripts\Source\MHP_PlayerScript.psc(19,19): cannot convert to unknown type ski_questbaseF:\Steam\steamapps\common\skyrim\Data\Scripts\Source\MHP_PlayerScript.psc(19,19): cannot cast a quest to a ski_questbase, types are incompatibleF:\Steam\steamapps\common\skyrim\Data\Scripts\Source\MHP_PlayerScript.psc(19,37): ski_questbase is not a known user-defined typeNo output generated for MHP_Write.psc, compilation failed.

That script has this:

Event OnPlayerLoadGame()    (GetOwningQuest() as SKI_QuestBase).OnGameReload()    Reg.ReloadInit()EndEvent
This is a popular mod, but is abandoned by the author. Can someone please help me recompile its scripts for SKSE 1.7.0?
Thanks.

User avatar
BRAD MONTGOMERY
 
Posts: 3354
Joined: Mon Nov 19, 2007 10:43 pm

Post » Thu May 29, 2014 1:12 am

You need the SkyUI SDK files linked from the https://github.com/schlangster/skyui/wiki.

People really need to start using GetVersionRelease(). The other GetVersion functions are just so you can print the user-oriented version not for checking to see if the version you're using is good enough!
User avatar
DeeD
 
Posts: 3439
Joined: Sat Jul 14, 2007 6:50 pm


Return to V - Skyrim