@rj Can you help me with this?
As you can see the first chatline is always correct but not the rest.

Simba Code:
program pm;
{$I SRL/SRL.simba}
function kgetchat(const line:integer):string;
var
texttpas, textatpa:t2dpointarray;
texttpa:tpointarray;
textcolors:tintegerarray;
i:integer;
begin
textcolors := [128, 16711680, 0, 255, 16711935, 16776960, 16777215, 8388736];
setLength(texttpas, length(textcolors));
for i := 0 to high(textcolors) do
findColors(texttpas[i], textcolors[i], 7, 12 + (line * 14), 495, 399 + (line * 14));
texttpa := mergeAtpa(texttpas);
textatpa := splittpaex(texttpa, 1, 10);
SortATPAFromFirstPointX(textatpa, Point(0, 0));
result := getTextATPA(textatpa, 3, 'smallchars07');
end;
Begin
ClearDebug;
SetupSRL;
ActivateClient;
Wait(1000);
writeln(kgetchat(1));
writeln(kgetchat(2));
writeln(kgetchat(3));
writeln(kgetchat(4));
writeln(kgetchat(5));
writeln(kgetchat(6));
writeln(kgetchat(7));
writeln(kgetchat(8));
end.
Debug:
Code:
SRL Compiled in 16 msec
Madara: Buying b gloves
MadaTa[BuyV$VoVest
VdV:V$VV9aI 1m
VdV:V$V#9aI 1m
VV:VV9eaaId1msfast boots' lava cape cash
VVVV9aeaId1smfast boots' lava cape cash
V:VV! 9aeaId1smfast boots' lava cape cash
V:VV9eaetIa 1dsmfast boots' lava cape cash
Successfully executed.
EDIT: I still need help with this and I check this topic multiple times a day ;[