OldUnreal / UnrealTournamentPatches

Other
975 stars 29 forks source link

[469c] Add ability notify players on server if someone start downloading files in attempt connect #1237

Open SeriousBuggie opened 1 year ago

SeriousBuggie commented 1 year ago

If this possible, add some kind of notification from clients which downloading files for enter to server.

This can be good for know who on server, start game or wait downloaders.

SeriousBarbie commented 1 year ago

As I remember from the log, one of the GameInfo functions spits a log message when a player connects to the server - this means before player is downloading any files.

SeriousBuggie commented 1 year ago

Yes, but player can cancel download or crash client, or whatever. Will be good know if there actual attempt for connect or no.

SeriousBuggie commented 1 year ago

Hm. If used UZ redirect there not much info in log

DevNet: NotifyAcceptingConnection: Server MyLevel accept
NetComeGo: Open MyLevel Tue May  2 11:25:00 2023 1.2.3.4:56975
DevNet: NotifyAcceptingChannel Control 0 server Level CTF-XV-QbicBMEv0.MyLevel: Accepted
DevNet: Level server received: HELLO REVISION=0 MINVER=432 VER=451
DevNet: Level server received: NETSPEED 25000
Log: Client netspeed is 25000
DevNet: Level server received: LOGIN RESPONSE=1642987361 URL=:7277/Index.unr?Name=v436?Class=BotPack.TFemale1?team=1?skin=FCommandoSkins.aphe?Face=FCommandoSkins.Indina?Voice=BotPack.VoiceFemaleOne?OverrideClass=
DevNet: Client passed challenge
DevNet: Login request: :7277/Index.unr?Name=v436?Class=BotPack.TFemale1?team=1?skin=FCommandoSkins.aphe?Face=FCommandoSkins.Indina?Voice=BotPack.VoiceFemaleOne?OverrideClass=
NetComeGo: Close TcpipConnection264 Tue May  2 11:25:07 2023

There v436 try connect, download few files from redirect and finally fail to connect because of packages mismatch.