rtldg
rtldg
Made this pr for https://github.com/jart/cosmopolitan/issues/333
# Help us help you - [x] I have checked that my issue [doesn't exist yet](https://github.com/alliedmodders/sourcemod/issues). - [x] I have tried my absolute best to reduce the problem-space and have...
`RenameFile` on linux uses `rename()` which will replace the destination file if it exists. `MoveFileA` doesn't replace so this is swapping it with `MoveFileExA`+`MOVEFILE_REPLACE_EXISTING` which will replace the destination.
I had pretty much finished it by the time you responded to the other pr. If you feel like using it then here it is, otherwise I'll continue to make...
For screenshot filenames, it was possible for the basename to be longer than what filesystems generally support. On Linux, this is 255 bytes. On Windows, this is 255 wchar_t units....
# Help us help you - [x] I have checked that my issue [doesn't exist yet](https://github.com/alliedmodders/sourcemod/issues). - [x] I have tried my absolute best to reduce the problem-space and have...
https://github.com/alliedmodders/sourcepawn/pull/945 does some things like make `enum struct`s not really arrays anymore. bhoptimer has API which passes structs around as array parameters like this for reasons: ```c++ native void Shavit_SaveSnapshot(int...
The issue is pretty apparent here since the OnDamaged output is fired with `m_hActivator` instead of `info.GetAttacker()`: https://github.com/ValveSoftware/source-sdk-2013/blob/238a15a79dd2c3c151e98eea8b39e5f161a93703/src/game/server/buttons.cpp#L301-L316 This means that the first time a button is damaged, it will...
Per https://github.com/ValveSoftware/Source-1-Games/issues/6868 loading packed files from BSPs (& VPKs!) has some casing issue that popped up recently for Linux users. The problem stems from `CZipPackFile::GetFileInfo()` (and `CPackFile`?) which is used...
Companion to https://github.com/alliedmodders/metamod-source/pull/212 For `x86_64SystemVDefault.cpp`, I copied `x86_64MicrosoftDefault.cpp` and then replaced things so you can see the diff in the second commit ([link](https://github.com/alliedmodders/sourcemod/commit/dfa865906248d0912174e30173c04bd2788e0177)) on this branch. Currently includes the changes...