Ulysses Stuff > Ulysses Release Archives

UTeam - Set teams based on usergroup.

<< < (43/52) > >>

mrm:
Hello, I have uteam installed on my server, and for the most part it works well, but it doesnt want to work with some groups. Any help would be greatly appreciated

--- Code: ---"Out"
{
"teams"
{
"1"
{
"name" "UberAdmin"
"group" "uberadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "51"
"g" "255"
"r" "102"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "SuperAdmin"
"group" "superadmin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "0"
"g" "153"
"r" "255"
}
}
"3"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "255"
"g" "153"
"r" "51"
}
}

                "4"
{
"name" "Moderators"
"group" "moderator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "153"
}
}

               
                "5"
{
"name" "Members"
"group" "member"
"armor" "150"
"hp" "150"
"color"
{
"a" "255"
"B" "255"
"g" "153"
"r" "51"
}
}
               
                "6"
{
"name" "Goldmembers"
"group" "goldmember"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "51"
"g" "255"
"r" "255"
}
}
                "7"
{
"name" "Operators"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
}
"8"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "204"
"g" "204"
"r" "204"
}

}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}

--- End code ---

It all works except for the goldmember group, which is the same blue as members for some reason.

Edit: I believe this belongs in the off topic section, sorry.

[Edit-JamminR]Merged thread into UTeam release thread

JamminR:
mrm,
Try the attached file as your UTeam.txt (you'll need to change its name as saving it of course)
Restart your server after saving it.
Let me know if it works, and I'll explain why.
If not, my theory is wrong.

mrm:
Thankyou for your work on trying to fix my problem. Unfortunately, goldmembers are still blue. Hopefully you have another theory?

JamminR:
Sure the group name matches?
Does your groups.txt file somehow have a capital letter instead of all lowercase? Goldmember instead of goldmember?
Lua is case sensitive, though our console commands always turn group entry into lowercase, we often see manual edits of the groups.txt file done in incorrect case.
Is it plural? goldmembers instead of goldmember?
Your Uteam file doesn't use plural.

My original theory involved whitespace issues. We've seen Glua's table and file.read commands have trouble with them in the past.

mrm:
Thats the first thing I checked, and its all perfect. I honestly don't know what It could be.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version