ULX

Author Topic: Groups are Messed Up  (Read 4166 times)

0 Members and 3 Guests are viewing this topic.

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Groups are Messed Up
« on: June 23, 2010, 05:34:09 PM »
Hello,
I just got my dedicated server up and running and everything is working great!  :D There one problem though, When I assign me and my co owner to superadmin it works but when i press tab to see if it actually makes us visible as superadmin it says unassigned.  All commands as superadmin work and it all works fine butmy co owner wants People to see that we are the superadmins (i have made a new group called "Server Owner" with superadmin privilages but it still does the same thing with unassigned) If there is anything u can do to help can u explain in step by step?
Thanks, Gbuddy 8)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Groups are Messed Up
« Reply #1 on: June 23, 2010, 05:45:26 PM »
If you want to be put into a team based off your group, you want to download UTeam. (Note: groups and teams are completely different things)
Experiencing God's grace one day at a time.

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #2 on: June 23, 2010, 05:49:13 PM »
I'm Pretty sure i have that and I also have utime and the scoreboard thing sorry i didnt post that earlier when i edit my uteam file it still will say unassigned  :'(

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Groups are Messed Up
« Reply #3 on: June 23, 2010, 05:56:12 PM »
Post your config here and we'll help you solve your problem.
Experiencing God's grace one day at a time.

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #4 on: June 23, 2010, 06:14:35 PM »
groups.cfg?

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #5 on: June 23, 2010, 06:37:42 PM »
Code: [Select]
"operator"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
}
}

"admin"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
"operator"
}
}

"superadmin"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
"admin"
}
}

// This is your default user. Everyone is considered part of this group so handle with care!
"user"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
}
}

"Builder"
{
"allow"
{
}
"deny"
{
}
"inherit_from"
{
}
}
« Last Edit: June 23, 2010, 07:08:31 PM by JamminR »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups are Messed Up
« Reply #6 on: June 23, 2010, 07:06:04 PM »
No, your gmod/data/UTeam.txt
Put it in "code" tag or attach the file
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #7 on: June 23, 2010, 07:15:15 PM »
Well i cant find that file that might be my problem where can i get it?

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #8 on: June 23, 2010, 07:16:20 PM »
i must have disappeared when i reinstalled ulx

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups are Messed Up
« Reply #9 on: June 23, 2010, 08:04:42 PM »
Follow the readme.txt instructions included with the UTeam zip file, or read the instructions/tips from the UTeam release forum.
http://forums.ulyssesmod.net/index.php/topic,663.0.html

Removing ULX wouldn't have touched UTeam
« Last Edit: June 23, 2010, 08:07:17 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #10 on: June 23, 2010, 08:11:12 PM »
Thank you so much! everything is working now...oops well now when i add myself to my Server Owner group and rejoin server it just calls me player?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups are Messed Up
« Reply #11 on: June 24, 2010, 02:56:12 PM »
Then you must not have edited UTeam.txt correctly.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #12 on: June 24, 2010, 05:01:41 PM »
I fixed that but now I want a new group called "Head Admin" and when i create it doesnt give any admin privilages... hereis my code if you can tell me what to add
Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "Server Owner"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Head Admin"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"3"
{
"name" "Admin"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
}
"4"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups are Messed Up
« Reply #13 on: June 24, 2010, 06:46:45 PM »
Attempt at Source/Gmod tips 101 - Some you may already know, some you seem to think you know, some you do not.

Teams and access groups are two totally different things in Source.
ULib is a program library.
ULX uses ULib to control server commands (kick/ban/slay, etc) through group access. Group names typically are "superadmin", "admin" and "user"
UTeam uses ULib to tie team names in to group names.

You can use ULX to create custom groups. (addgroup)
You then use ULX commands (groupallow) to grant those custom groups the access you want.
Once you have all your groups set up, you can then edit UTeam.txt to the top to bottom level groups with any name team you want. Groups in UTeam must match ULX however.

I recommend you read the UTeam forum thread, many questions answered there.
See also our FAQs section regarding user list, allows and denies.
Some of the FAQs are slightly out dated if you are using SVN, but should still give plenty of example.

For someone to have "Head admin" team name according to your UTeam.txt example posted, you'd have to use ulx adduser to add them to the admin group.
« Last Edit: June 24, 2010, 06:49:20 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gbuddy

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Groups are Messed Up
« Reply #14 on: June 24, 2010, 08:13:49 PM »
Thank You! ;D