Game Crash when using Lua String Patterns
#5
Quote:Fixed in 5d4dd103a12a44c8482d524c38841221da1d8fb2. Trying to log a nil value now produces an error message and stacktrace in the server console.

Thanks!

Also, if anyone was wondering what was wrong with my code, it was because I was not escaping the square brackets with %, so the actual pattern to match is:

Code:
"%[%s*(%d+)%s+(%d+)%s+(%d+)%s*%]"
Reply
Thanks given by:


Messages In This Thread
RE: Game Crash when using Lua String Patterns - by dl00 - 02-21-2015, 12:37 AM



Users browsing this thread: 1 Guest(s)