Author Topic: unatuhed player  (Read 4481 times)

0 Members and 2 Guests are viewing this topic.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
unatuhed player
« on: June 22, 2016, 11:50:28 AM »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

My ULib/ULX versions (run "ulx version" in console):
ULib v..
ULX v..

Game mode(s) I am having this problem on:Nutscript

Lua errors shown in console, if any:
[ERROR] Unauthed player
  1. query - [C]:-1
   2. fn - lua/ulx/modules/sh/util.lua:441
    3. unknown - lua/ulib/shared/hook.lua:110

ok so ive been haveing this problem where i cant use my menu or my phys gun even though im a superadmin/owner if someone changes me into admin than superadmin than im fine but i cant do anything someone please help

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: unatuhed player
« Reply #1 on: June 22, 2016, 03:57:58 PM »
Are you getting any errors further up in the server startup process?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: unatuhed player
« Reply #2 on: June 22, 2016, 03:59:36 PM »
What causes this (The Unauthed Bug) is something breaking the PlayerAuthed hook.

Something is loading before ULX and breaking this hook causing ULX/ULib not to be able to properly authenticate your players and this bug happens.
Since it is not a problem with ULX/ULib, the only way to fix it is to find the addon that breaks it.
Even if we had a list of addons you use, we can't tell which one is broken on YOUR server.

Look further up in your console log when the server starts. You may have additional errors that could help. Otherwise, your only option is to do what syst3M4TiK suggests and start with a fresh install (No addons other than ULX/ULib) then start adding addons back in a few at a time until the errors start happening.

You don't need to do them one at a time. You can do 3 or 4 at a time. Then when you find the 'group' of addons that causes the issue, you can narrow your search.

Good luck.

Basically what I'm saying is you have an addon that is broken.
Remove ALL of your addons except ULX/ULib and start putting them back 1 at a time until you find which one is breaking.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #3 on: June 23, 2016, 01:30:45 PM »
it works for everyone else and its on my server its all the same mods i normally use but now for some reason it doesnt work also like i said if some one makes me admin than owner again it works
« Last Edit: June 23, 2016, 01:35:41 PM by multi »

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: unatuhed player
« Reply #4 on: June 23, 2016, 03:56:21 PM »
Yes, it works after someone changes you to another group and then back to owned because the PlayerAuthed hook is only run when a player is first connecting.

Follow MrPresident's advice; remove all your addons except ULX and ULib, then start adding them back on one by one until you find the culprit.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #5 on: June 24, 2016, 04:24:10 PM »
i did that but it still doesnt work now im getting the error that the addin exists in 2 seprate folders

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: unatuhed player
« Reply #6 on: June 25, 2016, 02:02:11 AM »
i did that but it still doesnt work now im getting the error that the addin exists in 2 seprate folders

Could you paste the exact error here, please?



off-topic:

This 60 second IP block is really irritating. I get it's necessary to block spam, but I always end up in a seemingly inescapable loop of being denied for either "you have already submitted that post!" or attempting to post within the last 60 seconds. SMF programmers could have done better.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #7 on: July 06, 2016, 06:59:28 AM »
[ERROR] Unauthed player
  1. query - [C]:-1
   2. fn - addons/ulx/lua/ulx/modules/sh/util.lua:407
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:108


Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: unatuhed player
« Reply #8 on: July 06, 2016, 07:06:55 PM »
[ERROR] Unauthed player
  1. query - [C]:-1
   2. fn - addons/ulx/lua/ulx/modules/sh/util.lua:407
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:108

How many addons do you have on your server?
Could we get a list of all the addons?
Do you have any addons that use NextBot?

Please get your sever startup logs so we can see if there are any other errors on startup.
Also are you running with NFO by any chance? I've googled the error and found that some people got this issue when not installing ULX via the control panel on an NFO server.

While I was looking for the links to link the lines in your error, I found that error number 3 seems not to make any sense at least not with the line number it is indicating. Is your ULX up to date?


Also so we have slightly more insight please try running the following code through rcon while you are on the server, and paste what it outputs here. (Even if it is an error.)
Code: [Select]
ulx versionThis will tell us what version of ULX you are running.
Code: [Select]
lua_run local u = ULib.getUser('multi') print('UCL T1: ',ucl.query(u, 'ulx ban', true)) print('UCL T2: ',ucl.query(u, 'ulx help', true)) ucl.getUserInfoFromID(u:UniqueID())Assuming your name is "multi" on the server this will test if you have access to some simple commands as well as print out info about your group/rank.
« Last Edit: July 06, 2016, 07:14:38 PM by LuaTenshi »
I cry every time I see that I am not a respected member of this community.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #9 on: July 07, 2016, 02:23:23 PM »
all the errors im getting are the one i showed you and a variation on that which says [ERROR] Unauthed player
  1. query - [C]:-1
   2. refresh - addons/ulx/lua/ulx/xgui/commands.lua:299
    3. unknown - addons/ulx/lua/ulx/xgui/commands.lua:388
     4. include - [C]:-1
      5. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:111
       6. Call - addons/ulib/lua/ulib/shared/hook.lua:108
        7. fn - addons/ulib/lua/ulib/cl_init.lua:48
         8. unknown - addons/ulib/lua/ulib/shared/hook.lua:108

and all the mods i use on my server are here http://steamcommunity.com/sharedfiles/filedetails/?id=669520998



and because of the error it wont let me type in ulx version
« Last Edit: July 07, 2016, 02:25:04 PM by multi »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: unatuhed player
« Reply #10 on: July 07, 2016, 04:12:31 PM »
If you remove ALL addons except ULX and ULib you still get this error?

Or did you remove them and then add them back and test? Because that's not what I said to do.

I've worked with this problem lots of times.. you've got something breaking in your InitialSpawn hook. It may only be affecting you if it's in some kind of loading scipt that is loading data on your player. Maybe something in that data is corrupt. This is not a ULX issue though. You need to find the addon that is breaking.

It could be in your gamemode too..

Please do what I asked, and remove ALL addons and change your gamemode to Sandbox and then join your server and see if you get the error.

Until you do this, we can't help you.

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #11 on: July 08, 2016, 07:22:09 AM »
ok so i did as you said and re added the addons one by one and i didnt get the error so its none of the addons its the game mode but idk what would cause nutscript to make ulx have this sort of error

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: unatuhed player
« Reply #12 on: July 08, 2016, 10:12:01 AM »
Did you try it before adding back any of the addons? You still got the error?

What about in Sandbox gamemode? Did you try that? Errors?

Offline multi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: unatuhed player
« Reply #13 on: July 08, 2016, 12:16:47 PM »
i went on sandbox with no addons the ulx worked i stareted adding them back one by one after each one i tested the server to see if it still worked and it did and i added all the addons back it was fine than once i switched the gamemode it gave me the errors

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: unatuhed player
« Reply #14 on: July 08, 2016, 03:20:17 PM »
Nutscript either has a PlayerAuthed hook that is broken or that they are improperly handling.

Unfortunately, there's nothing we can do for you here. Ask on the forums for the gamemode or contact the author.