ULX

Author Topic: UTeam -- now integrated with ULX SVN!  (Read 21213 times)

0 Members and 1 Guest are viewing this topic.

Offline RynO-SauruS

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 17
Re: UTeam -- now integrated with ULX SVN!
« Reply #30 on: June 30, 2010, 01:43:44 PM »
I've just realized, Megiddo, that since you changed the hook that sets the team and player attributes (heath, armor) to "UCLAuthed" instead of "PlayerSpawn", it no longer keeps setting the health, armor, and team when the player spawns.
So if they die and respawn, they'll no longer have 100 armor or whatever. (I've tested, this problem is happening)


YouTube music player by RynO-SauruS

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam -- now integrated with ULX SVN!
« Reply #31 on: June 30, 2010, 05:25:27 PM »
Fixed, thanks. This closes all current issues/suggestions with UTeam, right?
Experiencing God's grace one day at a time.

Offline RynO-SauruS

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 17
Re: UTeam -- now integrated with ULX SVN!
« Reply #32 on: June 30, 2010, 06:09:19 PM »
No problem, thank you. That should do it for now, as far as I know.
« Last Edit: June 30, 2010, 06:18:52 PM by RynO-SauruS »


YouTube music player by RynO-SauruS

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: UTeam -- now integrated with ULX SVN!
« Reply #33 on: July 01, 2010, 09:40:02 PM »
What order does "order" go in?

Or, what number do I assign to a group that I want to be at the top of ten groups? 1 or 10? (my groups file is in arbitrary order, and organizing it would be a pain)
Circle reasoning works because circle reasoning works because...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam -- now integrated with ULX SVN!
« Reply #34 on: July 02, 2010, 04:59:10 AM »
What order does "order" go in?

Or, what number do I assign to a group that I want to be at the top of ten groups? 1 or 10? (my groups file is in arbitrary order, and organizing it would be a pain)

Assign 1 to the first team, and you don't have to physically order the groups in the file, using order will order the teams for you.
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: UTeam -- now integrated with ULX SVN!
« Reply #35 on: July 02, 2010, 10:56:56 AM »
I got this to work, by the way. I don't know what was wrong with it.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: UTeam -- now integrated with ULX SVN!
« Reply #36 on: August 15, 2010, 06:11:10 PM »
I have 13 groups and I get this error in my servers console.

Code: [Select]
ERROR: Hook 'UTeamInitialize' Failed: addons\ulx\lua\ulx\modules\uteam.lua:92: attempt to index local 'key' (a number value)
Removing Hook 'UTeamInitialize'

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam -- now integrated with ULX SVN!
« Reply #37 on: August 15, 2010, 09:31:09 PM »
I have 13 groups and I get this error in my servers console.

Code: [Select]
ERROR: Hook 'UTeamInitialize' Failed: addons\ulx\lua\ulx\modules\uteam.lua:92: attempt to index local 'key' (a number value)
Removing Hook 'UTeamInitialize'

One of your keys is a number value? Can you share your groups.txt file with us?
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: UTeam -- now integrated with ULX SVN!
« Reply #38 on: August 16, 2010, 07:56:29 AM »
I PMed you my txt file.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam -- now integrated with ULX SVN!
« Reply #39 on: August 16, 2010, 08:08:05 AM »
You've got the color for the gold team misconfigured, Aaron113.
Experiencing God's grace one day at a time.

Offline Chippiewill

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: UTeam -- now integrated with ULX SVN!
« Reply #40 on: August 26, 2010, 07:33:02 AM »
This is now breaking my own teams system which I have implemented separately. Every time I change ULX permissions or die my team is set to the groups team (Even though it is not setup) thus overriding my own separate teams system.

Is there a way to stop this?

Edit: Never mind, found the set team function
« Last Edit: August 26, 2010, 07:39:29 AM by Chippiewill »

Offline TeoTown

  • Newbie
  • *
  • Posts: 2
  • Karma: -1
Re: UTeam -- now integrated with ULX SVN!
« Reply #41 on: June 06, 2012, 03:02:07 AM »
Code: [Select]
ERROR: Hook 'UTeamInitialize' Failed: [@addons\ulx\lua\ulx\modules\uteam.lua:91] bad argument #1 to 'pairs' (table expected, got nil)
Removing Hook 'UTeamInitialize'
ERROR: Hook 'ULXDoCfg' Failed: [addons\ulx\lua\ulx\end.lua:43] attempt to call field 'addAdvert' (a nil value)
Removing Hook 'ULXDoCfg'

I keep getting those errors in my console when I start the server.

Here is the only team I used UTeam with;

Code: [Select]
"root_user"
{
"allow"
{
}
"inherit_from" "superadmin"
"team"
{
"name" "Owner"
"color_red" 255
"color_blue" 0
"color_green" 0
"model" "gman"
"health" 125
}

Can somebody help?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UTeam -- now integrated with ULX SVN!
« Reply #42 on: June 06, 2012, 07:58:34 AM »
According to that error, you should be having much larger issues. Run "ulx debuginfo" in the server console and paste the output here. If that command doesn't work, I'd recommend removing your data/ULib/users.txt and groups.txt files and let them recreate themselves.
Experiencing God's grace one day at a time.