ValveSoftware / halflife Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GoldSource] Host_Kill_f crash server HLDS bug (command kill) #2129
Comments
how are you going to print a message to a non connected player ? |
@justgo97 when he connects (ca_connecting) amxmodx fix : |
Tested on Linux server but I can't reproduce it. |
@GiovaniFerraroTrivelli server should not run dproto, he fixes this bug |
Confirmed, you are right. Tested with reHLDS too but here is fixed. |
@SkillartzHD This should be fixed in the current CS beta. |
@mikela-valve , the check is not good, it is detected even if it is connected |
@SkillartzHD I confirmed that as well. When I tested this I did so on a listen server so I didn't notice that the check I was making was checking the server's connected state rather than the state of the player executing the command. The next update should have the proper check in it. |
Fixed in beta 'Exe build: 11:12:36 May 21 2019 (8244)'. |
This bug works on last beta again. |
Fixed in 8254 build. |
@mikela-valve close this too |
wait till skillartz test it. |
Fixed in last build. |
hi, the "kill" command is registered in the client/server, but here it is only the server (swds/engine_i486)
How the bug occurs:
1.connect to the server.
2.you expect to be alive
3.slow down the client (HW/SW) whether you do it with cheat engine/fps_max or other software
4.open the console and throw the command retry
5.close the connect bar (double click on the Steam logo) and then open the console type the "kill" command
Server gets crash
Because the player remained alive when he gave reconnect/retry (he was not set as disconnected in Host_Reconnect_f that uses SV_New_f)
Then run the gEntityInterface.pfnClientKill player was not found and here occurs crash to the server
Original function without fixed :

Code fix :

**void Host_Kill_f(void)
{
}**
The text was updated successfully, but these errors were encountered: