ULX

Author Topic: UTeam  (Read 2443 times)

0 Members and 1 Guest are viewing this topic.

Monkey Poop.

  • Guest
UTeam
« on: October 07, 2007, 01:40:30 PM »
When I use Uteam superadmin and admin show in the menu but when i add someone to senior or any other team it shows client.
Heres my Uteamt.txt

"Out"
{
   "teams"
   {
      "1"
      {
         "name"      "SuperAdmins"
         "group"      "superadmin"
         "armor"      "1000"
         "hp"      "1000"
         "color"
         {
            "a"      "255"
            "B"      "85"
            "g"      "200"
            "r"      "0"
         }
                        "model"          "super"
      }
      "2"
      {
         "name"      "Admins"
         "group"      "admin"
         "armor"      "500"
         "hp"      "500"
         "color"
         {
            "a"      "255"
            "B"      "50"
            "g"      "50"
            "r"      "255"
         }
                        "model"        "combine"
       }
      "3"
      {
         "name"      "Moderator"
         "group"      "moderator"
         "armor"         "300"
                        "hp"            "300"
                        "color"
         {
            "a"      "255"
            "B"      "255"
            "g"      "100"
            "r"      "0"
         }
                        "model"         "police"
      }
      "4"
      {
         "name"      "Senior"
         "group"      "Senior"
         "armor"      "250"
         "hp"      "250"
         "color"
         {
            "a"      "255"
            "B"      "44"
            "g"      "211"
            "r"      "255"
         }
                        "model"         "prison"
      }
                "5"
      {
         "name"      "Regular"
         "group"      "Regular"
         "armor"      "200"
         "hp"      "200"
         "color"
         {
            "a"      "255"
            "B"      "44"
            "g"      "200"
            "r"      "255"
         }
                        "model"
      }
                "6"
      {
         "name"      "Client"
         "group"      "user"
         "armor"      "100"
         "hp"      "100"
         "color"
         {
            "a"      "255"
            "B"      "60"
            "g"      "211"
            "r"      "255"
         }
                        "model"          "male1"
      }
   }
   "gamemodes"
   {
      "1"      "Sandbox"
      "2"      "SpaceBuild"
   }
}

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam
« Reply #1 on: October 07, 2007, 01:47:46 PM »
Use the command "ulx debuginfo" in the SERVER console while you have some of your senior members connected and paste the output here.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTeam
« Reply #2 on: October 07, 2007, 01:55:16 PM »
ULib and UTeam lua groups are case sensitive.
I notice you have 'Senior' as the group in your UTeam text posted.
You can capitalize the 'Name' in Uteam, but I'm betting "group" "Senior" should be lower case S. "senior" not "Senior"
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: UTeam
« Reply #3 on: October 07, 2007, 04:56:23 PM »
I knew exactly what your problem was before I finished reading the replies.. and JamminR is correct. I usually make the Name of the group Capitalized and the group simple and lower case.. so like..

"name"     "Senior Member"
"group"     "member"

and when you go to add someone to the group, you want to use the group field data.. so... 'ulx adduser Megiddo senior'


also... If you are using Spacebuild2 make sure you put that in the game modes thing at the bottom of the file.. Spacebuild2 is NOT Spacebuild and this addon will not know the difference.