MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000671Soldat Dedicated ServerScripting Corepublic2017-02-14 00:012020-08-27 11:23
ReporterSavage 
Assigned ToFliesLikeABrick 
PriorityurgentSeveritymajorReproducibilityalways
StatusfeedbackResolutionreopened 
PlatformOSOS Version
Product Version2.8.1 
Target VersionFixed in Version2.9.0 
Summary0000671: TGame.OnRequest
DescriptionIf player is banned and script allows him to join with this code:

function OnRequest(Ip, Hw: string; Port: Word; State: Byte; Forwarded: Boolean; Password: string): Integer;
begin
    if State = 4 then
    Result := 1;
end;

begin
    Game.OnRequest := @OnRequest;
end.

then he joins the server but can't do anything (acts the same when you join server and have to choose your team but there's no menu for teams).
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
(0002573)
kicikici (reporter)
2017-03-05 10:13

It works well when you have only one script on the server using OnRequest event. Two or more events with different result will cause conflict.
(0002575)
kicikici (reporter)
2017-06-25 17:34

OK, this is really an issue. I finally found out how to reproduce this. It occurs when player was kicked because of flood (automatically by server) and wanna try join before unban.

- Issue History
Date Modified Username Field Change
2017-02-14 00:01 Savage New Issue
2017-03-05 10:13 kicikici Note Added: 0002573
2017-06-25 17:34 kicikici Note Added: 0002575
2020-08-27 11:20 MM Status new => closed
2020-08-27 11:20 MM Assigned To => FliesLikeABrick
2020-08-27 11:20 MM Resolution open => fixed
2020-08-27 11:20 MM Fixed in Version => 2.9.0
2020-08-27 11:23 MM Issue cloned: 0000688
2020-08-27 11:23 MM Status closed => feedback
2020-08-27 11:23 MM Resolution fixed => reopened
2020-08-27 11:23 MM Issue cloned: 0000689


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker