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

[TF2] Name Change Oddities Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
4559
Plugin Version:
1.1.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes oddities related to name changes in TF2 introduced in a recent update
    Unapprover:
    Reason for Unapproving:
    Fixed by Valve
    Old 03-23-2015 , 01:14   [TF2] Name Change Oddities Fix
    Reply With Quote #1

    [TF2] Name Change Oddities Fix

    v1.1.0

    Description:
    In a recent update, Valve introduced some issues into the game which cause the player_changename event and #TF_Name_Change SayText2 usermessage to not be fired. The server also doesn't update the m_szNetname datamap, which causes SM to not see the player's new name. This plugin fixes this.

    In English, this plugin will fix issues which prevent the name change chat message from appearing and which prevent you from being able to target players by name when they change their name in-server.

    Cvars:
    namechange_fix_version - plugin version

    Installation:
    Upload namechange_fix.smx to your /addons/sourcemod directory and reboot your server or type "sm plugins load namechange_fix" into your console or rcon. That's it, the plugin just passively fixes name change issues.

    Auto Update:
    Install Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater. If and when Valve fixes these issues, I'll push out an update via Updater which simply deletes the plugin from your server.

    Changelog:
    • v1.1.0 (3/31/15)
      • The issue was fixed by Valve, so the plugin now removes itself on load
    • v1.0.0 (3/23/15)
      • Initial release

    Download Plugin (namechange_fix.smx)
    View Source (namechange_fix.sp)

    Requires updater.inc and mckayupdater.sp to compile.
    __________________

    Last edited by Dr. McKay; 03-31-2015 at 18:15.
    Dr. McKay is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 03-23-2015 , 02:20   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #2

    I've emailed this to Valve a few days ago, they're looking into it and it should be fixed in the next update if all goes well.

    Will use this for the time being.
    404UserNotFound is offline
    Nanochip
    Senior Member
    Join Date: Jan 2014
    Old 03-25-2015 , 11:24   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #3

    Thanks for the plugin! I had a few trolls exploiting this bug making it more difficult to target them.
    __________________
    Nanochip is offline
    Nanochip
    Senior Member
    Join Date: Jan 2014
    Old 03-25-2015 , 21:53   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #4

    Getting this error whenever I try to load the plugin:
    Quote:
    [SM] Plugin namechange_fix.smx failed to load: Native "Event.SetInt" was not found.
    __________________
    Nanochip is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 03-25-2015 , 22:13   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #5

    Quote:
    Originally Posted by Nanochip View Post
    Getting this error whenever I try to load the plugin:
    Update SourceMod.
    __________________
    Dr. McKay is offline
    Nanochip
    Senior Member
    Join Date: Jan 2014
    Old 03-26-2015 , 08:53   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #6

    Quote:
    Originally Posted by Dr. McKay View Post
    Update SourceMod.
    Any chance you could make it backwards compatible with Sourcemod 1.6?
    __________________
    Nanochip is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-26-2015 , 09:56   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #7

    Quote:
    Originally Posted by Nanochip View Post
    Any chance you could make it backwards compatible with Sourcemod 1.6?
    If you update to 1.7 everything will be compatible with 1.6 plugins.
    Mitchell is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 03-26-2015 , 15:23   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #8

    Quote:
    Originally Posted by Nanochip View Post
    Any chance you could make it backwards compatible with Sourcemod 1.6?
    I used to have a 1.6 scripting folder alongside my 1.7 folder, but I've since deleted the 1.6 stuff. It's a lot easier to just update your SourceMod/Metamod install.
    404UserNotFound is offline
    Nanochip
    Senior Member
    Join Date: Jan 2014
    Old 03-26-2015 , 18:43   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #9

    Quote:
    Originally Posted by abrandnewday View Post
    I used to have a 1.6 scripting folder alongside my 1.7 folder, but I've since deleted the 1.6 stuff. It's a lot easier to just update your SourceMod/Metamod install.
    True, and I did that awhile ago, but I had to revert back because a few private plugins broke. And the author of those plugins is inactive now :/
    __________________
    Nanochip is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 03-26-2015 , 19:31   Re: [TF2] Name Change Oddities Fix
    Reply With Quote #10

    Quote:
    Originally Posted by Nanochip View Post
    True, and I did that awhile ago, but I had to revert back because a few private plugins broke. And the author of those plugins is inactive now :/
    1.7 should run any old plugins, as for compiling them over again some will only compile with 1.6 unless they are rewritten from a langauge change which is unfortunate.
    Horsedick 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 21:34.


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