Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Neku on December 28, 2013, 12:09:01 AM

Title: Backups
Post by: Neku on December 28, 2013, 12:09:01 AM
How often does ULX create backups of groups, bans, etc?

I'm asking because as soon as a new map loaded, everyone's
rank was set to user.

And I currently cannot access the server console due to an
issue within the server host.

So, how often are group backups made?

Or do they update with each change to the group.txt?
Title: Re: Backups
Post by: Megiddo on December 28, 2013, 08:05:16 AM
Backups are only created if ULib is trying to recover a seemingly corrupted file.

What gamemode are you running?
Title: Re: Backups
Post by: JamminR on December 28, 2013, 09:15:27 AM
Or do they update with each change to the group.txt?

Megiddo, you didn't answer one of his questions.
And, I've just looked over the ulib and ulx codebase for a few minutes and couldn't find the exact answer.
I know that the ucl.groups table is updated anytime an access change occurs due to a ulib group or access command being run, however, when is that data applied to group and or users.txt?

And, Ven01273, knowing the game mode would still help us start a path.
I've seen many posts recently for DarkRP "my group changed/reset!" issues, even with Fadmin supposedly disabled.
Title: Re: Backups
Post by: Neku on December 28, 2013, 12:12:55 PM
The gamemode is TTT, and I've already searched the forums for
something like this and I only found DarkRP issues relating to FAdmin.

This is just ULX itself, since I was pretty much locked out
of my server's console and ftp.

EDIT: I recently regained access to the ftp and found that users.txt had been wiped.
Title: Re: Backups
Post by: JamminR on December 28, 2013, 05:43:57 PM
Was it empty, or gone?

Title: Re: Backups
Post by: Neku on December 28, 2013, 05:53:58 PM
Empty.
Title: Re: Backups
Post by: Megiddo on December 28, 2013, 11:24:51 PM
When you add a user, do you see it reflected in the users.txt before a map change?
Title: Re: Backups
Post by: Neku on December 28, 2013, 11:53:36 PM
I'm going to try to recreate the issue.

And yes, since I gained access to the ftp, it has been updating
users.txt when I made a change.
Title: Re: Backups
Post by: sabo on December 30, 2013, 11:40:45 AM
I am so glad that I am using MySQL ;_;

the *.txt files in data folder are pretty much a killer for everything lol

They cause lagg/errors/and often deleted my staff/stuff....


When I had your problem I just reinstalled it and after a couple map changes it started working again... Please dont ask how lol
Title: Re: Backups
Post by: Neku on January 31, 2014, 08:34:24 PM
I know this is an old topic, but my groups seem to be getting wiped after each map change again.

EDIT: In fact, this time, everything in data/ulib has been wiped! group_backup2.txt and group_backup3.txt have also been created. They are also empty.
Title: Re: Backups
Post by: JamminR on January 31, 2014, 09:36:32 PM
This means Ulib sees something in your groups.txt, or some other ucl.groups it's reading, as corrupt.
Title: Re: Backups
Post by: Neku on February 03, 2014, 09:26:28 PM
I'm sorry, but this is becoming quite an issue, is there any known way to resolve this?
Title: Re: Backups
Post by: Stickly Man! on February 04, 2014, 11:18:38 AM
This means Ulib sees something in your groups.txt, or some other ucl.groups it's reading, as corrupt.

Unless another mod is interfering, JamminR is right. Open up your data\ulib\groups.txt file and see if you can spot any formatting errors. If you want help, feel free to PM or email me and/or JamminR and/or Megiddo your groups.txt file, and we can take a look.
Title: Re: Backups
Post by: Megiddo on February 04, 2014, 06:53:46 PM
If the backup is created, an explanation is printed to console. Check there...