Jump to content

[SOLVED] Papyrus Compilation Error - need help identifying the missing script/mod


Twycross448

Recommended Posts

Posted

Folks, I am in need of a bit of a helping hand here. I am trying to compile a Papyrus script, but it always fails. I suspect I am missing the mod (or at least source scripts) that define the value that is missing.

 

Could anybody knowledgeable maybe give me a hint on what I am missing to successfully compile the script?

N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(238,11): SetAnimGroupEX is not a function or does not exist
N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(238,11): cannot call the member function SetAnimGroupEX alone or on a type, must call it on a variable
N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(241,10): SetAnimGroupEX is not a function or does not exist
N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(241,10): cannot call the member function SetAnimGroupEX alone or on a type, must call it on a variable

(For those who want to know, it is a modified script from Kimys "Deviously Cursed Loot", the one originally called dcur_chloeQuestScript.psc. I made a small change to the devices that are equipped.)

 

 

Note: the usual suspects for missing script sources like SkyUI, XPMSE, Racemenu etc. are all installed, so in theory should not be the source of the problem. (But with Papyrus, who can really tell? ^_^")

 

 

Thanks, folks. ?

Posted

Very (VERY) novice scripter here, but I usually see that when I am trying to use a function on the wrong form type, for instance calling something related to actors in a magiceffect where "Import Actor" is needed to make it see the function (may be a poor example, but I hope you get the meaning).

Posted
9 minutes ago, Seijin8 said:

Very (VERY) novice scripter here

as if you need to be able to understand whatever there is in the script to see from that

N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(238,11): SetAnimGroupEX is not a function or does not exist
N:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\42_CustomDCLQuest2Main.psc(238,11): cannot call the member function SetAnimGroupEX alone or on a type, must call it on a variable

line 238, there's a function setanimex that come from nowhere, so it's no good

as for finding that function, that script is from that?

https://www.loverslab.com/topic/33986-deviously-cursed-loot-v71-2018-11-07/

that script is either from that mod (that mod scripts were put in n:\...\source?

either from that mod masters (and if those masters are masters, there's probably a reason, so if you find out you are missing some...)

 

and downloading those mods to do a ctrl f setanimex.psc to tell him where to find it.... nope

Posted

Alright, seems I solved it.

I was still running Fores New Idles in Skyrim (FNIS) version 7.0. After upgrading to the newest version 7.4.5, I was able to compile without error. It seems the function SetAnimGroupEX is defined in the FNIS scripts and is a more or less recent addition, since it did not exist in v7.0 yet.

 

So for everybody having the same error messages on compilinmg as I had, update your FNIS installation! :)

Posted

Here is a free hint, brainiac.

The requirements state that FNIS v7.0 is required. Which, as I clearly stated, already had installed. But FNIS v7.0 does not yet have the variable definition for SetAnimGroupEX, as that  was added in a version newer than 7.0. (Oh, and by the by, wether you run FNIS or not has absolutely nothing to do with recompiling Papyrus scripts.)

 

So, that leaves us with two conclusions.

a) the Cursed Loot requirements are outdated and b) you did not properly read what I wrote (or did not comprehend it correctly).

 

Regardless, as the issue is solved, this topic is over. No need to reply anymore.

Posted
1 hour ago, Twycross448 said:

Here is a free hint, brainiac.

 

here's a free hint, brainiac.

that's a copy paste from the concerned mod requirements...

 

were you able to fix your problem before my post? nope

was i able to guess your problem was a missing master, without knowing what that mod do, or why it need fnis.esp? yes (i don't have fnis.esp, that's useless stuff)

181121095930537960.jpg

 

topic over? did you post something in that mod topic to tell them to upgrade the requirement, if they are no good?

problem solve for you so it doesn't matter if another twycross have the same problem in 3 days?

because of that most of my actions in the technical sections, it's just random taunt, blabla missing master, blabla looking for the cause of a ram ctd in a load order lol, blabla you can't ctd because of that, as for the fix... they don't need me for that since once they have the answear, it was so obvious they found it themself

 

Archived

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

  • Recently Browsing   0 members

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