View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-24-2018 , 07:41   Re: The operating system of server
Reply With Quote #7

Quote:
Originally Posted by psychonic View Post
Unless there's some major API gap, you shouldn't need to care what OS is from SourceMod. May I ask what the use case is?
As example: I created a plugin to fix Windows server crash and used the gamedata "offsets" section with a value of 1 for Windows. Linux returns -1 (doesn't exist) but this method is also frowned upon. So instead of an error saying "Fix not required for linux" it throws an incorrect offset error which is more confusing to end users who don't read or have much computer/sourcemod knowledge.
__________________
Silvers is offline