Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Megiddo on June 26, 2010, 10:49:26 AM
-
Due to popular demand, we decided to integrate UTeam into ULX. Currently you'll need to configure it by hand (just like the original UTeam), but I'm sure that will change when Stickly has enough time to add it to XGUI.
Configuration is now done through your standard ULib groups.txt file, like so:
"superadmin"
{
"allow"
{
<list_of_allows>
}
"inherit_from" "admin"
"team"
{
"name" "TheChosenOnes"
"color_red" 255
"color_blue" 0
"color_green" 0
"model" "alyx"
"health" 125
}
}
Only name and color are required, all other fields are optional. For model you can specify the short model names listed here (http://wiki.garrysmod.com/?title=Player_manager.TranslatePlayerModel), or you can specify the full path of a model. You can specify any name that has a corresponding "set" function for it on the player. For example, I specify health because there's a SetHealth function on the player, the health will be set to 125 every time the player spawns.
A quick list of other fields you can use (case is important):
duckSpeed
stepSize
unDuckSpeed
armor
crouchedWalkSpeed
deaths
frags
jumpPower
maxSpeed
runSpeed
walkSpeed
Let me know if something isn't working quite right or if there's some feature you'd like here.
-
Love it! Nice work.
-
Love it! Nice work.
Nice sig :P
-
Haha, couldn't pass up the opportunity for the sig :P
-
Good job!
SPBogie is quiet in these parts lately. Glad that his code ideas still fit in so well with Ulysses core.
(We miss you spbogie!)
-
Awesome, I love it! But I looked at the code, and I think you left out the ability to set the team color alpha (transparency). The original UTeam allowed this.
This line:
local team_color = Color( tonumber( group_data.team.color_red ) or 255, tonumber( group_data.team.color_green ) or 255, tonumber( group_data.team.color_blue ) or 255 )
Should be like this:
local team_color = Color( tonumber( group_data.team.color_red ) or 255, tonumber( group_data.team.color_green ) or 255, tonumber( group_data.team.color_blue ) or 255, tonumber( group_data.team.color_alpha ) or 255 )
-
I did that on purpose because I haven't seen any place alpha is used. Have you?
-
I guess I can't immediately see anywhere it's actually used, I didn't think about it. Whether to add alpha or not is up to you.
Edit: I tried to add this to the team section in the superadmin group in groups.txt, to set my armor:
"armor" 100
And all my team stuff is working fine except it's not setting my armor, could you try testing that yourself?
Here's my entire groups.txt (I'm a superadmin):
-snip-
-
Oops, was accidentally making the model option required. Sorry 'bout that, should be fixed now. Also, you don't have to set health to 100 in each, since that's the default.
-
Thanks. I'll try it again tomorrow.
-
(http://gmod1.nmdgaming.com/eyefinity/craputeam.png)
Fix that please... Its meant to be green like the original uteam but now its red...
"team"
{
"name" "Founders"
"color_red" "0"
"color_green" "255"
"color_blue" "0"
"health" "100"
"armor" "0"
}
EDIT: Its meant to be the same colour as uteam group.
-
You have it set to green and it's green. I don't see what the problem is?
-
Megiddo, I think he means the title...at least the image I'm looking at, it appears red.
Not the eyefinity background - it does indeed appear green.
(Buggzie, if you do mean the background for Eyefinity, you may wish to 1) Check your monitor (Have someone else look and see, if it's showing green as red, something is mixed up) or 2) see a Dr and discuss colorblindness.)
According to the image you posted.
Title = red
Founder background = green
-
He's talking about the GMod logo, in the UTeam, it used to be whatever the highest rank color was. In that image, the highst rank color is green, but now the GMod logo isn't green.
EDIT: And do we have to remove the old UTeam files or can we keep those instead of using this version of groups?
-
How do you specify what order that they will be listed in? Or is it the same as they are listed in groups.txt?
-
Megiddo, I think he means the title...at least the image I'm looking at, it appears red.
Not the eyefinity background - it does indeed appear green.
(Buggzie, if you do mean the background for Eyefinity, you may wish to 1) Check your monitor (Have someone else look and see, if it's showing green as red, something is mixed up) or 2) see a Dr and discuss colorblindness.)
According to the image you posted.
Title = red
Founder background = green
very funny, no... the title where the g is and the serversname is meant to be green, when its red...
if (ColorCmp( team.GetColor(21), Color( 255, 255, 100, 255 ))) then
tColor = Color( 255, 155, 0, 255 )
else
tColor = team.GetColor(21)
end
self.Hostname:SetFGColor( Color( tColor.r, tColor.g, tColor.b, 255 ) )
self.Description:SetFGColor( Color( 55, 55, 55, 255 ) )
self.Logog:SetFGColor( Color( 55, 55, 55, 255 ) )
self.SuiSc:SetFGColor( Color( 200, 200, 200, 200 ) )
-
very funny, no... the title where the g is and the serversname is meant to be green, when its red...
if (ColorCmp( team.GetColor(21), Color( 255, 255, 100, 255 ))) then
tColor = Color( 255, 155, 0, 255 )
else
tColor = team.GetColor(21)
end
self.Hostname:SetFGColor( Color( tColor.r, tColor.g, tColor.b, 255 ) )
self.Description:SetFGColor( Color( 55, 55, 55, 255 ) )
self.Logog:SetFGColor( Color( 55, 55, 55, 255 ) )
self.SuiSc:SetFGColor( Color( 200, 200, 200, 200 ) )
So sui is always grabbing the color from team 21? An odd choice and doesn't really make sense, but I'll see if I can do anything with it.
-
Alright, in the latest update I think I've addressed everyone's suggestions/complaints.
You can now specify group order by using the optional key "order" in the team table. If no order is given, it's considered to be dead last. If multiple teams have the same order (or absence of order), precedence is determined by team name.
If multiple teams have the same order (or absence of order) and the same name, they are considered to be the same team.
The highest ranking team is assigned id 21, which is the same team id that sui scoreboard grabs the color from.
Team is now assigned immediately when you become a new member of a group, instead of having to wait to die to get your new team.
EDIT: And do we have to remove the old UTeam files or can we keep those instead of using this version of groups?
The new integrated UTeam is optional. If you don't specify any team data in groups.txt, it's like it's not even there.
-
all superadmins when they die they go admin in uteam and in ulx who it still says superadmin
here my groups.txt
"superadmin"
{
"inherit_from" "admin"
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx gban"
"ulx gbanid"
"ulx groupallow"
"ulx gunbanid"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx removeuserid"
"ulx renamegroup"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx setgroupcantarget"
"ulx userallow"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx welcomemessage"
}
"team"
{
"name" "Founders"
"color_red" "0"
"color_green" "255"
"color_blue" "0"
"health" "100"
"armor" "0"
}
}
"admin"
{
"inherit_from" "moderator"
"can_target" "!%superadmin"
"allow"
{
"ulx adminmenu"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cleardecals"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gban"
"ulx ignite"
"ulx map"
"ulx mapsmenu"
"ulx physgunplayer"
"ulx playsound"
"ulx send"
"ulx setitle"
"ulx settitle"
"ulx showmotd"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx tsay"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx unfreeze"
"ulx veto"
"ulx voteban"
"ulx whip"
"ulx_cleardecals"
}
"team"
{
"name" "Admins"
"color_red" "255"
"color_green" "0"
"color_blue" "0"
"health" "100"
"armor" "0"
}
}
"user"
{
"can_target" "!%moderator"
"allow"
{
"ulx asay"
"ulx clientmenu"
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx motd"
"ulx psay"
"ulx thetime"
"ulx title"
"ulx votemap"
"ulx who"
"ulx_title"
"ulx mytitle" "^"
"ulx god" "^"
"ulx ungod" "^"
}
"team"
{
"name" "Players"
"color_red" "0"
"color_green" "102"
"color_blue" "204"
"health" "100"
"armor" "0"
}
}
"respected"
{
"can_target" "!%moderator"
"inherit_from" "user"
"allow"
{
}
"team"
{
"name" "Respected"
"color_red" "153"
"color_green" "51"
"color_blue" "255"
"health" "100"
"armor" "0"
}
}
"moderator"
{
"inherit_from" "respected"
"can_target" "!%admin"
"allow"
{
"ulx armor"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx jail"
"ulx kick"
"ulx mute"
"ulx noclip"
"ulx ragdoll"
"ulx respawn"
"ulx slap"
"ulx slay"
"ulx teleport"
"ulx ungag"
"ulx ungimp"
"ulx ungod"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx usermanagementhelp"
"ulx vote"
"ulx votekick"
"ulx votemap2"
}
"team"
{
"name" "Moderators"
"color_red" "255"
"color_green" "204"
"color_blue" "0"
"health" "100"
"armor" "0"
}
}
Also players are no longer in order by groups:
(http://gmod1.nmdgaming.com/eyefinity/craputeam2.png)
-
The order is what you want it to be
-
The order is what you want it to be
Superadmins become Admins when they die (HP Gets set to 1000, same as amour)
Admins become Superadmins when they die (HP Gets set to 1000, same as amour)
You have not said how to order a group. Its meant to order by highest to lowest (Superadmin,Admin,Moderator,Respected,User)
-
You have not said how to order a group
Look again.
Did you remove the "old" UTeam before putting in the config for this one? Only the old UTeam does anything on player death.
-
I think I did the "order" thing wrong, when I do it all my players are unassigned.
-
I think I did the "order" thing wrong, when I do it all my players are unassigned.
Mind posting your groups file?
-
garrysmod/data/ulib/groups.txt
"superadmin"
{
"deny"
{
}
"allow"
{
"overcomeimmunity"
"physgunplayer"
"ulx adduser"
"ulx adduserid"
"ulx kick"
"ulx osi_immunize"
"ulx osi_overcome"
"ulx osi_rubberize"
"ulx rcon"
"ulx removeuser"
"ulx setgroupcantarget"
"ulx slap"
"xgui_gmsettings"
"xgui_managebans"
"xgui_managegroups"
"xgui_svsettings"
"ulx bring" "!%admin"
}
"inherit_from" "admin"
"team"
{
"name" "Super Admin"
"color_red" 50
"color_blue" 50
"color_green" 255
"health" 1337
"maxSpeed" 2
"order" 1
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtime"
"ulib_passtimeout"
"ulib_passtimeout"
"ulx adminmenu"
"ulx armor"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx banmenu"
"ulx blind"
"ulx blind"
"ulx bring"
"ulx bring"
"ulx chattime"
"ulx chattime"
"ulx clientmenu"
"ulx clientmenu"
"ulx cloak"
"ulx cloak"
"ulx cloakme"
"ulx csay"
"ulx csay"
"ulx exec"
"ulx exec"
"ulx freeze"
"ulx freeze"
"ulx gag"
"ulx gag"
"ulx ghost"
"ulx ghost"
"ulx gimp"
"ulx gimp"
"ulx god"
"ulx god"
"ulx godme"
"ulx goto"
"ulx goto"
"ulx hp"
"ulx hp"
"ulx hpme"
"ulx ignite"
"ulx ignite"
"ulx jail"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mapsmenu"
"ulx mapsmenu"
"ulx maul"
"ulx maul"
"ulx menu"
"ulx mute"
"ulx mute"
"ulx noclip"
"ulx noclip"
"ulx playsound"
"ulx playsound"
"ulx ragdoll"
"ulx ragdoll"
"ulx ragdollme"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx send"
"ulx settitle"
"ulx settitle"
"ulx showmotd"
"ulx slap"
"ulx slap"
"ulx slay"
"ulx slay"
"ulx spawnecho"
"ulx spawnecho"
"ulx spectate"
"ulx spectate"
"ulx sslay"
"ulx sslay"
"ulx strip"
"ulx strip"
"ulx teleport"
"ulx teleport"
"ulx teleportme"
"ulx toolallow"
"ulx toolallow"
"ulx toolallowuser"
"ulx toolallowuser"
"ulx tooldeny"
"ulx tooldeny"
"ulx tooldenyoverride"
"ulx tooldenyoverride"
"ulx tooldenyuser"
"ulx tooldenyuser"
"ulx tsay"
"ulx tsay"
"ulx uberadminmenu"
"ulx unban"
"ulx unblind"
"ulx unblind"
"ulx uncloak"
"ulx uncloak"
"ulx uncloakme"
"ulx unfreeze"
"ulx unfreeze"
"ulx ungag"
"ulx ungag"
"ulx unghost"
"ulx unghost"
"ulx ungimp"
"ulx ungimp"
"ulx ungod"
"ulx ungod"
"ulx ungodme"
"ulx unignite"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unjail"
"ulx unmute"
"ulx unmute"
"ulx unragdoll"
"ulx unragdoll"
"ulx unragdollme"
"ulx veto"
"ulx veto"
"ulx vote"
"ulx vote"
"ulx voteban"
"ulx voteban"
"ulx votekick"
"ulx votekick"
"ulx votemap2"
"ulx votemap2"
"ulx welcomemessage"
"ulx welcomemessage"
"ulx whip"
"ulx whip"
"ups disableplayers"
"ups disableplayers"
"ups globaldisable"
"ups miscdeletionaccess"
"ups miscdeletionaccess"
"ups_damage"
"ups_damage"
"ups_freeze"
"ups_freeze"
"ups_physgun"
"ups_physgun"
"ups_remove"
"ups_tool"
"ups_tool"
"ups_unfreeze"
"ups_use"
"ups_vehicle"
"urestrict allowspawn"
"urestrict denyspawn"
"urestrict npcs"
"urestrict props"
"urestrict ragdolls"
"urestrict sents"
"urestrict vehicles"
"ups_unfreeze" "!%superadmin"
"ulx banid" "!%vipp"
"ulx physgunplayer" "!%admin"
"ups_remove" "!%superdmin"
"ulx kick" "!%vipp"
"ulx map" "0"
"ups_use" "!%superadmin"
"ups_vehicle" "!%superadmin"
"ulx ban" "!%vipp"
}
"inherit_from" "moderator"
"team"
{
"name" "Admin"
"color_red" 255
"color_blue" 50
"color_green" 50
"health" 1000
"order" 2
}
}
"moderator"
{
"allow"
{
"ulx armor"
"ulx blind"
"ulx blind"
"ulx bring"
"ulx bring"
"ulx clientmenu"
"ulx clientmenu"
"ulx cloak"
"ulx cloak"
"ulx cloakme"
"ulx freeze"
"ulx freeze"
"ulx gag"
"ulx gag"
"ulx gimp"
"ulx gimp"
"ulx god"
"ulx god"
"ulx godme"
"ulx goto"
"ulx goto"
"ulx hp"
"ulx hp"
"ulx hpme"
"ulx ignite"
"ulx ignite"
"ulx jail"
"ulx jail"
"ulx kick"
"ulx menu"
"ulx mute"
"ulx mute"
"ulx noclip"
"ulx ragdoll"
"ulx ragdoll"
"ulx ragdollme"
"ulx send"
"ulx send"
"ulx slap"
"ulx slap"
"ulx slay"
"ulx slay"
"ulx spawnecho"
"ulx spawnecho"
"ulx spectate"
"ulx strip"
"ulx strip"
"ulx teleport"
"ulx teleport"
"ulx teleportme"
"ulx unblind"
"ulx uncloak"
"ulx uncloak"
"ulx uncloakme"
"ulx unfreeze"
"ulx unfreeze"
"ulx ungag"
"ulx ungag"
"ulx ungimp"
"ulx ungimp"
"ulx ungod"
"ulx ungod"
"ulx ungodme"
"ulx unignite"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unjail"
"ulx unmute"
"ulx unmute"
"ulx unragdoll"
"ulx unragdoll"
"ulx unragdollme"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx welcomemessage"
"ulx whip"
"ulx kick" "!%admin"
"ulx votemap" "0"
"ulx" "unblind"
"ulx unblind" "0"
}
"inherit_from" "user"
"team"
{
"name" "Moderator"
"color_red" 255
"color_blue" 0
"color_green" 150
"health" 500
"order" 3
}
}
"vip"
{
"allow"
{
"ulx armor"
"ulx cloak"
"ulx god"
"ulx goto"
"ulx noclip"
"ulx spectate"
"ulx teleport"
"ulx uncloak"
"ulx ungod"
"ulx unignite"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx ragdoll" "^"
"ulx unragdoll" "^"
"ulx seeasay" "0"
}
"inherit_from" "user"
"team"
{
"name" "VIP"
"color_red" 225
"color_blue" 0
"color_green" 200
"health" 250
"order" 4
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx"
"ulx asay"
"ulx asay"
"ulx debuginfo"
"ulx godme"
"ulx help"
"ulx help"
"ulx hpme"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx menu"
"ulx motd"
"ulx motd"
"ulx mytitle"
"ulx mytitle"
"ulx psay"
"ulx psay"
"ulx ragdollme"
"ulx teleportme"
"ulx thetime"
"ulx thetime"
"ulx title"
"ulx title"
"ulx ungod"
"ulx ungodme"
"ulx unragdollme"
"ulx usermanagementhelp"
"ulx usermanagementhelp"
"ulx voteecho"
"ulx votemap"
"ulx votemap"
"ulx who"
"ulx who"
"ulx_cvar"
"ulx_cvar"
"ulx_getbans"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_getgamemodes"
"ulx_valueupdate"
"ulx_valueupdate"
"urequest"
"urequest help"
"urequest make"
"urequest makep"
"urequest view"
"ulx jail" "^"
"ulx armor" "^"
"ulx hp" "^"
"ulx ragdoll" "^"
"ulx votekick" "!%admin"
"ulx armour" "^"
"ulx voteban" "0"
"ulx god" "^"
"ulx ignite" "^"
"ulx teleport" "^"
"ulx unragdoll" "^"
"ulx unjail" "0"
"ulx kick" "^"
"ulx goto" "!%superadmin"
}
"team"
{
"name" "Player"
"color_red" 0
"color_blue" 255
"color_green" 100
"health" 100
"order" 5
}
}
"peniscupcake"
{
"deny"
{
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx addgimpsay"
"ulx debuginfo"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapaddmap"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
}
"allow"
{
}
"inherit_from" "user"
"team"
{
"name" "Penis Cupcake"
"color_red" 255
"color_blue" 150
"color_green" 150
"health" 1
"runSpeed" 0
"maxSpeed" 0
"duckSpeed" 0
"walkSpeed" 0
"unDuckSpeed" 0
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx addgimpsay"
"ulx debuginfo"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapaddmap"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
}
"inherit_from" "user"
}
-
Disco, though Megiddo may have more input as to issues he could see regarding your groups/team configuration, I strongly recommend placing your numbers in quotes. (For all team setup, not just order)
"order" "1"
"color_red" "#"
etc etc
-
JamminR, if I recall correctly it parses things not in quotes as numbers, which is what we want here. It doesn't really matter though since UTeam will convert it to a number anyways.
-
Ok Megiddo. That was just my two cent theory. Heck, you even get change.
Then what's wrong with his file. :P
-
Disco, did you remember to update your cache files (sv_downloadurl) after updating? Your file works fine on my end as far I can tell (which isn't far, since the server still crashes whenever someone joins).
-
I'll have to retest later tonight when everyone gets off the server.
-
I've just realized, Megiddo, that since you changed the hook that sets the team and player attributes (heath, armor) to "UCLAuthed" instead of "PlayerSpawn", it no longer keeps setting the health, armor, and team when the player spawns.
So if they die and respawn, they'll no longer have 100 armor or whatever. (I've tested, this problem is happening)
-
Fixed, thanks. This closes all current issues/suggestions with UTeam, right?
-
No problem, thank you. That should do it for now, as far as I know.
-
What order does "order" go in?
Or, what number do I assign to a group that I want to be at the top of ten groups? 1 or 10? (my groups file is in arbitrary order, and organizing it would be a pain)
-
What order does "order" go in?
Or, what number do I assign to a group that I want to be at the top of ten groups? 1 or 10? (my groups file is in arbitrary order, and organizing it would be a pain)
Assign 1 to the first team, and you don't have to physically order the groups in the file, using order will order the teams for you.
-
I got this to work, by the way. I don't know what was wrong with it.
-
I have 13 groups and I get this error in my servers console.
ERROR: Hook 'UTeamInitialize' Failed: addons\ulx\lua\ulx\modules\uteam.lua:92: attempt to index local 'key' (a number value)
Removing Hook 'UTeamInitialize'
-
I have 13 groups and I get this error in my servers console.
ERROR: Hook 'UTeamInitialize' Failed: addons\ulx\lua\ulx\modules\uteam.lua:92: attempt to index local 'key' (a number value)
Removing Hook 'UTeamInitialize'
One of your keys is a number value? Can you share your groups.txt file with us?
-
I PMed you my txt file.
-
You've got the color for the gold team misconfigured, Aaron113.
-
This is now breaking my own teams system which I have implemented separately. Every time I change ULX permissions or die my team is set to the groups team (Even though it is not setup) thus overriding my own separate teams system.
Is there a way to stop this?
Edit: Never mind, found the set team function
-
ERROR: Hook 'UTeamInitialize' Failed: [@addons\ulx\lua\ulx\modules\uteam.lua:91] bad argument #1 to 'pairs' (table expected, got nil)
Removing Hook 'UTeamInitialize'
ERROR: Hook 'ULXDoCfg' Failed: [addons\ulx\lua\ulx\end.lua:43] attempt to call field 'addAdvert' (a nil value)
Removing Hook 'ULXDoCfg'
I keep getting those errors in my console when I start the server.
Here is the only team I used UTeam with;
"root_user"
{
"allow"
{
}
"inherit_from" "superadmin"
"team"
{
"name" "Owner"
"color_red" 255
"color_blue" 0
"color_green" 0
"model" "gman"
"health" 125
}
Can somebody help?
-
According to that error, you should be having much larger issues. Run "ulx debuginfo" in the server console and paste the output here. If that command doesn't work, I'd recommend removing your data/ULib/users.txt and groups.txt files and let them recreate themselves.