XP reset issues

Discussion Forum for Jaymod
hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

XP reset issues

Post by hellreturn » Mon Nov 07, 2011 1:23 pm

Anyone having XP reset issues in last couple of days? Lately my regulars are loosing XP for no reason..

petbark
Server n00b
Posts: 27
Joined: Mon Apr 04, 2011 5:10 pm

Re: XP reset issues

Post by petbark » Mon Nov 07, 2011 5:48 pm

Had our jaymod box go down.

Got it back up this morning with a backup.

It did for a few hours not keep XP but that has cleared its self.
Image

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Wed Nov 09, 2011 3:17 pm

I guess XP issue is with this random GUID generators and how jaymod handles it. Somewhere something is wrong causing players to loose their XP.

User avatar
jaybird
Jaymod Developer
Posts: 2733
Joined: Thu Feb 24, 2005 12:27 pm
Location: San Antonio, TX
Contact:

Re: XP reset issues

Post by jaybird » Wed Nov 09, 2011 3:24 pm

XP is tracked on GUID. Are their GUIDs generating each time they play the game?

petbark
Server n00b
Posts: 27
Joined: Mon Apr 04, 2011 5:10 pm

Re: XP reset issues

Post by petbark » Wed Nov 09, 2011 4:36 pm

I think it is a server database issue.

If not sorted ask you hoster to check the privilages for the databases incase they are wrong.
Image

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Thu Nov 10, 2011 7:20 pm

jaybird wrote:XP is tracked on GUID. Are their GUIDs generating each time they play the game?
Yes. They all have GUID and no GUID is getting changed. I think it's issue related to when you go above 9999 players in user.db. What happens is, I play for 1 map, guid and admin saved. Once i leave and join server, i loose xp and admin.

Then i started from clear user.db and all xpsave is working correctly. Every 3-6 months, I have to go for mass XP reset and players get pissed off seeing their XP go to zero. I know you increased the limit somewhere in 2.2.0 version but something is still wrong which causes this issue. Can you please look into it? Happens mostly on windows server OS. I am using Win 2008 R2 Ent.

Thank you

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Thu Nov 10, 2011 7:23 pm

petbark wrote:I think it is a server database issue.

If not sorted ask you hoster to check the privilages for the databases incase they are wrong.
I host my own servers and it's not privilege issue.

Ligustah
Panzer n00b
Posts: 66
Joined: Wed Apr 13, 2011 9:03 am

Re: XP reset issues

Post by Ligustah » Fri Nov 11, 2011 3:14 am

How many users do you have in your user.db, when the problem occurs?

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Fri Nov 11, 2011 7:37 am

Ligustah wrote:How many users do you have in your user.db, when the problem occurs?
10,000+

Ligustah
Panzer n00b
Posts: 66
Joined: Wed Apr 13, 2011 9:03 am

Re: XP reset issues

Post by Ligustah » Fri Nov 11, 2011 9:18 am

I have a server with 13k+ and another with 15k+. I have never experienced any XP reset issues with either server, so I suppose it must be an issue somehow related to your setup.

If you can reliably reproduce this you might want to see if it's a problem that occurs while saving, or while loading. Maybe connect to the server, set admin level and get some xp and disconnect.
Then do !dbsave and manually look up the record in the user db to see if it's properly saved.

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Fri Nov 11, 2011 1:57 pm

Do you use Windows? What's your server OS?

Like I said, XP save works fine once I reset full user.db so it's not saving issue or set up issue.

Ligustah
Panzer n00b
Posts: 66
Joined: Wed Apr 13, 2011 9:03 am

Re: XP reset issues

Post by Ligustah » Fri Nov 11, 2011 2:45 pm

All my servers run on 64 bit Ubuntu.
Have you tried what I suggested? That test would show if there are problems with saving the data, or if it is corrupted while loading.

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Sun Nov 13, 2011 2:42 pm

Ligustah wrote:All my servers run on 64 bit Ubuntu.
Have you tried what I suggested? That test would show if there are problems with saving the data, or if it is corrupted while loading.
Yup, i had already tried that before posting here. If saving the data was issue, then it wouldn't save any data even after resetting user.db

I even checked logs and it shows no error while reading/writing user.db

User avatar
tjimboo
Panzer n00b
Posts: 94
Joined: Mon Jul 16, 2007 8:35 am
Contact:

Re: XP reset issues

Post by tjimboo » Wed Nov 16, 2011 8:33 am

got same issue.. just that our removes a 1k entries in user.db.
should it been fixed with 2.2.0?

hellreturn
Spawn Camper
Posts: 131
Joined: Sun Nov 09, 2008 8:17 pm
Contact:

Re: XP reset issues

Post by hellreturn » Fri Nov 18, 2011 11:49 am

tjimboo wrote:got same issue.. just that our removes a 1k entries in user.db.
should it been fixed with 2.2.0?
it was supposed to be fixed with 2.2.0 but looks like it's not. Mine just removes randomly and then keeps denying in adding new ones.. so every map xp and admin level reset.

Post Reply