How long is XP stored for?

7 public posts in this discussion.

Post 1

I was just wondering, because I know the default is like 1 day + 1 day for every 3 levels or something.
I was just curious, because I'll be going away for a couple of weeks and I'd like to come back to my 4 level 7's :D

Post 2

probly forever i think.

Post 3

I am not too sure on this as the server version of WC3 has been modified, but it depends on your level... actually instead of explaining it to ya I'll rip out a chunk of the manual

Quote:
XP does not stay forever though, once per day the war3users.ini is updated removing any inactive entries.
If you don't connect to the server for a certain number of days you will be removed, there are two cvars
for this:

"sv_daysbeforedelete" (default 1)
"sv_dayslevelmodifier" (default 3)

sv_daysbeforedelete will set the number of days before you get deleted from the list. The default of 1
allows you to stay "offline" for 1 day without being deleted.

sv_dayslevelmodifier is added to daysbeforedelete to give the total number of days you can stay "offline".
is it easiest to explain by example, say sv_dayslevelmodifier is 3. This means that if you have reached
level 3 you will gain an extra day before being deleted, level 6 will get you 2 extra days, level 9 will get
you 3 extra days.

the formula is given by:

days = sv_daysbeforedelete + level / sv_dayslevelmodifier

days are always rounded down to a whole number
I have made the following table to illustrate how it works with default values (1 and 3):

level days
----- ----
0 1
1 1
2 1
3 2
4 2
5 2
6 3
7 3
8 3
9 4
10 4

This is to prevent the war3users.ini file from getting too big, while allowing high level players to
keep their settings for longer.

Post 4

thanks mario, but i read the manual too :p
I wanted to know what the server admins changed it to, if they have ;)

Post 5

XP lasts until i empty the MySQL database of all your XP records :)

Post 6

Or in other words when yours goes everyone elses will probably go :D

(Unless of course OD is feeling mean and wants to delete a specific record :D )

Post 7

ahh cool, thats good news :D

Thanks for the info OverDrive :wink: