F1F88
F1F88
> For curiousity, what happen if you do basic Format() thing with specific length of char variable ? example buffer[10]; AddString will truncate the string if the length exceeds the...
`File: "test.inc"` ```sourcepawn #include methodmap MyArr < ArrayList { public native MyArr(); } ``` When hovering over `MyArr` in `public native MyArr();` ext will continuously alert: "Request textDocument/hover failed." Out...
> > PR is welcome. Note that the “sv” literal is c++17 while spdlog should support 11 > > I was thinking again on this and realized that this would...
The maximum number of characters that **LogError** can handle in a message is **1024**. Including the **EOL** character, only the first 1023 characters will be formatted, and the rest will...
Could you provide more details? When I tested it with the following code, everything worked fine: ### Operating System and Version Ubuntu 24.04 ### Game / AppID and Version NMRIH...
It looks like the string address is likely pointing to an invalid memory address. Have you tried using other output methods to confirm that the string is valid? For example:...
I checked the source code of SourceMod: - [FloatToString](https://github.com/alliedmodders/sourcemod/blob/7e784d5453a5adb751c8f6fc7bff34b9e8827042/core/logic/smn_string.cpp#L206) uses [_vsnprintf](https://github.com/alliedmodders/amtl/blob/ac9ed94208f06bfe1a2132d54fef4bd4ddaf3395/amtl/am-string.h#L67) or [vsnprintf](https://github.com/alliedmodders/amtl/blob/ac9ed94208f06bfe1a2132d54fef4bd4ddaf3395/amtl/am-string.h#L69) to format float values - [PrintToServer](https://github.com/alliedmodders/sourcemod/blob/7e784d5453a5adb751c8f6fc7bff34b9e8827042/core/logic/smn_console.cpp#L96) and [Format](https://github.com/alliedmodders/sourcemod/blob/7e784d5453a5adb751c8f6fc7bff34b9e8827042/core/logic/smn_string.cpp#L224) uses [atcprintf](https://github.com/alliedmodders/sourcemod/blob/7e784d5453a5adb751c8f6fc7bff34b9e8827042/core/logic/sprintf.cpp#L1016) to format float values atcprintf uses [AddFloat](https://github.com/alliedmodders/sourcemod/blob/7e784d5453a5adb751c8f6fc7bff34b9e8827042/core/logic/sprintf.cpp#L240)...