Help! Crash after load (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support



Message


captainjamesmartin -> Help! Crash after load (4/28/2013 6:02:14 PM)

I dont suppose anyone can help me? Ive just bought Distant Worlds and installed various updates and the Star Trek Picard mod, all has been fine until today when I load and get the following crash dump...

Distant Worlds - Crash Dump - 1.7.0.16

17:43:13 28 April 2013


System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
Parameter name: minValue
at System.Random.Next(Int32 minValue, Int32 maxValue)
at DistantWorlds.Types.Empire.GiveGiftSmallWhenSufficientTimePassed(Empire otherEmpire)
at DistantWorlds.Types.Empire.ImplementDiplomaticStrategy(Empire otherEmpire, DiplomaticStrategy strategy)
at DistantWorlds.Types.Empire.ReviewDiplomaticSituations()
at DistantWorlds.Types.Empire.DoTasks()
at DistantWorlds.Main.F6d3yiHG0lFIoEXxwOZ(Object )
at DistantWorlds.Main.o65GgEckA8(Object )


--- COMPLETE ---


I dont know what it means, can anyone help me fix it?




Bingeling -> RE: Help! Crash after load (4/28/2013 11:00:12 PM)

Not much to read from it, apart from it crashing. And by function names that it is related to gift sending.

Does it always crash, or is it random? Upgrading to the latest beta patch could possibly solve it, but don't get your hopes up too much.




akiraly -> RE: Help! Crash after load (6/30/2014 6:22:03 PM)

I get the same error with 1.9.5.4. It is really annoying because it always happens at the same point in my game and blocks me from processing.

Can't attach save game because it is too large (17MB).

Stacktrace is the same (language is Hungarian) - looks like a programming error:

Distant Worlds - Crash Dump - 1.9.5.4

20:11:24 2014. június 30.


System.ArgumentOutOfRangeException: „minValue” nem lehet nagyobb, mint maxValue.
Paraméter neve: minValue
a következő helyen: System.Random.Next(Int32 minValue, Int32 maxValue)
a következő helyen: DistantWorlds.Types.Empire.GiveGiftSmallWhenSufficientTimePassed(Empire otherEmpire)
a következő helyen: DistantWorlds.Types.Empire.ImplementDiplomaticStrategy(Empire otherEmpire, DiplomaticStrategy strategy)
a következő helyen: DistantWorlds.Types.Empire.ReviewDiplomaticSituations()
a következő helyen: DistantWorlds.Types.Empire.DoTasks()
a következő helyen: DistantWorlds.Main.oXJ0s3fqcIAtkDHCEYF(Object )
a következő helyen: DistantWorlds.Main.p2EYOSIPBv(Object )


--- COMPLETE ---




akiraly -> RE: Help! Crash after load (7/7/2014 7:18:43 PM)

This error happens with 1.9.5.5 as well. It is really annoying. The only workaround I can do is to give small gifts to the empires myself so they don't try to send gifts to me. Only works for a short period before they try to send gifts again, crashing my game.

Would it be possible to get this fixed? I think the problem is probably in GiveGiftSmallWhenSufficientTimePassed() method: just add a check so System.Random.Next is invoked with a minValue that is always <= maxValue.

Distant Worlds - Crash Dump - 1.9.5.5

21:11:13 2014. július 7.


System.ArgumentOutOfRangeException: „minValue” nem lehet nagyobb, mint maxValue.
Paraméter neve: minValue
a következő helyen: System.Random.Next(Int32 minValue, Int32 maxValue)
a következő helyen: DistantWorlds.Types.Empire.GiveGiftSmallWhenSufficientTimePassed(Empire otherEmpire)
a következő helyen: DistantWorlds.Types.Empire.ImplementDiplomaticStrategy(Empire otherEmpire, DiplomaticStrategy strategy)
a következő helyen: DistantWorlds.Types.Empire.ReviewDiplomaticSituations()
a következő helyen: DistantWorlds.Types.Empire.DoTasks()
a következő helyen: DistantWorlds.Main.ntWYVhqDVjl7lNIkyDR(Object )
a következő helyen: DistantWorlds.Main.lv0f6oq06v(Object )


--- COMPLETE ---




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.5625