OpenTibia BitmapToMap v2.0

OP
DarkstaR

DarkstaR

Banned User
Joined
Feb 18, 2009
Messages
363
Reaction score
1
Wow, cant edit.

Anyways, I'm guessing its an arithmatic overflow. Mind posting the image you are using, or PMing it to me?
 

BeniS

Intermediate OT User
Joined
Aug 8, 2009
Messages
1,850
Reaction score
181
Location
New Zealand
doesn't export the map every time & could use some UI editing to be honest, like:

-Being able to remove itemID/colors that you added from the table,
-Better naming of the labels so its more user friendly,
-and maybe add a readme with some info on all the features and how it works.

Real nice program otherwise though, Rep++
 

Mithaz

Nightimp Mapper/Scripter
Joined
Nov 7, 2007
Messages
120
Reaction score
1
Location
Sweden
I have translated the error message i got.
Waiting patient on the fix for this so i can countinue work on my project.
^_^

Code:
Information how to activate JIT-troubleshooting insteed of this 
dialog box is at the end of this message.

************** exception **************
System.OverflowException: The arithmetic operation cause spill.
   vid BitMapToMap.ColorUtils.ColorBetween(Color check, BitmapTileTransformDefinition td)
   vid BitMapToMap.Main.Export_Click(Object sender, EventArgs e)
   vid System.Windows.Forms.Control.OnClick(EventArgs e)
   vid System.Windows.Forms.Button.OnClick(EventArgs e)
   vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.ButtonBase.WndProc(Message& m)
   vid System.Windows.Forms.Button.WndProc(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** input combination**************
mscorlib
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BitMapToMap
    combinationsversion: 1.0.0.0
    Win32-version: 1.0.0.0
    CodeBase: file:///D:/Niclas%20Game/WoW%20Server%20Work/Server%20Downloads/BitMapToMap.exe
----------------------------------------
Microsoft.VisualBasic
    Sammansättningsversion: 8.0.0.0
    Win32-version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
   combinationsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    combinationsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Core
    Sammansättningsversion: 3.5.0.0
    Win32-version: 3.5.30729.4926 built by: NetFXw7
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
    combinationsversion: 2.0.0.0
    Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
-----------------------------------------
 

Krypt

Excellent OT User
Joined
Sep 16, 2007
Messages
57
Reaction score
0
Location
NSW, Australia
I guess its broken for now? o_O i tried all formats of BMP and Jpeg still get the overflow error..
 

richux

Tibera.org
Joined
Aug 18, 2008
Messages
3,667
Reaction score
24
Location
---------
sweet! plx someone can code program that makes tibia map from my digital camera picture? S:
 

andu

Sold 649 scripts, 25 maps and 9 events!
Joined
Aug 7, 2009
Messages
807
Reaction score
207
not work for me;p

when i hit 'export to otbm' the program asks me for locating a folder, so i choosen a random folder where was clean otbm file with x-spawn.xml and houses

now program working 'eating 100 cpu' and when finish - nothing
old file is still like old (clean) nothing changed
and nothing changed where i have bitmaptomap.exe file

maybe i did something wrong
 

muphet

Member
Joined
Apr 27, 2008
Messages
233
Reaction score
2
maybe it's not workin' in Seven? I got same problem so..
 

MindRage

Toss Me
Joined
Nov 11, 2008
Messages
474
Reaction score
70
This is great, Do you mind if i use some of the source code to use for my program :O?
 
OP
DarkstaR

DarkstaR

Banned User
Joined
Feb 18, 2009
Messages
363
Reaction score
1
As long as you give proper credits, no problem :)

Also, a link back to the original code is always nice to have but not required.
 

MindRage

Toss Me
Joined
Nov 11, 2008
Messages
474
Reaction score
70
As long as you give proper credits, no problem :)

Also, a link back to the original code is always nice to have but not required.

Alright ;D sounds good, Btw with the OTBM writer at the end.

Do you know how to stack multiple items with attributes on same tile?
 

MindRage

Toss Me
Joined
Nov 11, 2008
Messages
474
Reaction score
70
Cant edit the post, Hate to double post..
Anyways, No need, I found where you found your otbm source :p There is items already.
 

IMac

entrepreneur
Joined
May 31, 2009
Messages
2,482
Reaction score
16
Location
Pluto
it takes ages to export to otmb im using vista
 

IMac

entrepreneur
Joined
May 31, 2009
Messages
2,482
Reaction score
16
Location
Pluto
cant edit but it dont even work it doesnt do shit
 

Collz

Pandas Go RAWR!!!
Joined
Oct 10, 2008
Messages
2,091
Reaction score
55
Location
New York
Try finding his older version, it works perfectly, but it exports to an otx file so you would have to save as otbm using OTMapEditor.
 
Top