ULX

Author Topic: Adding myself admin in ULX (READ)  (Read 14406 times)

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Adding myself admin in ULX (READ)
« Reply #15 on: August 29, 2009, 11:51:58 AM »
Are you running the command from server console, not game console?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Syntax error

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Adding myself admin in ULX (READ)
« Reply #16 on: August 30, 2009, 05:24:59 AM »
by server console u mean pressing the ~ key while in my server right??? thats wat i do

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Adding myself admin in ULX (READ)
« Reply #17 on: August 30, 2009, 08:05:50 AM »
No, not in your game. The actual console for your server.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Adding myself admin in ULX (READ)
« Reply #18 on: August 30, 2009, 10:43:01 AM »
by server console u mean pressing the ~ key while in my server right??? thats wat i do
That depends... are you renting the server from a company? (You may have stated this already somewhere, I didn't review)
That means it's a dedicated server, and you need to find out how to access the server console.
I remember you did mention rcon previously... if you've run the command "rcon ulx debuginfo" after your rcon password command... that will work to.

If you are starting Gmod, then clicking the "Start multiplayer game" button, that is considered a listen server, and pressing ~ while playing counts as "server" console (even though its also the 'game' console)

Either way, figure out which type of server you have, and run that command, then look for a file in <gmod>/data/ulx/debuginfo.txt
When you run the command properly (from the server console), it should tell you where it placed it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Syntax error

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Adding myself admin in ULX (READ)
« Reply #19 on: August 30, 2009, 03:31:03 PM »
yes i am renting a server from a company

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: Adding myself admin in ULX (READ)
« Reply #20 on: August 30, 2009, 04:16:46 PM »
Go into the GP (Game Panel) click server administration enter the RCON password, then run this command:

Code: [Select]
ulx debuginfo
Then follow the step it gives you.

Offline Syntax error

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Adding myself admin in ULX (READ)
« Reply #21 on: August 31, 2009, 08:22:47 PM »
Ok i did wat u told me bennie but it came up with this

ulx\modules/util.lua:304: attempt to call field 'GetAll' (a nil value)

Any1 have any ideas??? >:(

i just tried the adduser cmd too ulx adduser "name" "superadmin 1 and it came up with ULib/shared/player.lua:88: attempt to call field 'GetAll' (a nil value)
« Last Edit: August 31, 2009, 08:43:01 PM by Syntax error »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Adding myself admin in ULX (READ)
« Reply #22 on: August 31, 2009, 08:24:56 PM »
One of your lua scripts is removing the 'player' library. Try removing everything but ULX and ULib.
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: Adding myself admin in ULX (READ)
« Reply #23 on: August 31, 2009, 08:39:05 PM »
One of your lua scripts is removing the 'player' library. Try removing everything but ULX and ULib.
Or, no one was on the server?
Syntax error, as the directions of the FAQ say..."while someone experiencing the problem is connected"
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Syntax error

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Adding myself admin in ULX (READ)
« Reply #24 on: August 31, 2009, 10:38:08 PM »
I got it working.....(about time)
Thanks:

Bennie900
Megiddo
JamminR &
jay209015 ;D

but just 1 thing when it says hey "name" your apart of the "group" group when you get on ur server

where it says "group" it says superadmin 4 me.
when i change a ulx thing like # of props it says
(ADMIN) blah blah blah (not literally but the brackets yes)
is it meant to say admin or super admin since im superadmin?
« Last Edit: September 01, 2009, 02:53:39 AM by Syntax error »

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: Adding myself admin in ULX (READ)
« Reply #25 on: September 01, 2009, 03:39:28 AM »
If it says some thing along the lines of:
Quote
Hey 'ben' - You're in the 'serverowner' group on this server.

Then this is the defult users.txt file. It has nothing to do with ULX.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Adding myself admin in ULX (READ)
« Reply #26 on: September 01, 2009, 05:22:20 AM »
where it says "group" it says superadmin 4 me.
when i change a ulx thing like # of props it says
(ADMIN) blah blah blah (not literally but the brackets yes)
is it meant to say admin or super admin since im superadmin?

It always says ADMIN now matter what group you're in.
Experiencing God's grace one day at a time.

Offline Syntax error

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Adding myself admin in ULX (READ)
« Reply #27 on: September 01, 2009, 06:45:43 AM »
OK thx  ;D