I need help about world saving

arphile

Squire
Apr 24, 2014
165
35
28
31
www.arphile.net
www.arphile.net
Shard Name
Region1999
Donate
Donate money to this user
first, I`m sorry about my bad english skills.
I need help about world saving.
when server saves, items on the floor disappeared.
so, I tried to fix it, but it doesn`t effective.
this is the question "where I edit to fix it."
is anyone know about this problem?
 

Milva

Admin
Moderator
Mar 3, 2013
4,489
567
113
Donate
Donate money to this user
So any items left on the ground you don't want them removed, if player's drop items you want them left there?
 

arphile

Squire
Apr 24, 2014
165
35
28
31
www.arphile.net
www.arphile.net
Shard Name
Region1999
Donate
Donate money to this user
nope,
I want to remove items after 30 minutes or 1 hour if it left on the ground, like original RunUO Settings.
how can I solve this problem?

#(thx for your attention.)
 

arphile

Squire
Apr 24, 2014
165
35
28
31
www.arphile.net
www.arphile.net
Shard Name
Region1999
Donate
Donate money to this user
when I fix my script Line 1152, saving doesn't decay any item.
so, I tried to fix it, and find another solution.

just fix Server\Item.cs

public void SetLastMoved()
{
m_LastMovedTime = DateTime.UtcNow;
}

to

public void SetLastMoved()
{
m_LastMovedTime = DateTime.Now;
}

I SOLVE THIS PROBLEM!! Yeah!!
 

Hank

Knight
Nov 14, 2013
944
154
43
Earth
Can you please try to avoid double posting. There is an Edit button at the bottom of your posts. If no one has posted after you please edit your last post and add the additional information.
Also please use [-code] tags [-/code] (Without the - in them)