Author Topic: UTeam - Set teams based on usergroup.  (Read 316223 times)

0 Members and 1 Guest are viewing this topic.

Offline Hardy

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: UTeam - Set teams based on usergroup.
« Reply #150 on: February 12, 2009, 07:01:47 PM »
I have one bug with that. For example - i have "mingebag" group on server. I need it to be after "user" group in scoreboard(SUI). But if i put it after in UTeam.txt - mingebag still staying as user. If above - mingebag going above in scoreboard too - it's don't right :)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTeam - Set teams based on usergroup.
« Reply #151 on: February 12, 2009, 07:48:56 PM »
Sounds like you have 'a' of the rgba colors too low. a = Alpha = visibility.
Set the a's to 200 to 255 ... should then be able to see.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Hardy

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: UTeam - Set teams based on usergroup.
« Reply #152 on: February 12, 2009, 09:50:13 PM »
No, i mean: usergroups UNDER "user" not parsed. At all.

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #153 on: February 13, 2009, 07:11:12 AM »
Does this work with a gamemode such as DarkRP? I want it so that the admins get the following in their Job in the scoreboard: <Rank/UTeam> <Job>

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: UTeam - Set teams based on usergroup.
« Reply #154 on: February 13, 2009, 09:13:14 AM »
Hardy,
That's all working as it's supposed to. uesr is the "catch-all" group as every person connected to the server is a member of group "user", and every group inherits from it, thus anything below it on the list will never be reached. The usergroup system was never meant for demoting players. You can still make this work, but you'd have to modify the code for either UTeam or sui_scoreboard to let it sort differently.

I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #155 on: February 13, 2009, 01:19:31 PM »
Was that a answer on my post? Also I am good at lua but more in the way of modifying SWEPS and Gamemodes or write simple things in groups.txt, can one of you guys make it work?

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #156 on: February 14, 2009, 01:23:57 PM »
Well?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTeam - Set teams based on usergroup.
« Reply #157 on: February 14, 2009, 01:34:49 PM »
Mastermind, UTeam has no direct control over scoreboard appearance.
You'd have to have a custom written scoreboard for DarkRP to show the job and team name.
UTeam only ties team names into ULib groups, and can control how the player's text, health, speed and model appear depending on that team.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #158 on: February 15, 2009, 12:50:59 AM »
Okay, thanks for the information!
Now a official Reqeust by a hardcore Ulysses fan:

Can you make this for me? I am sure you can because the WHOLE Ulysses is brilliant! (I almost have everything from Ulysses on my server!)

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #159 on: February 17, 2009, 12:40:50 PM »
I geuss not then....  :(

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: UTeam - Set teams based on usergroup.
« Reply #160 on: February 17, 2009, 06:25:40 PM »
May I suggest...

http://forums.ulyssesmod.net/index.php/topic,1118.0.html

This is pretty much the scoreboard of choice for UTeam users.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTeam - Set teams based on usergroup.
« Reply #161 on: February 17, 2009, 07:15:30 PM »
He's wanting custom scoreboard that no one here really have time (or want) to do.
He wants to incorporate RP jobs.
Personally, with as many scoreboards that have been released here by community members (3?), I don't think it would be difficult for him to look at the code for the different columns and make his own.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #162 on: February 18, 2009, 07:19:38 AM »
I olny can modify Gamemode's and SWEPS, I have no idea of other lua things. (and when I modify something, it usually doesn't work!)

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: UTeam - Set teams based on usergroup.
« Reply #163 on: February 20, 2009, 11:32:23 AM »
So are ya gonna to help or not?  :)

Offline Darkflamer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: UTeam - Set teams based on usergroup.
« Reply #164 on: March 09, 2009, 11:20:43 AM »
Hello dear ULX-team.

I am a regular user of your incredibly amazing script, and I have been using it since Garrysmod Nine. This script has helped me and the players on my server a lot.

The reason as to why I am posting here on your forums, is that I need help with this script (Uteam).
Every time I boot up my server and join, it seems that I'm always placed in the usergroup "Unassigned". Now, I do realize that this exact thing has happened to many other players (I read the whole thread before posting), but as far as I'm concerned this isn't due to missing brackets / excessive use of brackets.

This is my Uteam.txt file and my groups.txt file (garrysmod/data/Ulib/groups.txt). Both the UTeam.txt and the UTeam.lua files placed accordingly to the readme.txt found in the downloaded zip-folder.


Code: [Select]
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx spectate"
"ulx mingekick"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx physgunplayer"
}
"inherit_from"
{
"operator"
}
}
"operator"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx slay"
"ulx showmotd"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx banmenu"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx vote"
"ulx veto"
}
"inherit_from"
{
"user"
}
}
"respected"
{
"deny"
{
}
"allow"
{
"ulx noclip"
"ulx reservedslots"
"ulx seeasay"
}
"inherit_from"
{
"member"
}
}
"member"
{
"deny"
{
}
"allow"
{
"ulx votemap"
}
"inherit_from"
{
"user"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx votemap"
}
"inherit_from"
{
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx debuginfo"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
}
"inherit_from"
{
}
}

Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "Super Admins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"3"
{
"name" "Operators"
"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" "SpaceBuild3"
}
}



I would really appreciate if you helped me with this.

I already condumped the server-console and it had no errors with the string UTeam in it.


- Thanks in advance for any time you were to spend on my problem.