sourcemod icon indicating copy to clipboard operation
sourcemod copied to clipboard

1.12 has broken string hexadecimal escape parsing

Open rtldg opened this issue 1 year ago • 0 comments

Help us help you

  • [x] I have checked that my issue doesn't exist yet.
  • [x] I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • [x] I can always reproduce the issue with the provided description below.

Environment

  • Operating System version: Windows
  • Current SourceMod version: 1.12 - build 7136 (still present in 7146)

Description

The sourcepawn submodule doesn't include the hexadecimal-escape regression fix from https://github.com/alliedmodders/sourcepawn/pull/926 so 1.12 still parses strings incorrectly. Another recent issue where someone ran into this https://github.com/alliedmodders/sourcepawn/issues/963

Problematic Code (or Steps to Reproduce)

public void OnPluginStart()
{
	PrintToServer("\x04Cello");
}
Lello

rtldg avatar May 22 '24 23:05 rtldg