MantisBT - Soldat Dedicated Server
View Issue Details
0000043Soldat Dedicated ServerScripting Corepublic2011-09-17 20:032011-09-18 14:08
DorkeyDear 
Shoozza 
normalminoralways
resolvedfixed 
x86Windows7
2.7.0 
2.7.1 
0000043: KickPlayer falsely states somebody got kicked in server console
When using KickPlayer on a valid player id, non-active player slot, the server console (not the player console) states " has been kicked.()".

If the slot was in use previously, then it would say "Kruger has been kicked." (only tested with the but Kruger; may vary if human).

One behavior which was confirmed to be incorrect (although I could have sworn this was true previously when tested in the 1.6.0rc; possibility I misread results) is that this behavior used to only apply for player slots 1-31. Player slot 32 was slightly different, in which if nobody was every in player slot 32, then no message appeared in the console.
procedure OnPlayerSpeak(const Id: byte; const Text: string);
var
    i: integer;
begin

    if (Text = 'add5') then begin
        for i := 1 to 5 do
            Command('/addbot5 Boogie Man');
        exit;
    end;

    KickPlayer(StrtoInt(Text));

end;
No tags attached.
Issue History
2011-09-17 20:03DorkeyDearNew Issue
2011-09-17 20:04DorkeyDearNote Added: 0001131
2011-09-18 14:08ShoozzaStatusnew => resolved
2011-09-18 14:08ShoozzaFixed in Version => 2.7.1
2011-09-18 14:08ShoozzaResolutionopen => fixed
2011-09-18 14:08ShoozzaAssigned To => Shoozza

Notes
(0001131)
DorkeyDear   
2011-09-17 20:04   
"only tested with the BOT Kruger"*