Skip to content

walker error #519

@Godji46

Description

@Godji46
begin
  Self.Name := 'Walker';

  minimapImage := Minimap.GetCleanMinimap();
  minimapSample := Minimap.ScaleMinimap(minimapImage, Self.Scaling);

  Self.Cache := TMatchTemplateRGBCache.Create(Self.Map.ScaledMap.ToMatrix(), MinimapSample.ToMatrix());
  Self.WalkUpText := ['Walk here', 'lk he'];

  minimapSample.Free();
  minimapImage.Free();
end;

Edit by slacky:
This references Simba 1.4 issue where the cache allocation

TMatchTemplateRGBCache.Create(Self.Map.ScaledMap.ToMatrix(), MinimapSample.ToMatrix());

causes "Invalid floating point operation".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions