SRL Archive - MSI Bugs

Object finding bug, no x or y value


Camaro'

2011-07-04 02:03:20

In Objects.simba you have to add this to MSI_FindObjects

obj := objs[i];
obj.x := tpa[j].x;
obj.y := tpa[j].y;
if (action = moNothing) then
begin
result := true;
break;
end;


If you don't then if you use MSI_FindObjects with mouse type nothing (moNothing), your x and y values will be 0 regardless of what it finds.

Coh3n

2011-07-04 07:13:12

Nice find, updated in the most recent version. Also fixed an out of range error, and a FindTool bug.

Camaro'

2011-07-04 11:52:59

Fighting is coming along nicely.

Awkwardsaw

2011-07-04 12:03:13

maybe eventually we can add slayer? :)

the way MSI is organised makes it perfect for slayer, since it's literally just a fighting script, and a huge databse of paths and stuff

Camaro'

2011-07-04 12:06:41

That would be interesting. Let me just finish the fighting before thinking of slayer.