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

NameChanger


Post New Thread Reply   
 
Thread Tools Display Modes
zerak
Senior Member
Join Date: Feb 2008
Old 03-31-2008 , 14:55   Re: NameChanger
Reply With Quote #21

You create an array with 2 positions but you don't check if you get back 2 matches from the regexp and hence you might change name on the wrong player:
Code:
        if (!FindTarget(client, target) || clients[1])
        {
            return Plugin_Handled;
        }
here is a version that looks for steam-id first with or without # as first char then regexp with check however this mean you can't regexp a player with name "112" or "#112" etc
Attached Files
File Type: sp Get Plugin or Get Source (namechanger.sp - 612 views - 2.1 KB)
zerak is offline
IHQ-ReimaDWMH]
Junior Member
Join Date: Jul 2006
Old 04-02-2008 , 16:53   Re: NameChanger
Reply With Quote #22

Could there be a possibility for this plugin to change player's name automatically? When I had a NS -server running I had a amxmodx plugin that changed the NSPlayer automatically to I<3DWMH Like now I'm hosting Ballmen -mod, I would love to get the Ballmen name changed automatically.

Could there be a list of names that are checked and automatically changed to some name? I would like to get the dirty words off peoples names..
__________________
IHQ-ReimaDWMH] is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 05-03-2008 , 20:36   Re: NameChanger
Reply With Quote #23

we need a namechanger that works with tf2
__________________
FunTF2Server is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-04-2008 , 06:53   Re: NameChanger
Reply With Quote #24

It's not possible.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
INFINITI
Junior Member
Join Date: May 2008
Location: Russia
Old 06-01-2008 , 07:49   Re: NameChanger
Reply With Quote #25

Excellent plugin, thanks
INFINITI is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-01-2008 , 12:01   Re: NameChanger
Reply With Quote #26

Quote:
Originally Posted by DJ Tsunami View Post
It's not possible.
Actually, it is. Nephyrin developed a way to do it, and he's going to convert it into a SM extension for me to use with this plugin.
bl4nk is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 06-01-2008 , 12:43   Re: NameChanger
Reply With Quote #27

Quote:
Originally Posted by bl4nk View Post
Actually, it is. Nephyrin developed a way to do it, and he's going to convert it into a SM extension for me to use with this plugin.

See young one, I told you nothing is impossible with sourcemod. Now please go make me a model changer for TF2 or get Nephyrin on it immediately.
__________________
FunTF2Server is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-01-2008 , 13:52   Re: NameChanger
Reply With Quote #28

Quote:
Originally Posted by FunTF2Server View Post
See young one, I told you nothing is impossible with sourcemod. Now please go make me a model changer for TF2 or get Nephyrin on it immediately.
Just because you can emulate stuff that happens server-side, doesn't mean you can change stuff client-side. Like I've said before, the server has no control over the clients any longer.
bl4nk is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 06-01-2008 , 16:20   Re: NameChanger
Reply With Quote #29

Quote:
Originally Posted by bl4nk View Post
Just because you can emulate stuff that happens server-side, doesn't mean you can change stuff client-side. Like I've said before, the server has no control over the clients any longer.
Then we must emulate it.
__________________
FunTF2Server is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-02-2008 , 02:43   Re: NameChanger
Reply With Quote #30

Like I've said in the other thread, you can't emulate client stuff without having client-side mods, which aren't possible at this time.
bl4nk 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 04:11.


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