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

ArgumentOutOfRangeException

Discussion in 'Script Support' started by RedDragon, Dec 24, 2013.

  1. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    ServUO has crashed with this:
    Code (C#):
    1. System.ArgumentOutOfRangeException: Argument is out of range.
    2.   at System.DateTime.op_Addition (DateTime d, TimeSpan t) [0x00000] in <filename unknown>:0
    3.   at Server.Timer.get_Next () [0x00000] in <filename unknown>:0
    4.   at Server.Items.DisguisePersistance.Serialize (Server.GenericWriter writer) [0x00000] in <filename unknown>:0
    5.   at Server.StandardSaveStrategy.SaveItems (Server.SaveMetrics metrics) [0x00000] in <filename unknown>:0
    6.   at Server.DualSaveStrategy+<Save>c__AnonStorey10.<>m__2F () [0x00000] in <filename unknown>:0
    7.   at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
     
  2. Omni
    Offline

    Omni Member

    Joined:
    Dec 22, 2013
    Messages:
    165
    Likes Received:
    24
    Can you please run the server in debug mode this will give a better idea of what is causing the crash..


    To run in debug you need to

    create a shortcut of servuo.exe (application)
    Right click on shortcut to bring up menu.
    Click on Shortcut tab (unless is started on it)
    Where is says Start in (something like) C:\you\yourdirectory\servuo\servuo.exe
    change this to C:\you\yourdirectory\servuo\servuo.exe -debug

    This should if you can recreate the crash give you the location of the script that has caused the crash.