Server stack trace:
at Supremacy.Game.GameEngine.DoProduction(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1849
at Supremacy.Game.GameEngine.DoTurn(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 272
at Supremacy.WCF.SupremacyService.<>c__DisplayClass52_0.<DoTurnCore>b__0() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 621
at System.Linq.Observable.<>c__DisplayClass130.<>c__DisplayClass132.<ToAsync>b__12f()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Supremacy.WCF.SupremacyService.<DoTurnCore>d__52.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 624
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at Supremacy.WCF.SupremacyService.<ProcessTurn>d__51.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 537
Exception rethrown at [2]:
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at Supremacy.Collections.IndexedCollection`1.InsertItem(Int32 listIndex, T item, Boolean upgradeableLockAlreadyHeld) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 361
at Supremacy.Collections.IndexedCollection`1.Add(T item) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 342
at Supremacy.Universe.Colony.AddOrbitalBatteries(Int32 count) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Universe\Colony.cs:line 2024
at Supremacy.Orbitals.OrbitalBatteryDesign.TrySpawn(MapLocation location, Civilization owner, TechObject& spawnedInstance) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Orbitals\OrbitalBattery.cs:line 85
at Supremacy.Economy.BuildProject.Finish() in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Economy\BuildProject.cs:line 430
at Supremacy.Game.GameEngine.<>c__DisplayClass33_0.<DoProduction>b__0(Civilization civ) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1779
SupremacyTest_20180205
Moderators: thunderchero, Iceman
Re: SupremacyTest_20180205
Can you provide details about the game, please?
It seems the game crashed when trying to add an orbital battery to the universe objects list.
I'm not sure if there's a max object count in the game, will have to check.
Thanks for the report!
It seems the game crashed when trying to add an orbital battery to the universe objects list.
I'm not sure if there's a max object count in the game, will have to check.
Thanks for the report!
Re: SupremacyTest_20180205
Hello there, here is one more
One or more errors occurred.
Server stack trace:
at Supremacy.Game.GameEngine.DoProduction(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1849
at Supremacy.Game.GameEngine.DoTurn(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 272
at Supremacy.WCF.SupremacyService.<>c__DisplayClass52_0.<DoTurnCore>b__0() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 621
at System.Linq.Observable.<>c__DisplayClass130.<>c__DisplayClass132.<ToAsync>b__12f()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Supremacy.WCF.SupremacyService.<DoTurnCore>d__52.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 624
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at Supremacy.WCF.SupremacyService.<ProcessTurn>d__51.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 537
Exception rethrown at [2]:
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
----------------------------------------
Index must be within the bounds of the List.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at Supremacy.Collections.IndexedCollection`1.InsertItem(Int32 listIndex, T item, Boolean upgradeableLockAlreadyHeld) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 361
at Supremacy.Collections.IndexedCollection`1.Add(T item) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 342
at Supremacy.Universe.Colony.AddOrbitalBatteries(Int32 count) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Universe\Colony.cs:line 2024
at Supremacy.Orbitals.OrbitalBatteryDesign.TrySpawn(MapLocation location, Civilization owner, TechObject& spawnedInstance) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Orbitals\OrbitalBattery.cs:line 85
at Supremacy.Economy.BuildProject.Finish() in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Economy\BuildProject.cs:line 430
at Supremacy.Game.GameEngine.<>c__DisplayClass33_0.<DoProduction>b__0(Civilization civ) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1779
----------------------------------------
Edit:
Additional info;
SupremacyTest_20180205
Downloaded from: https://bitbucket.org/mstrobel/supremacy/downloads/
Error poped up around 115 turn, playing as fed
Noticed also that trade routes dont appear(they are not listed when they are made) in diplomacy menu.
One or more errors occurred.
Server stack trace:
at Supremacy.Game.GameEngine.DoProduction(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1849
at Supremacy.Game.GameEngine.DoTurn(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 272
at Supremacy.WCF.SupremacyService.<>c__DisplayClass52_0.<DoTurnCore>b__0() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 621
at System.Linq.Observable.<>c__DisplayClass130.<>c__DisplayClass132.<ToAsync>b__12f()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Supremacy.WCF.SupremacyService.<DoTurnCore>d__52.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 624
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at Supremacy.WCF.SupremacyService.<ProcessTurn>d__51.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 537
Exception rethrown at [2]:
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
----------------------------------------
Index must be within the bounds of the List.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at Supremacy.Collections.IndexedCollection`1.InsertItem(Int32 listIndex, T item, Boolean upgradeableLockAlreadyHeld) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 361
at Supremacy.Collections.IndexedCollection`1.Add(T item) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Collections\IndexedCollection.cs:line 342
at Supremacy.Universe.Colony.AddOrbitalBatteries(Int32 count) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Universe\Colony.cs:line 2024
at Supremacy.Orbitals.OrbitalBatteryDesign.TrySpawn(MapLocation location, Civilization owner, TechObject& spawnedInstance) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Orbitals\OrbitalBattery.cs:line 85
at Supremacy.Economy.BuildProject.Finish() in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Economy\BuildProject.cs:line 430
at Supremacy.Game.GameEngine.<>c__DisplayClass33_0.<DoProduction>b__0(Civilization civ) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 1779
----------------------------------------
Edit:
Additional info;
SupremacyTest_20180205
Downloaded from: https://bitbucket.org/mstrobel/supremacy/downloads/
Error poped up around 115 turn, playing as fed
Noticed also that trade routes dont appear(they are not listed when they are made) in diplomacy menu.
Re: SupremacyTest_20180205
Thanks Danijel!
Can you please tell me how many OBs you had in the colony where you built a new one, and that caused the crash? The game is trying to add a new OB to a colony, but apparently throwing an out of range exception.
---
about this:
"Noticed also that trade routes dont appear(they are not listed when they are made) in diplomacy menu."
What do you mean? TRs are not shown in the diplomacy screen. Or do you mean the Assets screen? If so, that tab is not implemented yet, it's just a placeholder for now. Maybe I should make that clear somehow.
https://bitbucket.org/mstrobel/supremac ... ade-routes
Can you please tell me how many OBs you had in the colony where you built a new one, and that caused the crash? The game is trying to add a new OB to a colony, but apparently throwing an out of range exception.
---
about this:
"Noticed also that trade routes dont appear(they are not listed when they are made) in diplomacy menu."
What do you mean? TRs are not shown in the diplomacy screen. Or do you mean the Assets screen? If so, that tab is not implemented yet, it's just a placeholder for now. Maybe I should make that clear somehow.
https://bitbucket.org/mstrobel/supremac ... ade-routes
Re: SupremacyTest_20180205
Hey,...you are welcome,...thank you too tho
I actually haven't build any, AI maybe?
Yes,..meant on intel screen trade routes actually.
Was able to load auto save of turn 115 and continue playing
After that error, i noticed there were no new recruits, about 8 old ones retired meanwhile(from turn 100 to 150, started new game since)
_____________new game error_____________
This one occurred at turn 92;
Hope that helps
Cheers
I actually haven't build any, AI maybe?
Yes,..meant on intel screen trade routes actually.
Was able to load auto save of turn 115 and continue playing
After that error, i noticed there were no new recruits, about 8 old ones retired meanwhile(from turn 100 to 150, started new game since)
_____________new game error_____________
This one occurred at turn 92;
Code: Select all
Object reference not set to an instance of an object.
Server stack trace:
at Supremacy.Game.CivilizationManager.get_Civilization() in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\CivilizationManager.cs:line 129
at Supremacy.Game.GameEngine.<>c.<OnTurnPhaseFinished>b__17_0(CivilizationManager civ) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 149
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at Supremacy.Game.GameEngine.OnTurnPhaseFinished(GameContext game, TurnPhase phase) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 150
at Supremacy.Game.GameEngine.DoTurn(GameContext game) in C:\Projects\Supremacy VS2017\Mainline\SupremacyCore\Game\GameEngine.cs:line 262
at Supremacy.WCF.SupremacyService.<>c__DisplayClass52_0.<DoTurnCore>b__0() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 621
at System.Linq.Observable.<>c__DisplayClass130.<>c__DisplayClass132.<ToAsync>b__12f()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Supremacy.WCF.SupremacyService.<DoTurnCore>d__52.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 624
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at Supremacy.WCF.SupremacyService.<ProcessTurn>d__51.MoveNext() in C:\Projects\Supremacy VS2017\Mainline\SupremacyService\SupremacyService.cs:line 537
Exception rethrown at [2]:
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
----------------------------------------
Cheers
Re: SupremacyTest_20180205
Yep, probably the AI. Funny thing is, I don-t think I touched any of that code (AI or OB)...
The agents recruitment code needs to be overhauled, it just creates all the agents at start, but since I implemented retirement and deaths, it is more of an issue now.
Agents need to be created dinamically, checking current era upon spawning. It is one of the things I have pending for a long time...
Thanks for the new crash report. I had that happen too in the previous release, but have not managed to figure out the cause yet.
I will keep you guys posted on these issues.
Thanks!
The agents recruitment code needs to be overhauled, it just creates all the agents at start, but since I implemented retirement and deaths, it is more of an issue now.
Agents need to be created dinamically, checking current era upon spawning. It is one of the things I have pending for a long time...
Thanks for the new crash report. I had that happen too in the previous release, but have not managed to figure out the cause yet.
I will keep you guys posted on these issues.
Thanks!
Re: SupremacyTest_20180205
This crash is related to agents.
Do you recal which era / tech level you were playing? When the crash occured, did you have any active agents still? Were the Borg in play? Was there any empire that had been eliminated fro play?
Sorry about the barrage of questions, I'll try to fix this monday, but I'd like to know what exactly is triggering this.
Again, thanks for the reports!