Issue Data
|
Issue #20812: FollowersScript - cannot call "XYZ" on a none object
<code>06/29/2016 - 09:53:58PM] error: Cannot call GetBaseObject() on a None object, aborting function call
stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 353 [06/29/2016 - 09:53:58PM] error: Cannot call IsLocked() on a None object, aborting function call stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 353 [06/29/2016 - 09:53:58PM] warning: Assigning None to a non-object variable named "::temp155" stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 353 [06/29/2016 - 09:53:58PM] error: Cannot call GetBaseObject() on a None object, aborting function call stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 360 [06/29/2016 - 09:53:58PM] error: Cannot call IsLocked() on a None object, aborting function call stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 360 [06/29/2016 - 09:53:58PM] warning: Assigning None to a non-object variable named "::temp164" stack: [Followers (000289E4)].followersscript.::remote_ReferenceAlias_OnCommandModeGiveCommand() - "g:\_F4\Art\Raw\ScriptsMilestone\FollowersScript.psc" Line 360</code> I suspect that this happens when I want to grab something and my follower runs uncontrollably around in front of me, so I inadvertently activate him instead of the object in question. I usually tab out then, but this appears to trigger an event on the script nonetheless, with akTarget being none. ---- Line 351: if akSender == Companion ---- ---- replace with: if akTarget && akSender == Companion ---- |
Turned out that trading with them triggers the event too, with akTarget being none and much log spam ...
Showing Comments 1 - 1 of 1