Raised This Month: $32 Target: $400
 8% 

[Any] Target Name Changers


Post New Thread Reply   
 
Thread Tools Display Modes
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-05-2013 , 23:53   Re: [Any] Name Change Info
Reply With Quote #11

I'm sorry, I don't quite understand what you mean. Everything in the plugin should be compatible with all the mods. Unless there are mods where PrintToChat doesn't have the convenient side-effect of also printing to the console?

Last edited by ddhoward; 07-05-2013 at 23:54.
ddhoward is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-06-2013 , 00:53   Re: [Any] Name Change Info
Reply With Quote #12

Quote:
Originally Posted by ddhoward View Post
[...]Unless there are mods where PrintToChat doesn't have the convenient side-effect of also printing to the console?
That is what I'm refering to. And it is just a suggestion, you don't have to.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-06-2013 , 01:13   Re: [Any] Name Change Info
Reply With Quote #13

Quote:
Originally Posted by RedSword View Post
That is what I'm refering to. And it is just a suggestion, you don't have to.
I'll do it. Server ops should be smart enough to figure out how to stop the double-printing in the console on mods where PrintToChat also prints to console.

Last edited by ddhoward; 07-06-2013 at 01:19.
ddhoward is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-06-2013 , 02:05   Re: [Any] Name Change Info
Reply With Quote #14

You can add a small notice "depending on mod, blablabla can appear twice".
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-07-2013 , 08:24   Re: [Any] Name Change Info
Reply With Quote #15

Updated to 13.0707
ddhoward is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-07-2013 , 13:51   Re: [Any] Name Change Info
Reply With Quote #16

Code:
if (destination == 1 || destination == 3)
Code:
if (destination == 2 || destination == 3)
/facepalm

you could simply do
Code:
if (destination & 1)
Code:
if (destination & 2)
Understanding bit flags is helpful in some scenarios.

More info : http://www.cplusplus.com/forum/general/1590/ + google

Of course it works as it is; but there is a more elegant way to do it; plus if you're to add multiple "printto" options (i.e. print to name changer too or not, etc, add colors or not, stuff...), this can become dirty.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Js41637
Member
Join Date: May 2013
Location: Australia, NSW
Old 07-08-2013 , 03:15   Re: [Any] Name Change Info
Reply With Quote #17

Hey, I am not sure on how hacks change names but what about when using the sm_rename option? Do the same rules apply or are they not counted?
Js41637 is offline
Send a message via Skype™ to Js41637
Sreaper
髪を用心
Join Date: Nov 2009
Old 07-08-2013 , 04:39   Re: [Any] Name Change Info
Reply With Quote #18

Very useful plugin! Thank you.
Sreaper is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-08-2013 , 05:28   Re: [Any] Name Change Info
Reply With Quote #19

Quote:
Originally Posted by Js41637 View Post
Hey, I am not sure on how hacks change names but what about when using the sm_rename option? Do the same rules apply or are they not counted?
The plugin has no way of distinguishing between sm_rename, Steam name changes, or hacked name changes. All name changes will be utilized by this plugin, regardless of their source.

Last edited by ddhoward; 07-08-2013 at 05:28.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-18-2013 , 17:25   Re: [Any] Target Name Changers
Reply With Quote #20

Updated to version 13.0918.1
ddhoward 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 13:08.


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