Ulysses Stuff > Ulysses Release Archives

UTeam - Set teams based on usergroup.

<< < (6/52) > >>

JamminR:

--- Quote from: The Soup on April 12, 2007, 01:13:24 PM ---Doesn't load?

I get Console error:

LS: -- Error running file ------------------------------------
LS: - File: autorun/server/UTeam.lua
LS: - autorun/server/UTeam.lua:21: table index is nil
LS: ----------------------------------------------------------

Help?ntax

--- End quote ---
Looks like you've edited Uteam.txt , and didn't edit it correctly. (Syntax error, etc)

The Soup:
You see, the problem is that, I didn't change anything since it last worked. Cept for copying it around a couple places. I'll go double check it.

The Soup:

--- Code: ---"Out"
{
"teams"
{
"1"
{
"name" "Admins"
"group" "superadmin"
"armor" "1000"
"hp" "200"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:1500"
"2" "WalkSpeed:1000"
}
"model" "breen"
}
"2"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "150"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"model" "prison"
}
"3"
{
"name" "Admins"
"group" "operator"
"armor" "200"
"hp" "100"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
"model" "police"
}
"4"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
}
}


--- End code ---
That's my UTeam.txt file. In the data folder.

The Soup:
Anyone have an suggestions or ideas as to what I should do?

spbogie:
In the admins team definition you have 2 }'s after player table.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version