Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: lyoko on April 07, 2008, 09:52:07 AM

Title: uTeam Doesn't Work on our server
Post by: lyoko on April 07, 2008, 09:52:07 AM
Its uTeam 1.12 and i tried infinite times to reupload it and it doesn't work. players keeping to be unassigned team.
please help me
Title: Re: uTeam Doesn't Work on my server
Post by: Megiddo on April 07, 2008, 12:00:17 PM
Sounds like incorrect configuration
Title: Re: uTeam Doesn't Work on my server
Post by: lyoko on April 07, 2008, 12:59:12 PM
i use the default.
Title: Re: uTeam Doesn't Work on my server
Post by: Megiddo on April 07, 2008, 02:01:11 PM
Did you put the config in the data directory as instructed?
Title: Re: uTeam Doesn't Work on my server
Post by: MrPresident on April 07, 2008, 02:24:55 PM
UTeam.lua goes in garrysmod/lua/autorun
UTeam.txt goes in garrysmod/data

Make sure you only edit UTeam.txt and set it up so that it uses the same groups as you have ULX set to use. CaSe Is ImPoRtAnT. Admin and admin are COMPLETELY different.
Title: Re: uTeam Doesn't Work on my server
Post by: lyoko on April 08, 2008, 05:13:36 AM
yes. its still doesn't work.
Title: Re: uTeam Doesn't Work on my server
Post by: spbogie on April 08, 2008, 08:48:11 PM
Please post the output of both
Code: [Select]
lua_run PrintTable( UTeam.teams ) and
Code: [Select]
lua_run PrintTable( ULib.ucl.authed ) from SERVER console or RCON (not "ulx rcon"), while you and others are connected.
(see the FAQs for how to copy text from the console if you're running dedicated from your own box)
Title: Re: uTeam Doesn't Work on my server
Post by: lyoko on April 09, 2008, 10:00:08 AM
first
] rcon lua_run PrintTable( UTeam.teams )
> PrintTable ( UTeam.teams )...
1:
      name   =   SuperAdmins
      group   =   superadmin
      armor   =   1000
      color:
            a   =   255
            r   =   0
            g   =   200
            b   =   85
      hp   =   1000
      plytable:
            1   =   SprintSpeed:1000
            2   =   WalkSpeed:500
2:
      name   =   Admins
      armor   =   500
      color:
            a   =   255
            r   =   255
            g   =   50
            b   =   50
      hp   =   500
      group   =   admin
3:
      name   =   Operators
      armor   =   200
      color:
            a   =   255
            r   =   255
            g   =   200
            b   =   0
      hp   =   200
      group   =   operator
4:
      group   =   user
      color:
            a   =   255
            r   =   0
            g   =   100
            b   =   255
      name   =   Players
      model   =   male1
Code: [Select]


second



> PrintTable ( ULib.ucl.authed )...
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = CoolDog
acl:
allow:
deny:
uniqueid = 548117733
Player [2][DeathGod -Gray Fox-]:
deny:
type = steamid
groups:
1 = admin
2 = user
account = deathgod
id = STEAM_0:0:83760
allow:
uniqueid = 212486424
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = vodka
acl:
allow:
deny:
uniqueid = 267620353
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = CoolDog
acl:
allow:
deny:
uniqueid = 548117733
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = vodka
acl:
allow:
deny:
uniqueid = 267620353
Player [NULL]:
deny:
type = steamid
groups:
1 = superadmin
2 = 0
account = lyuki
id = STEAM_0:1:16168284
allow:
uniqueid = 1018692475
Player [NULL]:
deny:
type = steamid
groups:
1 = superadmin
2 = 0
account = lyuki
id = STEAM_0:1:16168284
allow:
uniqueid = 1018692475
Player [NULL]:
deny:
type = steamid
groups:
1 = admin
2 = user
account = deathgod
id = STEAM_0:0:83760
allow:
uniqueid = 212486424
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = CoolDog
acl:
allow:
deny:
uniqueid = 548117733

Title: Re: uTeam Doesn't Work on my server
Post by: Megiddo on April 09, 2008, 11:30:51 AM
Are you using the sui scoreboard?
Title: Re: uTeam Doesn't Work on my server
Post by: lyoko on April 09, 2008, 12:41:04 PM
yes. i'm using the newest i found here.
Title: Re: uTeam Doesn't Work on my server
Post by: spbogie on April 09, 2008, 12:57:18 PM
Ok, with multiple people on the server get the output from
Code: [Select]
lua_run for _, v in pairs( player.GetAll() ) do print( v, v:Team(), team.GetName( v:Team() ) ) end
Also check both cilent and server console for any errors (while loading and when a player is connecting/spawning are the key points to look around).
Title: Re: uTeam Doesn't Work on our server
Post by: lyoko on April 10, 2008, 07:31:42 AM
 rcon lua_run for _, v in pairs( player.GetAll() ) do print( v, v:Team(), team.GetName( v:Team() ) ) end
autokick is disabled for Lyoko
> for _, v in pairs ( player.GetAll ( ) ) do print ( v, v : Team ( ) , team.GetName ( v : Team ( ) ) ) end...
Player [1][vodka]   1001   Unassigned
Player [2][CoolDog]   1001   Unassigned
Player [3][sysRq<marshmallow>]   1001   Unassigned
Player [6][Lyoko]   1001   Unassigned

i can't get to the server console
Title: Re: uTeam Doesn't Work on our server
Post by: lyoko on April 11, 2008, 08:53:20 AM
No solution?
Title: Re: uTeam Doesn't Work on our server
Post by: blacksythe on April 15, 2008, 02:09:51 PM
By the looks of it your problem resides here

2:
      name   =   Admins
                                 <----------------- Correct position
      armor   =   500
      color:
            a   =   255
            r   =   255
            g   =   50
            b   =   50
      hp   =   500
      group   =   admin  <------------ Incorrect position


Ditto for all of the others


4:
                             <----------------Correct
      group   =   user
      color:
            a   =   255
            r   =   0
            g   =   100
            b   =   255
      name   =   Players <------------------ Incorrect
      model   =   male1

Alter this in uteam.txt
correct me if i'm wrong mind you
Title: Re: uTeam Doesn't Work on our server
Post by: JamminR on April 15, 2008, 05:21:54 PM
Blacksythe, though I don't know how to fix lyoko's problem, and your answer could be helpful, Lua (and Garry's and or our) functions involving printing of tables are often known to display out of order.

Though if his Uteam.txt file does look like that it would be wrong, it's very likely the print out he gave is just the table display oddity.
Title: Re: uTeam Doesn't Work on our server
Post by: spbogie on April 16, 2008, 06:29:23 PM
The order of named elements does not matter in the least.
Title: Re: uTeam Doesn't Work on our server
Post by: jay209015 on April 16, 2008, 07:03:53 PM
Quick question, are you trying this in sandbox or a different gamemode. If I put my server on spacebuildv2 I get undefined as well because it's not listed as v2 on the bottom of the Uteam cfg.