EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-07-2009, 04:18 PM
SaintPeter's Avatar
SaintPeter SaintPeter is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 536
Default [Beta] MapperLive v0.6.0 - Real Time Mapping, Multi-Language Support

Attached is my latest programming project, MapperLive. Requires .Net v2.0 or higher.

MapperLive, as the name suggests, will show real-time feedback as you map. It will also output to SVG. The output should be nearly identical to the latest mapper2 version.

It uses all the same commands as Mapper2, plus a few new ones:
  • /em start new map line
    Ends the current line (picks up the pen)
  • /em color [color name]
    Changes the color of the current and subsequent lines to [color name], e.g. 'black', 'blue', 'green', etc.If color name is not set, resets draw color to black.
  • /em width [Line Width (#.#)]
    Changes the width of the current and subsequent lines to[Line Width]. If no Line Width is supplied, resets width back to 2.0.
  • /em mapgroup [Layer Name]
    Creates a new group of lines. Each group will be on it`s own layer in the svg file. Use to separate floors or areas when mapping.If Layer Name is not set, defaults to "Layer n", where n is the number of the mapgroup.
MapperLive also has basic zoom and navigation controls. With the Move Tool, left click and drag. With the Zoom tool, Left Click zooms in, Right Click zooms out. Yes, I know the zoom is funky, I'm working on it.

You can toggle the visibility of layers as you are working. See the layer control at the bottom of the interface.

To see realtime feedback, open the logfile you will use (File->Open) and check "auto-parse". As you add lines, they will be immediately displayed. The display will also auto-scale to fit the lines.

NOTE
This is a Beta. I have not tested it extensively and it's possible that it will explode, kick your cat, etc. No warranty expressed or implied.

TODO
  • Multi-Language Support (Parse/Commands Only)
  • Clean up Interface
  • Make Zooming work more intitively, include scale drop-down
  • Add Map Extents to display, limit pan, zoom.
  • Add LayerName command to set first layer name
Your feedback is welcome.

EDIT: New Version 0.5 Below
Attached Thumbnails
Click image for larger version

Name:	MapperLive_Screen.jpg
Views:	659
Size:	70.5 KB
ID:	6945  
__________________

Last edited by SaintPeter : 06-14-2009 at 11:50 PM.
Reply With Quote
  #2  
Unread 06-08-2009, 11:20 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

I was hoping you would do a GUI one. I started one a while back based on you mapper math but lost interest.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 06-08-2009, 12:22 PM
SaintPeter's Avatar
SaintPeter SaintPeter is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 536
Default

Quote:
Originally Posted by Landiin View Post
I was hoping you would do a GUI one. I started one a while back based on you mapper math but lost interest.
Yeah, gm9 sent me a copy of your code and I was inspired.

I've just learned about matrix transformations which make the math super duper easy. I'll be posting my source code once I have something closer to final.

For me, the hardest part of this project is the UI work, not the math. Trying to make it intuitive and easy to use is hard.
__________________
Reply With Quote
  #4  
Unread 06-15-2009, 12:05 AM
SaintPeter's Avatar
SaintPeter SaintPeter is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 536
Cool MapperLive 0.5.0

New Version 0.5.0
New Version Below

New Features
  • Multi-Lingual Parse Support
    Now in place for Russian, German, and French. MapperLive will parse the log files produced by these languages. It's easy to add your own favorite language by creating and appropriate .ini file.

    Select your language file from the File->Settings Dialog.
  • Mouse Wheel Zoom Support
    Mouse Wheel now zooms in and out. Zoom is roughly (but not totally) centered on the location of the mouse
  • Other Zoom Stuff
    • Drop Down and custom Zoom Levels
    • Right Click = Zoom in
    • Right Click Drag = Zoom to selected area
  • Dragging movement no longer allows you to drag the map off the screen.
  • Greater persistence of user settings, window position, etc.
  • Display
    • Border around displayed map area
    • Customizable map area and display area colors (in Settings)
Fixes
  • SVG Output in counties which use a comma as a decimal now works properly
  • Various file and stability related crashes have been fixed
To Do
  • Create Help Files, Multi-Language and English
  • Clean up Layers Interface
  • Add "groupname" or "layername" type command
I would love to have any feedback or feature requests you may have. The small amount of feedback I've already gotten enabled me to fix a bug that I could never have caught myself.
Attached Thumbnails
Click image for larger version

Name:	MapperLive_Image.gif
Views:	385
Size:	30.1 KB
ID:	6965  Click image for larger version

Name:	MapperLive_Image2.gif
Views:	388
Size:	6.3 KB
ID:	6966  
__________________

Last edited by SaintPeter : 06-16-2009 at 12:06 AM. Reason: Added Pictures
Reply With Quote
  #5  
Unread 06-15-2009, 12:57 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

I couldn't get it to do anything.. turned on logging browsed to my log file and started getting some /locs.. Nothing showed on map.. I checked autoparse and tried again but nothing.. English is not an option in the dropdown. I know its the default but /shrug. And its in .NET. :P

I got the following if I scrolled the mouse wheel while over where the image should be.

Code:
0.5.0 Unknown Thread Error: MapperLive
   at MapperLive.mapdata.set_zoom_begin(PointF value)
   at MapperLive.Main_Interface.Main_Interface_MouseWheel(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e)
   at System.Windows.Forms.ScrollableControl.OnMouseWheel(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseWheel(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.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)Object reference not set to an instance of an object.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #6  
Unread 06-15-2009, 03:16 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,654
Default

Done some testing :P

The zoom, you could zoom out way below 0% making it a tiny dot only.
I think there is no reason to be able to zoom below 100% as it still fits if you make the window smalest possible.

You can't edit the Style Name, this is not good if there is no styletag to be found in log.

There is no limit to zoom in, you can zoom so long that you get an error with a big red cross on the screen, and there is no way to fix it by reloading a file, you have to close the program.

The SVG file works fine now.
It still says MapperLive v0.1
There is no Min ,Max elev. values.

And as Landiin says there is no way to change back to english if you select any other language , you are stuck
__________________
Pimigo / Splitpaw
Reply With Quote
  #7  
Unread 06-15-2009, 11:53 PM
SaintPeter's Avatar
SaintPeter SaintPeter is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 536
Default

Quote:
Originally Posted by Landiin View Post
I couldn't get it to do anything.. turned on logging browsed to my log file and started getting some /locs.. Nothing showed on map.. I checked autoparse and tried again but nothing.. English is not an option in the dropdown. I know its the default but /shrug. And its in .NET. :P
I did another test of my autoparse code and everything seemed to be working. Was the log file on a different drive from the MapperLive exe? Did you try to open the file again with MapperLive? Are you able to parse the log with mapper2.exe? Did you have the autoparse checked prior to opening the file?

Why the hatin' on .NET? Sure, it's a PITA that you have to install the libraries, but you only have to do that once (for the most part). It is SO easy to develop with, I love it.
__________________
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:19 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI