Jennifer Boyle 360 Posted February 20 Share Posted February 20 (edited) The contest boards that I know about display user names. That isn't very satisfactory because the board my list someone I know as Johnny Appleseed as gig50893, and I have to look up who that is, if I want to know. Scripts can access and display display names. Surely someone makes a contest board that does that, but I've been unable to find one. Any suggestions? Edited February 20 by Jennifer Boyle typos Link to post Share on other sites
Quistessa 23 Posted February 20 Share Posted February 20 Seems like a really easy thing to change if you had access to the contest board's script. I think the reason why most display things prefer usernames is because you can't (easily) change them. Link to post Share on other sites
Mollymews 5,062 Posted February 21 Share Posted February 21 (edited) the main problem with display names is display boards use a texture map to display character glyphs, and typically not every possible non-ascii character is available in the display board texture map a opensource display board script is Furware. Here: http://wiki.secondlife.com/wiki/FURWARE_text there are other similar scripts as well. Some people have also created additional glyph textures and added them in to their boards generally what we can do is check the display name characters against the texture map. If any character in the display name is not in the map then use the user name sans Resident. If all characters are present then use display name Edited February 21 by Mollymews Link to post Share on other sites
Jennifer Boyle 360 Posted February 23 Author Share Posted February 23 On 2/20/2021 at 6:38 PM, Mollymews said: generally what we can do is check the display name characters against the texture map. If any character in the display name is not in the map then use the user name sans Resident. If all characters are present then use display name Sounds good to me. Where can I buy one that does that? Link to post Share on other sites
Mollymews 5,062 Posted February 23 Share Posted February 23 1 minute ago, Jennifer Boyle said: Sounds good to me. Where can I buy one that does that? dunno sorry when I need anything like this then I write/mod it myself hopefully somebody will come along by here and point you something premade that does this already Link to post Share on other sites
Jennifer Boyle 360 Posted February 23 Author Share Posted February 23 45 minutes ago, Mollymews said: dunno sorry when I need anything like this then I write/mod it myself hopefully somebody will come along by here and point you something premade that does this already Sounds like a business opportunity to me for somebody, maybe you. Link to post Share on other sites
Mollymews 5,062 Posted February 23 Share Posted February 23 1 hour ago, Jennifer Boyle said: Sounds like a business opportunity to me for somebody, maybe you. i had a quick look at the FurWare script a simple hax to use in your own script that gets displayname (compatible with Furware) or Username is: string GetFurName(key id) { // Note: FurWare is MIT license Copyright (c) 2010-2013 Ochi Wolfe, FURWARE, the contributors // copypaste CHARS from FurWare script // unpacking CHARS is best done one time in state_entry to a global CHARS var // same as how is done in FurWare string CHARS = llBase64ToString( "IGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6QUJDREVGR0hJSktMTU5PUFFS" + "U1RVVldYWVowMTIzNDU2Nzg5Liw6OyE/IifCtGBefistKi9cfCgpW117fTw+" + "PUAkJSYjX8Ogw6HDosOjw6TDpcOmwqrDp8Oww6jDqcOqw6vDrMOtw67Dr8Ox" + "w7LDs8O0w7XDtsO4xZPCusOexaHDn8O5w7rDu8O8w73Dv8W+w4DDgcOCw4PD" + "hMOFw4bDh8OQw4jDicOKw4vDjMONw47Dj8ORw5LDk8OUw5XDlsOYxZLDvsWg" + "w5nDmsObw5zDncW4xb3CosKj4oKswqXCp8K1wqHCv8Kpwq7CscOXw7fCt8Kw" + "wrnCssKzwqvCu8Ks4oCm4oC54oC64oCTwrzCvcK+4oSi4oCiICAgICAgICAg" + "ICAgICAgICAgICAgICAgICAgIOKUjOKUrOKUkOKUj+KUs+KUk+KVlOKVpuKV" + "l+KVtuKUgOKVtOKVt+KVuyDilK/ilrLil4Dilrzilrbil4vil5Til5Hil5Xi" + "l4/ilJzilLzilKTilKPilYvilKvilaDilazilaPilbrilIHilbjilILilIPi" + "lZHilL/ihpHihpDihpPihpLihrrihrvimJDimJHimJLilJTilLTilJjilJfi" + "lLvilJvilZrilanilZ0g4pWQIOKVteKVuSDilLfilKDilYLilKjihpXihpTi" + "mYDimYLimqDihLninYzijJbiiKHijJvijJrimarimavimaDimaPimaXimabi" + "moDimoHimoLimoPimoTimoXinJTinJjimLrimLnilqDil77ilqzilq7ilog=" ); string result = llGetDisplayName(id); integer i = llStringLength(result)-1; for (i; ~i && ~llSubStringIndex(CHARS, llGetSubString(result, i, i)); --i); if (~i || result == "") // no matching FurWare glyph or no displayname result = llGetUsername(id); return result; // message the FurWare script with the name returned } default { state_entry() { // test string name = GetFurName(llGetOwner()); llOwnerSay((string)name); } } you and anybody else reading can use this as they want in their own scripts Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now