1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need help about world saving

Discussion in 'Script Support' started by arphile, Apr 27, 2014.

  1. arphile
    Offline

    arphile Active Member

    Joined:
    Apr 24, 2014
    Messages:
    159
    Likes Received:
    29
    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?
     
  2. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,430
    Likes Received:
    385
    So any items left on the ground you don't want them removed, if player's drop items you want them left there?
     
  3. arphile
    Offline

    arphile Active Member

    Joined:
    Apr 24, 2014
    Messages:
    159
    Likes Received:
    29
    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.)
     
  4. arphile
    Offline

    arphile Active Member

    Joined:
    Apr 24, 2014
    Messages:
    159
    Likes Received:
    29
    I Solve this problem!!
    Script file : ServUO\Server\World.cs

    if delete
    Line 1152 : strategy.ProcessDecay();

    Items not decay on save.
     
    • Like Like x 1
  5. arphile
    Offline

    arphile Active Member

    Joined:
    Apr 24, 2014
    Messages:
    159
    Likes Received:
    29
    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!!
     
  6. Hank
    Offline

    Hank Active Member

    Joined:
    Nov 14, 2013
    Messages:
    972
    Likes Received:
    152
    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)
     
Similar Threads: need help
Forum Title Date
Script Support need help Aug 10, 2017
Windows Support Please need help Error SerVUO Aug 3, 2017
Script Support Error UO Please Need Help Jul 30, 2017
Script Support Need help with a timer Jun 30, 2017
General Discussion need help plz Jun 7, 2017
Script Support Need help fix item drop in bag May 17, 2017
Script Support Need help solving point system label number, or item identified. May 13, 2017