MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000470Soldat Dedicated ServerScripting Corepublic2013-12-04 12:342013-12-06 00:26
Reporterkicikici 
Assigned ToFalcon 
PriorityimmediateSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Platformx64OSWindowsOS Version7 SP1
Product Version2.7.6 
Target VersionFixed in Version 
Summary0000470: Script on SC3 crashes after join 6th player
DescriptionSimple example of script:

function MyOnCommand(Player: TActivePlayer; Command: string): Boolean;
begin
   if Command = '/crash' then begin
      Players[Player.ID].WriteConsole('Crash in progress...',$fefefe);
   end;
end;
 
var
   i: Byte;
begin
   for i:=1 to 32 do begin
      Players[i].OnCommand := @MyOnCommand;
   end;
end.

When 6th player joins server, we get a unexpected crash:

(15:16:40) [*] [scriptcore3] Unhandled exception occured:
(15:16:40) [*] [scriptcore3] Wrong parameter
(15:16:40) [*] Disabling scriptcore3

Related topic on forum: http://forums.soldat.pl/index.php?topic=42934.0 [^]
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-12-04 12:34 kicikici New Issue
2013-12-04 13:00 Bistoufly Priority high => immediate
2013-12-04 13:00 Bistoufly Status new => confirmed
2013-12-06 00:26 Falcon Status confirmed => resolved
2013-12-06 00:26 Falcon Resolution open => fixed
2013-12-06 00:26 Falcon Assigned To => Falcon


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker