• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OpenTibia BitmapToMap v2.0

Wow, cant edit.

Anyways, I'm guessing its an arithmatic overflow. Mind posting the image you are using, or PMing it to me?
 
Here is the pic im using.
Have lots of ideas on making a ot with that map and dont have the time to make all from scratch :p
 

Attachments

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++
 
I've got an error when I export map to .otbm.

errori.png
 
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
-----------------------------------------
 
sweet! plx someone can code program that makes tibia map from my digital camera picture? S:
 
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
 
This is great, Do you mind if i use some of the source code to use for my program :O?
 
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.
 
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?
 
Cant edit the post, Hate to double post..
Anyways, No need, I found where you found your otbm source :p There is items already.
 
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.
 
Back
Top