Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started 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
-
Sounds like incorrect configuration
-
i use the default.
-
Did you put the config in the data directory as instructed?
-
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.
-
yes. its still doesn't work.
-
Please post the output of both
lua_run PrintTable( UTeam.teams )
and 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)
-
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
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
-
Are you using the sui scoreboard?
-
yes. i'm using the newest i found here.
-
Ok, with multiple people on the server get the output from
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).
-
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
-
No solution?
-
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
-
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.
-
The order of named elements does not matter in the least.
-
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.