AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Anti-Crash (autobuy) & fullupdate blocker with logging (https://forums.alliedmods.net/showthread.php?t=163883)

claudiuhks 08-04-2011 16:49

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
This can't be approved, oh my god...
Why did you block the autobuy command? You have to take each player's argument (from the autobuy command) and check if it has many than 31 characters...

bibu 08-04-2011 17:03

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Quote:

Originally Posted by Arkshine (Post 1525791)
No, 33 is correct. Max character for a name : 32.

Quote:

From wiki:
(common max name length is 31)
And also, all plugins I seen are using 32.

Arkshine 08-04-2011 17:28

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Just because people use something doesn't mean you are not allowed to think by yourself. 33 or 32, that's not it will make a major difference anyway, who cares.

bibu 08-04-2011 18:17

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Quote:

Originally Posted by Arkshine (Post 1525832)
Just because people use something doesn't mean you are not allowed to think by yourself. 33 or 32, that's not it will make a major difference anyway, who cares.

The wiki says max length of a name is 31. Adding the EOS makes it 32. Why should 33 be used then, and how do you come to the 33?

Arkshine 08-04-2011 18:25

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Wiki says a lot of things and some are wrong/outdated. After all written by human. I've already answered anyway. Back to the topic, that's not really the place to discuss about such insignificant details.

bibu 08-05-2011 06:42

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Quote:

Originally Posted by Arkshine (Post 1525864)
to discuss about such insignificant details.

Still you're wrong. :)

Arkshine 08-05-2011 06:56

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
It doesn't matter 33 or 32. If the max characters of a name is 32, array should be 33, if 31, it should be 32. For me, the name is 32 max, so 33 would be correct. In the case max would be 31 characters, it will change... nothing in the current plugin. Both are correct anyway and your advice would be useless in all case.
If you think I'm wrong (and it's possible), feel free to create a thread about this matter. Back to the topic.

claudiuhks 08-05-2011 14:44

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
1 Attachment(s)
Oh bibu, just leave it!
The maximum length for a player name is 32 like the Arkshine said...
If you're still not believing, just download the hlsdk packet from wiki and open the \multiplayer\cl_dlls\hud.h file...

Code:

#define MAX_PLAYER_NAME_LENGTH                32

ConnorMcLeod 08-05-2011 14:48

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Also, there is already an anti fullupdate spam plugin, and for cs it is useless because a delay has already been added by valve.

fysiks 08-05-2011 14:58

Re: Anti-Crash (autobuy) & fullupdate blocker with logging
 
Quote:

Originally Posted by ConnorMcLeod (Post 1526442)
Also, there is already an anti fullupdate spam plugin, and for cs it is useless because a delay has already been added by valve.

For CS or for GoldSrc?


All times are GMT -4. The time now is 20:10.

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