Page 1 of 1

Help from devs/tech support needed

Posted: Fri Aug 08, 2014 12:02 pm
by Blackstork
I just released alpha version for my mod:
tm.asp?m=3657646&mpage=1&key=

and all seems to be legit, but something not working :(
I cant start game as certain race "SuchOos)
Here is message of error

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.U3CwVM31Vq()
at DistantWorlds.Main.RAjFEClqfb()
at DistantWorlds.Main.Ignite(Game game, String currentFileName)
at DistantWorlds.Start.qNTYRpsZ29(Game )
at DistantWorlds.Start.t67Tgqlvv7(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)

someone can tell me what is the origin of the problem ?

Thanks [&o]

RE: Help from devs/tech support needed

Posted: Sat Aug 09, 2014 4:07 am
by johanwanderer
I'm guessing the race's image file(s) is not valid. Unsupported format maybe?

RE: Help from devs/tech support needed

Posted: Sat Aug 09, 2014 6:54 am
by Gregorovitch55
Or in the wrong place so it didn't get read. Do you have a debug mode or a verbose log file setting available in the mod tools? That might help track it down.

RE: Help from devs/tech support needed

Posted: Sat Aug 09, 2014 9:19 am
by Blackstork
I've found what it was , result is pretty simple,
while game modding dont support more than 50 races, it also does not support more than 50 shipsets, but that not mentioned in any place, including modding guide documentation.
The race had reference to shipset with index 50.
Devs, please expand this hard limit, and add this to documentation.

RE: Help from devs/tech support needed

Posted: Sat Aug 09, 2014 10:26 am
by Icemania
Nice pick up Blackstork.

Another feature undocumented in the Modding Guide, which took me a loooong time to find, was associated with Troop Transports. Normally when playing manually I design them without any Weapons and the game allows them to be built no problem. But in the Design Templates, a token Weapon is required, otherwise the AI will not build them at all.

Are there any other undocumented features noted by other Modders that could also be captured?