ErikMinekus / sm-ripext

SourceMod REST in Pawn Extension
https://forums.alliedmods.net/showthread.php?t=298024
GNU General Public License v3.0
136 stars 38 forks source link

Requests are not processed during hibernation #55

Closed almazoff-gh closed 3 years ago

almazoff-gh commented 3 years ago

Plugin don't working on windows, he don't execute callback function!

ErikMinekus commented 3 years ago

Your server is probably hibernating. Make sure someone is in the server, or disable hibernation.

almazoff-gh commented 3 years ago

Your server is probably hibernating. Make sure someone is in the server, or disable hibernation.

Then this is a big minus, SteamWorks for example works even in sleep mode

CrazyHackGUT commented 3 years ago

SteamWorks for example works even in sleep mode

SteamWorks can't work in sleep mode because this is SourceMod platform limitations.

ErikMinekus commented 3 years ago

SteamWorks for example works even in sleep mode

Do you have a plugin that proves this? Most of SourceMod's code is tied to game frames, which are not processed during hibernation (see https://github.com/alliedmodders/sourcemod/pull/540#issuecomment-258149727 and https://forums.alliedmods.net/showthread.php?p=2449435#post2449435). So how can you perform a request when SourceMod doesn't run any code?

ErikMinekus commented 3 years ago

As of SourceMod 1.11.6728, game frames are processed during hibernation.