Fixed Internally Spacing/display issue with <SYSTEMWIDE_MESSAGE>

Discussion in 'Resolved' started by Xyroff-cazic., Jul 27, 2021.

  1. Xyroff-cazic. Director of Sarcasm

    When a raid target is defeated on aTLP server, the server broadcasts a systemwide message letting us know who killed what. Most of these messages have a space between the <SYSTEMWIDE_MESSAGE>: and the target name, like these:

    <SYSTEMWIDE_MESSAGE>: Phinigel Autropos has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>: Lady Vox has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>: Lord Inquisitor Seru has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>: Overlord Mata Muram has been defeated by a group of hardy adventurers!

    All of those above messages display properly in the chat box. However, systemwide messages belonging to certain targets omit the space before the target name, like these:

    <SYSTEMWIDE_MESSAGE>:The Mastery of Hate trial in Proving Grounds has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>:Ayonae Ro has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>:King Odeen has been defeated by a group of hardy adventurers!
    <SYSTEMWIDE_MESSAGE>:Sothgar the Twiceborn has been defeated by a group of hardy adventurers!

    Those are a few examples, but there's many more.

    It's a minor difference, but for those of us using old man font size, it can cause a display issue. The game is reading a term like '<SYSTEMWIDE_MESSAGE>Sothgar' all as one term, and cuts off the display like this without displaying the rest of the message:

    [IMG]

    Suggested fix: make sure there is always a space immediately after any <SYSTEMWIDE_MESSAGE>:

    Thanks!
    Stymie, niente and Rondor like this.