MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000689Soldat Dedicated ServerScripting Corepublic2020-08-27 11:232020-08-27 11:23
ReporterMM 
Assigned ToFliesLikeABrick 
PriorityurgentSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
Platform25OSdataOS Versiondata
Product Version2.8.1 
Target VersiondataFixed in Version 
Summary0000689: 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).
Steps To Reproducedata
Additional Information25
TagsNo tags attached.
Johndata
Attached Filestxt file icon x7xft76u.txt [^] (8 bytes) 2020-08-27 11:23 [Show Content]

- Relationships

-  Notes
(0002660)
kicikici (reporter)
2020-08-27 11:23

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.
(0002661)
kicikici (reporter)
2020-08-27 11:23

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
2020-08-27 11:23 MM New Issue
2020-08-27 11:23 MM Status new => assigned
2020-08-27 11:23 MM Assigned To => FliesLikeABrick
2020-08-27 11:23 MM File Added: x7xft76u.txt
2020-08-27 11:23 MM Issue generated from: 0000671


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker