ULX

Author Topic: Help! Renamed "superadmin" in-game !menu  (Read 6891 times)

0 Members and 1 Guest are viewing this topic.

Offline VonTreece

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
Help! Renamed "superadmin" in-game !menu
« on: January 20, 2014, 03:21:22 AM »
So I had the brilliant idea to rename the ranks from the in-game menu. (!menu)

I tried renaming "superadmin" to "owner" which instantly crashed my server causing hordes of lua script errors.

I've looked through every config file I could think of and can't find any way to fix or rename it back to how it originally was.

I then tried restarting my server and logging back on.

It worked and said I was a "superadmin", but when I opened up the menu, it didn't allow me to use any superadmin configuration.

Is there any way to fix it or do I have to completely reinstall it?

Also, here's the console log if it helps:




On a side note, is there a way to rename the ranks without breaking my server?

Offline syn.

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 6
  • Lua Padawan
    • SynGaming
Re: Help! Renamed "superadmin" in-game !menu
« Reply #1 on: January 20, 2014, 08:29:07 AM »
wait it crashed? or did it kick you for lua errors. because at the bottom I see you got kicked for Lua errors. to stop it from kicking you do sv_kickerrornum 0. If the group "owner" still exists
it probably has most of the permissions so I would try adding yourself to "owner: on your server console. I might be completely wrong and if it doesn't help sorry I'm sure jam, or Megiddo, or president will be on soon. -sorry if it doesn't work :-\ -syn
Lua Student

"The more you understand, the crazier you get."

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Help! Renamed "superadmin" in-game !menu
« Reply #2 on: January 20, 2014, 08:57:27 AM »
Type ulx resettodefaults from the server console then restart the server

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help! Renamed "superadmin" in-game !menu
« Reply #3 on: January 20, 2014, 09:02:04 AM »
From server console (not in game), run "ulx resettodefaults"
You'll need to rebuild any custom groups you had.
There's also this FAQ, but it may remove any 3rd party ulx addon data we're not aware of stored there.

Additionally, I strongly reommend reading this thread.
The entire post is educational.
http://forums.ulyssesmod.net/index.php/topic,6291.0.html
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline VonTreece

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
Re: Help! Renamed "superadmin" in-game !menu
« Reply #4 on: January 20, 2014, 01:23:45 PM »
I tried typing in the "ulx resettodefaults" in the console, but nothing happened.. Am I typing it wrong?

Decided to do a quick recording just to show exactly what i'm doing. v

https://www.youtube.com/watch?v=ULBMDBBYsIE&feature=youtu.be



UPDATE:

I decided to manually reinstall ULiB/ULX and now it works fine.
However, I noticed that there is no UTeam file?
How do I change the appearance of superadmin so that it displays "owner"?
« Last Edit: January 20, 2014, 02:38:17 PM by VonTreece »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Help! Renamed "superadmin" in-game !menu
« Reply #5 on: January 20, 2014, 03:44:51 PM »
What gamemode are you running? If you are running sandbox or a sandbox themed gamemode, you can setup teams in the !xgui menu. If not, you will have to use whatever is appropriate for that gamemode.

Offline VonTreece

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
Re: Help! Renamed "superadmin" in-game !menu
« Reply #6 on: January 20, 2014, 06:57:41 PM »
Ah! That explains it.. I've been jumping between Murder and TTT.

Well.. Problem solved! Thanks everyone for your replies!