Jump to content

Got a problem with compiling Zaz and Devious Scripts


Recommended Posts

Got a problem that I cannot solve, tried searching the forum, but didn't find an answer.
 
Made a test mod, that has ZAZ Animation Pack and all 3 Devious Devices as it's masters.
Example script:
 
Scriptname _TestScript extends Quest
 
zbfConfig TstVar
zadConfig TstVarSecond
 
That's not exactly the script i wrote, but my script has no errors on itself, it's ZAZ and Devious scripts that give me more than 200 errors, when trying to compile them
 
Whenever i try to compile that script, this is what i get:

zbfPlayerControl.psc(14,25): cannot name a variable or property the same as a known type or script
zbfPlayerControl.psc(35,6): RetainAi is not a function or does not exist
zbfPlayerControl.psc(35,6): cannot call the member function RetainAi alone or on a type, must call it on a variable
zbfPlayerControl.psc(43,7): ReleaseAi is not a function or does not exist
zbfPlayerControl.psc(43,7): cannot call the member function ReleaseAi alone or on a type, must call it on a variable
zbfPlayerControl.psc(66,8): RetainAi is not a function or does not exist
zbfPlayerControl.psc(66,8): cannot call the member function RetainAi alone or on a type, must call it on a variable
zbfPlayerControl.psc(68,8): ReleaseAi is not a function or does not exist
zbfPlayerControl.psc(68,8): cannot call the member function ReleaseAi alone or on a type, must call it on a variable
zbfPlayerControl.psc(158,6): ReapplyPlayerControls is not a function or does not exist
zbfPlayerControl.psc(158,6): cannot call the member function ReapplyPlayerControls alone or on a type, must call it on a variable
zbfPlayerControl.psc(162,4): Main is not a variable
zbfPlayerControl.psc(165,6): Register is not a function or does not exist
zbfPlayerControl.psc(165,6): cannot call the member function Register alone or on a type, must call it on a variable
zbfConfig.psc(4,25): cannot name a variable or property the same as a known type or script
zbfConfig.psc(336,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(336,7): idxBlindfoldMethod is not a property on script main or one of its parents
zbfConfig.psc(336,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(337,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(337,7): fBlindfoldStrength is not a property on script main or one of its parents
zbfConfig.psc(337,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(339,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(339,7): iDefaultBoundOffset is not a property on script main or one of its parents
zbfConfig.psc(339,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(340,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(340,7): fUpdateIntervalPlayer is not a property on script main or one of its parents
zbfConfig.psc(340,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(341,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(341,7): fUpdateIntervalNpc is not a property on script main or one of its parents
zbfConfig.psc(341,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(342,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(342,7): bGagSoundRepeat is not a property on script main or one of its parents
zbfConfig.psc(342,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(343,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(343,7): fGagSoundFrequency is not a property on script main or one of its parents
zbfConfig.psc(343,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(344,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(344,7): idxGagSoundFemale is not a property on script main or one of its parents
zbfConfig.psc(344,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(345,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(345,7): idxGagSoundMale is not a property on script main or one of its parents
zbfConfig.psc(345,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(346,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(346,7): fGagSoundVolume is not a property on script main or one of its parents
zbfConfig.psc(346,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(362,65): cannot call the member function IsRunning alone or on a type, must call it on a variable
zbfConfig.psc(374,6): InitializeModule is not a function or does not exist
zbfConfig.psc(374,6): cannot call the member function InitializeModule alone or on a type, must call it on a variable
zbfConfig.psc(376,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(376,7): zbfIsAnimatingExtra is not a property on script main or one of its parents
zbfConfig.psc(376,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(397,14): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(397,14): fBlindfoldStrength is not a property on script main or one of its parents
zbfConfig.psc(397,33): cannot multiply a none with a float (cast missing or types unrelated)
zbfConfig.psc(397,2): cannot return a none from getfloat, the types do not match (cast missing or types unrelated)
zbfConfig.psc(519,14): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(519,14): idxBlindfoldMethod is not a property on script main or one of its parents
zbfConfig.psc(519,2): cannot return a none from getfloat, the types do not match (cast missing or types unrelated)
zbfConfig.psc(546,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(546,7): fBlindfoldStrength is not a property on script main or one of its parents
zbfConfig.psc(546,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(554,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(554,7): idxGagSoundFemale is not a property on script main or one of its parents
zbfConfig.psc(554,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(555,49): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(555,49): idxGagSoundFemale is not a property on script main or one of its parents
zbfConfig.psc(558,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(558,7): idxGagSoundMale is not a property on script main or one of its parents
zbfConfig.psc(558,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(559,47): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(559,47): idxGagSoundMale is not a property on script main or one of its parents
zbfConfig.psc(562,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(562,7): fGagSoundVolume is not a property on script main or one of its parents
zbfConfig.psc(562,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(563,47): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(563,47): fGagSoundVolume is not a property on script main or one of its parents
zbfConfig.psc(566,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(566,7): fGagSoundFrequency is not a property on script main or one of its parents
zbfConfig.psc(566,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(567,50): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(567,50): fGagSoundFrequency is not a property on script main or one of its parents
zbfConfig.psc(572,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(572,7): bGagSoundRepeat is not a property on script main or one of its parents
zbfConfig.psc(572,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(573,47): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(573,47): bGagSoundRepeat is not a property on script main or one of its parents
zbfConfig.psc(576,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(576,7): iDefaultBoundOffset is not a property on script main or one of its parents
zbfConfig.psc(576,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(577,51): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(577,51): iDefaultBoundOffset is not a property on script main or one of its parents
zbfConfig.psc(582,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(582,7): fUpdateIntervalPlayer is not a property on script main or one of its parents
zbfConfig.psc(582,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(583,53): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(583,53): fUpdateIntervalPlayer is not a property on script main or one of its parents
zbfConfig.psc(586,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(586,7): fUpdateIntervalNpc is not a property on script main or one of its parents
zbfConfig.psc(586,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(587,50): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(587,50): fUpdateIntervalNpc is not a property on script main or one of its parents
zbfConfig.psc(714,7): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(714,7): idxBlindfoldMethod is not a property on script main or one of its parents
zbfConfig.psc(714,6): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(932,42): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(932,42): ArmBindings is not a property on script main or one of its parents
zbfConfig.psc(939,35): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(939,35): Gags is not a property on script main or one of its parents
zbfConfig.psc(946,42): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(946,42): LegBindings is not a property on script main or one of its parents
zbfConfig.psc(953,41): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(953,41): Blindfolds is not a property on script main or one of its parents
zbfConfig.psc(1089,19): FindPlayer is not a function or does not exist
zbfConfig.psc(1089,19): cannot call the member function FindPlayer alone or on a type, must call it on a variable
zbfConfig.psc(1132,71): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1132,71): idxBlindfoldMethod is not a property on script main or one of its parents
zbfConfig.psc(1132,23): type mismatch on parameter 2 (did you forget a cast?)
zbfConfig.psc(1132,2): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1133,71): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1133,71): fBlindfoldStrength is not a property on script main or one of its parents
zbfConfig.psc(1133,90): cannot multiply a none with a float (cast missing or types unrelated)
zbfConfig.psc(1133,21): type mismatch on parameter 2 (did you forget a cast?)
zbfConfig.psc(1133,2): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1151,53): GetAiRef is not a function or does not exist
zbfConfig.psc(1151,53): cannot call the member function GetAiRef alone or on a type, must call it on a variable
zbfConfig.psc(1156,33): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1156,33): PlayerControlRegs is not a property on script main or one of its parents
zbfConfig.psc(1186,17): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1186,17): Slots is not a property on script main or one of its parents
zbfConfig.psc(1186,23): cannot get the length of ::nonevar as it isn't an array
zbfConfig.psc(1187,27): GetSlot is not a function or does not exist
zbfConfig.psc(1187,27): cannot call the member function GetSlot alone or on a type, must call it on a variable
zbfConfig.psc(1210,22): GetSlot is not a function or does not exist
zbfConfig.psc(1210,22): cannot call the member function GetSlot alone or on a type, must call it on a variable
zbfConfig.psc(1213,23): GetSlot is not a function or does not exist
zbfConfig.psc(1213,23): cannot call the member function GetSlot alone or on a type, must call it on a variable
zbfConfig.psc(1247,124): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1247,124): iOverlayCategoryDrool is not a property on script main or one of its parents
zbfConfig.psc(1247,103): GetOverlayCount is not a function or does not exist
zbfConfig.psc(1247,103): cannot call the member function GetOverlayCount alone or on a type, must call it on a variable
zbfConfig.psc(1247,26): type mismatch on parameter 4 (did you forget a cast?)
zbfConfig.psc(1247,4): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1248,124): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1248,124): iOverlayCategoryTears is not a property on script main or one of its parents
zbfConfig.psc(1248,103): GetOverlayCount is not a function or does not exist
zbfConfig.psc(1248,103): cannot call the member function GetOverlayCount alone or on a type, must call it on a variable
zbfConfig.psc(1248,26): type mismatch on parameter 4 (did you forget a cast?)
zbfConfig.psc(1248,4): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1249,121): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1249,121): iOverlayCategoryDirt is not a property on script main or one of its parents
zbfConfig.psc(1249,100): GetOverlayCount is not a function or does not exist
zbfConfig.psc(1249,100): cannot call the member function GetOverlayCount alone or on a type, must call it on a variable
zbfConfig.psc(1249,25): type mismatch on parameter 4 (did you forget a cast?)
zbfConfig.psc(1249,4): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1250,124): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1250,124): iOverlayCategoryScars is not a property on script main or one of its parents
zbfConfig.psc(1250,103): GetOverlayCount is not a function or does not exist
zbfConfig.psc(1250,103): cannot call the member function GetOverlayCount alone or on a type, must call it on a variable
zbfConfig.psc(1250,26): type mismatch on parameter 4 (did you forget a cast?)
zbfConfig.psc(1250,4): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1257,73): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1257,73): fBlindfoldStrength is not a property on script main or one of its parents
zbfConfig.psc(1257,92): cannot multiply a none with a float (cast missing or types unrelated)
zbfConfig.psc(1257,23): type mismatch on parameter 2 (did you forget a cast?)
zbfConfig.psc(1257,4): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1355,75): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1355,75): iBindUnbound is not a property on script main or one of its parents
zbfConfig.psc(1355,67): cannot compare a int to a none (cast missing or types unrelated)
zbfConfig.psc(1430,34): GetAnimationName is not a function or does not exist
zbfConfig.psc(1430,34): cannot call the member function GetAnimationName alone or on a type, must call it on a variable
zbfConfig.psc(1474,24): cannot call the member function GetName alone or on a type, must call it on a variable
zbfConfig.psc(1474,50): cannot call the member function IsRunning alone or on a type, must call it on a variable
zbfConfig.psc(1490,39): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1490,39): PlayerControlRegs is not a property on script main or one of its parents
zbfConfig.psc(1496,6): cannot call the member function Stop alone or on a type, must call it on a variable
zbfConfig.psc(1499,6): cannot call the member function Start alone or on a type, must call it on a variable
zbfConfig.psc(1504,6): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1504,6): PlayerControlRegs is not a property on script main or one of its parents
zbfConfig.psc(1504,5): type mismatch while assigning to a none (cast missing or types unrelated)
zbfConfig.psc(1522,6): SetDebugLevel is not a function or does not exist
zbfConfig.psc(1522,6): cannot call the member function SetDebugLevel alone or on a type, must call it on a variable
zbfConfig.psc(1578,7): ReleaseAllAiRefs is not a function or does not exist
zbfConfig.psc(1578,7): cannot call the member function ReleaseAllAiRefs alone or on a type, must call it on a variable
zbfConfig.psc(1589,8): RetainAi is not a function or does not exist
zbfConfig.psc(1589,8): cannot call the member function RetainAi alone or on a type, must call it on a variable
zbfConfig.psc(1591,8): ReleaseAi is not a function or does not exist
zbfConfig.psc(1591,8): cannot call the member function ReleaseAi alone or on a type, must call it on a variable
zbfConfig.psc(1639,21): SlotActor is not a function or does not exist
zbfConfig.psc(1639,21): cannot call the member function SlotActor alone or on a type, must call it on a variable
zbfConfig.psc(1640,25): a property cannot be used directly on a type, it must be used on a variable
zbfConfig.psc(1640,25): Slots is not a property on script main or one of its parents
zbfConfig.psc(1640,31): none is not a known user-defined type
zbfConfig.psc(1640,2): type mismatch while assigning to a int (cast missing or types unrelated)
zbfConfig.psc(1644,7): UnSlotActor is not a function or does not exist
zbfConfig.psc(1644,7): cannot call the member function UnSlotActor alone or on a type, must call it on a variable
zadBoundCombatScript.psc(235,82): cannot convert to unknown type fnissmconfigmenu
zadBoundCombatScript.psc(235,82): cannot cast a form to a fnissmconfigmenu, types are incompatible
zadBoundCombatScript.psc(235,20): unknown type fnissmconfigmenu
zadBoundCombatScript.psc(236,19): fnissmconfigmenu is not a known user-defined type
zadBoundCombatScript.psc(236,31): none is not a known user-defined type
zadBoundCombatScript.psc(236,7): type mismatch while assigning to a int (cast missing or types unrelated)
zadBoundCombatScript.psc(240,57): fnissmconfigmenu is not a known user-defined type
zadBoundCombatScript.psc(240,69): none is not a known user-defined type
zadBoundCombatScript.psc(240,12): type mismatch on parameter 3 (did you forget a cast?)
zadLibs.psc(2176,6): cannot name a variable or property the same as a known type or script
zadLibs.psc(2191,109): menu is not a variable

 
I have a latest SKSE with sources, latest SkyUI and it's SDK, latest Arousal Redux with unpacked scripts, latest FNIS, PapyrusUtil, JContainers,
latest ZAZ and all three Devious Devices, all with script sources
 
What am I missing/doing wrong?

 

Link to comment

I only have a certain amount of experience setting up CK to compile DD scripts, other modder heavyweights would have a better chance of tackling your script menus but it looks like you don't have the source for Fnis Sexy Move which is the fnissm "fnissmconfigmenu" it is referring to which is a requirement for DD for modding/compiling, but not for regular users (I could be wrong). Much of the log at the start I can see refers to functions in zbfutil.psc so I would check you have that script source and all the zbf scripts as expected in your scripts directory.

 

hope that helps a little.

Link to comment

A little indeed. Updated Fnis Sexy Move , and now "fnissmconfigmenu" errors are gone, but all other are still there. I have all zbf and zad script sources in place, it was the first thing i tried to do when compilation failed, to check  all scripts and sources, and everything seems to be in order. Thanks, anyway.

Link to comment

Yeah all those errors are referring to the context of zap scripts. They all point at zbfBondageShell.psc. It's a file just over 1.5k LOC and is the same type as the referenced name "main" expected, with all those members defined. if you indeed have the script zbfBondageShell then I have no idea why it's reporting it can't find it. If you do solve it i'd be keen to know what the issue was, as the next time I need to reset my dev environment for DD i'll likely hit that problem. Even if you have that file, somewhere in that area you should hopefully find an answer. best of luck :( 

Link to comment

Archived

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

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use