Justtheguybob
Posts: 27
Joined: 6/1/2014 Status: offline
|
quote:
ORIGINAL: tjhkkr System.NullReferenceException: Object reference not set to an instance of an object. I still think it is looking for something (and by all appearances it appears to be an image file the system cannot find) that it cannot find, and that is why it is blowing up. Okay, check your races and make sure you have a race image for every new race you have in your races folder. PictureIndex ;7 That should have a race image corresponding to the Picture index. race_7.png I honestly do not think it is the number of races... that would come up with an error like 'out of memory' or 'out of string space'. Now I am NOT THE BE-ALL and End-all, but I was once in a long time ago and galaxy far, far away, a crack programming troubleshooter. So I honestly think I have the right scent on this... but I could be wrong... I checked all my image files and only ONE THING I saw was one had a R capital instead of lower case does this matter? (I changed it to a lowercase going to test but this might take some time as it is not as often) I Also tried putting back in shipfamily 50 and got this error again so I am pretty sure you cant have a 50 or higher but if you want you can test this fairly easily just fiddle with one of the pre existing races files; let me know if it works for you ( I tried this myself and got a different error I replaced the zenox family that ussualy is 10 I changed the 10 to a 50 in both race and family10 to family50 and it broke it ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at System.Drawing.Bitmap..ctor(Image original) at DistantWorlds.Main.cqFdXIZACI() at DistantWorlds.Main.sTZiZU05yd() at DistantWorlds.Main.Ignite(Game game, String currentFileName) at DistantWorlds.Start.yV0WSqMNvM(Game ) at DistantWorlds.Start.VJeaVtWA9d(Object , EventArgs ) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at DistantWorlds.Controls.GlassButton.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, Int this is the error (below) I get if I replace the name to 50 on the default theme --------------------------- Error while starting a new game --------------------------- There was an error while attempting to start a new game. If you are using a theme, please revert to the default Distant Worlds theme and try again Error Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException() at DistantWorlds.Types.Galaxy.CalculateResourceLevel(Resource resource, Habitat colony, Boolean isMiningStation, Boolean isIndependent, Boolean isCriticalResource, Int32 fleetFuelAmount) at DistantWorlds.Types.Empire.CheckAndOrderResource(Habitat colony, OrderList colonyOrders, BuiltObject colonySpacePort, Resource resource, Boolean isCriticalResource, Int32 fleetFuelAmount) at DistantWorlds.Types.Empire.MaintainColonyCriticalResourceLevels(BuiltObject spacePort, Habitat colony) at DistantWorlds.Types.Empire.EvaluateColonyVariables(Galaxy galaxy, Double timePassed) at DistantWorlds.Types.Empire.DoTasks() at DistantWorlds.Types.Galaxy.GenerateEmpire(Galaxy galaxy, Boolean isPlayerEmpire, String empireName, Habitat capital, Race race, Int32 designPictureFamilyIndex, Int32 governmentId, Double homeSystemFactor, String homeSystemDescription, Int32 age, Double techLevel, Double corruptionMultiplier, Double& expansion, GameOptions gameOptions, VictoryConditions globalVictoryConditions, Double& actualTechLevel) at DistantWorlds.Start.U6IWRGOOo5(GalaxyShape , Int32 , Int32 , Boolean , Double , Int32 , Double , Double , Int32 , Double , Double , Int32 , Double , EmpireStart , EmpireStartList , VictoryConditions , EmpireVictoryConditions , EmpireVictoryConditions , Boolean , Boolean , GameStartResets ) --------------------------- OK --------------------------- Am I supposed to be changing more then just the race file with this line DesignsPictureFamilyIndex ;50 and renaming the ship family folder to family50 (of course with all the proper ships etc in there) ?? The good news though is it seems to be fixed aside from the family50 problem if we can figure out this last problem you will be my hero :) I just want to know if it is a hardcap or if I am messing something up somehow
< Message edited by Justtheguybob -- 6/5/2014 5:56:12 AM >
|