Ulysses
Ulysses Stuff => Releases => Topic started by: Decicus on May 28, 2015, 06:16:12 AM
-
This is a project I started a while ago, but never got around to test and eventually forgot it. Saw it in my repos and decided I'd create a post for it on the forums.
The project aims to simplify adding custom ranks for both specific users and groups. You can style the ranks with RGB (Red, Green, Blue) color values (http://www.rapidtables.com/web/color/RGB_Color.htm) or add a "rainbow" effect that cycles through the colors.
Commands:
The commands will be listed in the following format: "command" <parameters> -- Command description/explanation
The console commands have a "ulx " prefix, such as: "ulx command".
The chat commands have a "!" prefix, such as: "!command".
The commands will be listed by permissions. This is just by default and can be edited via ULX/XGUI as any other commands.
- Admins:
- "addrank" <player> <rank> <red> <green> <blue> -- Adds or changes rank for a player, with custom colors using RGB
- "addrankid" <steam_id> <rank> <red> <green> <blue> -- Adds or changes rank of a Steam ID, with custom colors using RGB
- "changerank" <player> <rank> <red> <green> <blue> -- See "addrank" - Only works for existing custom ranks.
- "changerankid" <steam_id> <rank> <red> <green> <blue> -- See "addrankid" - Only works for existing custom ranks.
- "removerank" <player> -- Removes someone's custom rank if it exists.
- "removerankid" <steam_id> -- Removes someone's custom rank (using their Steam ID) if it exists.
- "rainbowrank" <player> <rank> -- Adds/changes rank of a player and sets the color to cycle ("rainbow").
- "rainbowrankid" <steam_id> <rank> -- Adds/changes rank of a Steam ID and sets the color to cycle ("rainbow").
- Superadmins:
- "addgrouprank" <group name> <rank> <red> <green> <blue> -- Adds or changes rank for a group, with custom colors using RGB
- "removegrouprank" <group name> -- Removes a custom group rank.
- "rainbowgrouprank" <group name> <rank> -- Adds/changes rank of a group and sets the color to cycle ("rainbow").
- "columnname" <column name/title> -- Changes the column name/title that is displayed at the top of the scoreboard.
- "defaultrank" <rank> -- Changes the default rank for players and groups that have no custom rank. This rank is by default RGB: 255, 255, 255 (white), but can be modified with "defaultcolor".
- "defaultcolor" <red> <green> <blue> -- Changes the color of the default rank for players and groups that have no custom rank. Default is RGB: 255, 255, 255 (white).
- "columnwidth" <width> -- Changes the column width in the scoreboard.
Default settings:
The default settings can be found here, just in case you would like to reset them back to default.
- Default rank: Guest
- Default column title: Rank
- Default column width: 80
Screenshot:
This has the following settings:
- Default rank: Guest (not displayed)
- Column title: Title
- Column width: 120
(https://i.decic.us/2019-01-13_lXijSC.png)
Installation:
- Download and extract the zip file. You should get a file called "ttt-sb-ranks"
- Upload it to your <garrysmod>/addons/ folder (on your server), so you have the folder structure: <garrysmod>/addons/ttt-sb-ranks
- Change the map or restart the server
Source code:
The most up-to-date source code can be found on the GitHub repository: https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX)
I would not recommend using it from that page (unless you download via the "Releases" page), as it may be untested.
Download:
The latest, stable version will be available at the bottom of this post.
Please keep in mind you have to be registered and logged in to download it directly from this thread.
Changelog:
- Version 1.2.0 - Released: 2019-01-13 (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX/releases/tag/1.2.0):
- Adds "ulx defaultcolor" for modifying the color of the default rank.
- Version 1.1.1:
- Hotfixes a scoreboard issue with missing MIA and CD players.
- Version 1.1:
- Added the ability to add, modify, remove and "rainbow" someones rank using their Steam ID.
- Version 1.0:
- Added the ability to add, modify, remove and "rainbow" someones rank using their player name (has to be connected).
- Added the ability to modify the default rank, width of column for ranks and name of said column.
- Added the ability to add, modify, remove and "rainbow" ranks for groups.
Other notes:
Feel free to contact me either via this thread, a PM on this forum or by e-mail (alex@thomassen.xyz) if you have any questions.
Version history:
All older and current releases can be found here on the following mirrors:
- https://decicus.com/ttt-sb-ranks/ (https://decicus.com/ttt-sb-ranks/)
- https://files.decic.us/ttt-sb-ranks/ (https://files.decic.us/ttt-sb-ranks/)
- GitHub releases (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX/releases)
-
As I already wrote when I replied to your topic in the "Developers Corner" (http://forums.ulyssesmod.net/index.php/topic,8857.msg45254.html#msg45254), I would have no way of currently supporting that unless you edit the core gamemode files themselves. This is not possible as an addon.
-
Looks really nice, I don't entirely understand it, but looks nice.
-
We're having a bit of a problem with this addon.
It randomly causes players to not see "Missing in Action" or "Confirmed Dead" players.
Here is a screenshot of how it looks for me (https://i.imgur.com/DLJPrjv.jpg), and this is a screenshot how it looks for another player (https://i.imgur.com/5f8Qtre.jpg) (note the missing players in the colums "Missing in Action" and "Confirmed Dead").
We're using the version linked in your first post and not from Github.
-
We're having a bit of a problem with this addon.
It randomly causes players to not see "Missing in Action" or "Confirmed Dead" players.
Here is a screenshot of how it looks for me (https://i.imgur.com/DLJPrjv.jpg), and this is a screenshot how it looks for another player (https://i.imgur.com/5f8Qtre.jpg) (note the missing players in the colums "Missing in Action" and "Confirmed Dead").
We're using the version linked in your first post and not from Github.
Sorry for the late reply, I have been travelling for a few days.
This is an issue someone reported to me a little while back on Steam, but I never managed to find a fix for it. The only thing I do to edit the scoreboard, is to use TTT hooks, which makes me believe this is a TTT issue and not an addon issue, but I cannot confirm that 100%.
The other thing is, was that I wasn't able to fully reproduce this bug. At least not with just ULib, ULX and this addon running on TTT.
-
I'm not sure how your data structure works right now, but if this could support it, is there any chance you could add adding ranks to users by SteamID and not name? It'd help if, say, I was migrating from another addon (which I plan on doing) and moving all my tags over without having everyone sign into the server.
Also, which takes the higher priority? User rank tags or group rank tags? Basically, if I have both set for one player, which one will show? Read the git repo, derp.
-
I'm not sure how your data structure works right now, but if this could support it, is there any chance you could add adding ranks to users by SteamID and not name? It'd help if, say, I was migrating from another addon (which I plan on doing) and moving all my tags over without having everyone sign into the server.
It does actually use the Steam IDs to set the rank, but for some odd reason I never added the commands to do it via Steam ID only. I'll try to update it to support adding/removing via Steam ID by tomorrow.
-
Updated to 1.1 to support Steam IDs in commands on both the GitHub and the original post. I did test it, but let me know if you stumble upon any issues I may have missed.
-
Sorry for the late reply, I have been travelling for a few days.
This is an issue someone reported to me a little while back on Steam, but I never managed to find a fix for it. The only thing I do to edit the scoreboard, is to use TTT hooks, which makes me believe this is a TTT issue and not an addon issue, but I cannot confirm that 100%.
The other thing is, was that I wasn't able to fully reproduce this bug. At least not with just ULib, ULX and this addon running on TTT.
I get this problem too on my TTT server and to fix it I always have to do ulx refreshranks command. maybe make it so it force's it to refresh every 20 seconds
-
I get this problem too on my TTT server and to fix it I always have to do ulx refreshranks command. maybe make it so it force's it to refresh every 20 seconds
That's good to know. As I said, I haven't been able to reproduce it, which makes it hard to fix. By default, "refreshranks" is essentially called every time someone joins/rejoins the server (On a mapchange, this would then occur multiple times in a short timespan due to it counting everyone as joining).
20 seconds would be a bit too often in my opinion, if I decide to make it auto-refresh, but we'll see if I can figure out how to combat this issue.
-
Just wanted to say that this is great, although I'm experiencing the random disappearing of MIA/Dead/All players issue. Will chime in later if I notice any patterns.
-
Just wanted to say that this is great, although I'm experiencing the random disappearing of MIA/Dead/All players issue. Will chime in later if I notice any patterns.
It sucks that it's an issue, because I still haven't figured out what's causing it. Any more info on it would be great.
I have been working on a version 1.2 that will add a few more features, and heck, maybe the other changes I did to support those features fixes that issue, but I haven't been available enough to finish the release yet.
-
My gut is saying that it has to do with making changes to ranks/titles while mid-round. I've only had 3 concurrent players on my server thus far while I build it out so it's not a very good sample size.
-
My gut is saying that it has to do with making changes to ranks/titles while mid-round. I've only had 3 concurrent players on my server thus far while I build it out so it's not a very good sample size.
People have stated that running a "ulx refreshranks" when it occurs seems to fix it (but once again, I haven't been able to reproduce the bug so I can't confirm or deny it actually works). Although the ranks are refreshed every time a rank is modified in any way, so it's weird if that would help. For now, you could try that whenever it happens, but of course I don't want that to be the 'permanent fix'.
-
I just wanted to add my input, when this happened to me, refreshing the ranks showed the MIA and KIA sections, but it wasn't moving some players into them when they were killed.
-
I just wanted to add my input, when this happened to me, refreshing the ranks showed the MIA and KIA sections, but it wasn't moving some players into them when they were killed.
That is... interesting. It unfortunately only makes me even more confused though.
-
I know it's been more or less a month since a comment was on this addon, and it also already has problems with it not working properly, but just wanted to say, you can easily change the player's name color without changing core files by using the hook TTTScoreboardColorForPlayer (ply) .
-
I know it's been more or less a month since a comment was on this addon, and it also already has problems with it not working properly, but just wanted to say, you can easily change the player's name color without changing core files by using the hook TTTScoreboardColorForPlayer (ply) .
My previous replies about the matter has just been me being misinformed. I believe someone emailed me pointing out that this hook exists (http://ttt.badking.net/guides/hooks). I was planning on adding that feature for 1.2, but I just haven't gotten around to developing it yet due to other distractions.
-
Can you edit the ranks in a file aswell? like on Easy Scoreboard by Rejax. I´d like to use this Version as its a ULX one, but im not sure if theres a file where you can directly edit ranks.
-
Can you edit the ranks in a file aswell? like on Easy Scoreboard by Rejax. I´d like to use this Version as its a ULX one, but im not sure if theres a file where you can directly edit ranks.
It's possible, but I don't recommend doing so.
All ranks are saved in a JSON-format inside <Garry's Mod server directory>/data/ttt_sb_ranks/ranks.txt
The file will probably look something like this:
{"STEAM_0:1:87654321":{"b":0,"color":"colors","r":0,"text":"Colors #1","g":255},"STEAM_0:1:12345678":{"b":0,"color":"rainbow","r":0,"text":"Rainbow #1","g":0}}
You can copy/paste all of this into something like JSBeautifier (http://jsbeautifier.org/), so it's a bit easier to read.
Doing so, it looks something like this:
{
"STEAM_0:1:87654321": {
"b": 0,
"color": "colors",
"r": 0,
"text": "Colors #1",
"g": 255
},
"STEAM_0:1:12345678": {
"b": 0,
"color": "rainbow",
"r": 0,
"text": "Rainbow #1",
"g": 0
}
}
And you can manually edit it this way (and run "ulx refreshranks") after editing it to update it on the server.
Keep in mind that you need to follow the proper JSON syntax 100%, as a typing error could mess up the whole ranks file.
But please, if you plan on editing any of the files used by this addon, back them up first.
-
So, I'm having the same problem, but might be able to give a little extra info;
So it all starts after server restart/map change. First of all, the 'rank' column width resets to 60, even if I set it to something else in the sv_tttsbranks.lua file, or with the column width command. And even weirder; the actual tags stay in the same position.
So say I've set the column width to 200, after a map change the rank column will reset to 60, but the tags will stay in the 200 position.
And then of course the entire I can't see CD or MIA people problem. All these problems seem to go away for everyone after I either update the column width with the ULX command, or refresh the ranks.
I'm currently trying to fix this in the code aswell, but without progress so far.
Good luck! :P
-
So, I'm having the same problem, but might be able to give a little extra info;
So it all starts after server restart/map change. First of all, the 'rank' column width resets to 60, even if I set it to something else in the sv_tttsbranks.lua file, or with the column width command. And even weirder; the actual tags stay in the same position.
So say I've set the column width to 200, after a map change the rank column will reset to 60, but the tags will stay in the 200 position.
And then of course the entire I can't see CD or MIA people problem. All these problems seem to go away for everyone after I either update the column width with the ULX command, or refresh the ranks.
I'm currently trying to fix this in the code aswell, but without progress so far.
Good luck! :P
I never really checked if the issue happened over a mapchange, but I'll do that when I have time later today. Thanks for letting me know.
-
So uh, holy shite; I found the start of a fix.
Basicly, in the ttt_sb_ranks.lua file, in a new line under the hook.add statement underneath the END of the refresh function, just call the refresh function.
It fixes the problem after server restart, but after map change things will go baad again.
I know that this is a very edgy way of doing things, but it works :P
Anyone not knowing lua, in the file called ttt_sb_ranks.lua there should be this, somewhere around line 18.
local function TTTSBRanksRefresh( ply )
if not ULib.fileExists( dir ) then ULib.fileCreateDir( dir ) end
if ULib.fileRead( dir .. ranks ) then TTTSBRanks = util.JSONToTable( ULib.fileRead( dir .. ranks ) ) end
if ULib.fileRead( dir .. settings ) then TTTSBSettings = util.JSONToTable( ULib.fileRead( dir .. settings ) ) end
if ULib.fileRead( dir .. groups ) then TTTSBGroups = util.JSONToTable( ULib.fileRead( dir .. groups ) ) end
if SERVER then
net.Start( "ULX_TTTSBRanks" )
net.WriteTable( TTTSBRanks )
net.WriteTable( TTTSBSettings )
net.WriteTable( TTTSBGroups )
if ply then
net.Send( ply )
else
net.Broadcast()
end
end
end
hook.Add( "PlayerInitialSpawn", "ULXTTTRefresh_PlayerJoin", TTTSBRanksRefresh )
Simply add TTTSBRanksRefresh()
underneath that.
-
Found a complete fix;
local TTTSBGroups = {}
local function TTTSBRanksRefresh( ply )
if not ULib.fileExists( dir ) then ULib.fileCreateDir( dir ) end
if ULib.fileRead( dir .. ranks ) then TTTSBRanks = util.JSONToTable( ULib.fileRead( dir .. ranks ) ) end
if ULib.fileRead( dir .. settings ) then TTTSBSettings = util.JSONToTable( ULib.fileRead( dir .. settings ) ) end
if ULib.fileRead( dir .. groups ) then TTTSBGroups = util.JSONToTable( ULib.fileRead( dir .. groups ) ) end
if SERVER then
net.Start( "ULX_TTTSBRanks" )
net.WriteTable( TTTSBRanks )
net.WriteTable( TTTSBSettings )
net.WriteTable( TTTSBGroups )
if ply then
net.Send( ply )
else
net.Broadcast()
end
end
end
function dirtyhack(ply)
MsgN( ply:Nick() .. " has spawned!" )
TTTSBRanksRefresh()
end
hook.Add( "PlayerInitialSpawn", "ULXTTTRefresh_PlayerJoin", TTTSBRanksRefresh )
hook.Add( "PlayerSpawn", "ulxttt_dirtyhack", dirtyhack )
Simply create another function, calling TTTSBRanksRefresh() but then with the hook "PlayerSpawn". :D ('Dirtyhack' is just a placeholder. Also, Decicus; consider adding this in the actual release ;) )
-
Found a complete fix;
-snip-
Simply create another function, calling TTTSBRanksRefresh() but then with the hook "PlayerSpawn". :D ('Dirtyhack' is just a placeholder. Also, Decicus; consider adding this in the actual release ;) )
Yeah... I already had the idea of doing it for each PlayerSpawn, but then it could potentially be called too often and in worst cases someone might notice lag (even for a split second for each spawn, but still somewhat annoying).
Although, I think implementing a similar hook for the first round after a mapchange using TTTBeginRound might be a possible fix.
-
Yeah... I already had the idea of doing it for each PlayerSpawn, but then it could potentially be called too often and in worst cases someone might notice lag (even for a split second for each spawn, but still somewhat annoying).
Although, I think implementing a similar hook for the first round after a mapchange using TTTBeginRound might be a possible fix.
Good! And I do agree on the point of the annoying lag spikes, but the scoreboard works :)
Still wondering why the problem was here in the first place...
-
I feel like it must have something to do with you using gamemode.call("CreateScoreboard") or whatever but I am unfamiliar with the function. Also, why must you resend the whole file when something is updated? Why not just send what you are adding. Also, I don't see why refreshscoreboard would make the scoreboard work for the whole map because (unless this is a recently added part but I don't think so) it refreshes the scoreboard for a player on playerinitialspawn, so that might just be too early of a hook, but IDK in like 50% of the addon I have no clue why you are doing something.
-
I feel like it must have something to do with you using gamemode.call("CreateScoreboard") or whatever but I am unfamiliar with the function.
It's possible. I believe I added that as just a quick hack a long time ago when I noticed the scoreboard would bug out if I refreshed the scoreboard.
Also, why must you resend the whole file when something is updated? Why not just send what you are adding. Also, I don't see why refreshscoreboard would make the scoreboard work for the whole map because (unless this is a recently added part but I don't think so) it refreshes the scoreboard for a player on playerinitialspawn, so that might just be too early of a hook, but IDK in like 50% of the addon I have no clue why you are doing something.
That is mainly due to poor practices that I decided to do roughly a year ago when I started this. Over time I've realized that it's honestly a pretty bad addon, as it has become more of a hassle to maintain. Personally I don't really have the time or interest in rewriting this from scratch as I don't actually play Garry's Mod or TTT anymore, even if it would probably be easier than trying to maintain it.
PlayerInitialSpawn might be too early of a hook, I agree. I could possibly look into a different hook for this usage, but for, I might just refresh it on the beginning of a round (as well as the PlayerInitialSpawn) to see if that fixes it.
-
The following seems to work for us, we hardly notice any lag spikes when people join, but maybe another hook would be nice;
local function TTTSBRanksRefresh( ply )
if not ULib.fileExists( dir ) then ULib.fileCreateDir( dir ) end
if ULib.fileRead( dir .. ranks ) then TTTSBRanks = util.JSONToTable( ULib.fileRead( dir .. ranks ) ) end
if ULib.fileRead( dir .. settings ) then TTTSBSettings = util.JSONToTable( ULib.fileRead( dir .. settings ) ) end
if ULib.fileRead( dir .. groups ) then TTTSBGroups = util.JSONToTable( ULib.fileRead( dir .. groups ) ) end
if SERVER then
net.Start( "ULX_TTTSBRanks" )
net.WriteTable( TTTSBRanks )
net.WriteTable( TTTSBSettings )
net.WriteTable( TTTSBGroups )
if ply then
net.Send( ply )
else
net.Broadcast()
end
end
end
hook.Add( "PlayerInitialSpawn", "ULXTTTRefresh_PlayerJoin", TTTSBRanksRefresh )
function RefreshStart(ply)
MsgN( ply:Nick() .. " has spawned!" )
TTTSBRanksRefresh()
end
hook.Add( "PlayerSpawn", "ulxttt_RefreshStart", RefreshStart )
-
Updated to version 1.1.1 with a hotfix that GG142 provided (http://forums.ulyssesmod.net/index.php/topic,8607.msg47716.html#msg47716).
Sorry it took so long.
Further updates may or may not occur as I have don't have much interested in maintaining this. If you can find a better alternative, then please feel free to use that.
If anyone wishes to continue the work for some odd reason, the source is available on GitHub (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX), but I highly recommend rewriting this from scratch instead of continuing from my old work.
-
Can you do a name color ulx command and so on plz <3
-
Can you do a name color ulx command and so on plz <3
Commands:
The commands will be listed in the following format: "command" <parameters> -- Command description/explanation
The console commands have a "ulx " prefix, such as: "ulx command".
The chat commands have a "!" prefix, such as: "!command".
The commands will be listed by permissions. This is just by default and can be edited via ULX/XGUI as any other commands.
- Admins:
- "addrank" <player> <rank> <red> <green> <blue> -- Adds or changes rank for a player, with custom colors using RGB[/i]
- "addrankid" <steam_id> <rank> <red> <green> <blue> -- Adds or changes rank of a Steam ID, with custom colors using RGB[/i]
- "changerank" <player> <rank> <red> <green> <blue> -- See "addrank" - Only works for existing custom ranks.
- "changerankid" <steam_id> <rank> <red> <green> <blue> -- See "addrankid" - Only works for existing custom ranks.
- "removerank" <player> -- Removes someone's custom rank if it exists.
- "removerankid" <steam_id> -- Removes someone's custom rank (using their Steam ID) if it exists.
- "rainbowrank" <player> <rank> -- Adds/changes rank of a player and sets the color to cycle ("rainbow").
- "rainbowrankid" <steam_id> <rank> -- Adds/changes rank of a Steam ID and sets the color to cycle ("rainbow").
- Superadmins:
- "addgrouprank" <group name> <rank> <red> <green> <blue> -- Adds or changes rank for a group, with custom colors using RGB
- "removegrouprank" <group name> -- Removes a custom group rank.
- "rainbowgrouprank" <group name> <rank> -- Adds/changes rank of a group and sets the color to cycle ("rainbow").
- "columnname" <column name/title> -- Changes the column name/title that is displayed at the top of the scoreboard.
- "defaultrank" <rank> -- Changes the default rank for players and groups that have no custom rank. This rank is RGB: 255, 255, 255 (white).
- "columnwidth" <width> -- Changes the column width in the scoreboard.
Unless you mean in chat, in which case that would be a separate addon.
-
No he only does rank colors i mean add a name color one your rank is basically color = Color(....) while name = color( one for rank one for name like easy scoreboard cause i know you took the rgb setup from there so example EZS.Ranks["sadmin"] = { name = "Super Admin", color = Color( 255, 0, 255 ), namecolor = "rainbow", admin = true }
-
No he only does rank colors i mean add a name color one
Ooooh, wait, I misread that.
Decicius is online... *poke*?
-
Can you do a name color ulx command and so on plz <3
Sadly, my interest in this addon isn't as what it used to be, so I will have to say no to that (at least in the foreseeable future). Sorry.
As I've mentioned before, the addon is open-source and listed on GitHub (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX) - If anyone wishes to modify it for one reason or another, the license allows them to.
-
Sadly, my interest in this addon isn't as what it used to be, so I will have to say no to that (at least in the foreseeable future). Sorry.
As I've mentioned before, the addon is open-source and listed on GitHub (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX) - If anyone wishes to modify it for one reason or another, the license allows them to.
Would you still accept pull requests, or should the repo be forked and re-released?
-
Would you still accept pull requests, or should the repo be forked and re-released?
Pull requests will be accepted, after I've been able to look over them.
EDIT: Rephrasing.
-
:'( :'( :'( :'( :'( :'( :'(
-
Thx for this mate really needed this :D
-
Firstly, I apologize for replying to this as it's 5 months since the last reply. I also apologize as I'm new and learning lua.
This is in regards to a colored name on the scoreboard. I had an old script that worked, I just had to put this in AddCSLuaFile("tg_ttt_scoreboard.lua")
Now I noticed under lua/autorun/client/cl_tttsbrank.lua you created a new scoreboard. Would I simply change tg_ttt_scoreboard.lua to cl_ttsbranks.lua? Or is it more complex than that?
-
Firstly, I apologize for replying to this as it's 5 months since the last reply. I also apologize as I'm new and learning lua.
This is in regards to a colored name on the scoreboard. I had an old script that worked, I just had to put this in AddCSLuaFile("tg_ttt_scoreboard.lua")
Now I noticed under lua/autorun/client/cl_tttsbrank.lua you created a new scoreboard. Would I simply change tg_ttt_scoreboard.lua to cl_ttsbranks.lua? Or is it more complex than that?
Unless it's based off my cl_tttsbranks.lua file, then it won't work like that. You would have to modify the addon to support colored names, which I never got around to adding and as I mentioned; I sadly don't have any interest in working on this addon anymore. Sorry.
-
I deleted and reinstalled addon now every rank are disappeared in scoreboard and addon seems not installed. (commands are not working and there's nothing on ULX menu)
-
I deleted and reinstalled addon now every rank are disappeared in scoreboard and addon seems not installed. (commands are not working and there's nothing on ULX menu)
That seems like the addon hasn't loaded at all, so maybe you didn't install it correctly?
You could try changing the name of the folder inside "addons" to all-lowercase (something like ttt_sb_ranks instead of TTT-Scoreboard-Ranks-for-ULX-1.1.1), as I believe that is an issue on some servers.
-
Thanks for this
-
Unless it's based off my cl_tttsbranks.lua file, then it won't work like that. You would have to modify the addon to support colored names, which I never got around to adding and as I mentioned; I sadly don't have any interest in working on this addon anymore. Sorry.
Worked for me thank you so much.
-
Hiya, its been a while!
I just released a new version (1.2.0) that adds a new command (since someone requested me to do so): "ulx defaultcolor", which allows you to specify the color of the default rank.
No idea if anyone else wants this, but hey ¯\_(?)_/¯
Now onto other things: At some point I wanna develop a 2.0 version of this addon that should clean up some code and hopefully improve the performance of it (like not sending all the ranks for all the players TO all the players, on every minor change - lol).
I've created a GitHub issue (https://github.com/Decicus/TTT-Scoreboard-Ranks-for-ULX/issues/7) so I can keep track of changes and whatnot. Can't guarantee when I'll start, or if I'll start at all, but for now it seems like a nice little project to be working on again.
Anyways, I hope whoever still uses this addon at least finds it useful. As far as I know it still works to this day without any major issues, and at least I can be happy about that :D
If anyone is curious about something, feel free to reply here, PM me or email me. :)
Also, I'm sorry if this is considered a bit of a necro bump :^)
-
It does not work for me :/
-
It does not work for me :/
What exactly doesn't work? The addon?
How did you install it?
-
What exactly doesn't work? The addon?
How did you install it?
I installed ULX, ULib and Scoreboard Ranks manually, so downloaded and dragged them into the addon folder.
-
I installed ULX, ULib and Scoreboard Ranks manually, so downloaded and dragged them into the addon folder.
Hmm... Does ULX work in general?
What is the scoreboard ranks folder named? I know there's a longstanding issue with Garry's Mod servers hosted on Linux and capital letters in addon foldernames.
-
Hmm... Does ULX work in general?
What is the scoreboard ranks folder named? I know there's a longstanding issue with Garry's Mod servers hosted on Linux and capital letters in addon foldernames.
Folder name: TTT-Scoreboard-Ranks-for-ULX-1.1.1
-
Folder name: TTT-Scoreboard-Ranks-for-ULX-1.1.1
Try changing it to something like: "ttt-scoreboard-ranks-for-ulx" - all lowercase
-
Thank god this topic isn't locked. I hope I'm not breaking any rules by posting here, but I was wondering if there's a setting or something so the rank will show up in chat? I own a server that while it is public, we're basically trying to replicate a few settings of a server my friends and I used to frequent on that has since died (no idea why), and while I'm pretty sure the dead server used your addon as well, the ranks don't show up in chat. Is it because the ranks are different from the ulx groups?
-
Having ranks show in chat wouldn't be a part of this scoreboard. That would be something different.
-
Having ranks show in chat wouldn't be a part of this scoreboard. That would be something different.
Oh, then I'm completely lost on how to make em show up in chat ^^
-
One thing I still don't get, I never had on my server and someone that sent a screenshot in this thread also didn't have but you show to have Decicus is the column with the name title/rank, which I can't seem to get working with your addon or even just searching through the TTT default files I can't find.
help x.x
-
One thing I still don't get, I never had on my server and someone that sent a screenshot in this thread also didn't have but you show to have Decicus is the column with the name title/rank, which I can't seem to get working with your addon or even just searching through the TTT default files I can't find.
help x.x
I'm not sure I understand what you mean...
You need the addon downloaded and installed correctly for ranks to work to begin with. It isn't included with TTT, but it NEEDS TTT to even work.
If you've placed the addon folder inside of "garrysmod/addons", then make sure the addon folder name is something all-lowercase such as "ttt_sb_ranks" and not "TTT-Scoreboard-Ranks-for-ULX"