Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Munch on October 28, 2013, 10:27:15 AM

Title: Ranks resetting on crash
Post by: Munch on October 28, 2013, 10:27:15 AM
Hi, I am having quite a serious issue with both of my DarkRP servers.

Both are 80 slot, each running on there own dedicated server, they are storing around 300 different users each (admin | vip | goldvip | superadmin | moderator) and ranks are randomly resetting, the problem mostly happens after crash/lag (DDoS attacks). It's almost like it reads part of the users.txt file but not the rest. If I re-add them to the group it will still show them as user until I remove them then re-add them.. Again making me think the data is there but isn't being loaded.

I am using latest SVN version of ULiB & ULX.
Title: Re: Ranks resetting on crash
Post by: Megiddo on October 28, 2013, 05:23:56 PM
Any errors in console? How large (in KB) is your users file?
Title: Re: Ranks resetting on crash
Post by: JamminR on October 28, 2013, 06:42:30 PM
This sounds very much like the conflict Fadmin causes. Fight of the dual admin mods. Both lose.
Try removing Fadmin. See if that fixes it.
Title: Re: Ranks resetting on crash
Post by: Munch on October 31, 2013, 02:41:23 PM
Sorry for the late reply.

My users.txt file is 20,480 bytes.
FAdmin is not enabled and never has been. (due to the conflicts)
Title: Re: Ranks resetting on crash
Post by: JamminR on October 31, 2013, 03:04:13 PM
20k is a medium size, but I wouldn't thnk a decent powered server should have trouble parsing it.
It's always possible.

And:
Any errors in console?
Server or client.

When you say resetting, does the access come back if the player who got 'reset' rejoins?
Title: Re: Ranks resetting on crash
Post by: Munch on November 18, 2013, 07:15:57 PM
Sorry for the late reply, no the players access does not return.

This is becoming a massive issue now and I really do not know what is causing it..

It is now also completely random when ranks are resetting, sometimes it happens when you leave normall, server crashes, map changes ect.. Some days 0 people lose there rank, some days 1, some days 30.
Title: Re: Ranks resetting on crash
Post by: Stickly Man! on November 19, 2013, 08:40:06 AM
Just curious, are you using any sort of sourcebans integration with ULX? Otherwise, could you send us your debuginfo.txt file? (Run ulx debuginfo on your SERVER console, then there should be a debuginfo.txt file created in your server's data folder)
Title: Re: Ranks resetting on crash
Post by: Bite That Apple on November 30, 2013, 10:48:48 AM
Sorry for the late reply, no the players access does not return.

This is becoming a massive issue now and I really do not know what is causing it..

It is now also completely random when ranks are resetting, sometimes it happens when you leave normall, server crashes, map changes ect.. Some days 0 people lose there rank, some days 1, some days 30.

Yes please share your debuginfo.txt file. I've heard of this from only one person ever, I mean EVER! So I am very curious what could be causing this.
Title: Re: Ranks resetting on crash
Post by: Munch on December 01, 2013, 11:37:57 AM
Sorry for the late reply.

I am indeed using sourcebans and have included the module I am using in the link below, it also contains the debug file you requested.

http://puu.sh/5z3Gy/44f3cd959f.rar (http://puu.sh/5z3Gy/44f3cd959f.rar)
Title: Re: Ranks resetting on crash
Post by: Bite That Apple on December 01, 2013, 01:53:25 PM
No need to say sorry for a late reply each time.

Though you're not using any of my addons, so It's nothing I have to worry about. Though ug_api, ug_donate, and group_module, what are those?
Title: Re: Ranks resetting on crash
Post by: Munch on December 01, 2013, 03:35:05 PM
No need to say sorry for a late reply each time.

Though you're not using any of my addons, so It's nothing I have to worry about. Though ug_api, ug_donate, and group_module, what are those?

They are an api, a donate script and a module I had created to get more traffic to my steam page.

API was only added around 2 days ago, the donate and group script are being used globally and so is the sourcebans module and this is only occurring on my DarkRP servers.
Title: Re: Ranks resetting on crash
Post by: Megiddo on December 01, 2013, 04:11:46 PM
Have you tried watching the console around the time you notice resets and checking for errors?
Title: Re: Ranks resetting on crash
Post by: Bite That Apple on December 01, 2013, 04:19:29 PM
Have you tried watching the console around the time you notice resets and checking for errors?

I've seen this on another server recently. It only happens when you rejoin, map switch. The console displays no errors, and it pretends as if the user doesn't exist, so it appears to overwrite users actual usergroup.

This may be off topic  but, I've noticed recently for some odd reason that if I attempt to get the ply:Team() on playerinitialspawn, it WILL NOT WORK at all. So what I ended up doing to get around it was put a ONE second simple timer on, and that fixed it for some reason. Maybe that might be wants happens to ulx not sure though.
Title: Re: Ranks resetting on crash
Post by: Stickly Man! on December 01, 2013, 05:20:34 PM
Unless I'm mistaken, I've seen some sourcebans integration modules handle syncing of users across servers, and that may be causing the ranks to reset. But, this is mostly speculation. :P
Title: Re: Ranks resetting on crash
Post by: Munch on December 02, 2013, 05:03:28 PM
Unless I'm mistaken, I've seen some sourcebans integration modules handle syncing of users across servers, and that may be causing the ranks to reset. But, this is mostly speculation. :P

When sourcebans was mentioned above I cheered and thought "YES! that could be the problem" then I quickly realized that I am also using the sourcebans module on my TTT servers and they have never had the issue that is happening on my DarkRP servers.

Have you tried watching the console around the time you notice resets and checking for errors?

I have tried but as said above, the rank loss happens at awkward times where it is difficult to watch the console, it is also very random. I do have every possible logging system enabled and I still haven't saw any errors regarding ULX.
Title: Re: Ranks resetting on crash
Post by: Munch on December 05, 2013, 07:37:17 PM
Hi guys, bit of an update here.

I had the issue of some prop spam with a VIP tool, wanted to check if said user was a VIP, after searching his SteamID I couldn't find him in my users.txt file. I later found out that he is indeed VIP so searched him by his name and found this:

"2032320225"   
{
   "name"   "Santa Poop"
   "deny"   
   {
   }
   "allow"   
   {
   }
   "group"   "goldvip"
}

The thing that I noticed instantly was where the SteamID should be a strange number appears... I can't work out what this number means exactly but it is giving GoldVIP to the SteamID: STEAM_0:1:46476790

Does this info help at all?