EarlyMorning - Progress & Discussion
I played around with it and clicked a lot in the map editor. This is what I got. (It looked like my bug in the sshot as I got the error)
Hope this helps.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.PlotTileToMap(Int32 x, Int32 y, Image tile, Int32 tile_index)
at EarlyMorning.FRM_Main.PB_Map_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(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.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)
Hope this helps.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.PlotTileToMap(Int32 x, Int32 y, Image tile, Int32 tile_index)
at EarlyMorning.FRM_Main.PB_Map_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(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.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)
Revolution Software
- kv83
- Maxcoderz Staff
- Posts: 2735
- Joined: Wed 15 Dec, 2004 7:26 pm
- Location: The Hague, Netherlands
- Contact:
Is registered as BG-004.NanoWar wrote:I played around with it and clicked a lot in the map editor. This is what I got. (It looked like my bug in the sshot as I got the error)
Hope this helps.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.PlotTileToMap(Int32 x, Int32 y, Image tile, Int32 tile_index)
at EarlyMorning.FRM_Main.PB_Map_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(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.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)
[ http://users.free.swifthost.net/NanoWar ... Error1.gif ]
I drew a cicle in the map editor. I got an error when I moved the mouse to where it is on the sshot:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.get_Tile(Int32 x, Int32 y)
at EarlyMorning.FRM_Main.PB_Map_MouseDraw(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.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 drew a cicle in the map editor. I got an error when I moved the mouse to where it is on the sshot:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.get_Tile(Int32 x, Int32 y)
at EarlyMorning.FRM_Main.PB_Map_MouseDraw(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.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)
Revolution Software
- kv83
- Maxcoderz Staff
- Posts: 2735
- Joined: Wed 15 Dec, 2004 7:26 pm
- Location: The Hague, Netherlands
- Contact:
Registered as BG-007NanoWar wrote:[ http://users.free.swifthost.net/NanoWar ... Error1.gif ]
I drew a cicle in the map editor. I got an error when I moved the mouse to where it is on the sshot:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at EarlyMorning.Map.get_Tile(Int32 x, Int32 y)
at EarlyMorning.FRM_Main.PB_Map_MouseDraw(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.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)
- kv83
- Maxcoderz Staff
- Posts: 2735
- Joined: Wed 15 Dec, 2004 7:26 pm
- Location: The Hague, Netherlands
- Contact:
EM v0.1.2.0 is now online. It fixes the bug found by NanoWar.
Please note if you have any files you made and want to reuse:
Please note if you have any files you made and want to reuse:
EM will now work with a new file type, called Early Morning Resource File (*.emr). It's the same as the old .xml file, just with a different file-type. To "convert" your old files, just go to the cmd, and use "ren old.xml new.emr" where old.xml is your old file and new.emr the new file
- kv83
- Maxcoderz Staff
- Posts: 2735
- Joined: Wed 15 Dec, 2004 7:26 pm
- Location: The Hague, Netherlands
- Contact:
So did I. That's why I made that featureblueskies wrote:side note, I just wanted to mention and thank you KV for a feature I just discovered. Changing the order of tiles prompts to update the map. CalcGS lacked this and I hated it! Thank you!!!
@Kozak: I'll look into it. I propably have to optemize the code behind that. I only used smaller maps till now... ... But maybe you should reinstall your PC aswell... it doesn't sound really "stable" to me
Last edited by kv83 on Tue 21 Feb, 2006 11:53 am, edited 2 times in total.