This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kirksite
Member
Join Date: Feb 2021
Old 04-09-2023 , 23:40   Re: Restrict Names 1.2a
Reply With Quote #1

How do I increase the max length of name?

Last edited by kirksite; 04-09-2023 at 23:44.
kirksite is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2023 , 22:50   Re: Restrict Names 1.2a
Reply With Quote #2

Quote:
Originally Posted by kirksite View Post
How do I increase the max length of name?
What do you mean? IIRC, the game engine has a hard coded name length limit that cannot be exceeded. The only name length parameter related to this plugin is for the names being loaded from the configuration file for rename punishment. This limit is currently 28 but can be increased to 32 (IIRC), change this value on line 113 and recompile.
__________________
fysiks is offline
kirksite
Member
Join Date: Feb 2021
Old 04-11-2023 , 00:53   Re: Restrict Names 1.2a
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
What do you mean? IIRC, the game engine has a hard coded name length limit that cannot be exceeded. The only name length parameter related to this plugin is for the names being loaded from the configuration file for rename punishment. This limit is currently 28 but can be increased to 32 (IIRC), change this value on line 113 and recompile.
Thanks for your response.

To confirm, you're referring to this line;
#define MAX_NAME_LEN 28
to
#define MAX_NAME_LEN 32

why would my compiled version be so much smaller than the amxx file available in this thread?
5 KB vs 14 KB?
kirksite is offline
Reply



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 19:59.


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