Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Bredal on January 02, 2007, 10:27:23 AM

Title: Problem with getting access.
Post by: Bredal on January 02, 2007, 10:27:23 AM
Are you running a dedicated server? Yes
What version of ULX and ULib do you have?   ULX:3.0   ULib:2.01
What version of Gmod do you have? Garry's Mod 10

Status:
hostname:  Building Server [Norway]
version : 1.0.0.0/7 2949 secure
udp/ip  :  193.216.49.31:27015
map     :  gm_construct at: 0 x, 0 y, 0 z
players :  1 (4 max)

# userid name uniqueid connected ping loss state adr
#  2 "?oysoldier" STEAM_0:0:8209612 10:09 36 0 active 193.216.49.31:27006


lua tprint( gUsers ):
It only says: "Unknown command: lua"

server\garrysmod\lua\ULib\users.txt:
"STEAM_0:0:8209612" "" "abcdefghijklmn" "c"



When I join my server it says in my console:

Lua initialized (Lua 5.1)
This server is running ULib version 2.01.
ULX version 3.00 loaded.

But when i type "!adminmenu" in the chat it comes like this:
"You do not have access to this command, ?oysoldier."

What's wrong? Have i placed the users.txt at the wrong place? Has it something to do that I'm "unassigned" and not "Super Admin"?

I would appreciate if someone could help me out here.  ;D
Title: Re: Problem with getting access.
Post by: spbogie on January 02, 2007, 12:05:42 PM
The format for users.txt has changed in the new version. Unfortounatly the new implementation isn't documented in the users.txt file.

Here is the format (from ucl.lua)
Code: [Select]
This section will tell you how to format your strings/files for UCLs.

Format of admin account in users.txt--
"<account_name>"
{
"id" "<name|ip|steamid|clantag>"
"type" "<name|ip|steamid|clantag>"
"pass" "<password>"
"pass_req" "<0|1>"
"groups"
{
"superadmin"
"immunity"
}
"allow"
{
"ulx kick"
"ulx ban"
}
"deny"
{
"ulx cexec"
}
}

Format of group in groups.txt--
"<group_name>"
{
"allow"
{
"ulx kick"
"ulx ban"
}
"deny"
{
"ulx cexec"
}
}

You can also simply add yourself as a superadmin in "garrysmod/settings/users.txt".
Title: Re: Problem with getting access.
Post by: amburgers on January 06, 2007, 01:19:02 PM
is bredal snoop-staby-stab?
Title: Re: Problem with getting access.
Post by: amburgers on January 06, 2007, 01:20:51 PM
and also i used the users txt and my name stays unassigned and i can use the admin page but not client
Title: Re: Problem with getting access.
Post by: EscudoDenali on January 06, 2007, 03:57:00 PM
Would it be possible for someone to explain, in more detail, exactly HOW to add users and place them in groups that show up when you press Tab?
Title: Re: Problem with getting access.
Post by: amburgers on January 06, 2007, 07:34:21 PM
try my adding admin post
Title: Re: Problem with getting access.
Post by: amburgers on January 06, 2007, 08:13:32 PM
dont know how to do groups thought :(
Title: Re: Problem with getting access.
Post by: JamminR on January 06, 2007, 08:18:21 PM
Would it be possible for someone to explain, in more detail, exactly HOW to add users and place them in groups that show up when you press Tab?

Escudo, at this point in time, no.
If you think you might be up to the challenge yourself, check out your \garrysmod\lua\ULib\server\ucl.lua file.
In it are comments for how to add/do groups.
I don't know if those groups would actually show as different teams when you press Tab. I'm pretty sure they would not, as we haven't included that functionality.
We have many other issues we're working on right now, and I believe team setting is a low priority.

Perhaps you may find another 'team' mod that works in conjunction with ULX/ and the Garrysmod/settings/users.txt at Facepunch.
Title: Re: Problem with getting access.
Post by: amburgers on January 07, 2007, 09:29:40 AM
i just read the ucl thingy had no idea what i ment or what to do its more complicated then adding admins  ???