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

Changing players nick without slowhacking


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-07-2011 , 17:27   Changing players nick without slowhacking
Reply With Quote #1

Any way to do so? I'd like to change players nick to a value, but when he leaves server it's reset. Can you fake scoreboard messages or something to make this possible?
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-07-2011 , 17:36   Re: Changing players nick without slowhacking
Reply With Quote #2

I guess you can save the players name in an array and when he disconnects change it back.
But client_disconnect doesn't always get called soon enough, so there's no guarantee that it will change back :/
Erox902 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-07-2011 , 17:44   Re: Changing players nick without slowhacking
Reply With Quote #3

Use set_user_info
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-07-2011 , 20:45   Re: Changing players nick without slowhacking
Reply With Quote #4

I don't think it's possible without actually changing the player's name... I dunno about orpheu tough.

Quote:
Originally Posted by Erox902 View Post
I guess you can save the players name in an array and when he disconnects change it back.
But client_disconnect doesn't always get called soon enough, so there's no guarantee that it will change back :/
I think it *never* calls soon enough because it calls after the player already left the game and even if there's a connection still active, the client game would most likely ignore any commands.

Quote:
Originally Posted by nikhilgupta345 View Post
Use set_user_info
That's the slowhacking method, it changes the player's settings.
__________________
Hunter-Digital is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 09-07-2011 , 20:50   Re: Changing players nick without slowhacking
Reply With Quote #5

Well, you could grab their chat messages and change their names there. As for scoreboard, I don't think it's possible without changing the info. It honestly doesn't make sense that it would be possible to change scoreboard without nick.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-07-2011 , 21:50   Re: Changing players nick without slowhacking
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
That's the slowhacking method, it changes the player's settings.
set_user_info() is not slowhacking and does NOT change user settings. When they leave the server their name is as it was before they entered your server. This is why that is the only method that I will ever use for adding tags/points to names. I've done it several times for several requests regarding name changes.
__________________
fysiks is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-08-2011 , 06:30   Re: Changing players nick without slowhacking
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
set_user_info() is not slowhacking and does NOT change user settings. When they leave the server their name is as it was before they entered your server. This is why that is the only method that I will ever use for adding tags/points to names. I've done it several times for several requests regarding name changes.
Hmm, set_user_info() just fakes user info in the current server, it doesn't send "setinfo" commands to the client ? So other setinfo values would be ok too no ?
__________________
Hunter-Digital is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-08-2011 , 12:20   Re: Changing players nick without slowhacking
Reply With Quote #8

Quote:
Originally Posted by Hunter-Digital View Post
Hmm, set_user_info() just fakes user info in the current server, it doesn't send "setinfo" commands to the client ? So other setinfo values would be ok too no ?
Afaik, it sets the user's info that is stored in the server. Consider this scenario:
  • My name is "Fysiks".
  • I change my name via the plugin with set_user_info() to "Physics"
  • I type in my client console: name "Fysiks"
  • It does nothing because my game still thinks my name is "Fysiks" and doesn't know it was changed to "Physics".

This functionality makes it great for censoring names because they can try to exec config.cfg but won't make any difference because the client thinks nothing has changed even though the name is censored in the game.

This is my experience of using that function.
__________________
fysiks is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-08-2011 , 13:50   Re: Changing players nick without slowhacking
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
Afaik, it sets the user's info that is stored in the server. Consider this scenario:
  • My name is "Fysiks".
  • I change my name via the plugin with set_user_info() to "Physics"
  • I type in my client console: name "Fysiks"
  • It does nothing because my game still thinks my name is "Fysiks" and doesn't know it was changed to "Physics".

This functionality makes it great for censoring names because they can try to exec config.cfg but won't make any difference because the client thinks nothing has changed even though the name is censored in the game.

This is my experience of using that function.
Awesome was not aware of this
Erox902 is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-08-2011 , 13:56   Re: Changing players nick without slowhacking
Reply With Quote #10

So set_user_info() doesnt really set the name, it just makes the game to assume that the name has been change, right ?
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
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 18:53.


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