[QUOTE=rejax;44405189]What's your line 8?
Looks like you messed up a color[/QUOTE]
[CODE]EZS.Colors["owner"] = Color( "rainbow" ) -- the color for a rank (use "rainbow" to denote rainbow name)[/CODE]
EDIT
I also changed "rainbow" to rainbow and i got the same error
It's EZS.Colors[rank] = "rainbow" not EZS.Colors["owner"] = Color( "rainbow" )
[QUOTE=crazyscouter;44422712]It's EZS.Colors[rank] = "rainbow" not EZS.Colors["owner"] = Color( "rainbow" )[/QUOTE]
This is right from the code unedited. Also with [rank] how would it know what rank to color?
[CODE]EZS.Colors["admin"] = Color( 200, 0, 0 )[/CODE]
The rank is whatever you want to have that color. I copy & pasted from rejax's post above. All I'm saying is that judging by his post, the rainbow color doesn't accept a color argument, but rather a string defining it as rainbow. For your case it would be:
[lua]EZS.Colors["owner"] = "rainbow"[/lua]
Looks like stream finally pushed the Gmod update which breaks the scoreboard for the newest TTT version.
-snip, didn't read -
Amazing scoreboard; the recently update broke my current one and this one is a perfect replacement. Thank you so much.
sorry for the wait!
Updated to work with the new update - had to remove a few config things :(
but added EZS.RightClickFunction, which allows you to specify a menu to open on right click. support for admins and such
please post if there are any issues!
[QUOTE=rejax;44461408]sorry for the wait!
Updated to work with the new update - had to remove a few config things :(
but added EZS.RightClickFunction, which allows you to specify a menu to open on right click. support for admins and such
please post if there are any issues![/QUOTE]
I've added the updated version, and it is now fully broken. The header of the scoreboard is not going away.
thanks for the extremely informative bug report!
while the information you have supplied is more than enough, would you please be so kind as to tell me what version of TTT you are running, and to post the script errors you are getting in console!
thanks
[QUOTE=rejax;44462288]thanks for the extremely informative bug report!
while the information you have supplied is more than enough, would you please be so kind as to tell me what version of TTT you are running, and to post the script errors you are getting in console!
thanks[/QUOTE]
I'm running the latest version of TTT. Here is the error I get:
[url]http://pastebin.com/iKjWZg1f[/url]
This is what the scoreboard looks like:
[url]http://cloud-4.steampowered.com/ugc/613921452290989567/EB0421A02AE44ADD33BD4B17BAA733D929BA183E/[/url]
I am not pressing tab, it is staying up like this.
[QUOTE=rejax;44462288]thanks for the extremely informative bug report!
while the information you have supplied is more than enough, would you please be so kind as to tell me what version of TTT you are running, and to post the script errors you are getting in console!
thanks[/QUOTE]
Was this sarcasm?
[QUOTE=tatelax;44462350]I'm running the latest version of TTT. Here is the error I get:
[url]http://pastebin.com/iKjWZg1f[/url]
This is what the scoreboard looks like:
[url]http://cloud-4.steampowered.com/ugc/613921452290989567/EB0421A02AE44ADD33BD4B17BAA733D929BA183E/[/url]
I am not pressing tab, it is staying up like this.[/QUOTE]
from line 76 to line 89, replace it with this
[LUA]
local function AddNameColors( ply )
if EZS.UseNameColors then
local col = EZS.Ranks[ply:GetUserGroup()]
if not col then col = EZS.Ranks[ply:SteamID()] end
if col and col.color then
if col.color == "rainbow" then return color_white end
return col.color
else return color_white end
end
end
hook.Add( "TTTScoreboardColorForPlayer", "EasyScoreboard_NameColors", AddNameColors )
[/LUA]
cheers, i'll commit it to github in the morning
[QUOTE=YourStalker;44462350]
Was this sarcasm?
[/QUOTE]
yes.
or maybe im lying and i'm actually a wizard
or maybe i'm tired and its way past my bed time
who knows :v:
Thank you for the prompt update. Hopefully soon we can get those configs back?
fixed some bugs, added steamid support
[QUOTE=tatelax;44462780]Thank you for the prompt update. Hopefully soon we can get those configs back?[/QUOTE]
what configs do you want back specifically?
Does it use ulx permissions? If not, can you add it?
what do you mean by permissions?
the ranks should work for most admin mods
if you're talking about the right click menu, yes. it goes through ULX by default.
What I meant is if I can use this with ulx groups, if the player is a certain rank he will get a certain tag with color.
yes, that is the entire point of the addon :v:
Thanks for this addon, it is really helpful. Is there a way to add a "are you sure?" popup if you click kick just in case you didn't mean to press that?
Alright, got it setup, now I have some problems.
[url]http://i.imgur.com/I3kCcMI.jpg[/url]
How do I remove the tag background color but still keep the rank tag?
How do I move the rank tag to the left?
The admin functions buttons doesn't work.
The user functions buttons doesn't work.
[QUOTE=Sjokomelk;44470863]
How do I remove the tag background color but still keep the rank tag?
How do I move the rank tag to the left? [/QUOTE]
Those configs where removed when the addon was updated for the latest Garry's Mod update
I would like it if you could add ranks to peoples steam id's so a donator could be donator then a another one that paid a little more could have like sexy kitten or sumthin.
I've just pushed an update:
[QUOTE=GitHub Changelog]
- Made admin commands require a promt through the right click menu (can be
disabled with ask_admins)
- Allowed the hiding of background with EZS.HideBackground (this was a bitch)
- Allowed moving the column left with EZS.MoveLeft (0 to disable, the number is the amount to move left by) (sadly can't get background to move with
it yet) ((also a bitch))
- made steamid take precedence over rank, so you can use steamids instead of ranks
- "cleaned" up some code
[/QUOTE]
i'm fairly sure this [b]WILL NOT[/b] work without the [URL=https://github.com/garrynewman/garrysmod/tree/master/garrysmod/gamemodes/terrortown/gamemode/vgui]latest version of the ttt scoreboard[/URL], so either update manually or wait for an update
tell me if there are any problems!
Hey, when changing EZS.ShiftLeft could we get the darkened background behind it to automatically adjust with it?
Could we also get the options to move the magnifying glass and the 'missing', 'avoid' ect tags?
[QUOTE=smithy285;44487402]1) Hey, when changing EZS.ShiftLeft could we get the darkened background behind it to automatically adjust with it?
2) Could we also get the options to move the magnifying glass and the 'missing', 'avoid' ect tags?[/QUOTE]
1 - looks like i'm just going to have to paint the bar manually, it's being an little bitch
there's one more thing i want to try before resorting to that
[b]so probably[/b]
2 - dunno why i took those out, i'll get that done asap
[QUOTE=danjono;44470002]Thanks for this addon, it is really helpful. Is there a way to add a "are you sure?" popup if you click kick just in case you didn't mean to press that?[/QUOTE]
Thanks for adding this is, it is really helpful. Adding onto this what about being able to type in a variable like a kick reason after you click are you sure?
Instead of us moving the names to the left, can't you just have the column more to the left by stock?
How exactly do we use that Rainbow function?
[ERROR] gamemodes/terrortown/gamemode/vgui/sb_row.lua:164: attempt to call field 'GetPlayerText' (a nil value)
1. UpdatePlayerData - gamemodes/terrortown/gamemode/vgui/sb_row.lua:164
2. UpdatePlayerData - gamemodes/terrortown/gamemode/vgui/sb_team.lua:128
3. UpdateScoreboard - gamemodes/terrortown/gamemode/vgui/sb_main.lua:284
4. unknown - gamemodes/terrortown/gamemode/cl_scoreboard.lua:40
[ERROR] gamemodes/terrortown/gamemode/vgui/sb_row.lua:164: attempt to call field 'GetPlayerText' (a nil value)
1. UpdatePlayerData - gamemodes/terrortown/gamemode/vgui/sb_row.lua:164
2. UpdatePlayerData - gamemodes/terrortown/gamemode/vgui/sb_team.lua:128
3. UpdateScoreboard - gamemodes/terrortown/gamemode/vgui/sb_main.lua:284
4. unknown - gamemodes/terrortown/gamemode/vgui/sb_main.lua:155
Timer Failed! [TTTScoreboardUpdater][@gamemodes/terrortown/gamemode/vgui/sb_main.lua (line 151)]
Getting this error. Anyone know how to fix it?
Sorry, you need to Log In to post a reply to this thread.