ULX

Author Topic: Problem with getting access.  (Read 3475 times)

0 Members and 2 Guests are viewing this topic.

Bredal

  • Guest
Problem with getting access.
« 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

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Problem with getting access.
« Reply #1 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".
« Last Edit: January 02, 2007, 12:07:57 PM by spbogie »
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 amburgers

  • Newbie
  • *
  • Posts: 33
  • Karma: -12
Re: Problem with getting access.
« Reply #2 on: January 06, 2007, 01:19:02 PM »
is bredal snoop-staby-stab?

Offline amburgers

  • Newbie
  • *
  • Posts: 33
  • Karma: -12
Re: Problem with getting access.
« Reply #3 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

EscudoDenali

  • Guest
Re: Problem with getting access.
« Reply #4 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?

Offline amburgers

  • Newbie
  • *
  • Posts: 33
  • Karma: -12
Re: Problem with getting access.
« Reply #5 on: January 06, 2007, 07:34:21 PM »
try my adding admin post

Offline amburgers

  • Newbie
  • *
  • Posts: 33
  • Karma: -12
Re: Problem with getting access.
« Reply #6 on: January 06, 2007, 08:13:32 PM »
dont know how to do groups thought :(

Offline JamminR

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

Offline amburgers

  • Newbie
  • *
  • Posts: 33
  • Karma: -12
Re: Problem with getting access.
« Reply #8 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  ???