While typing into developer console a command which accepts number, when numerical string reaches certain length and the command gets executed, it results in program's crash.
When I build the game with debug configuration, I received an error from Visual C++ Runtime that debug assertion failed and it stated that source of that failed assert is following:
It is obviously not a part of game or its engine. I tried to track this issue, but I do not have debugging toolset. I tracked it into Tokenizer in carpglib, only to loose it there.
Based on my observation, it is not caused by Tokenizer's AssertXXX(), which, as I assume, should prevent this thing to go so deep into the Visual C++ Runtime.
The extremely long integer is 4294967296 (2^32) or above. After this number, the game crashes instead of setting gold back to 0 as it does after 2147483647 (2^31 -1).
Thanks @Lemiczek for first noticing this.
While typing into developer console a command which accepts number, when numerical string reaches certain length and the command gets executed, it results in program's crash. When I build the game with debug configuration, I received an error from Visual C++ Runtime that debug assertion failed and it stated that source of that failed assert is following:
It is obviously not a part of game or its engine. I tried to track this issue, but I do not have debugging toolset. I tracked it into Tokenizer in carpglib, only to loose it there. Based on my observation, it is not caused by Tokenizer's AssertXXX(), which, as I assume, should prevent this thing to go so deep into the Visual C++ Runtime.