Page 34 of 51

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 19 Jun 2012, 11:37
by Flail13
Links to 1.29 are in the first post.

Keyboard controls can be changed.
The button to go back to the previous tool is (by default) the `~ tilde button.
I tried to automatically detect the display's colour bit depth.
Some compile messages with positions can be double clicked to go to the position.

Mr T, no right click popup menus yet.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 20 Jun 2012, 01:13
by WarTux
I still can't run this version under Linux/Mono. :(

Her'es my stacktrace:

Code: Select all

Stacktrace:

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateBitmapFromFile (string,intptr&) <0xffffffff>
  at System.Drawing.Bitmap..ctor (string,bool) <0x00063>
  at System.Drawing.Bitmap..ctor (string) <0x00013>
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor (string) <0xffffffff>
  at FlaME.modBitmap.LoadBitmap (string,System.Drawing.Bitmap&) <0x0006b>
  at FlaME.clsTileset.LoadDirectory (string) <0x003af>
  at FlaME.modProgram.LoadTilesets (string) <0x002ef>
  at FlaME.frmMain.Initialize (object,System.EventArgs) <0x015d3>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x0002f>
  at System.Windows.Forms.Timer.FireTick () <0x0001d>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUIX11.CheckTimers (System.Collections.ArrayList,System.DateTime) <0x002ef>
  at System.Windows.Forms.XplatUIX11.PeekMessage (object,System.Windows.Forms.MSG&,intptr,int,int,uint) <0x00143>
  at System.Windows.Forms.XplatUIX11.DoEvents () <0x0023d>
  at System.Windows.Forms.XplatUI.DoEvents () <0x0001c>
  at System.Windows.Forms.Application.DoEvents () <0x0000b>
  at FlaME.modMain.Main () <0x0058b>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
The 'MapViewBPP=24' fix does not work, either.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 20 Jun 2012, 02:30
by Flail13
Loading the tileset images is what is causing that. I don't know why, other than Mono itself. Are you using Mono 2.10.8, and have you tried compiling from source? To compile from source you would need MonoDevelop and the code, and probably other packages.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 20 Jun 2012, 03:03
by WarTux
Yes, I'm using Mono 2.10.8. I'm using the official build, I haven't tried compiling. I'll do that and report back.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 21 Jun 2012, 19:41
by Merowingg
Flail your robot seems to be more and more fierce :) shall we be scared? for sure he can get some space in that way when attacked by few enemies ;)

I will check the newest one agter the exams which seem to be impassable for me..

this - button is about the copy paste or I gor confused?

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 22 Jun 2012, 06:48
by NoQ
impassable
Try re-texturing or modifying the tile types (: (: (:

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 22 Jun 2012, 16:37
by Merowingg
Oh I do all the time now NoQ (:

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 24 Jun 2012, 07:39
by sensor
In the new version I have no view of the Flame Features, Structures, Droids, there are empty fields ;

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 24 Jun 2012, 11:07
by Flail13
sensor, if you haven't already, check in the options that you have selected a folder to load the objects from. It also needs to be highlighted to select it as the one to load. Otherwise, report if you had any error messages.

Merowingg, the "Flail" was designed as a construction bot. In combat, swinging the chains is good for hits on close targets, but it takes a while to get out of the spin, leaving the bottom half of the bot open to low attacks. :)
It's from an old old (and not very good) game: OMF 2097.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 24 Jun 2012, 19:03
by sensor
I set everything and is in order.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 29 Jun 2012, 08:20
by Andrie
Hallo, Flame says: Unable to cast object of 'System.DBNull' 'Flame.clsUnitType'. Please help, it says this when I whant to place a object. :stressed: :stressed: :stressed: :stressed:

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 29 Jun 2012, 09:05
by Andrie
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'FlaME.clsUnitType'.
at FlaME.frmMain.ObjectTypeSelectionUpdate(DataGridView dataView)
at FlaME.frmMain.dgvFeatures_SelectionChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs 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.DataGridView.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FlaME
Assembly Version: 1.29.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/FlaME.exe
----------------------------------------
OpenTK
Assembly Version: 1.0.0.0
Win32 Version: 1.0.278.44921
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/OpenTK.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Matrix3D
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/Matrix3D.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
OpenTK.GLControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.278.44921
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/OpenTK.GLControl.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 29 Jun 2012, 12:48
by Andrie
HELP!! ASB!! :stressed:

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 02 Jul 2012, 23:57
by Goth Zagog-Thou
Andrie, looks like you've got a lot more going on than I could help ya with. :(

Flail, I've got feature requests if you're willing to take them. :D

1) Allow for importing a tileset folder and have FlaME generate a new .ttp for that set. This is necessary to get the "grand unified tileset" working.

2) Up the maximum number of tiles in a set to 256 (for now). This will likewise accommodate the "grand unified tileset". Currently the maximum seems to be 96 (0-95).

3) Add Urban and Rockies terrain types to the Arizona list. This is also for the "grand unified tileset".

4) Increase maximum tile height to 512.

I tried modding FlaME myself but I'm in over my head.

Thanks buddy!

Re: FlaME -- The Warzone 2100 Map Editor

Posted: 03 Jul 2012, 07:50
by Andrie
Yes PLEASE do what Got Zagog-Thou said.