Hey guys,
This may sound like a simple bug fix but as you may already know, we have had this problem long since even the RS3 scripts. I consider this to be an update if anything.
The problem:
Players/members of administration would use commands like /namehouse, /namebizz and display announcements etc with the "~" character in certain combinations in order to format their text. For example, "~r~ [test]" would make the text red.
HOWEVER, a BIG problem we had was that people would by accident use these characters in an incorrect way, such as "~r [text]". Putting an uneven number of "~" characters would crash all clients that were sent the messages.
What did this mean? Well of course, if a player were to name their house or business incorrectly, anyone near the entry point would crash as soon as they saw the name of the place and would never be able to spawn unless administration somehow helped them and changed the name of the property.
Sometimes members of administration have crashed everyone on the server by sending an invalid announcement.
A terrible fault which caused a lot of problems...UNTIL NOW!
I realised while doing C++ that I can use a certain mathematical function to work out if someone has input an invalid number of "~" characters. When I tried to do this with the Pawn language, it worked! Therefore, we will no longer have this problem!
Commands affected:
All administration ones (not named here)
/namehouse
/namebizz
This fix will be active after the next server restart.