Jump to content
IGNORED

Problem calling a function of a different script


Someone92

Recommended Posts

I want to call the function DoDamage of the script SexLabConsequencesDoDamageAgg from the script SexLabConsequences.psc.

 

Everything works fine, I can compile both scripts without errors or warnings, all functions and returns in SexLabConsequences work as intended however once I reach the line DoDamageAgg.DoDamage(actorList, lengthOfActorList, victim, whoIsVictim, Timers, caller, preset) the game decides to do absolutely nothing, I never see the message "DoDamage started.".

 

Why?

 

SexLabConsequences.psc:

 

 

Scriptname SexLabConsequences extends Quest
{blub}

SexLabFramework property SexLab auto
SexLabConsequencesDoDamageAgg property DoDamageAgg auto hidden 

sslThreadController Controller
string hook
actor victim

event OnInit()
	
	RegisterForModEvent("AnimationStart", "SexLabAnimStart")
	RegisterForModEvent("OrgasmStart", "SexLabOrgasmStart")
	RegisterForModEvent("AnimationEnd", "SexLabAnimEnd")
	Debug.Notification("SexLab Consequences is active.")
	
endEvent

event OnPlayerLoadGame()
	
	RegisterForModEvent("AnimationStart", "SexLabAnimStart")
	RegisterForModEvent("OrgasmStart", "SexLabOrgasmStart")
	RegisterForModEvent("AnimationEnd", "SexLabAnimEnd")
	Debug.Notification("Game loaded.")
	
endEvent



event SexLabAnimStart(string eventName, string argString, float argNum, form sender)
	
	Controller = SexLab.HookController(argString)
	Controller.GetHook()
	
	actor[] actorList
	int lengthOfActorList
;	actor victim
	int whoIsVictim
	float[] Timers
	int caller
	int preset
	
	timers = Controller.Timers
	lengthOfActorList = Controller.ActorCount
	
	int i = 0
	while i < lengthOfActorList
		actorList[i] = Controller.GetActor(i)
		i += 1
	endWhile 
	victim = Controller.GetVictim()
	whoIsVictim = Controller.GetPosition(victim)
	
	caller = findCaller(argString)
	
	preset = findPreset(argString)
	
	if victim == none
		; DoDamageCon.DoDamage(actorList, lengthOfActorList, Timers, caller, preset)
	else 
		Debug.Notification("About to start DoDamage.")
		DoDamageAgg.DoDamage(actorList, lengthOfActorList, victim, whoIsVictim, Timers, caller, preset)
	endIf 
	
	; other features
	
endEvent



;==================================================================================================

int function findCaller(string argString)
	
	if (StringUtil.Find(hook, "SLC_Consequences", startIndex = 1) > 0)
		debug.Notification("findCaller: 1")
		return 1
	elseIf (StringUtil.Find(hook, "SLC_DenyUse", startIndex = 1) > 0)
		debug.Notification("findCaller: -1")
		return -1
	else 
;		debug.Notification("findCaller: 0 (Intended)")
		return 0
	endIf 
	
endFunction



int function findPreset(string argString)
	
	if (StringUtil.Find(hook, "SLCSet2", startIndex = 1) > 0)
		debug.Notification("findPreset: 2")
		return 2
	elseIf (StringUtil.Find(hook, "SLCSet3", startIndex = 1) > 0)
		debug.Notification("findPreset: 3")
		return 3
	elseIf (StringUtil.Find(hook, "SLCSet4", startIndex = 1) > 0)
		debug.Notification("findPreset: 4")
		return 4
	else 
;		debug.Notification("findPreset: 1 (Intended)")
		return 1
	endIf 
	
endFunction



;==================================================================================================

event SexLabOrgasmStart(string _eventName, string _argString, float argNum, form sender)
	
	if victim == none
		; DoDamageCon.UpdateOrgasmStart()
	else 
		DoDamageAgg.UpdateOrgasmStart()
	endIf 
	
endEvent 



event SexLabAnimEnd(string __eventName, string __argString, float argNum, form sender)
	
	if victim == none
		; DoDamageCon.UpdateAnimEnd()
	else 
		DoDamageAgg.UpdateAnimEnd()
	endIf 
	
endEvent 

 

 

SexLabConsequencesDoDamageAgg.psc:

 

 

Scriptname SexLabConsequencesDoDamageAgg extends Quest
{...}

SexLabConsequencesMemory property Memory auto hidden
bool[] property _Died auto hidden 

actor[] _actorList
int _lengthOfActorList
actor _victim
int _whoIsVictim

int _caller
bool _onGoingAnim

float _lengthOfSex
float _lengthOfOrgasm

float[] _HDamAbs
float[] _HDamAbsTick
float[] _HDamAbsDone
float[] _HDamPercent

float[] _MDamAbs
float[] _MDamAbsTick
float[] _MDamAbsDone
float[] _MDamPercent

float[] _SDamAbs
float[] _SDamAbsTick
float[] _SDamAbsDone
float[] _SDamPercent



function DoDamage(actor[] actorlist, int lengthOfActorList, actor victim, int whoIsVictim, float[] Timers, int caller, int preset)
	
	Debug.Notification("DoDamage started.")
	
	_onGoingAnim = True 
	
	_lengthOfActorList = lengthOfActorList
	_whoIsVictim = whoIsVictim
	
	_caller = caller
	
	_lengthOfSex = 0
	_lengthOfOrgasm = 0
	
	int i = 0
	
	while i < (Timers.Length - 1)
		_lengthOfSex = _lengthOfSex + Timers[i]
		i += 1
	endWhile 
	
	_lengthOfOrgasm = Timers[Timers.Length - 1]
	
	if (preset == 1)
		DoDamageSet1()
	elseIf (preset == 2)
;		DoDamageSet2()
	elseIf (preset == 3)
;		DoDamageSet3()
	elseIf (preset == 4)
;		DoDamageSet4()
	else 
		debug.Notification("Error in DoDamageAgg, DoDamage: preset out of boundary")
	endIf 
	
endFunction



function DoDamageSet1()
	
	Debug.Notification("DoDamageSet1 started.")
	
	int i = 0
	
	while i < _lengthOfActorList
		
		_HDamAbs[i] = ((_actorList[i].GetActorValue("Health") / _actorList[i].GetActorValuePercentage("Health")))
		_MDamAbs[i] = ((_actorList[i].GetActorValue("Magicka") / _actorList[i].GetActorValuePercentage("Magicka")))
		_SDamAbs[i] = ((_actorList[i].GetActorValue("Stamina") / _actorList[i].GetActorValuePercentage("Stamina")))
		
		if i == _whoIsVictim
			vPercentSet1(i)
		else 
			aPercentSet1(i)
		endIf 
		
		_HDamAbs[i] = _HDamAbs[i] * _HDamPercent[i]
		_HDamAbsTick[i] = _HDamAbs[i]/2 / _lengthOfSex
		_MDamAbs[i] = _MDamAbs[i] * _MDamPercent[i]
		_MDamAbsTick[i] = _MDamAbs[i]/2 / _lengthOfSex
		_SDamAbs[i] = _SDamAbs[i] * _SDamPercent[i]
		_SDamAbsTick[i] = _SDamAbs[i]/2 / _lengthOfSex
		
		i += 1
	endWhile 
	
endFunction 



function vPercentSet1(int indexOfActor)
	
	Debug.Notification("vPercentSet1 started.")
	
	float min
	float max
	
	min = Memory.SLCSet1vHDamMin[_caller]
	max = Memory.SLCSet1vHDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_HDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_HDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_HDamPercent[indexOfActor] = min
	endIf 
	
	
	min = Memory.SLCSet1vMDamMin[_caller]
	max = Memory.SLCSet1vMDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_MDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_MDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_MDamPercent[indexOfActor] = min
	endIf 
	
	
	min = Memory.SLCSet1vSDamMin[_caller]
	max = Memory.SLCSet1vSDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_SDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_SDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_SDamPercent[indexOfActor] = min
	endIf 
	
endFunction 



function aPercentSet1(int indexOfActor)
	
	Debug.Notification("aPercentSet1 started.")
	
	float min
	float max
	
	min = Memory.SLCSet1aHDamMin[_caller]
	max = Memory.SLCSet1aHDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_HDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_HDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_HDamPercent[indexOfActor] = min
	endIf 
	
	
	min = Memory.SLCSet1aMDamMin[_caller]
	max = Memory.SLCSet1aMDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_MDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_MDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_MDamPercent[indexOfActor] = min
	endIf 
	
	
	min = Memory.SLCSet1aSDamMin[_caller]
	max = Memory.SLCSet1aSDamMin[_caller]
	
	if max > min
		if Utility.RandomInt(0, 1) == 0
			_SDamPercent[indexOfActor] = min + 				max-min/3 * Utility.RandomFloat(0, 1)
		else 
			_SDamPercent[indexOfActor] = min + max-min/3 + 	max-min/3*2 * Utility.RandomFloat(0, 1)
		endIf 
	else 
			_SDamPercent[indexOfActor] = min
	endIf 
	
endFunction 



function UpdateOrgasmStart()
	
	int i = 0
	
	while i < _lengthOfActorList
		
		_actorList[i].DamageActorValue("Health", _HDamAbs[i]/2 - _HDamAbsDone[i])
		
		_HDamAbsTick[i] = _HDamAbs[i]/2 / _lengthOfOrgasm
		_MDamAbsTick[i] = _MDamAbs[i]/2 / _lengthOfOrgasm
		_SDamAbsTick[i] = _SDamAbs[i]/2 / _lengthOfOrgasm
		
		_HDamAbsDone[i] = _HDamAbs[i]/2
		
		i += 1
	endWhile 
	
endFunction 



function UpdateAnimEnd()
	
	UnregisterForUpdate()
	
	_onGoingAnim = False
	
	int i = 0
	
	while i < _lengthOfActorList
		
		_actorList[i].DamageActorValue("Health", _HDamAbs[i] - _HDamAbsDone[i])
		
		i += 1
	endWhile 
	
endFunction 



;==================================================================================================

event onUpdate()
	
	int i = 0
	
	while i < _lengthOfactorList
		if i == _whoIsVictim
			if Memory.SLCSet1vHDamBool[_caller]
				if _HDamAbsTick[i] > _actorList[i].GetActorValue("Health")
					_actorList[i].ForceActorValue("health", 1.0)
					_Died[i] = True
				else
					_actorList[i].DamageActorValue("Health", _HDamAbsTick[i])
					_HDamAbsDone[i] = _HDamAbsDone[i] + _HDamAbsTick[i]
				endIf
			else
					_actorList[i].RestoreActorValue("Health", _HDamAbsTick[i])
					_HDamAbsDone[i] = _HDamAbsDone[i] + _HDamAbsTick[i]
			endIf
		else
			if Memory.SLCSet1aHDamBool[_caller]
				if _HDamAbsTick[i] > _actorList[i].GetActorValue("Health")
					_actorList[i].ForceActorValue("health", 1.0)
					_Died[i] = True
				else
					_actorList[i].DamageActorValue("Health", _HDamAbsTick[i])
					_HDamAbsDone[i] = _HDamAbsDone[i] + _HDamAbsTick[i]
				endIf
			else
					_actorList[i].RestoreActorValue("Health", _HDamAbsTick[i])
					_HDamAbsDone[i] = _HDamAbsDone[i] + _HDamAbsTick[i]
			endIf
			
		endIf
		i += i
	endWhile
	
	while _onGoingAnim
		RegisterForSingleUpdate(1.0)
	endWhile
	
endEvent

 

Link to comment

I can call properties of other scripts just fine, at least I've never noticed having any problems with that; my problem is to call a function of a different script, something like this:

function DoDamage(actor[] actorlist, int lengthOfActorList, actor victim, int whoIsVictim, float[] Timers, int caller, int preset)
	
	Debug.Notification("DoDamage started.")
	;do stuff
	
endFunction

I've learned that you can call a global function from a different script:

function callFunction() global
	
	Debug.Notification("callFunction started.")
	;do stuff
	
endFunction

However I have no idea how I can get my global function to interact with the "local" functions; I get the error message "cannot call memberfunction <name> without a variable to call it on" when I try to compile.

 

The log says:

	[SexLabConsequences (280012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 35
[08/08/2013 - 07:31:08AM] ERROR: Cannot call DoDamage() on a None object, aborting function call
stack:
Link to comment

This here is a definition of a property named "DoDamageAgg".

SexLabConsequencesDoDamageAgg property DoDamageAgg auto hidden 

You are using this property to run a function from a script SexLabConsequencesDoDamageAgg. However if this property is not filled then it has a value of 'none'. Your error seems to indicate this. Similarly in my previous picture I have sx3global property filled by a ag12sx3scrQuestGlobal01 script. I can later use this sx3global property to run functions from ag12sx3scrQuestGlobal01 script as so...

 

sx3global.functionOnAnotherScript()
Link to comment

Apart from not properly defining the script property I also learned that apparently the property's name, the script's name and/or the function's name can't be to similar; when I changed the function's name from "DoDamage" to "startCalculation" everything works fine.

Link to comment

Okay, I thought I had this down, but apparently I don't...

 

Parent script

 

 

Scriptname SexLabConsequences extends Quest

SexLabFramework property SexLab auto
SexLabConsequencesMenu property Menu auto
;SexLabConsequencesDamAttAgg property DamAttAgg auto
;SexLabConsequencesDamAttCon property DamAttCon auto

sslThreadController _controller
string _hook
bool _isAggressive

float[] restoreHealRateMult
float[] restoreMagickaRateMult
float[] restoreStaminaRateMult

event OnInit()
	
	powerSwitch()
	
endEvent

function powerSwitch()
	
	if True ;ConfigMenu.SLCEnabled
		RegisterForModEvent("AnimationStart", "SexLabAnimStart")
		RegisterForModEvent("StageEnd", "SexLabStageEnd")
		RegisterForModEvent("AnimationEnd", "SexLabAnimEnd")
	else
		UnregisterForModEvent("AnimationStart")
		UnregisterForModEvent("StageEnd")
		UnregisterForModEvent("AnimationEnd")
	endIf
	
endFunction

SexLabConsequencesMemory property Memory auto

event SexLabAnimStart(string eventName, string argString, float argNum, form sender)
	test()
endEvent

function test()
	
	int randomInt = Memory.test()
	
	debug.Notification("RandomInt is " + randomInt)
	
;	debug.Notification("Menu.test is " + Menu.test)
	
;	debug.Notification("Menu.aVal is " + Menu.aVal)
	
;	Memory.aVal = True
	
	debug.Notification("Memory.aVal is " + Memory.aVal)
	
endFunction

 

 

Child script:

 

 

Scriptname SexLabConsequencesMemory extends Quest

event OnInit()
	
	aVal = False
	
endEvent

bool property aVal auto hidden

int function test()
	
	debug.Notification("Menu.test started")
	
	debug.Notification("Memory.aVal is " + aVal)
	
	return 10
	
endFunction

 

 

When a SexLab animation starts I see the messages "Menu.test started" and "aVal is True" (as intended) but then the message "RandomInt is 0" and "RandomInt is 10" (yes, I get both messages even though I only have the line once in my script) appear, likewise the next messages are "Memory.aVal is False" and "Memory.aVal is True" appear.

 

My papyrus.log says this:

 

 

[08/17/2013 - 03:05:19PM] Papyrus log opened (PC)
[08/17/2013 - 03:05:19PM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)
[08/17/2013 - 03:05:19PM] Memory page: 128 (min) 512 (max) 76800 (max total)
[08/17/2013 - 03:05:28PM] Cannot open store for class "dlc1scwispwallscript", missing file?
[08/17/2013 - 03:05:28PM] Cannot open store for class "DLC2BenthicLurkerFXSCRIPT", missing file?
[08/17/2013 - 03:05:29PM] Cannot open store for class "sslThreadKey", missing file?
[08/17/2013 - 03:05:29PM] Cannot open store for class "sexlabseduction", missing file?
[08/17/2013 - 03:05:29PM] Error: Unable to link type of variable "::Seduction_var" on object "SexLabZSeduceMagicEffect"
[08/17/2013 - 03:05:29PM] Error: Unable to link type of property "Seduction" on object "SexLabZSeduceMagicEffect"
[08/17/2013 - 03:05:29PM] ERROR: Unable to bind script sexlabseduction to SexLabZ (370012E3) because their base types do not match
[08/17/2013 - 03:05:31PM] ERROR: Unable to bind script DLC2WaterScript to  (0401AAD8) because their base types do not match
[08/17/2013 - 03:05:38PM] ERROR: Unable to bind script SexLabConsequencesMenu to alias PlayerAlias on quest SexLabConsequencesMenu011 (33000D63) because their base types do not match
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 3 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 1 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] warning: Property pTG05KarliahInvisibilitySpell on script QF_TG05_00021551 attached to TG05 (00021551) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:38PM] warning: Property TG05KarliahInvisibilitySpell on script tg06questscript attached to TG06 (00021552) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 3 in container  (02003478) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 5 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] warning: Property ThreadKey on script sexlabframework attached to SexLabSystem (0A000D62) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 4 in container  (02007B89) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (02007B86) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:38PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 4 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:39PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (02007B87) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:42PM] VM is freezing...
[08/17/2013 - 03:05:42PM] VM is frozen
[08/17/2013 - 03:05:42PM] Reverting game...
[08/17/2013 - 03:05:42PM] ERROR: Unable to bind script DLC2WaterScript to  (0401AAD8) because their base types do not match
[08/17/2013 - 03:05:42PM] ERROR: Unable to bind script sexlabseduction to SexLabZ (370012E3) because their base types do not match
[08/17/2013 - 03:05:42PM] ERROR: Unable to bind script SexLabConsequencesMenu to alias PlayerAlias on quest SexLabConsequencesMenu011 (33000D63) because their base types do not match
[08/17/2013 - 03:05:42PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 1 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:42PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 5 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:42PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (02007B87) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:42PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 3 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 3 in container  (02003478) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] warning: Property pTG05KarliahInvisibilitySpell on script QF_TG05_00021551 attached to TG05 (00021551) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:43PM] warning: Property ThreadKey on script sexlabframework attached to SexLabSystem (0A000D62) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:43PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 4 in container  (02007B89) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (02007B86) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 2 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] ERROR: Property DLC1DawnguardItemPerk on script DLC1DawnguardItemScript attached to Item 4 in container  (0200F829) cannot be bound because <NULL form> (0100D83A) is not the right type
[08/17/2013 - 03:05:43PM] warning: Property TG05KarliahInvisibilitySpell on script tg06questscript attached to TG06 (00021552) cannot be initialized because the script no longer contains that property
[08/17/2013 - 03:05:58PM] Loading game...
[08/17/2013 - 03:05:58PM] Cannot open store for class "PRKF_000DevourCorpse_0100D5E9", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type PRKF_000DevourCorpse_0100D5E9 referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "DevourmentLearnScript", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type DevourmentLearnScript referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "DevourmentVomitQueueScript", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type DevourmentVomitQueueScript referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "DevourmentScatQuestScript", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type DevourmentScatQuestScript referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "sexlabconsequencesdodamageagg", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type sexlabconsequencesdodamageagg referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "SexLabConsequencesConfigMenu", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type SexLabConsequencesConfigMenu referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "sexlabconsequencessend", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type sexlabconsequencessend referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] Cannot open store for class "QF_000DevourmentAssistQuest_010012DC", missing file?
[08/17/2013 - 03:05:58PM] warning: Unable to get type QF_000DevourmentAssistQuest_010012DC referenced by the save game. Objects of this type will not be loaded.
[08/17/2013 - 03:05:58PM] warning: Could not find type DevourmentScatQuestScript in the type table in save
[08/17/2013 - 03:05:58PM] warning: Could not find type QF_000DevourmentAssistQuest_010012DC in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type DevourmentLearnScript in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type sexlabconsequencessend in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type SexLabConsequencesConfigMenu in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type sexlabconsequencesdodamageagg in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type PRKF_000DevourCorpse_0100D5E9 in the type table in save
[08/17/2013 - 03:05:59PM] warning: Could not find type DevourmentVomitQueueScript in the type table in save
[08/17/2013 - 03:05:59PM] warning: Function critterspawn..OnLoad in stack frame 0 in stack 13481 doesn't exist in the in-game resource files - using version from save
[08/17/2013 - 03:05:59PM] warning: Function critterspawn..OnLoad in stack frame 0 in stack 13482 doesn't exist in the in-game resource files - using version from save
[08/17/2013 - 03:05:59PM] VM is thawing...
[08/17/2013 - 03:05:59PM] SOS Maintenance: loaded version is 2.030100
[08/17/2013 - 03:05:59PM] SOS Maintenance: 2.030100 is update
[08/17/2013 - 03:05:59PM] SOS UpdateKnownRaces: updating quickreference of races supported by currently loaded SOS addons
[08/17/2013 - 03:05:59PM] --SEXLAB NOTICE _CheckSystem() --- SexLab Compatibility: 'Schlongs of Skyrim.esp' was found
[08/17/2013 - 03:06:00PM] InitWidgetLoader()
[08/17/2013 - 03:06:00PM] ========== Auto Unequip Ammo: Scanning for supported plugins...
[08/17/2013 - 03:06:00PM] ========== ERRORS RELATED TO MISSING FILES SHOULD BE IGNORED!
[08/17/2013 - 03:06:00PM] ERROR: File "XFLMain.esm" does not exist or is not currently loaded.
stack:
	<unknown self>.Game.GetFormFromFile() - "<native>" Line ?
	[AUA (1600C6C2)].AUAQuestScript.GameLoaded() - "AUAQuestScript.psc" Line 40
	[AUA (1600C6C2)].AUAQuestScript.OnUpdate() - "AUAQuestScript.psc" Line 73
[08/17/2013 - 03:06:00PM] ========== Auto Unequip Ammo: Scan complete.
[08/17/2013 - 03:06:01PM] ERROR: File "mslVampiricThirst.esp" does not exist or is not currently loaded.
stack:
	<unknown self>.Game.GetFormFromFile() - "<native>" Line ?
	[RaceCompatibilityInitQuest (08002859)].YARC_InitQuestScript.onBeginState() - "YARC_InitQuestScript.psc" Line 182
	[RaceCompatibilityInitQuest (08002859)].YARC_InitQuestScript.GotoState() - "Form.psc" Line ?
	[RaceCompatibilityInitQuest (08002859)].YARC_InitQuestScript.initialize() - "YARC_InitQuestScript.psc" Line 131
	[RaceCompatibilityInitQuest (08002859)].YARC_InitQuestScript.OnUpdate() - "YARC_InitQuestScript.psc" Line 23
[08/17/2013 - 03:06:02PM] SOS UpdateKnownRaces: collected 25 known races
[08/17/2013 - 03:06:02PM] SOS ReSchlongify: 0 concealing armors to fix
[08/17/2013 - 03:06:02PM] SOS SetSchlongSize: setting schlong scale for Tre to 1
[08/17/2013 - 03:06:03PM] SOS ReSchlongify: 0 local schlonged actors fixed
[08/17/2013 - 03:06:03PM] SOS ReSchlongify: There are currently 0 concealed armors
[08/17/2013 - 03:06:03PM] SOS CheckSexLab: checking for SexLab availability, following errors, if any, can be ignored
[08/17/2013 - 03:06:03PM] SOS CheckSexLab: SexLab found, registering SOS for callbacks
[08/17/2013 - 03:06:03PM] SOS SetSchlongSize: setting schlong scale for Tre to 1
[08/17/2013 - 03:06:05PM] SOS SetSchlongSize: setting schlong scale for Tre to 1
[08/17/2013 - 03:06:07PM] Making thread[0] [sslthreadview00 <SexLabController (0A030196)>]
[08/17/2013 - 03:06:13PM] SOS DetermineSchlongType: absolutely nothing available for this race: StageCrab [mudcrab] raceId=763205
[08/17/2013 - 03:06:13PM] SOS SchlongLess: StageCrab entered schlongless state
[08/17/2013 - 03:06:13PM] SexLab ThreadController[0]: Sending custom event hook 'AnimationStart__SLC_Consequences'
[08/17/2013 - 03:06:13PM] ERROR: Cannot call Aval() on a None object, aborting function call
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:06:13PM] warning: Assigning None to a non-object variable named "::temp0"
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:06:14PM] SexLab ThreadController[0]: Sending custom event hook 'StageStart__SLC_Consequences'
[08/17/2013 - 03:06:35PM] SexLab ThreadController[0]: Sending custom event hook 'AnimationEnd__SLC_Consequences'
[08/17/2013 - 03:06:35PM] Clearing SexLabDoNothing[0] of [Actor < (00029613)>]
[08/17/2013 - 03:06:47PM] Making thread[0] [sslthreadview00 <SexLabController (0A030196)>]
[08/17/2013 - 03:06:54PM] SexLab ThreadController[0]: Sending custom event hook 'AnimationStart__SLC_Consequences'
[08/17/2013 - 03:06:54PM] ERROR: Cannot call Aval() on a None object, aborting function call
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:06:54PM] warning: Assigning None to a non-object variable named "::temp0"
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:06:54PM] SexLab ThreadController[0]: Sending custom event hook 'StageStart__SLC_Consequences'
[08/17/2013 - 03:07:18PM] SexLab ThreadController[0]: Sending custom event hook 'AnimationEnd__SLC_Consequences'
[08/17/2013 - 03:07:18PM] Clearing SexLabDoNothing[0] of [Actor < (00029600)>]
[08/17/2013 - 03:07:29PM] Making thread[0] [sslthreadview00 <SexLabController (0A030196)>]
[08/17/2013 - 03:07:35PM] SexLab ThreadController[0]: Sending custom event hook 'AnimationStart__SLC_Consequences'
[08/17/2013 - 03:07:35PM] ERROR: Cannot call Aval() on a None object, aborting function call
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:07:35PM] warning: Assigning None to a non-object variable named "::temp0"
stack:
	[<NULL form> (330012C4)].SexLabConsequences.test() - "SexLabConsequences.psc" Line 55
	[<NULL form> (330012C4)].SexLabConsequences.SexLabAnimStart() - "SexLabConsequences.psc" Line 39
[08/17/2013 - 03:07:36PM] SexLab ThreadController[0]: Sending custom event hook 'StageStart__SLC_Consequences'
[08/17/2013 - 03:07:44PM] VM is freezing...
[08/17/2013 - 03:07:44PM] VM is frozen

 

 

 

 

Here's the thread I made at the bethsoft forums about this issue:

http://forums.bethsoft.com/topic/1470596-access-to-functionsvariables-in-other-scripts/

(edit: Look at the link for the solution)

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...