ULX

Author Topic: Invalid group error.  (Read 3025 times)

0 Members and 2 Guests are viewing this topic.

Offline adiminium

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Invalid group error.
« on: March 09, 2016, 06:35:13 AM »
ULX Version: 3.70
ULib Version: 2.60

Gamemode: TTT

Hello everyone. Today out of nowhere ive recieved an error, and my TTT server is pretty broken because of it. Ive tried numerous restarts but the error still persists.
On server boot i get this error:

Code: [Select]
///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //

[ERROR] Player [DH]Dark has an invalid group (respected), aborting. Please be careful when modifying the ULib files!
  1. query - [C]:-1
   2. refresh - addons/ulx/lua/ulx/xgui/commands.lua:302
    3. unknown - addons/ulx/lua/ulx/xgui/commands.lua:391
     4. include - [C]:-1
      5. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:142
       6. Call - addons/ulib/lua/ulib/shared/hook.lua:110
        7. fn - addons/ulib/lua/ulib/cl_init.lua:49
         8. unknown - addons/ulib/lua/ulib/shared/hook.lua:110

//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   client.lua                      //
//   server.lua                      //
// Loading Gamemode Module(s)...     //
//   No module found!                //
//   terrortown.lua                  //
// Modules Loaded!                   //
///////////////////////////////////////

And then if i type anything in console with ulx before it, i also get this error:
Code: [Select]
[ERROR] Player [DH]Dark has an invalid group (respected), aborting. Please be careful when modifying the ULib files!
  1. query - [C]:-1
   2. unknown - addons/ulib/lua/ulib/shared/commands.lua:1347

Now im not sure what ULib files have been modified as im the only one with FTP access and i haven't edited a file in a few weeks and it wasnt ULX/ULib related. Also out of all the groups we have, Only 3 of them show and they are User, Regular, Veteran. The server still recognises me as a superadmin, i have all the superadmin commands, name color, tab rank, and atlaschat tags.

I also use ULX MySQL Module.

If anymore information is needed please let me know! Hopefully someone can help me fix this!

Thanks in advance!

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Invalid group error.
« Reply #1 on: March 09, 2016, 07:53:07 AM »
Do you have a 'respected' group on another server that you're using MySQL to sync with? Did you previously have a 'respected' group that you've since removed?
bw81@ulysses-forums ~ % whoami
Homepage

Offline adiminium

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Invalid group error.
« Reply #2 on: March 09, 2016, 09:46:17 AM »
We currently still do. But weve never had this error before.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Invalid group error.
« Reply #3 on: March 09, 2016, 10:15:56 AM »
We currently still do. But weve never had this error before.
Is this group on every server? Namely the one you're on when you see this error?
bw81@ulysses-forums ~ % whoami
Homepage

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Invalid group error.
« Reply #4 on: March 09, 2016, 10:17:15 AM »
If you create the group "respected", it should fix it. Whatever you're using to sync probably isn't verifying that the user belongs to a group that ULX already knows about. Since this is a developer error (not a normal user error), it gives that message rather than silently creating the group.
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: Invalid group error.
« Reply #5 on: March 09, 2016, 03:48:23 PM »
And to make sure, lua (and our code for groups) are case sensitive.
Respected is not the same as respected.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming