I need help about world saving

arphile

Well-Known Member
Apr 24, 2014
160
29
30
얌새기월드
www.youtube.com
Shard Name
Arphile
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,266
490
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

Well-Known Member
Apr 24, 2014
160
29
30
얌새기월드
www.youtube.com
Shard Name
Arphile
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

Well-Known Member
Apr 24, 2014
160
29
30
얌새기월드
www.youtube.com
Shard Name
Arphile
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

Well-Known Member
Nov 14, 2013
947
151
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)