Raised This Month: $12 Target: $400
 3% 

[ANY] Name Change Punisher (Updated 2011-07-13)


Post New Thread Reply   
 
Thread Tools Display Modes
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 07-27-2015 , 15:37   Re: [ANY] Name Change Punisher (Updated 2011-07-13)
Reply With Quote #91

Hey Powerlord,

I was wondering if you can help me shine a light on this..

So, Three variables, right..
  • ncp_detections
  • ncp_detectiontime
  • sv_namechange_cooldown_seconds

If sv_namechange_cooldown_seconds is set to 25 and ncp_detectiontime to 10,
then the maximum amount of detections possible is ncp_detectiontime divided by sv_namechange_cooldown_seconds right?
this is assuming that the player changes his name right after the sv_namechange cooldown is finished..

because the player can only change his name after the sv_namechange cooldown is finished..?

So for example:
I change my name The sv counter starts and the ncp counter start
10 seconds later the ncp counter is finished and thus restarts (and resets the detections)
15 seconds later i'm able to change my name again (the sv counter finished)

So as a result you would not be able to change your name within the detection timer..?

If sv_namechange_cooldown_seconds were to be set on 20 and ncp_detectiontime on 60 then it would be possible to have a maximum of 3 detections, or am I mistaking?

I stated my concern about this a few posts before but yea..

So...?
Thanks
Vastrix is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-18-2015 , 18:21   Re: [ANY] Name Change Punisher (Updated 2011-07-13)
Reply With Quote #92

I know this hasn't been updated in quite some time, but is there any way clan tag changes can be added as well?
__________________
sneaK is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 03-12-2018 , 06:41  
Reply With Quote #93

is we have something like ClientUserInfoChanged in AMXX?

Are we have something wich allow to block when players tried to change their names before when player_changename event will be fired?

Last edited by DarkDeviL; 03-12-2018 at 13:39. Reason: Merged posts
ZASTRELIS is offline
hajrullah
Junior Member
Join Date: Nov 2008
Old 04-19-2020 , 12:41   Re: [ANY] Name Change Punisher (Updated 2011-07-13)
Reply With Quote #94

Quote:
L 04/19/2020 - 1885: [SM] Exception reported: Language phrase "Ban Reason" not found (arg 6)
L 04/19/2020 - 1885: [SM] Blaming: namechangepunisher.smx
L 04/19/2020 - 1885: [SM] Call stack trace:
L 04/19/2020 - 1885: [SM] [0] Format
L 04/19/2020 - 1885: [SM] [1] Line 112, D:\tf2server\SourceMod\namechangepunisher\add ons\sourcemod\scripting\namechangepunisher.sp ::OnNameChange
L 04/19/2020 - 1885: [SM] [3] SetClientName
L 04/19/2020 - 1885: [SM] [4] Line 40, /home/builds/sourcemod/linux-1.10/build/plugins/playercommands/rename.sp:erformRename
L 04/19/2020 - 1885: [SM] [5] Line 194, /home/builds/sourcemod/linux-1.10/build/plugins/playercommands/rename.sp::Command_Rename
hajrullah is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-20-2020 , 02:00   Re: [ANY] Name Change Punisher (Updated 2011-07-13)
Reply With Quote #95

Quote:
Originally Posted by hajrullah View Post
Code:
L 04/19/2020 - 18:38:35: [SM] Exception reported: Language phrase "Ban Reason" not found (arg 6)
L 04/19/2020 - 18:38:35: [SM] Blaming: namechangepunisher.smx
L 04/19/2020 - 18:38:35: [SM] Call stack trace:
L 04/19/2020 - 18:38:35: [SM]   [0] Format
L 04/19/2020 - 18:38:35: [SM]   [1] Line 112, D:\tf2server\SourceMod\namechangepunisher\addons\sourcemod\scripting\namechangepunisher.sp::OnNameChange
L 04/19/2020 - 18:38:35: [SM]   [3] SetClientName
L 04/19/2020 - 18:38:35: [SM]   [4] Line 40, /home/builds/sourcemod/linux-1.10/build/plugins/playercommands/rename.sp::PerformRename
L 04/19/2020 - 18:38:35: [SM]   [5] Line 194, /home/builds/sourcemod/linux-1.10/build/plugins/playercommands/rename.sp::Command_Rename
Quote:
Originally Posted by Powerlord View Post
Installation:
  1. Copy namechangepunisher.phrases.txt into addons/sourcemod/translations/ (possibly updated with translations later)
  2. Copy namechangepunisher.smx into addons/sourcemod/plugins/
You have followed the the instructions on how to install 100% from top to toe, right?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 11:31.


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