Raised This Month: $32 Target: $400
 8% 

[CS:S]Block Punting bot when server is hibernating


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheLastRevenge
Junior Member
Join Date: Mar 2013
Location: Korea Republic Of
Old 11-05-2014 , 07:32   [CS:S]Block Punting bot when server is hibernating
Reply With Quote #1

Patch Function for CS:S

Features:
It can block "Punting bot, Server is hibernating..."
It only works at CS:S
Install:
Download patch.zip
Unpack it in your sourcemod folder


- Sorry for my bad english :S -
Attached Files
File Type: zip patch.zip (148.5 KB, 505 views)
File Type: zip patch-src.zip (16.9 KB, 301 views)
__________________

Last edited by TheLastRevenge; 11-05-2014 at 07:34.
TheLastRevenge is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-06-2014 , 06:47   Re: [CS:S]Block Punting bot when server is hibernating
Reply With Quote #2

There seems to be a problem with SM still invalidating the clients on hibernation, so any further calls like "IsFakeClient" on the bots result in "player not connected" errors.
I've noticed this while some sdkhooks hooks instantly spammed the logs after the last player disconnected.

You don't need an extension to patch memory by the way. Attached is an example which does the same as your extension. Linux gamedata included.
Attached Files
File Type: sp Get Plugin or Get Source (hibernatebots.sp - 1151 views - 2.1 KB)
File Type: txt hibernatebots.games.txt (627 Bytes, 590 views)
__________________
Peace-Maker is offline
TheLastRevenge
Junior Member
Join Date: Mar 2013
Location: Korea Republic Of
Old 11-06-2014 , 07:49   Re: [CS:S]Block Punting bot when server is hibernating
Reply With Quote #3

Quote:
Originally Posted by Peace-Maker View Post
There seems to be a problem with SM still invalidating the clients on hibernation, so any further calls like "IsFakeClient" on the bots result in "player not connected" errors.
I've noticed this while some sdkhooks hooks instantly spammed the logs after the last player disconnected.

You don't need an extension to patch memory by the way. Attached is an example which does the same as your extension. Linux gamedata included.
Oh, very interesting...
I didn't know this way.
thank you for your advice
__________________
TheLastRevenge is offline
psychonic

BAFFLED
Join Date: May 2008
Old 11-06-2014 , 11:08   Re: [CS:S]Block Punting bot when server is hibernating
Reply With Quote #4

Quote:
Originally Posted by Peace-Maker View Post
There seems to be a problem with SM still invalidating the clients on hibernation, so any further calls like "IsFakeClient" on the bots result in "player not connected" errors.
I've noticed this while some sdkhooks hooks instantly spammed the logs after the last player disconnected.
See this PR for why, https://github.com/alliedmodders/sourcemod/pull/20

The "punt" on hibernation does not tell the game or SM that the bot is gone, so we just have to assume that they are, else there will be issues elsewhere.

Changing/patching engine functionality that SM relies on will also cause issues.
psychonic is offline
TheLastRevenge
Junior Member
Join Date: Mar 2013
Location: Korea Republic Of
Old 09-19-2015 , 16:34   Re: [CS:S]Block Punting bot when server is hibernating
Reply With Quote #5

"Games"
{
"#default"
{
"Offsets"
{
"SetHibernating"
{
"windows" "202"
}
"SetHibernating_Size"
{
"windows" "14"
}
}

"Signatures"
{
"SetHibernating"
{
"library" "engine"
"windows" "\x55\x8B\x2A\xA1\x2A\x2A\x2A\x2A\x53\x8B\x2A\ xA8"
}
}
}
}
__________________
TheLastRevenge is offline
msl1
New Member
Join Date: Apr 2013
Old 01-25-2020 , 09:55   Re: [CS:S]Block Punting bot when server is hibernating
Reply With Quote #6

Is it possible to implement this for the new css?
msl1 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode