Home
2010-03-19 08:01:18
Hello would it be possible to get Simba use a Very detailed Debug. What i mean is this:
Example Script:
[PHP]Function MakeCompassPoint(x, y: integer): boolean;
var
a: extended;
begin
a := rs_GetCompassAngleDegrees;
if (a < 0) or (not LoggedIn) then
exit;
a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));
Result := MakeCompass(a);
end;[/PHP]
And then when it calls a Function or procedure it would writeln everything, like
If it Calls this:[PHP] "a := rs_GetCompassAngleDegrees;"[/PHP]
Then it would writeln this: [PHP] "a := rs_GetCompassAngleDegrees;"[/PHP] .
When it would call this:[PHP] "a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));"[/PHP]
It would Writeln this [PHP]"a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));"[/PHP]
So the point is that it would Writeln exact line where script is going on :)
~Home
Example Script:
[PHP]Function MakeCompassPoint(x, y: integer): boolean;
var
a: extended;
begin
a := rs_GetCompassAngleDegrees;
if (a < 0) or (not LoggedIn) then
exit;
a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));
Result := MakeCompass(a);
end;[/PHP]
And then when it calls a Function or procedure it would writeln everything, like
If it Calls this:[PHP] "a := rs_GetCompassAngleDegrees;"[/PHP]
Then it would writeln this: [PHP] "a := rs_GetCompassAngleDegrees;"[/PHP] .
When it would call this:[PHP] "a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));"[/PHP]
It would Writeln this [PHP]"a := a + 90 + Degrees(ArcTan2(y - MMCY, x - MMCX));"[/PHP]
So the point is that it would Writeln exact line where script is going on :)
~Home