MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000381Soldat Dedicated ServerScripting Corepublic2013-08-11 02:242013-08-11 02:27
ReporterDorkeyDear 
Assigned ToFalcon 
PriorityhighSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.7.5 
Target VersionFixed in Version 
Summary0000381: Map.Objects index span is limited to 32
DescriptionIndexing Map.Objects by a number greater than 32 causes an unhandled exception.
Steps To Reproduceprocedure OnClockTick(Ticks: integer);
var
    i: byte;
begin
    for i := 1 to 90 do
        try
            if (Map.Objects[i].Active) then
                WriteLn(InttoStr(i) + ' active')
            else
                WriteLn(InttoStr(i) + ' inactive');
        except
            WriteLn(InttoStr(i) + ' exception');
        end;
end;

begin
    Game.OnClockTick := @OnClockTick;
end.
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-08-11 02:24 DorkeyDear New Issue
2013-08-11 02:26 Falcon Assigned To => Falcon
2013-08-11 02:26 Falcon Status new => confirmed
2013-08-11 02:27 Falcon Status confirmed => resolved
2013-08-11 02:27 Falcon Resolution open => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker