MantisBT - Soldat Dedicated Server
View Issue Details
0000470Soldat Dedicated ServerScripting Corepublic2013-12-04 12:342013-12-06 00:26
kicikici 
Falcon 
immediatecrashalways
resolvedfixed 
x64Windows7 SP1
2.7.6 
 
0000470: Script on SC3 crashes after join 6th player
Simple 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 [^]
No tags attached.
Issue History
2013-12-04 12:34kicikiciNew Issue
2013-12-04 13:00BistouflyPriorityhigh => immediate
2013-12-04 13:00BistouflyStatusnew => confirmed
2013-12-06 00:26FalconStatusconfirmed => resolved
2013-12-06 00:26FalconResolutionopen => fixed
2013-12-06 00:26FalconAssigned To => Falcon

There are no notes attached to this issue.