View unanswered posts | View active topics It is currently 14 Mar 2025, 06:01



Reply to topic  [ 10 posts ] 
 Crash Fed_Construction building a station 
Author Message
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 05 Jul 2008, 07:55
Posts: 270
Location: Germany
Colin wrote this email - does somebody has an idea to this ? (I'm trying to give him an account here and i ask him which build he's playing)

Quote:
sorry to bother you again but I've just realised that it is working ok with the other factions. It's just the Federation construction ships that are having problems.

Hi,

I'm sorry to bother you. I'm a long time fan of Birth of the Federation and today I came across Supremacy. It seems to be an amazing game that I'd really love to start playing. I have followed the online instructions for installing the game and it seemed to be working fine at first but then I came across a serious problem.

I was playing as the Federation and when I tried to get a construction ship to create a station the game crashed. It came up with a box that said 'unhandled error' and told me to see the error.txt file. The notepad file said the following:

Code:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Supremacy.Orbitals.BuildStationOrder.FindTargets(Fleet source) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyCore\Orbitals\FleetOrders.cs:line 877
   at Supremacy.Client.Views.GalaxyScreenPresenter.ExecuteIssueTaskForceOrderCommand(Pair`2 p) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClientComponents\Views\GalaxyScreen\GalaxyScreenPresenter.cs:line 201
   at Microsoft.Practices.Composite.Presentation.Commands.DelegateCommand`1.Execute(T parameter) in C:\Users\Mike Strobel\Desktop\PrismV2\CAL\Desktop\Composite.Presentation\Commands\DelegateCommand.cs:line 81
   at Microsoft.Practices.Composite.Presentation.Commands.DelegateCommand`1.System.Windows.Input.ICommand.Execute(Object parameter) in C:\Users\Mike Strobel\Desktop\PrismV2\CAL\Desktop\Composite.Presentation\Commands\DelegateCommand.cs:line 107
   at Microsoft.Practices.Composite.Presentation.Commands.CompositeCommand.Execute(Object parameter) in C:\Users\Mike Strobel\Desktop\PrismV2\CAL\Desktop\Composite.Presentation\Commands\CompositeCommand.cs:line 177
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)


I am running the program on windows 8. My laptop has an i5 - 3210M 2.5GHz with turbo boost up to 3.1GHz processor, 8GB DDR3 memory and an Intel HD graphics 4000 up to 1760MB Dynamic Video Memory.

Once again I am sorry if I am contacting the wrong person but I have searched the forums for answers and this is the only email address I could find in relation to the game. If you cannot help me is there anyone else you can recommend to help me out. It would be a shame if I couldn't play what seems like an amazing game.

Cheers

Colin


22 Feb 2014, 14:49
Profile
Ship Engineer
Ship Engineer
User avatar

Joined: 10 Jul 2006, 01:00
Posts: 5220
Location: Space is disease and danger, wrapped in darkness and silence!
There was a construction ship crash fixed a long time ago. Here is a link https://bitbucket.org/mstrobel/supremacy/downloads/SupremacyTest_20140206.zip - a new build on bitbucket. You will still need the Resources folder but check to see if this code does the same thing with the old Resources first.

_________________
Image


22 Feb 2014, 17:46
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 5
Thanks for that. I'll give it a go now


22 Feb 2014, 23:09
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 5
I don't know if I'm doing it right but I've tried unzipping this file and it runs. However when I try to set up a game it is giving me another unhandled exception message. Here it is:




Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

----------------------------------------

Could not load file or assembly 'Microsoft.Xna.Framework.dll' or one of its dependencies. The specified module could not be found.

at Supremacy.Xna.SunView3DRenderer.OnStarTypeChanged(Nullable`1 newValue)
at Supremacy.Xna.SunView3DRenderer.<.cctor>b__0(DependencyObject o, DependencyPropertyChangedEventArgs args) in c:\Projets\StarTrekSupremacy\DEV\Mainline\Supremacy.Xna\SunView3D.cs:line 193
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Supremacy.Xna.SunView3DRenderer.set_StarType(Nullable`1 value) in c:\Projets\StarTrekSupremacy\DEV\Mainline\Supremacy.Xna\SunView3D.cs:line 203
at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system)
at Supremacy.UI.StarSystemPanel.Refresh()
at Supremacy.UI.StarSystemPanel.OnRegionContextChanged(Object sender, PropertyChangedEventArgs e)
at Supremacy.Client.DelegatingWeakPropertyChangedListener.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e) in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\DelegatingWeakPropertyChangedListener.cs:line 24
at System.Windows.WeakEventManager.ListenerList.DeliverEvent(Listener& listener, Object sender, EventArgs args, Type managerType)
at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at Microsoft.Practices.Composite.Presentation.ObservableObject`1.ValueChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at Microsoft.Practices.Composite.Presentation.Regions.Behaviors.BindRegionContextToDependencyObjectBehavior.SetContextToViews(IEnumerable views, Object context)
at Microsoft.Practices.Composite.Presentation.Regions.Behaviors.BindRegionContextToDependencyObjectBehavior.Region_PropertyChanged(Object sender, PropertyChangedEventArgs e)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at Microsoft.Practices.Composite.Presentation.Regions.Region.OnPropertyChanged(String propertyName)
at Microsoft.Practices.Composite.Presentation.Regions.Region.set_Context(Object value)
at Supremacy.Client.Views.ColonyScreenPresenter.OnSelectedColonyChanged(Object sender, EventArgs args) in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\Views\ColonyScreen\ColonyScreenPresenter.cs:line 459
at Supremacy.Client.Views.ColonyScreenPresentationModel.OnSelectedColonyChanged(Colony oldValue, Colony newValue) in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\Views\ColonyScreen\ColonyScreenPresentationModel.cs:line 57
at Supremacy.Client.Views.ColonyScreenPresenter.RunOverride() in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\Views\ColonyScreen\ColonyScreenPresenter.cs:line 391
at Supremacy.Client.Views.GameScreenPresenterBase`2.Run() in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\Views\GameScreenPresenterBase.cs:line 139
at Supremacy.Client.GameController.CreatePresenters() in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\IGameController.cs:line 412
at Supremacy.Client.GameController.OnGameStarted(DataEventArgs`1 args) in c:\Projets\StarTrekSupremacy\DEV\Mainline\SupremacyClientComponents\IGameController.cs:line 382

----------------------------------------


Sorry if it's something simple I'm missing but I'm a bit of a noob when it comes to programming :hmm:


22 Feb 2014, 23:23
Profile
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 05 Jul 2008, 07:55
Posts: 270
Location: Germany
try to download and install latest XNA Framework, maybe from here http://www.heise.de/download/microsoft- ... 93007.html


23 Feb 2014, 12:04
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 5
Tried the XLA install but no change :hmm:


23 Feb 2014, 13:07
Profile
Ship Engineer
Ship Engineer
User avatar

Joined: 10 Jul 2006, 01:00
Posts: 5220
Location: Space is disease and danger, wrapped in darkness and silence!
Does the new installation of the game have inside the main game folder a sub folder called Resources? Here is a version of it you can try https://bitbucket.org/kflanagan/section-31/downloads/Resources.7z

You might want to check your version of Direct X as well. http://windows.microsoft.com/en-us/windows/which-version-directx#which-version-directx=windows-7

_________________
Image


23 Feb 2014, 16:27
Profile
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2130
All you need to do is check if you have all the prereqs installed, nothing else. Check the thread about it, 3rd post:
viewtopic.php?f=13&t=4797

I'll post them here too:
Quote:
•The Microsoft .NET Framework 4.0 (note: you want the full framework, not the "Client Profile"; after it's installed, you should see both the "Client Profile" and "Extended Profile" listed in your control panel)
•Microsoft DirectX Runtime
•Microsoft XNA Framework v3.1 Redistributable
•Microsoft Visual C++ 2008 Redistributable
•Microsoft Visual C++ 2010 Redistributable


Let us know how it goes.


23 Feb 2014, 16:49
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 5
SUCCESS!!! :bigthumb: :clap: Thank you for your support and for putting up with me being next to useless.

Now to get down to getting my arse handed to me in the game!


25 Feb 2014, 21:25
Profile
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2130
No prob Colin. Have fun! Remember though that theres no AI yet.


26 Feb 2014, 00:41
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.