Skip to content

Fix for status command ignoring disconnected players with apostrophe/single quote in the name#13

Merged
UberDudePL merged 1 commit into
UberDudePL:mainfrom
Czupak:main
May 25, 2026
Merged

Fix for status command ignoring disconnected players with apostrophe/single quote in the name#13
UberDudePL merged 1 commit into
UberDudePL:mainfrom
Czupak:main

Conversation

@Czupak

@Czupak Czupak commented May 21, 2026

Copy link
Copy Markdown
Contributor

Issue

When a player joins with ' in the name, the status/activity script does not recognize such player leaving. The script always states that the player is online.

Fix

Fix changes the way this line is being parsed, by extending the regexp to match text before . AccountId, instead of '
... 1. Name 'Pat'k'. AccountId '.....'

Results

With no players on the server.
Before

[Game/Activity]
  game version:      0.10.0.6.213-f90b3bc1
  update status:     up-to-date
  online now:        1
  players:           Pat'k
  last event:        2026-05-21T10:57:53Z

After

[Game/Activity]
  game version:      0.10.0.6.213-f90b3bc1
  update status:     up-to-date
  online now:        0
  players:           (none)
  last event:        2026-05-21T10:57:57Z

With only me on the server.
Before

[Game/Activity]
  game version:      0.10.0.6.213-f90b3bc1
  update status:     up-to-date
  online now:        2
  players:           Czupak, Pat'k
  last event:        2026-05-21T11:12:09Z

After

[Game/Activity]
  game version:      0.10.0.6.213-f90b3bc1
  update status:     up-to-date
  online now:        1
  players:           Czupak
  last event:        2026-05-21T11:12:15Z

@UberDudePL UberDudePL merged commit 74d5e10 into UberDudePL:main May 25, 2026
5 checks passed
@UberDudePL

Copy link
Copy Markdown
Owner

Hi, Thank you for this PR. Merging

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.

2 participants