ULX

Author Topic: HELP!  (Read 3157 times)

0 Members and 1 Guest are viewing this topic.

Offline taliban69king

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
HELP!
« on: January 12, 2009, 12:41:04 PM »
hello and this is taliban69king and i own an -=[SAS]=- server that uses ulx :) BUT im having some problems with setting someone in a certan group (eg:admin2-admin3-superadmin1-etc...) Its seems that i can only set them in groups that do not have a number after them in console (eg.ulx setgroup "taliban69king" admin-will work but not...ulx setgroup "taliban69king" admin1) so you get it-ranks that have numbers after it wont work but just the ranks "user-operator-admin-superadmin"  will work...


Lil help here  :'(

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP!
« Reply #1 on: January 12, 2009, 01:58:00 PM »
Did you make any groups with numbers after it?
Experiencing God's grace one day at a time.

Offline taliban69king

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP!
« Reply #2 on: January 12, 2009, 01:59:33 PM »
no.....here leme give u somtin-Its the Uteam

Code: [Select]
"Out"
{
"teams"
{
                                    "1"
{
"name" "Supreme Commander"
"group" "superadmin"
"armor" "10000"
"hp" "10000"
"color"
{
"a" "255"
"B" "0"
"g" "153"
"r" "255"
}
                }
                                  "2"
                                  {
"name" "High Commander"
"group" "superadmin1"
"armor" "5000"
"hp" "5000"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "0"
                                                                        "r" "255"
}
                                    }
                                    "3"
{
"name" "Commander"
"group" "superadmin2"
"armor" "5000"
"hp" "5000"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "0"
}
}
"4"
{
"name" "General"
                                                      "group" "superadmin3"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "255"
                                                                        "r" "255"
}
}
"5"
{
"name" "Lieutenant General"
"group" "admin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
                                                                        "b" "255"
                                                                        "g" "0"
                                                                        "r" "0"
}
                                    }
"6"
{
"name" "Major General"
"group" "admin1"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "0"
                                                                        "r" "128"
}
                                    }
"7"
{
"name" "Brigadier General"
"group" "admin2"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "128"
                                                                        "r" "128"
}
                                    }
"8"
{
"name" "Brigadier"
"group" "admin3"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "255"
}
                                    }
"9"
{
"name" "Colonel"
"group" "admin4"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "0"
                                                                        "r" "255"
}
}
"10"
{
"name" "Lieutenant Colonel"
"group" "operator"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                         "r" "0"
}
}
                                    "11"
{
"name" "Major"
"group" "operator1"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "255"
                                                                        "r" "255"
}
                                    }
"12"
{
"name" "Lieutenant Major"
"group" "operator2"
"color"
{
"a" "255"
                                                                        "b" "255"
                                                                        "g" "0"
                                                                        "r" "0"
}
                                    }
"13"
{
"name" "Captain"
"group" "operator3"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "0"
                                                                        "r" "128"
}
}
"14"
{
"name" "1st Lieutenant"
"group" "operator4"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "128"
                                                                        "r" "128"
}
                                    }
"15"
{
"name" "2nd Lieutenant"
"group" "operator5"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "255"
}
}
                                    "16"
{
"name" "Officer"
"group" "operator6"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "0"
                                                                        "r" "255"
}
}
                                    "17"
{
"name" "Sergeant Major"
"group" "operator7"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "0"
}
                                    }
                                    "18"
{
"name" "Gunnery Sergeant"
"group" "user8"
"color"
{
"a" "255"
                                                                        "b" "255"
                                                                        "g" "0"
                                                                        "r" "0"
}
}
                                    "19"
{
"name" "Master Sergeant"
"group" "user7"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "0"
                                                                         "r" "128"
}
}
                                    "20"
{
"name" "H.Sergeant"
"group" "user6"
"color"
{
"a" "255"
                                                                        "b" "128"
                                                                        "g" "128"
                                                                        "r" "128"
}
}
                                    "21"
{
"name" "Staff Sergeant"
"group" "user5"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "255"
}
}
                                    "22"
{
"name" "Sergeant"
"group" "user4"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "0"
                                                                        "r" "255"
}
}
                                    "23"
{
"name" "Corporal"
"group" "user3"
"color"
{
"a" "255"
                                                                        "b" "0"
                                                                        "g" "128"
                                                                        "r" "0"

}
}
                                    "24"
{
"name" "Lance Corporal"
"group" "user2"
"color"
{
                                                                        "a" "255"
                                                                        "b" "0"
                                                                        "g" "255"
                                                                        "r" "255"
}
}
                                    "25"
{
"name" "S.Private"
"group" "user1"
"color"
{
                                                     "a" "255"
                                                                       "b" "255"
                                                                       "g" "0"
                                                                       "r" "0"
}
}
                                    "26"
{
"name" "Private"
"group" "user"
"color"
{
"a" "255"
                                                                        "b" "255"
                                                                        "g" "0"
                                                                        "r" "0"
}
                                    }

}
"gamemodes"
{
"1" "Sandbox"
"2"                               "SpaceBuild2"
                                    "3"                               "SpaceBuild 3: The New Age (Beta)"
}
}

ups that have a number after it eg.admin1-2-3-4..... i cant set anyone as :(

Edit by Megiddo: Cleaned up and merged posts
« Last Edit: January 12, 2009, 02:04:23 PM by Megiddo »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP!
« Reply #3 on: January 12, 2009, 02:03:06 PM »
uteam still doesn't create the groups, you need to create the groups through ULX.
Experiencing God's grace one day at a time.

Offline taliban69king

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP!
« Reply #4 on: January 12, 2009, 02:08:55 PM »
..............i see........but when i edit this file it changes in game too?......????

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP!
« Reply #5 on: January 12, 2009, 02:12:48 PM »
Please be more descriptive.
Experiencing God's grace one day at a time.

Offline taliban69king

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP!
« Reply #6 on: January 12, 2009, 02:27:48 PM »
ok so this is my prob.......i find this file in data called Uteams and i change it/edit it so i get it just the way i like it...then i save it and when i go in game and set myself as superadmin (supreme commander) it works but only 4 other RANKS work too!? and i have 26...the 4 GROUPS are user operator admin and superadmin and they are used each by 4 dif RANKS....now i notice that i can only give people the RANKS that have these 4 group's that the RANKS are set to have (eg.i can set my self as the RANK supreme commander because its GROUP is "superadmin" BUT if it were set to the GROUP"superadmin1" then i could not use the RANK supreme commander because it said the GROUP does not exist!?) 

ps.the words groups and ranks are in CAP so this crap dosent confuse ppl :(

Offline Tricky D

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: HELP!
« Reply #7 on: January 12, 2009, 03:25:50 PM »
You have to navigate to data/Ulib/groups.txt, and create the groups in there. As Megiddo said, UTeam does not create the groups, it merely takes them from users.txt and creates a team for them on the scoreboard with the options you set..
« Last Edit: January 12, 2009, 03:27:44 PM by Tricky D »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: HELP!
« Reply #8 on: January 12, 2009, 03:27:15 PM »
1) UTeam adjusts team names based on what access group a user in ULib is.
Teamnames have nothing to do with access levels. I could create a teamname called Superadmin in UTeam, but assign it to group 'user' and the person would join with no access. (A fun trick now that I think of it though, eh?)

2) ULX creates groups, and is used to assign people to those groups.
Each group can have different access to different commands. ULib (ULX relies on ULib) has 4 default groups - superadmin, admin, operator, user.
All people who join a server, if they have not been given a higher access by the server superadmins, start at group 'user'.

So, before your UTeam can work, you need to create new groups called the new ones you want.
ulx addgroup "superadmin1"
ulx addgroup "superadmin2"....

Did you not read the 'ulx usermanagementhelp' ... I recommend reading it again. It explains more.
Once you've used ULX to create the groups, you can edit the data\ULib\groups.txt after backing it up to 'add' or 'deny' any access you want the new groups to have. Though you _can_ use the "ulx groupallow" or "ulx groupdeny" commands to add one or two permissions to each group, adding more than a few would take a while and might be better done through the groups.txt file.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming