Raised This Month: $ Target: $400
 0% 

[ANY] SRCDS Server Crasher Exploit Patch [6/27/19]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
eyal282
Veteran Member
Join Date: Aug 2011
Old 02-08-2020 , 08:22   Re: [ANY] SRCDS Server Crasher Exploit Patch [6/27/19]
Reply With Quote #6

Quote:
Originally Posted by Wanheda View Post
Code:
RequestCount[client] -= 32;
why exactly 32?

Code:
for (new client = 0; client <= MaxClients; client++)
iterating through 32 entities and checking if <= is wrong, you should start your for loop with 1 for that, there's no '0' client (let me mention i might be wrong, not sure)

Code:
for (new client = 1; client <= MaxClients; client++)
after some lines you do the same exact thing but correctly, you should always start with 1 if you're checking <=

anyways, i didnt find any other wrong code besides that
You should always start with 1 period.
Code:
for(new i=1;i <= MaxClients;i++)
{
    if(!IsClientInGame(i)) // i is just an entity that can be assigned to a player if it's in the range of 1 <= i <= MaxClients, it is not guaranteed it has been assigned to a player.
        continue;

     KickClient(i, "i i i i i i i i i i i");
}
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
 



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 22:22.


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