EZ41
04-11-2016, 05:34 AM
When running my script I've been getting an access violation error, it pops up the actor file.
function TReflectActor.GetQueueSize: Integer;
begin
if Reflect.Smart.IsNull(Self.Reference) then// error is here!
Exit(-1);
Result := Reflect.Smart.GetFieldInt(Self.Reference, Actor_QueueSize);
end;
It seems like Actor.ismoving is causing this error as this is the only function in the actor file that uses the getqueuesize function but it could also be elsewhere.
Suggestions?
edit: took out all my ismoving, didnt fix, i now think the problem comes from a localPlayer.blindwalkMM;
thank you.
function TReflectActor.GetQueueSize: Integer;
begin
if Reflect.Smart.IsNull(Self.Reference) then// error is here!
Exit(-1);
Result := Reflect.Smart.GetFieldInt(Self.Reference, Actor_QueueSize);
end;
It seems like Actor.ismoving is causing this error as this is the only function in the actor file that uses the getqueuesize function but it could also be elsewhere.
Suggestions?
edit: took out all my ismoving, didnt fix, i now think the problem comes from a localPlayer.blindwalkMM;
thank you.