Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: multi 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
-
Are you getting any errors further up in the server startup process?
-
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.
-
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
-
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.
-
i did that but it still doesnt work now im getting the error that the addin exists in 2 seprate folders
-
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.
-
[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
-
[ERROR] Unauthed player
1. query - [C]:-1
2. fn - addons/ulx/lua/ulx/modules/sh/util.lua:407 (https://github.com/Nayruden/Ulysses/blob/master/ulx/lua/ulx/modules/sh/util.lua#L407)
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:108 (https://github.com/Nayruden/Ulysses/blob/master/ulib/lua/ulib/shared/hook.lua#L108)
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 (https://wiki.garrysmod.com/page/NextBot_NPC_Creation)?
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.)
ulx version
This will tell us what version of ULX you are running.
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.
-
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
-
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.
-
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
-
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?
-
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
-
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.
-
copy that thank you for all your help