Jump to content

Please help me with compile scripts!


Recommended Posts

tl;dr: Hey guys! I am editing a few lines in the a mod for personal use, but It fails to compile! I tried everything I could find in the internet and youtube

 

Full problem:

I am editing the PlayerVampireQuestScript.psc at the lines 3773 and following. I set the rank requirement from 60000 (Nightlord) to 10000 (Vampire Fledgling) and added to feeding bonus from line 3777

                Game.GetPlayer().ModAV("Attackdamagemult", 0.02)
                Game.GetPlayer().ModAV("Destructionpowermod", 2)
                Game.GetPlayer().ModAV("Illusionpowermo", 2)
                Game.GetPlayer().ModAV("Alterationpowermod", 2)

 

so at the end it get:

(-----------------------line 3770------------------------------)
If akFeedTarget != Game.GetPlayer() && VampireBottledBlood.GetValue() == 0 && VampireExtractingBlood.GetValue() == 0
        If akFeedTarget.HasKeyword(Vampire) == 1
            If VampireRank.GetValue() >= 10000 && VampireEngorge.GetValue() == 0
                VampireEngorgeAmount.SetValue(VampireEngorgeAmount.GetValue()+2)
                Game.GetPlayer().ModAV("Health", 2)
                Game.GetPlayer().ModAV("Stamina", 2)
                Game.GetPlayer().ModAV("Magicka", 2)
                Game.GetPlayer().ModAV("Attackdamagemult", 0.02)
                Game.GetPlayer().ModAV("Destructionpowermod", 2)
                Game.GetPlayer().ModAV("Illusionpowermo", 2)
                Game.GetPlayer().ModAV("Alterationpowermod", 2)
            EndIf
            Game.GetPlayer().RestoreActorValue("Health", 150)
            Game.GetPlayer().RestoreActorValue("Stamina", 75)
            Game.GetPlayer().RestoreActorValue("Magicka", 75)
        Else
            If TargetAlreadyDead == 0
                If VampireRank.GetValue() >= 60000 && VampireEngorge.GetValue() == 0
                    VampireEngorgeAmount.SetValue(VampireEngorgeAmount.GetValue()+1)
                    Game.GetPlayer().ModAV("Health", 1)
                    Game.GetPlayer().ModAV("Stamina", 1)
                    Game.GetPlayer().ModAV("Magicka", 1)
                    Game.GetPlayer().ModAV("Attackdamagemult", 0.01)
                    Game.GetPlayer().ModAV("Destructionpowermod", 1)
                    Game.GetPlayer().ModAV("Illusionpowermo", 1)
                    Game.GetPlayer().ModAV("Alterationpowermod", 1)
                EndIf
                Game.GetPlayer().RestoreActorValue("Health", 100)
                Game.GetPlayer().RestoreActorValue("Stamina", 50)
                Game.GetPlayer().RestoreActorValue("Magicka", 50)
            Else
                If VampireRank.GetValue() >= 60000 && VampireEngorge.GetValue() == 0 && VampireFeedOffDead.GetValue() == 10000
                    VampireEngorgeAmount.SetValue(VampireEngorgeAmount.GetValue()+1)
                    Game.GetPlayer().ModAV("Health", 1)
                    Game.GetPlayer().ModAV("Stamina", 1)
                    Game.GetPlayer().ModAV("Magicka", 1)
                    Game.GetPlayer().ModAV("Attackdamagemult", 0.01)
                    Game.GetPlayer().ModAV("Destructionpowermod", 1)
                    Game.GetPlayer().ModAV("Illusionpowermo", 1)
                    Game.GetPlayer().ModAV("Alterationpowermod", 1)
                EndIf                
                Game.GetPlayer().RestoreActorValue("Health", 50)
                Game.GetPlayer().RestoreActorValue("Stamina", 25)
                Game.GetPlayer().RestoreActorValue("Magicka", 25)    
            EndIf
        EndIf        
    EndIf

 

 

I think that is a small change but when I try to compile it with Creation Kit or with Notebad plugin PapyrusPlusPlus (for SE) it always fail and when it does not fail the .pex data is very 50 times smaller then the .pex data from before.

I watched the last 10h tutorials and many more to understand what I am doing wrong but I still dont understand!

Things I have done sofar:

- Creation Kit installed and the Script.rar did also install without any problem.

- edited the ScriptCompile.bat to:

cd %2
"C:\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler" %1 -f="TESV_Papyrus_Flags.flg" -i="C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source" -o="C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts"
pause

- mode a copy of all scripts of BetterVampires to Data/source and Data/source/scripts

- tried to compile via CK -> gameplay -> papyrus script manager and CK -> gameplay -> compile papyrus scripts = failed or crippeled small .hex

- copied every script from data/source/scripts also to scripts/source - had no effect

- installed PapyrusPlusPlus and psc viewer from the same mod autor - still failed

 

I believe that it somehow does not read other files from the bettervampires mod because there a lot crossover scripts

Error code I get:

"C:\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler\dm_NPPScriptCompile.bat" -skse "PlayerVampireQuestScript.psc" "C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts"
Process started (PID=7800) >>>
GAME_MODE=SKSE
GAME_PATH="C:\Steam\steamapps\common\Skyrim Special Edition\"
GAME_SCRIPTS="C:\Steam\steamapps\common\Skyrim Special Edition\Data\scripts"
GAME_SRC="C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts"
FLAG_FILE=TESV_Papyrus_Flags.flg
PAP_COMPILER="C:\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler\PapyrusCompiler.exe"
SCRIPT_PATHS="C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts"
INPUT_FILE="C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc"
OUTPUT_FOLDER="C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts"
Input_PATH=C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\
Starting 1 compile threads for 1 files...
Compiling "PlayerVampireQuestScript"...
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1333,44): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1333,49): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1333,69): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1333,69): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1444,24): GetModByName is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1444,24): cannot call the member function GetModByName alone or on a type, must call it on a variable
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1444,1): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1446,24): GetModByName is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1446,24): cannot call the member function GetModByName alone or on a type, must call it on a variable
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1446,1): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1977,44): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1977,49): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1977,69): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(1977,69): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3556,8): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3556,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3556,33): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3556,33): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3562,50): GetWeight is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3562,12): type mismatch while assigning to a float (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3565,34): SetWeight is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3566,19): UpdateWeight is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(3570,19): QueueNiNodeUpdate is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5006,11): GetCameraState is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5006,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5006,28): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5126,11): GetCameraState is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5126,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5126,28): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5263,11): GetCameraState is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5263,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(5263,28): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6853,35): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6853,40): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6853,60): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6853,60): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6855,35): SetPlayerKnows is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6984,35): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6984,40): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6984,60): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6984,60): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(6986,35): SetPlayerKnows is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7332,2): UnregisterForAllKeys is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7389,44): variable SKSE is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7389,49): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7389,69): cannot compare a none to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7389,69): cannot relatively compare variables to None
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(7733,1): UnregisterForAllKeys is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8040,2): UnregisterForAllKeys is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8098,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8099,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8100,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8101,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8102,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8103,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8104,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8105,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8106,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8107,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8108,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8109,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8110,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8111,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8112,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8113,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8114,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8115,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8116,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8117,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8118,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8119,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8120,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8121,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8122,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8123,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8124,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8125,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8126,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8127,2): RegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8128,2): UnRegisterForKey is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8130,2): UnregisterForAllKeys is not a function or does not exist
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8219,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8219,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8219,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8220,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8220,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8234,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8234,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8234,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8235,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8235,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8244,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8244,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8244,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8245,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8245,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8260,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8260,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8260,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8261,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8261,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8270,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8270,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8270,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8271,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8271,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8333,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8333,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8333,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8334,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8334,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8341,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8341,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8341,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8342,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8342,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8349,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8349,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8349,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8350,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8350,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8357,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8357,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8357,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8358,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8358,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8365,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8365,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8365,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8366,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8366,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8415,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8415,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8415,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8416,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8416,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8431,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8431,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8431,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8432,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8432,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8441,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8441,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8441,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8442,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8442,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8458,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8458,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8458,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8459,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8459,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8500,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8500,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8500,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8501,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8501,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8515,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8515,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8515,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8516,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8516,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8529,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8529,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8529,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8530,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8530,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8543,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8543,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8543,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8544,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8544,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8557,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8557,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8557,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8558,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8558,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8775,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8775,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8775,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8776,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8776,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8789,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8789,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8789,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8790,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8790,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8797,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8797,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8797,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8798,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8798,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8805,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8805,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8805,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8806,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8806,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8813,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8813,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8813,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8814,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8814,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8821,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8821,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8821,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8822,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8822,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8835,27): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8835,33): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8835,10): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8836,6): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8836,12): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8861,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8861,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8861,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8862,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(8862,13): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(9190,28): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(9190,34): none is not a known user-defined type
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(9190,11): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(9191,7): variable Input is undefined
C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc(9191,13): none is not a known user-defined type
No output generated for C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts\PlayerVampireQuestScript.psc
<<< Process finished (PID=7800). (Exit code 0)
================ READY ================

Thank you for the support and help!

 

Link to comment
Share on other sites

You need to install the SKSE64 source scripts as well.

 

You can set Notepad++ and / or other third party text editor / compilers to utilize multiple directories. This is helpful if you do not want to always work with the same script setup. I.E. with or without SKSE

 

For example my Sublime Text setup looks at the following locations:

# path1 contains SKSE scripts
# path2 contains SKYUI SDK scripts
# path3 contains base game and DLC scripts
path1=C:\Steam\steamapps\common\skyrim special edition\Data\Scripts\Source - SKSE
path2=C:\Steam\steamapps\common\skyrim special edition\Data\Scripts\Source
path3=C:\Steam\steamapps\common\skyrim special edition\Data\Source\Scripts

 

Link to comment
Share on other sites

You need to install the SKSE64 source scripts as well.

 

You can set Notepad++ and / or other third party text editor / compilers to utilize multiple directories. This is helpful if you do not want to always work with the same script setup. I.E. with or without SKSE

 

For example my Sublime Text setup looks at the following locations:

# path1 contains SKSE scripts
# path2 contains SKYUI SDK scripts
# path3 contains base game and DLC scripts
path1=C:\Steam\steamapps\common\skyrim special edition\Data\Scripts\Source - SKSE
path2=C:\Steam\steamapps\common\skyrim special edition\Data\Scripts\Source
path3=C:\Steam\steamapps\common\skyrim special edition\Data\Source\Scripts

Hey IsharaMeradin!

 

Thank you very much for your answer! I did not understand what you said about the paths but I did copy all scripts from data/scripts/source to Data/source and Data/source/scripts and eventhough it still failed my error list is much smaller:

 

Starting 1 compile threads for 1 files...

Compiling "PlayerVampireQuestScript"...

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1444,24): GetModByName is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1444,24): cannot call the member function GetModByName alone or on a type, must call it on a variable

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1444,1): type mismatch while assigning to a int (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1446,24): GetModByName is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1446,24): cannot call the member function GetModByName alone or on a type, must call it on a variable

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(1446,1): type mismatch while assigning to a int (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(3562,50): GetWeight is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(3562,12): type mismatch while assigning to a float (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(3565,34): SetWeight is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(3566,19): UpdateWeight is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(3570,19): QueueNiNodeUpdate is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5006,11): GetCameraState is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5006,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5006,28): cannot compare a none to a int (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5126,11): GetCameraState is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5126,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5126,28): cannot compare a none to a int (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5263,11): GetCameraState is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5263,11): cannot call the member function GetCameraState alone or on a type, must call it on a variable

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(5263,28): cannot compare a none to a int (cast missing or types unrelated)

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(6855,35): SetPlayerKnows is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(6986,35): SetPlayerKnows is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(7332,2): UnregisterForAllKeys is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(7733,1): UnregisterForAllKeys is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8040,2): UnregisterForAllKeys is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8098,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8099,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8100,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8101,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8102,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8103,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8104,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8105,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8106,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8107,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8108,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8109,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8110,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8111,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8112,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8113,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8114,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8115,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8116,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8117,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8118,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8119,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8120,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8121,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8122,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8123,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8124,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8125,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8126,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8127,2): RegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8128,2): UnRegisterForKey is not a function or does not exist

C:\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PlayerVampireQuestScript.psc(8130,2): UnregisterForAllKeys is not a function or does not exist

No output generated for PlayerVampireQuestScript, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on PlayerVampireQuestScript

 

I hope you have any idea what is the remaining problem, because your idea with skse was right on point!

 

Thank you!

Edited by FriendlyNPC
Link to comment
Share on other sites

You edit this batch file: ScriptCompile.bat

"C:\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler" %1 -f="TESV_Papyrus_Flags.flg" -i="C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source" -o="C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts"

but you run another batch file with option -skse: dm_NPPScriptCompile.bat

"C:\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler\dm_NPPScriptCompile.bat" -skse "PlayerVampireQuestScript.psc" "C:\Steam\steamapps\common\Skyrim Special Edition\Data\source\scripts"

just a sample for batch file "compile.bat" (We assume C is the right drive!)

@echo OFF
set flag="TESV_Papyrus_Flags.flg"

rem *** Skyrim ***
REM set folder="C:\Steam\steamapps\common\Skyrim\"
rem -i = psc path for compiler input             Data\Scripts\Source
rem -o = exe path for compiler output            Data\Scripts

rem *** Skyrim SE ***
set folder="C:\Steam\steamapps\common\Skyrim Special Edition\"
rem -i = psc path for compiler input            Data\Scripts\Source
rem -o = exe path for compiler output           Data\Source\Scripts

"%folder%\Papyrus Compiler\PapyrusCompiler.exe" %1 -f=%flag% -i="%folder%\Data\Scripts\Source" -o="%folder%\Data\Source\Scripts"
Edited by ReDragon2013
Link to comment
Share on other sites

  • 2 weeks later...
rem -i = psc path for compiler input            Data\Scripts\Source
rem -o = exe path for compiler output           Data\Source\Scripts

 

Let me get this straight, someone decided to use "source/scripts" and someone else though it would be good to use "scripts/source"? How on earth is that supposed to be intuitive for anybody?

 

I sound like a jerk, but seriously, what is the idea? I'm so utterly confused about what is supposed to be where.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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