Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: ryan722 on April 30, 2015, 05:31:25 PM
-
Hey all,
I apologize in advance if this has already been asked or solved, I've done a fair share of research, and personally have been unable to find a solution to this problem.
I'm hosting my own TTT server using SteamCMD, and am currently in the process of configuring ranks, permissions, addons, etc.
What I noticed, however, is that, each time after setting myself to superadmin, when the map is changed or the server reset, it goes away. I've reinstalled ULX, both beta and stable release, a few times. In addition, I've made sure to give Windows write access to the server folders. I've set myself as superadmin in the users.txt file, but even then, new groups don't save.
Looking in my server folder, I was unable to find a data folder, which I know is supposed to be there. While I suppose I could just copy the folders from ULX and ULib into a data folder, I'd much prefer to find the problem here, so I can add the ranks and change permissions directly from XGUI.
I have tried doing Step 4), located here (http://forums.ulyssesmod.net/index.php/topic,383.0.html), although it didn't seem to work. What I did is create a data folder in GarrysModDS\garrysmod and copy the data contents from both ULX and ULib into it. Then, as per the instructions of Step 4), I changed the name of the group.txt file (I wasn't able to find the misc_registered.txt, for some reason). As I said, however, for some reason this didn't work.
Any help solving this problem would be much appreciated. Please let me know if I messed something up or missed something blatantly obvious.
Thanks
EDIT: Forgot to add, I did try to do ulx debuginfo in the serve console, and it said it was written to garrysmod\data\ulx, but I looked in there and was unable to find it. I think this may have something to do with how I created the data folder, but I'm not sure.
-
Can you show us a screenshot of what your server's data folder looks like right now? Also, you haven't messed with anything in addons/ulib/data right?
Do you see any errors in your server console?
-
Can you show us a screenshot of what your server's data folder looks like right now? Also, you haven't messed with anything in addons/ulib/data right?
Do you see any errors in your server console?
Hey, Aaron. Thanks for responding.
(http://i.imgur.com/2zdJx67.png?1)
(http://i.imgur.com/40X1lJv.png?1)
(Excuse the poor quality, I didn't want to take up the whole page)
In the data folder, I simply copied and pasted the data folders from ULX and ULib. In the ULib folder, you can see that the groups.txt folder is spelled grouys.txt. This was my attempt at getting ULX to rebuild the data folder.
Addons\ULib\data is completely untouched.
There are errors, but none I can remember from ULX.
Any ideas?
EDIT: Here are logs from the server console. I have some broken stuff, but I don't know what would be causing the ULX problem.
(http://i.imgur.com/NRIhOa9.png)
(http://i.imgur.com/wGAH8Cd.png)
-
You copied the text files? They should have been automatically generated. Perhaps this is your problem?
Otherwise a peak in groups.txt should give us some answers.
-
You copied the text files? They should have been automatically generated. Perhaps this is your problem?
Otherwise a peak in groups.txt should give us some answers.
That's what I'm thinking. Nothing was automatically put in the data folder. In fact, there wasn't even a data folder there until I created one.
//ATTENTION! This is a default file. DO NOT EDIT THIS FILE!!!
//Instead, edit the version in <garrysmod root>/data/ULib/groups.txt if it exists. If it doesn't, copy this file over to create it.
//IF YOU MAKE CHANGES TO THIS FILE THEY WILL BE ERASED!
"operator"
{
"allow"
{
}
"can_target" "!%admin"
}
"admin"
{
"allow"
{
}
"inherit_from" "operator"
"can_target" "!%superadmin"
}
"superadmin"
{
"allow"
{
}
"inherit_from" "admin"
}
"user"
{
"allow"
{
}
}
Here's the groups.txt file from addons\ulib\data\ulib
-
Yeah, you are going to have to delete any files you may have copied into the data folder yourself. Theoretically, that should fix the problem.
-
Yeah, you are going to have to delete any files you may have copied into the data folder yourself. Theoretically, that should fix the problem.
Well, I deleted all content in the data folder, leaving the folder itself. I went on the server and created a new group, "manager", which inherits permission from superadmin. I then force changed the map from the server, and the rank was gone.
Looking in the files, the data folder is still empty.
-
Can you try a reinstall as well? It seems like you edited something you shouldn't have... if that doesn't work, something else is going on.
-
Can you try a reinstall as well? It seems like you edited something you shouldn't have... if that doesn't work, something else is going on.
I've tried a few ULX reinstalls, but I'll try another one just to make sure.
I did a fresh install from Ulysses, using the latest stable versions of ULX and ULib.
After starting the server and joining, I set myself to superadmin, and forced a map change. Upon rejoining, my rank was once again gone.
-
With a fresh install of ULX/ULib and no existing data files, you should not be having any problems. As long as you are not editing anything manually and you are using the commands.
My next guess would be a conflicting addon. Perhaps removing them one by one and restarting the server each time would solve the issue.
I propose you remove ALL addons first and see if you still have the issue. Then you know it isn't addons if you still have the issue.
-
With a fresh install of ULX/ULib and no existing data files, you should not be having any problems. As long as you are not editing anything manually and you are using the commands.
My next guess would be a conflicting addon. Perhaps removing them one by one and restarting the server each time would solve the issue.
I propose you remove ALL addons first and see if you still have the issue. Then you know it isn't addons if you still have the issue.
I actually don't have any addons currently. I'm not at home at the moment, but if I remember correctly, the only things I edited are:
-Added a rank column to the scoreboard
-Added a file to the main directory with the text "4000" inside
-Changed knife damage to 200
-Added a file in lua/autorun for chat tags
I may have added more, I'll recheck when I get home in a few hours.
If it comes down to it, I may just reinstall the whole server. Would the batch file possibly be causing this problem?
-
I've no clue what your original issue is, but the fact I saw you mention your server did not have a data folder until you created it tells me there is a major issue, likely beyond ULib's control.
It sounds like Gmod doesn't have permissions to modify the server folder as it should. (It needs more than just access to create /data, it creates a /downloads and some other folders while it's running/starting up too)
The only files we ever might recommend copying and then editing are some of the behind the scenes configuration text files.
Even that now though is often discouraged, as a majority of the settings allowed in those can now be done through XGUI (once you have ULX running proper)
-
I've no clue what your original issue is, but the fact I saw you mention your server did not have a data folder until you created it tells me there is a major issue, likely beyond ULib's control.
It sounds like Gmod doesn't have permissions to modify the server folder as it should. (It needs more than just access to create /data, it creates a /downloads and some other folders while it's running/starting up too)
The only files we ever might recommend copying and then editing are some of the behind the scenes configuration text files.
Even that now though is often discouraged, as a majority of the settings allowed in those can now be done through XGUI (once you have ULX running proper)
Thanks for your insight. It is a weird situation, I have no idea what the problem would be. Do you have any suggestions as to what I could do to fix this?
-
Welp, I've found the solution.
I looked once more at permissions, and, while it said "Full Control", it turns out that the actual user didn't have full access. So, upon granting it and restarting the server, ULX and ULib folders were placed in \data.
Anyway, thanks to anyone who helped. Sorry to trouble you guys.
-
Glad you found it.
No trouble for this community.
We enjoy questions with legitimacy that require some thinking.