Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix player-connected and player-disconnected for modded maps #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CamperNoob
Copy link

Fixes player-connected.js and player-disconnected.js to properly catch logs from modded maps, where player controller is named a bit differently.
Log examples

  • (Player connected):
    [2025.02.09-17.48.54:738][ 87]LogSquad: PostLogin: NewPlayer: BP_PlayerController_SMT_C /TitanLeagueMod_44th/Maps/Narva/Gameplay_Layers/TL_narvav1.TL_narvav1:PersistentLevel.BP_PlayerController_SMT_C_0000000000 (IP: 0.0.0.0 | Online IDs: EOS: 00000000000000000000000000000000 steam: 00000000000000000)

  • (Player disconnected):
    [2025.02.09-19.51.07:026][108]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 0.0.0.0:0, Name: EOSIpNetConnection_0000000000, Driver: GameNetDriver EOSNetDriver_0000000000, IsServer: YES, PC: BP_PlayerController_SMT_C_0000000000, Owner: BP_PlayerController_SMT_C_0000000000, UniqueId: RedpointEOS:00000000000000000000000000000000

…llers

Log example includes BP_PlayerController_SMT_C (player connected):
[2025.02.09-17.48.54:738][ 87]LogSquad: PostLogin: NewPlayer: BP_PlayerController_SMT_C /TitanLeagueMod_44th/Maps/Narva/Gameplay_Layers/TL_narvav1.TL_narvav1:PersistentLevel.BP_PlayerController_SMT_C_0000000000 (IP: 0.0.0.0 | Online IDs: EOS: 00000000000000000000000000000000 steam: 00000000000000000)
(Player disconnected):
[2025.02.09-19.51.07:026][108]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 0.0.0.0:0, Name: EOSIpNetConnection_0000000000, Driver: GameNetDriver EOSNetDriver_0000000000, IsServer: YES, PC: BP_PlayerController_SMT_C_0000000000, Owner: BP_PlayerController_SMT_C_0000000000, UniqueId: RedpointEOS:00000000000000000000000000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant