Author Topic: Unauthed player  (Read 8852 times)

0 Members and 1 Guest are viewing this topic.

Offline JR

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Unauthed player
« on: December 28, 2009, 11:03:54 AM »
Ever since I upgraded to SVN, I got this error.

Code: [Select]
ULib/shared/sh_ucl.lua:46: [ULIB] Unauthed player
Line 46 is
Code: [Select]
if not ucl.authed[ ply:UniqueID() ] then return error( "[ULIB] Unauthed player" ) end -- Sanity check
When I connect:
Hey 'cc=jr' - You're in the 'superadmin' group on this server.

But, I can't even !menu, I can't do ulx noclip in console, I can't do anything.

If this isn't a SVN problem then sorry for posting it here.


*EDIT*

Well this is what it says when i start up my personal server which is dang near my hosted one.



« Last Edit: December 28, 2009, 11:09:12 AM by JR »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unauthed player
« Reply #1 on: December 28, 2009, 04:04:59 PM »
JR, much has changed in the way ULib stores data for its groups, users and registered commands.
Once you upgraded to SVN, did you at any point in time copy over the files in your gmod/data/ULib directory with old files from Pre-SVN?
It looks as though you have corrupted gmod/data/ULib files, or have edited addons/ULib/data/Ulib files and shouldn't have.

Just as a test, shut down your server (test or otherwise), remove your gmod/data/ULib folder, restart server and let it rebuilt.
May try clean SVN checkout again too. Might have mixed files.

Did you also get SVN of ULX I presume you're using SVN of ULib, or I believe URestrict would complain similarly.
« Last Edit: December 28, 2009, 04:13:39 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JR

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: Unauthed player
« Reply #2 on: December 28, 2009, 05:06:59 PM »
Do you think completely removing and bringing back would fix it?
Because I'm willing to do so.

And I did delete the ulib data folder (not in addons) before i even posted this :D
I also tried new svn.

What is every single directory that I can access where i can delete ulx/ulib so I can start over fresh?

I am using svn ulib urestrict and ulx


And this would be right for users.txt right?

Code: [Select]
"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"
{
"CC=JR" "STEAM_0:0:15069796"
"BIG Waffle Man" "STEAM_0:0:16790264"
}

"admin"
{
//"Vir" "STEAM_0:1:23680703"
}

        "vip"
{
//"Vir" "STEAM_0:1:23680703"
}
}
« Last Edit: December 28, 2009, 05:13:46 PM by JR »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unauthed player
« Reply #3 on: December 28, 2009, 05:30:25 PM »
As long as that particular users.txt is _only_ in gmod/settings/, yes, that is proper.
ULib's /data/ULib/users.txt is totally different one though named the same.
(You realize you have Vir commented out, right? // = comment, also, no need to list him in two groups)

See our FAQ for how to totally remove ULib/ULX.
http://forums.ulyssesmod.net/index.php/topic,3071.msg8725.html#msg8725
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JR

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: Unauthed player
« Reply #4 on: December 28, 2009, 05:32:25 PM »
Yes i know i have him commented out, its for template and pure lazyness :D

I will edit this post and tell you how it goes ;0

100% working just like before svn.
Thank you.
« Last Edit: December 28, 2009, 05:41:08 PM by JR »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unauthed player
« Reply #5 on: December 28, 2009, 06:21:48 PM »
Not 100% perhaps, SVN does have known issues (though, honestly, I've not looked at the commit logs lately, Megiddo might have gotten industrious over the holiday)
Things (I think) I know of that may not be working.
gimp
adverts
votemap addition
log echo settings
reserved slots and settings
several other things I can't remember but could look up.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JR

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: Unauthed player
« Reply #6 on: December 28, 2009, 06:30:43 PM »
Now when i add the group "loved" with the exact permissions as user, urestrict doesnt work.

I type URestrict in console and
Unknown Command: 'URestrict'
Looking at the ftp URestrict is there........

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Unauthed player
« Reply #7 on: December 28, 2009, 08:54:33 PM »
What was the problem? He was using users.txt from the settings folder in the ULib users.txt?
Experiencing God's grace one day at a time.

Offline JR

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: Unauthed player
« Reply #8 on: December 28, 2009, 08:59:34 PM »
Nah, i guess i was using an old version? Idk

and it was groups not users

Offline MonkeyApocalypse

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Unauthed player
« Reply #9 on: July 01, 2010, 06:28:40 AM »
Hello,

I recently purchased a server which gave me the option to install ULX SVN. When I try to go onto the server I receive the same error as stated in the above topic. I have tried reinstalling completely and have made little improvement (Now the MOTD will show up but it still gives me the error in console).

I have added myself as a superadmin in the user.txt in the settings fold and restarted the server. I have also tried manually adding myself as admin using rcon in the server but receive the same message.

Note: When uninstalling the data files like told to do so from the FAQ there was no ULX folder in the data section. I am looking in there now after the reinstall and it shows only a ulx_logs folder with a text called 07-01-10.txt inside and nothing in it.

Just to clarify the error that I was re furring to is
Quote
ULib/shared/sh_ucl.lua:46: [ULIB] Unauthed player

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Unauthed player
« Reply #10 on: July 01, 2010, 06:43:58 AM »
Are you sure you're using the latest ulx and ulib svn? This issue was related to garry's datastream being broken, but we've started rolling our own datastream since then. Who do you get your hosting through out of curiosity?
Experiencing God's grace one day at a time.

Offline MonkeyApocalypse

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Unauthed player
« Reply #11 on: July 01, 2010, 06:45:52 AM »