Page 1 of 1

Races and biases

Posted: Wed Jun 19, 2013 10:15 am
by Mad Igor
if amount of races in "races" folder not equal to amount of races in biases.txt then game crashes with:

Code: Select all

See the end of this message for details on invoking 
 just-in-time (JIT) debugging instead of this dialog box.
 
 ************** Exception Text **************
 System.ApplicationException: More bias values than races at line 12 in file D:\Program Files\Distant Worlds\Customization\MOD\biases.txt
    at DistantWorlds.Types.Galaxy.LoadRaceBiases(String applicationStartupPath, String customizationSetName, RaceList races)
    at DistantWorlds.Types.Galaxy.LoadRaces(String applicationStartupPath, String customizationSetName)
    at DistantWorlds.Main.gE4mteX1SG(String , String )
    at DistantWorlds.Start.KqOA6qq7jx(String , Boolean , Boolean )
    at DistantWorlds.Start.hnJxOhbRyG(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, IntPtr wparam, IntPtr lparam)
 

i thought game should override files from mod over original (like Skyrim mod handling),not take all files from mod,and if there some files missing,then shiz itself.

RE: Races and biases

Posted: Mon Sep 02, 2013 5:49 am
by Cardassian_Union
System.ApplicationException: More bias values than races at line 12 in file D:\Program Files\Distant Worlds\Customization\MOD\biases.txt

Like the Message says. You have in Line 12 more bias values than races.
How many races have you in your mod?
Or maybe you forgot a comma?

happy fixing