Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Refreshalts / days until deletion 
Marky
Brigadier General
Brigadier General

Joined: 12 Nov 2019
Posts: 318
Reply with quote
After refreshalts /ipplayer shows that last seen is set to 0.
But...days till deletion is not reset. That remains unchanged and keeps counting down.
A manual login does alter the days till deletion value.
So I think /refreshalts changes one value (last seen), but doesn't change the value that is used for checking when to delete chars.
View user's profile Send private message
  
Lordlava
Greater God
Greater God

Joined: 16 Mar 2016
Posts: 1558
Location: The Land Down Under
Reply with quote
Was the character that you reset online at the time?

_________________
The Lord of Molten Rocks
View user's profile Send private message
  
Marky
Brigadier General
Brigadier General

Joined: 12 Nov 2019
Posts: 318
Reply with quote
No, he was not.

Right now I have my list with a colonel, a FDM, and 2 barons. They all should get the same amount of days till deletion, I would say.
2 of them have been seen last 2 days ago.
When I "/refreshalts all", the days until deletion don't change. The "days seen" are set to 0.

The "/refreshalts all" command does list that they have been changed.

I have 3 lcps, with days until deletion 25, 28 and 33, before and after /refreshalts.
Refreshalts with just 1 name doesn't make a difference.

Am I correct to assume that "days seen" + "days until deletion" should always be the same for the same exp groups, give or take 1 for rounding off?
View user's profile Send private message
  
Lordlava
Greater God
Greater God

Joined: 16 Mar 2016
Posts: 1558
Location: The Land Down Under
Reply with quote
It varies with experience, race and warlord rebirth.

Experience starts at zero (3 days) and goes up in increments until it maxes out at 1M exp (56 weeks).
Arch races like Seyans, Necros and Ninjas get the same period (56 weeks), regardless of experience.
Warlord rebirth get a longer period again (80 weeks), regardless of experience.

I think I see the problem.

_________________
The Lord of Molten Rocks
View user's profile Send private message
  
Lordlava
Greater God
Greater God

Joined: 16 Mar 2016
Posts: 1558
Location: The Land Down Under
Reply with quote
See if that is fixed now.

The problem was in the original code but I did not notice when it was copied.
It was only checking login-date instead of the maximum of login-date and logout-date.

_________________
The Lord of Molten Rocks
View user's profile Send private message
  
Marky
Brigadier General
Brigadier General

Joined: 12 Nov 2019
Posts: 318
Reply with quote
Looks great now.

I refreshed an alt that was seen 1 day ago and the time till deletion was raised by one.
All other values seem to match too.

I will keep an eye on it for a few more days, test a bit, but it looks like you fixed it Smile
View user's profile Send private message
  
Marky
Brigadier General
Brigadier General

Joined: 12 Nov 2019
Posts: 318
Reply with quote
Created a new char, used /refreshalts as only means to keep him alive.
He made it past the 6 day deletion time for a private.
I would say the fix works 100% Very Happy
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic