Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: JamminR on January 22, 2008, 04:51:58 PM

Title: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: JamminR on January 22, 2008, 04:51:58 PM
Does _not_ require ULib/ULX.
Clientside only.

Uname will allow you to keep a name different than your Steam nickname across servers.
============
Usage:
Once connected to a server for the first time, type "Uname <new_name>" in console
Your name will change to <new_name>.
That name will follow you to the next server.
If you ever want to change it to something else, use the same command.

If you want to go back to your steam id, you can type it using Uname, or use UnameClear and reconnect.

============
Install:
Unzip into your Garrysmod Addons folder
Should end up looking like;
garrysmod/addons/Uname

============
Known issue:
When you join a server, players will first see your steam name.
No known workaround for this.
Your name will change to your Uname right right as you spawn.


Keep updated at http://forums.ulyssesmod.net/index.php/topic,3167.0.html
or
http://forums.facepunchstudios.com/showthread.php?t=484080

============
RE: SetInfo
Yes, there is a known command to change a name while connected on a server without changing your steam ID. Yes, this lua script uses that.
However, this goes several steps farther, and remembers and changes to the name between server connections.


RE: Roleplay vs Roleplay Hate
Get over it. This script wasn't written for that.
Personally, I have enough drama in real life to not have to roleplay.
However, yes, this could be handy for the old "jobs must be in names" scripts.

==========
Version 1.1 Changes
*- Now monitors manual/script name changes.
   If another script changes your name, or you manually do it through setinfo, Uname now records it.
*- Auto complete now shows last name changed from while on a server.
   If you change your name while on a server, AutoComplete remembers this last name if you want to change back before leaving. (Only the latest name)
*- Better handling of names with spaces.
   Though you should still use quotes, Uname attempts to figure out what you typed past the first word and use it.
*- Easier handling of names with non-alphanumeric characters
   The autocomplete will show what you are typing with quotes. Hit your down arrow, and Uname will place quotes around what you've typed for you.
   This should help those using []()..() and other character that Source tries to interpret as code and mangles if you don't use quotes.
*- Corrected(?) bug where some names with various combinations of non-alphanumeric characters failed.
*- General code cleanup/error checking. (Warns on character limit, No name given, and same name entry)
Title: Re: Uname - Keep different name than your Steam name across Gmod servers
Post by: Megiddo on January 22, 2008, 05:28:23 PM
Jolly good show JamminR!
Title: Re: Uname - Keep different name than your Steam name across Gmod servers
Post by: JamminR on January 23, 2008, 10:25:13 AM
Interesting. 'Garry' is listed as one of the downloaders of this release from garrysmod.org.
Viewing the profile, I'm 95% sure its Gmod garry.

He also just made a post at his blog about names in Gmod. Mostly aimed at bad Roleplay gamemode coders.
ShaRose mentions in the comments that the name script has already been done (Thanks ShaRose) and points to the FP release.
Perhaps that's why Garry went looking.
Just something curious.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: JamminR on January 27, 2008, 01:55:39 PM
Updated. Attached. See changes listed in first post.
Working on an FP post now.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: c0d3r on April 10, 2008, 08:04:47 PM
If it's client side only then whats the point... :-\
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: johnlukeg on April 11, 2008, 11:37:08 AM
The fact that it's clientside just means that the server doesn't have to have it for you to use it, not that it won't work online.  It being clientside is better in this case than being serverside.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: MrPresident on June 03, 2008, 02:02:51 PM
If you would have READ the post and knew what this addon did you would know that the reason he made it was for convenience.

YES there is a command to change your name. No you don't know it... it's (setinfo name "name")

The point of this addon is to allow a user to set their name ONCE with it and never have to worry about typing in the command every time they go to a new server and want to change their name. It's a convenience mod, not a necessity mod.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Megiddo on June 03, 2008, 02:50:22 PM
He deleted his post. The little bugger. :P
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: JamminR on June 03, 2008, 05:09:06 PM
And people wonder why I use 'quote' so much. :P
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Megiddo on July 14, 2008, 07:42:08 PM
setinfo name no longer does anything. :(
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: JamminR on July 14, 2008, 08:17:15 PM
setinfo name no longer does anything. :(

Figures. Garry must have decided to fix the bug I sent him one day, server not distributing the new name, by removing it totally.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Sc00by22 on July 15, 2008, 05:10:13 AM
He didn't like people changing their names because of a lua virus that came out that sent somebody to a server and changed their name every 0.1 seconds and spammed chat, So he removed it
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: JamminR on July 15, 2008, 07:03:50 PM
[rant]
What a WONDERFUL way to prevent viruses. Turn off features the virus used along, possibly, with the hole, than just plugging the hole itself.

He's turning into a genius. Just like Microsoft. Like when they limited the TCP stack to 10 connections a second because any internet program wouldn't dare try to open more connections than 10 simultaneously.....limiting to 10 in one second will surely prevent the spread of internet virus.

Not allowing name changes will surely prevent viruses. Right? Right?!
[/end rant]

I did a quick look, but for now, didn't find a fix for UName.
May find a fix again someday. Right now, too busy.
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Sc00by22 on July 25, 2008, 04:47:29 PM
Great News j/k Another exploit was found in Garrys Mod, Does the same thing as before, Except doesn't change name :P Every server you join it spams "UBAN INSERTNAMEHERE FROM FP PLZ" again made by AzuSleet
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Sc00by22 on July 29, 2008, 12:01:59 PM
Yet again, I think garry patched this virus thing, A few weeks time the guy would of found another exploit, At least it gets garry to patch other fixes along with it :D
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: teaqu on September 27, 2008, 02:09:00 AM
Any Chance Uname will return or Did Garry's Patches Bust this kick ass feature for life?

This was one of the best Namer scripts out there!
Simple and handy! (and make your name into a moving banner was easily done too :D)
Title: Re: Uname 1.1 - Keep different name than your Steam name across Gmod servers
Post by: Megiddo on September 27, 2008, 03:56:24 AM
Not possible without the server supporting it. You could simply modify PLAYER:Nick() to return the new name, but it would only affect lua mods.