Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Help! Crash after load

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Help! Crash after load Page: [1]
Login
Message << Older Topic   Newer Topic >>
Help! Crash after load - 4/28/2013 6:02:14 PM   
captainjamesmartin

 

Posts: 1
Joined: 4/28/2013
Status: offline
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?
Post #: 1
RE: Help! Crash after load - 4/28/2013 11:00:12 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
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.

(in reply to captainjamesmartin)
Post #: 2
RE: Help! Crash after load - 6/30/2014 6:22:03 PM   
akiraly

 

Posts: 2
Joined: 6/30/2014
Status: offline
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 ---

< Message edited by akiraly -- 6/30/2014 7:22:34 PM >

(in reply to Bingeling)
Post #: 3
RE: Help! Crash after load - 7/7/2014 7:18:43 PM   
akiraly

 

Posts: 2
Joined: 6/30/2014
Status: offline
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 ---

(in reply to akiraly)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Help! Crash after load Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.625