Jump to content

Odd weapon rack errors


IsharaMeradin

Recommended Posts

Got some odd weapon rack errors.  Only mod I know of in my install that affects weapon racks is the USKP.

 

Fast traveled from Solitude to Fort Dawnguard (spawned not far from the main doors)

[06/15/2014 - 07:35:47PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:35:47PM] Warning: Assigning None to a non-object variable named "::temp7"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:35:47PM] Error: Unable to call IsDeleted - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDeleted() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:35:47PM] Warning: Assigning None to a non-object variable named "::temp14"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:35:47PM] Error: Unable to call GetParentCell - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.GetParentCell() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 279
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221 

 

Upon entering Fort Dawnguard

[06/15/2014 - 07:36:09PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.OnCellDetach() - "WeaponRackActivateSCRIPT.psc" Line ?
[06/15/2014 - 07:36:09PM] Warning: Assigning None to a non-object variable named "::temp28"
stack:
	[ (03012576)].WeaponRackActivateScript.OnCellDetach() - "WeaponRackActivateSCRIPT.psc" Line ?
 

After exiting Fort Dawnguard

[06/15/2014 - 07:51:09PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:51:09PM] Warning: Assigning None to a non-object variable named "::temp7"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:51:09PM] Error: Unable to call IsDeleted - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDeleted() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:51:09PM] Warning: Assigning None to a non-object variable named "::temp14"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:51:09PM] Error: Unable to call GetParentCell - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.GetParentCell() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 279
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/15/2014 - 07:53:49PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.OnCellDetach() - "WeaponRackActivateSCRIPT.psc" Line ?
[06/15/2014 - 07:53:49PM] Warning: Assigning None to a non-object variable named "::temp28"
stack:
	[ (03012576)].WeaponRackActivateScript.OnCellDetach() - "WeaponRackActivateSCRIPT.psc" Line ?
 

 

I did not interact with any weapon racks on this visit. I did take a weapon or two from racks on my first visit. Based on the script attached to Item 17 in the player container, it is a armor piece that represents a key ring container (similar to a bag of holding) on a mod that I am working on.  How it got into the "StartingItem" variable used in the following relevant portion of the code, I have no idea.

	ObjectReference StartingItem = GetLinkedRef()
	If StartingItem && !StartingItem.IsDisabled()

		If PlayersDroppedWeapon && PlayersDroppedWeapon != StartingItem
		;~	Trace(Self + CallingEvent + "ActivatorSetup() " + PlayersDroppedWeapon + " not starting item.")
			ActivatorSetup3D(CallingEvent)
		ElseIf StartingItem.IsDeleted()
		;~	Trace(Self + CallingEvent + "ActivatorSetup() starting item was deleted.")
			; maybe previously placed, so prevent mismatch
			PlayersDroppedWeapon = None
		Else
			Cell parentCell = StartingItem.GetParentCell()
			If parentCell && parentCell == GetParentCell() && CheckFor3D(StartingItem)
				DisableNoWait()
				PlayersDroppedWeapon = StartingItem
				Message ErrorMessage = CheckRackType(StartingItem.GetBaseObject(), True)
				if ErrorMessage
					Trace(Self + CallingEvent + "ActivatorSetup() ERROR:" + ErrorMessage)
				endif
			EndIf
		EndIf

	ElseIf PlayersDroppedWeapon
		; May be starting item that was here before disable,
		; by player taking items and putting them back later.
		ActivatorSetup3D(CallingEvent)
	EndIf 

 

Any thoughts?  Can anything be done to prevent armor pieces from getting into this variable and causing errors?

 

I did take the 2-handed hammer I had picked up on my first visit and placed it on a weapon rack inside Lakeview Manor after I obtained the Ebony Blade.  Could it be possible that this script instance was still trying to target that reference?  That by removing it, the items in player inventory shifted position and the game resorted to using the Nth item in the player inventory as opposed to the reference it was looking for...  Crazy theory, but with this game engine... who knows   :P

Link to comment
Share on other sites

As you can see, the activator script picks "StartingItem" based on the linked ref associated with the rack activator.

 

In the case of 03012576, that's a Dawnguard Warhammer linked to the rack on the roof of the fort. So the only way an armor could get stuffed into our ObjectReference is if someone linked an armor in the CK to the rack activator. Even though the script wouldn't appreciate this, the CK isn't going to care.

 

So that leaves us with your theory, except you say that you didn't put it on a different rack until after your first visit. So I don't see how it could have substituted your item for ours unless Bethesda's inventory code is really this bad.

Link to comment
Share on other sites

More information on this.

 

I returned to Lakeview Manor to retrieve the 2 handed warhammer.  It had not stayed in the weapon/shield rack.  It was on the floor.

 

I have a script that uses the OnCrosshairRefChange event and it obtains the base object of the passed in reference provided that the passed in references are valid.

This is the error that was produced when mousing over the warhammer to pick it up.

[06/16/2014 - 05:47:32PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98

 

I proceeded to take the warhammer back to Fort Dawnguard.

[06/16/2014 - 06:11:06PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:11:06PM] Warning: Assigning None to a non-object variable named "::temp7"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:11:06PM] Error: Unable to call IsDeleted - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.IsDeleted() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:11:06PM] Warning: Assigning None to a non-object variable named "::temp14"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:11:06PM] Error: Unable to call GetParentCell - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].abimIMSKeyRingIPScript.GetParentCell() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 279
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221 

 

I decided to remove the key ring via the MCM option of my mod then saved, exited and restarted.  After the reload, I dropped the warhammer and Z-keyed it (grab and move).  Here is the error associated with that.

[06/16/2014 - 06:16:39PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:39PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:41PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:43PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:45PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:48PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98
[06/16/2014 - 06:16:57PM] Error: Unable to call GetBaseObject - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetBaseObject() - "<native>" Line ?
	[abimIMSMCMQuest (280048E2)].abimIMSCrossHairRefScript.OnCrosshairRefChange() - "abimIMSCrossHairRefScript.psc" Line 98 

 

And this is the new weapon rack error after going back into Fort Dawnguard and exiting out the main doors.

[06/16/2014 - 06:19:49PM] Error: Unable to call IsDisabled - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.IsDisabled() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:19:49PM] Warning: Assigning None to a non-object variable named "::temp7"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 269
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:19:49PM] Error: Unable to call IsDeleted - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.IsDeleted() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:19:49PM] Warning: Assigning None to a non-object variable named "::temp14"
stack:
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 274
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221
[06/16/2014 - 06:19:49PM] Error: Unable to call GetParentCell - no native object bound to the script object, or object is of incorrect type
stack:
	[Item 17 in container  (00000014)].ObjectReference.GetParentCell() - "<native>" Line ?
	[ (03012576)].WeaponRackActivateScript.ActivatorSetup() - "WeaponRackActivateSCRIPT.psc" Line 279
	[ (03012579)].WeaponRackTriggerSCRIPT.TriggerSetup() - "WeaponRackTriggerSCRIPT.psc" Line 254
	[ (03012576)].WeaponRackActivateScript.OnCellAttach() - "WeaponRackActivateSCRIPT.psc" Line 221 

 

It seems to me that the 2 handed warhammer some how is tagged as being item #17 of the player inventory despite not being in the player's inventory.

 

Crazy is all I can say.  Clueless to boot.  

 

Also I have no idea why my crosshair ref script would produce an error like that unless upgraded items lose reference to their base object.  I do not get errors like that on a regular basis with mousing over items in general.

 

I'll try to be gone long enough for the cell to reset and see if that helps anything.  Suppose I could re-do the bashed patch and set it up to have a shorter reset time.  It is already shorter but I'd need to be away for 5-10 days I think.

Link to comment
Share on other sites

Finally made it back to the cell with enough days for the cell to have reset.  The weapon rack error is gone.  So lesson learned, don't take weapons off of racks unless I put it there myself or carry the weapon around with me for the rest of the game.

 

EDIT:

Spoke too soon.  Errors were not there on the visit back, but after going inside and coming back out the weapon rack errors came back.

 

I'm just going to avoid taking weapons off of weapon racks unless I put them on a rack myself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...