ULX

Author Topic: Can't get admin tried many times!  (Read 3154 times)

0 Members and 1 Guest are viewing this topic.

Offline DemonicWinna

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Can't get admin tried many times!
« on: July 22, 2007, 11:40:35 PM »
I bought a server from www.artofwarcentral.com and i uploaded the users.txt for data/ulib/users.txt and the original users.txt in settings with my steam id in both of them and i can't get it to work!!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Can't get admin tried many times!
« Reply #1 on: July 23, 2007, 12:16:06 AM »
Read the sticky.
Experiencing God's grace one day at a time.

Offline DemonicWinna

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Can't get admin tried many times!
« Reply #2 on: July 23, 2007, 02:05:11 AM »
I did and the status
lua_run PrintTable( ULib.ucl )
lua_run PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )

Those Commands don't do anything in my console.
I got my account working for the admin on ULX but it doesn't save new admins to the .txt when i use rcon ulx adduser "username" "group" it sometimes doesn't work and when it does it does not save it.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Can't get admin tried many times!
« Reply #3 on: July 23, 2007, 05:53:13 AM »
Make sure that the user account that the game is running under has write access to <gmod>\data\ulib\users.txt
Those commands must be run from the server, so it would be "rcon lua_run blah", unless you can see the server console.
Until you get things sorted out, I strongly recommend finding a way to view the server console, not using rcon/your client console.
You may need help from your hosting company on how to do that.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Can't get admin tried many times!
« Reply #4 on: July 23, 2007, 11:08:11 AM »
Yah you have to use those commands on the server console, as the sticky says.
Experiencing God's grace one day at a time.

Offline DemonicWinna

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Can't get admin tried many times!
« Reply #5 on: July 23, 2007, 05:24:45 PM »
Sorry,I didn't know i had to use rcon "command" i thought i could do it normally