Closed sheo9000 closed 2 years ago
SourceMod does not implement code on top of Valve's KeyValues, if you need something more reliable use SMCParser.
This is the correct game behaviour, it makes the type decisions at parsing time.
If you're parsing the game's KV files, this is required behaviour. If you're parsing your own KV-like files, you should look into SourceMod's SMC parser.
Environment
Description
If a KeyValue string consists of numeric characters only, and the value is big, it returns incorrect values. Source string:
Problematic Code (or Steps to Reproduce)
Output in server console
Instead of 76561198034909367 it returned 2147483647