Author Topic: access? need help  (Read 4154 times)

0 Members and 1 Guest are viewing this topic.

Offline .chaos

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
access? need help
« on: January 20, 2007, 03:44:27 PM »
first things first this is my first time running a dedicated server, so in other words the solution is probably sitting clearly in my face  :P

stuff to tell you

it's DEDICATED

versions : ULX v3.02 , ULib v2.03

status
hostname:  test server
version : 1.0.0.0/7 2992 secure
udp/ip  :  192.168.254.2:27015
map     :  freespace06_v2-1 at: 0 x, 0 y, 0 z
players :  1 (3 max)

# userid name uniqueid connected ping loss state adr
#  2 ".chaos" STEAM_0:1:10319043 06:33 32 0 active 192.168.254.2:27006

lua_run PrintTable( ULib.ucl )
> PrintTable( ULib.ucl )...
passTimeout   =   function: 027675D8
addAccessCallback   =   function: 027671D0
checkAuth   =   function: 02766FA8
callbacks:
      1   =   function: 027683E8
groups:
      admin:
            allow:
            deny:
      superadmin:
            allow:
            deny:
addUser   =   function: 02766A38
awaitingauth:
addGroup   =   function: 02766A20
authed:
users:
query   =   function: 027670B0
removeUser   =   function: 02767D40
probe   =   function: 02767D70
checkPass   =   function: 02767F68
callCallbacks   =   function: 02767638

lua_run PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )
> PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )...
admin:
superadmin:

I added my steam id to the garrysmod\settings\users.txt i double checked my steam id to make sure i didn't forget any thing

what all do i need to do so that i am recognized as superadmin?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: access? need help
« Reply #1 on: January 20, 2007, 04:38:27 PM »
Show us your users.txt file, it says it's empty in the code there.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: access? need help
« Reply #2 on: January 20, 2007, 04:40:42 PM »
You've apparently not added yourself correctly to <gmod server>/settings/users.txt
Make sure you edited your dedicated server/garrysmod/settings/users.txt, NOT your normal game path <username>/garrysmod/garrysmod/settings/users.txt

If that's not the problem, please post your settings/users.txt from your dedicated server folder here. Full thing for now.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline .chaos

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: access? need help
« Reply #3 on: January 20, 2007, 05:20:52 PM »
"Users"
{
   //
   // This is your users file
   //
   // You can use this file to add people as admins on your server
   // Add them to the relevant section
   //
   // If you're a Lua coder you can add your own sections and use them
   // in your script by doing pl:IsUserGroup( "admin" ) etc
   //

   "superadmin"
   {
      //"garry"         "STEAM_0:1:7099"
      //".chaos"         "STEAM_0:1:10319043"
   }
   
   "admin"
   {
      //"garry"         "STEAM_0:1:7099"
   }

}

thats the users .txt from my server

just how the wiki showed it

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: access? need help
« Reply #4 on: January 20, 2007, 05:32:45 PM »
Take off the '//' in front of your name and you're set. ;)
Experiencing God's grace one day at a time.

Offline .chaos

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: access? need help
« Reply #5 on: January 20, 2007, 05:37:06 PM »
thank you!!!!!  :D :D :D

Offline Mank

  • Full Member
  • ***
  • Posts: 209
  • Karma: 9
    • Ulysses Mod!
Re: access? need help
« Reply #6 on: January 21, 2007, 11:59:06 AM »
I realised you said your IP is 192.168.x.x, I hope you realise your server isn't on the internet, right?
If you doubt your powers you bring powers to your doubts.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: access? need help
« Reply #7 on: January 21, 2007, 12:17:54 PM »
Mank, when I run one, my server is 192.168.x.x
Just not my public ip/router that points it to there. :P

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming