ULX

Author Topic: uTeam Doesn't Work on our server  (Read 6218 times)

0 Members and 2 Guests are viewing this topic.

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
uTeam Doesn't Work on our server
« 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
« Last Edit: April 10, 2008, 07:29:31 AM by lyoko »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: uTeam Doesn't Work on my server
« Reply #1 on: April 07, 2008, 12:00:17 PM »
Sounds like incorrect configuration
Experiencing God's grace one day at a time.

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on my server
« Reply #2 on: April 07, 2008, 12:59:12 PM »
i use the default.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: uTeam Doesn't Work on my server
« Reply #3 on: April 07, 2008, 02:01:11 PM »
Did you put the config in the data directory as instructed?
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: uTeam Doesn't Work on my server
« Reply #4 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.

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on my server
« Reply #5 on: April 08, 2008, 05:13:36 AM »
yes. its still doesn't work.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: uTeam Doesn't Work on my server
« Reply #6 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)
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 lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on my server
« Reply #7 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

« Last Edit: April 09, 2008, 10:11:06 AM by lyoko »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: uTeam Doesn't Work on my server
« Reply #8 on: April 09, 2008, 11:30:51 AM »
Are you using the sui scoreboard?
Experiencing God's grace one day at a time.

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on my server
« Reply #9 on: April 09, 2008, 12:41:04 PM »
yes. i'm using the newest i found here.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: uTeam Doesn't Work on my server
« Reply #10 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).
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 lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on our server
« Reply #11 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

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: uTeam Doesn't Work on our server
« Reply #12 on: April 11, 2008, 08:53:20 AM »
No solution?

Offline blacksythe

  • Newbie
  • *
  • Posts: 38
  • Karma: -1
Re: uTeam Doesn't Work on our server
« Reply #13 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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: uTeam Doesn't Work on our server
« Reply #14 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming