Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Perodua Man on March 20, 2009, 03:28:55 PM
-
On my server i used an older version of Ulx and ULib. then i upgraded to the SVN version how ever. i've edited the users.txt files to make me a super admin but it just resets. it makes me a normal player each time. so i made myself a super admin through my RCON console and after i leave or restart the server the exact same happens. reset to a normal client. and it applies to ALL of my friends / staff
-
Make sure your server has write access to <gmod>\data\ULib
What errors do you get after leaving and coming back?
Depending on how old the version you were using is, you may wish to rename your \data\ULib to test.
Does 'ulx who' show you or anyone as admin?
Which file are you editing? Edit the wrong one, and it can break stuff or get overwritten.
See our FAQ "Having trouble with access? (http://forums.ulyssesmod.net/index.php/topic,383.0.html)" and follow all the steps there. Come back with the results.
-
older versions never did this to me. and i did an ulx who check. i'm immune but no admin. its strange. should i just remove and reinstall? could i be installing it wrong? any advice atall
-
im meting the same error with revision 25 svn, as soon as i updated, anyone who i tried to add was added to groups as the group in user.txt then when they left it would revert
also !menu only shows motd button when your a admin/superadmin as well
-
that's my exact same error. now my friend however uses the exact same version. and he has no problems ATALL . strange
-
settings/users.txt is overriding any other settings in rev 25. If you don't want that behavior, set ULib.UCL_LOAD_DEFAULT to false in defines.lua. For most people's purposes, this works out to be the better behavior.
-
Excellent, thankyou for the fix.
-
Tried the fix, still doesn't work :/
-
did you edit the 2 defines.lua files or just 1 of them?
-
It's not a fix, it's merely a different behavior. If you want to change it, change it under shared.
-
Well I have the same problem too,I have tried everything but everytime I rejoin my server I loose my admin status as well as other admins so I have to re-add them everytime they rejoin.This is quite annoying,is there any other way to fix this?
-
I have the same problem. I asked Megiddo about it. I even tried the fix: http://www.facepunch.com/showthread.php?t=716917 but then I get a different class tables error. When I set ULib.UCL_LOAD_DEFAULT to false everything works, except then everyone's binds don't work. Very strange. I've been trying since Monday. If I come up with anything you'll be the first to know.
-
Well, I fixed it by copying all my files over from my other server. Not sure what that accomplished. I'll look into it more tomorrow.
-
This is one odd bug(as a bug it must be).
I was trying to help Perodua Man with his server when he told me he was having issues with it.
The weird thing was that when we added me as admin, my access level stayed over reconnects and mapchanges, and everything worked just fine.
But when we added him(Perodua Man) as superadmin, his admin level was lost every time we changed map/he reconnected, and we tried everything, including removing the data\ulib\users.txt file, setting the users.txt up manually, completely redownloading ulx and ulib, removing all other addons, and lua scripts, removing everything in the data dir, and so on.
Nothing would fix it, oddly enough.
Now a few weeks later, I'm experiencing the same problems on my server
I've have been running it with ulx svn since forever, and so I have a set of admins(and myself as superadmin), but since some svn update, no players I add(ingame or manually through file) keep their admin status after reconnect, or mapchanges.
Though all older admins I have keeps their status(users.txt file corruption perhaps?).
I've also tested this, by joining the server with another account of mine, then running rcon ulx adduser freefry admin 0, which adds me as an admin without immunity just fine(I can use all admin features for that access level), BUT when I reconnect, my access is lost, and I'm reverted back to a normal user. (same if the server is restarted/changing map).
Now, I've noticed one... anomally should we call it, and it resides within the data\ulib\users.txt file, which I have attached.
The anomally is with users with 'special' characters in their names, as for example with my steam name, it contains a " character, and ulib/ulx seems to readd my entry, forever, with alot of \\ infront of the " character.
-
Read my post here: http://forums.ulyssesmod.net/index.php/topic,3969.0.html
And see what that does. I was having the same problem a few days ago and I sorted it out. I had the " and // problem as well. It fixed that. Be sure to delete the ulib folder in data when the server is off.
-
I've not spoken with Megiddo directly, but my understanding is this, from http://forums.ulyssesmod.net/index.php/topic,3944.msg14075.html#msg14075 , if you follow the Gmod wiki instructions for adding admins to a server, (editing gmod/settings/users.txt which we point to repeatedly here in the forums and our ULX_readme.txt ), this will override anything you've tried to add custom using ULX adduser.
Check your gmod/settings/users.txt
If you're there, ULX will set you as the lowest group there.
That file is not a ULX file. It's Gmod.
That's my understanding of what Megiddo said. I've not looked at our code in some time, and could be wrong.
-
K,I got it working.Tas was right when you set ULib.UCL_LOAD_DEFAULT to false it does work and your admin status is saved It was my bad that I didn't get to work in the first time as I had put a . before false by accident but now it's all working fine.
-
I can confirm, this fixed it, now my users.txt file is not spammed with all users that connects, and neither does it repeatedly re-add users with special chars in their name.
Thanks for this. :)
-
That indeed fixed it! problem solved.... Now for the menu....
-
This fixes it if you edit the one in shared. Any user who joins downloads the lua that you edited. When I did it I still have problems so I just deleted everything and started fresh edited that lua and it worked. Good luck.