Download
(176Kb)
Download
Updated: 07-07-13 09:32 PM
Pictures
File Info
Updated:07-07-13 09:32 PM
Created:10-30-12 09:14 PM
Downloads:3,395
Favorites:2
MD5:

JMinimap

Version: 3.05.002
by: jeruku [More]

Features include:
  • Compass shown above the minimap and below the zone text.
  • Coordinates on the bottom of the minimap.
  • The date when the time is shown.
  • Mousewheel enabled zoom in/out.
  • Movers to move some simple UI frames.
  • Combat fading.
  • Fading.
  • Scaling.
  • Gathering blip textures.
  • Addon Icon handling.
  • Profiles.
  • Minimap shapes.
  • Quest and Archaeology blobs.
  • Fonts.
  • Addon Button Frame.
  • Arrow for TomTomLite.


Optional Dependancies:


Commands/Help:
  • /jmm or /jmm help - for a list of commands
  • /jmm unlock - to unlock the movable frames.
  • /jmm lock - to lock the movable frames and save their positions.


Honorable mentions:
  • _Miniblobs by Saiket(discontinued and abandoned, for now)

Notes:
So I've decided to remove the anchor for the QueueStatusFrame and just added the info to the tooltip of the MinimapZoneTextButton. It's rather convenient this way, after all it was a rather bulky UI frame. The time for the queue will not update while it is shown, remove the cursor from the zone text and hover over it again to get an updated time. It now gives the amount of seconds... and in a very unlikely event it can show hours and days in queue. (Yay for GlobalStrings.)

I moved WandererInfoText because it was looking weird. There's a plan in the works to make it movable into any corner of the Minimap.

Alright, some more notes. Things keep breaking after I log back into the game... which doesn't really make sense since they worked before logging out. In short, that was fixed.
Astrolabe is faulty so I've made a fix that works with all addons that use the Astrolabe library. I rewrote the following:
Lua Code:
  1. function at.Minimap.minimap:GetWidth()
  2.     local width = self:GetSize()--it is always squared
  3.     return width * self:GetScale()
  4. end
  5. function at.Minimap.minimap:GetHeight()
  6.     local height = self:GetSize()
  7.     return height * self:GetScale()
  8. end

Good time as any to mention I fixed a bit of a memory leak. It had appeared I was using two upvalues of the Minimap in two separate files, so I created a singular upvalue inside the addon table.


Feedback is welcome.

v3.05.002_7-7-2013:
+ Fixed MinimapBackdrop error
* Minor tweaks and fixes

v3.05.001_7-7-2013:
+ Time in queue added to Zone Text tooltip
- Hide the bulky QueueStatusFrame
- the concept of anchors
* I've moved the WandererInfoText for now

v3.05.000_6-30-2013:
+ Fonts
+ Fully functional profiles
+ Addon Button Frame
+ Zone Text positioning
+ Did I mention fonts?
- Got rid of a global leak inside Miniblobs

v3.03.000_6-27-2013:
+ Fixed some commands
+ Added an anchor for QueueStatusFrame
+ Handling of the TimeManagerFrame

v3.02.000_6-21-2013:
+ Fixed the Battle Pet combat handling
+ Fixed the blinking not turning off
+ Some minor fixes/clean-up

v3.01.000_6-16-2013:
+ Minimap Blobs
+ /slash command support for newer functions
- Some old code
* Some attempts at silly code. It worked but it was pointless.

v3.00.000_6-12-2013:
+ Profiles
+ Shapes
+ LFG status text
+ Instance difficulty text
+ MinimapButton grabber
+ Fixes
- Old or uneeded code

v2.18.005_6-07-2013:
+ Now handles QuestPointer POI's
+ Once again fixed blip profession detection
- Some old/erroneous code

v2.18_6-04-2013:
+ TOC update to 50300
+ Pet Battle fading handled similar to combat fading
+ Changed handling of the WatchFrame by just having the mover move MinimapCluster
+ I fixed the blips in the case you don't have a profession.
+ A short list of acceptable blip style names to /jmm
+ super awesome reset command for debugging purposes.

v2.17_11-28-2012:
+ TOC update to 50100
+ Added custom height to WatchFrame

v2.16_11-26-2012:
+ Hopefully fully fixed the WatchFrame issue
+ Added node textures
+ Added node blinking
+ Added blended node

v2.14_11-17-2012:
+ Reworked the fix into the code
+ Fixed the TomTomLite arrow not re/setting appropriately

v2.13_11-16-2012:
+ Fix for graphical bug involving WatchFrame and DurabilityFrame
+ Fixed the nil error when trying to collect Minimap buttons
+ Some clean-up
- Changelog: reversed version number with month, this has been corrected.

v2.12_11-07-2012:
+ New icons control options
+ Fixed the Icons on Minimap alpha/strata
+ Cleaned /slash commands
+ Some Zone Text control added
- No need to ignore/grab Icons
- No need for debug code if it works 99.98%
- Load Order my foot...

v2.11_11-07-2012:
+ Added some code for debugging
+ Added some items/options
+ Now supports addon Minimap Icons
+ Fading support for all handled Icons
+ Streamlined some object handling
- Need to add option commands for new items
- I lost track of minor changes

v2.09_11-05-2012:
+ Now "fades" in/out for combat
+ No longer fades icons, addon buttons, or zone text with alpha
+ Compass now has scaling/alpha options
+ Added a mover for the buffs frame
+ Fixed placement issues for items on the Minimap
+ Zone text space is wider
- Soft re/set

v2.08_11-03-2012:
+ Fixed a possible bug with combat fading
+ Moved a few things here or there
- Erroneous code

v2.05_11-02-2012:
+ Upgrade/fixes

v1.02_10-31-2012:
- Debug Code
- JMinimap.toc~
- jMm.lua~
+ House keeping
+ Moved some more things into proper categories.
+ Fixed possible bug when making a frame.
Optional Files (0)


Post A Reply Comment Options
Unread 11-01-12, 04:56 PM  
Aerilyn
A Murloc Raider

Forum posts: 4
File comments: 12
Uploads: 0
Great minimap addon. I like it a lot and I gave it a test drive last night. I ran into one issue around minimap positioning. I'm a stickler about editing the LUA file to get it where I want but it wasn't working for me. I like having my minimap centered at the bottom of my screen so, I've edited the code but it doesn't do what I want. I'm not at my gaming rig, so I'll try to be as specific as possible:

I changed line 12 from ['position'] = 'TOPRIGHT', to ['position'] = 'BOTTOM',

I changed line 64 from Minimap:SetPoint(JMmOptions['map']['position'], UIParent, -25, -25) to
Minimap:SetPoint(JMmOptions['map']['position'], UIParent, 0, 3)

Normally, this should put the minimap at the bottom center of my screen but it doesn't. Instead, it puts the minimap at the bottom of my screen but to the right as if the X offset was at 150 or something. I tried entering a negative number to move it to the left by that many pixels. Instead, what I've found is when I enter a negative number, it mirrors the location on the left side.

I've done additional testing by setting ['position'] = 'BOTTOM', to ['position'] = 'CENTER', and that puts the minimap centered on my screen but off to the right. It's as if the X axis is not at center but between CENTER and RIGHT.

Hope this makes sense.
Report comment to moderator  
Reply With Quote
Unread 11-02-12, 01:01 AM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Quite the problem

I've found the problem and will get back with an upgrade to address it in a timely manner.

Somehow I knew that code would come back to bite me in the butt. Oh well, pressing forward as soon as I figure out why the movers aren't working as planned with the changes.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 11-02-12, 01:25 PM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Fixes/Upgrades

Done.

Completely redone since the movers weren't originally my code so I didn't know how they handled persistence. So I had to make it work in a way I understood.

Anyway, if you'd prefer the use of the settings in lua let me know. I can make them easier to access at the top of the file, otherwise there's the /jmm commands.

Enjoy. ^_^
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 11-02-12, 04:26 PM  
Aerilyn
A Murloc Raider

Forum posts: 4
File comments: 12
Uploads: 0
Re: Fixes/Upgrades

Originally Posted by jeruku
Done.

Completely redone since the movers weren't originally my code so I didn't know how they handled persistence. So I had to make it work in a way I understood.

Anyway, if you'd prefer the use of the settings in lua let me know. I can make them easier to access at the top of the file, otherwise there's the /jmm commands.

Enjoy. ^_^
Thanks for making the changes! It's working perfectly now
Report comment to moderator  
Reply With Quote
Unread 11-06-12, 09:10 PM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Update Troubles

It seems as though not everyone makes an attempt at making it easy to fetch their Minimap Icons. In some cases they forgo anchoring and use a radial point which is then anchored by point alone.
So the fix is taking time to fully work out, but I'll be throwing in some simple features for the buttons alongside it all. Also, QuestPointer or any other addon that uses <unnamed> frame Icons will not cause an error.

This has not been my only project and I used up a bit of my time writing a tutorial skeletal addon. There were a large amount of notes I found I was wasting time on looking up so I wrote them down in a way that makes sense, as comments in an addon. In short it acts as both a template for my work, my notations, and debugging.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 11-07-12, 01:11 AM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Updated

Nevermind my silly post from before.

Right after posting I started to realize there was a missing stack being loaded before some of my code. So the end result was me discovering that my stupidity leads me no where. (Which happens very often.)

Issues solved, possible issues prevented, and garbage like that... but no options yet, sorry.



EDIT:
+ forgot to apologize
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Last edited by jeruku : 11-07-12 at 01:12 AM.
Report comment to moderator  
Reply With Quote
Unread 11-09-12, 10:47 AM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Frame Parenting Issue

If you don't feel like downloading then fix it yourself with the following.

In jMm.lua inside <WoW Directory>/Interface/AddOns/JMinimap/jMm.lua.

1) Go to "function stash:MinimapUpdate(cat)" at line 195.
2) Inside "elseif cat == 'update' then" at line 216
3) Change:
Code:
Minimap:SetParent(parent)
4) To:
Code:
Minimap:SetParent(UIParent)
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 04:11 PM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
Hey, i love the mod, the only trouble im having is whenever i load my ui, i get an error message saying " ..\AddOns\JMinimap\jMm.lua line 410:
attempt to concatenate local 'name' (a nil value)"
could you help me with this?
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 07:59 PM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Originally Posted by Mirrikh
Hey, i love the mod, the only trouble im having is whenever i load my ui, i get an error message saying " ..\AddOns\JMinimap\jMm.lua line 410:
attempt to concatenate local 'name' (a nil value)"
could you help me with this?
I shall address this issue immediately and get back with an update shortly.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 10:31 PM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Update

Updated and working.

The issue should be resolved and should not require a reset.

Edit:
Sorry, the resulting problem should be fully resolved. Once permitted the update will be available and things should work as intended once more.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Last edited by jeruku : 11-17-12 at 01:38 PM.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 07:30 AM  
Begnis
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Howdy ya'll. Personally I'd like to say I know jeruku. He is a close friend and someone I rely on a lot. I haven't played WoW in a while with so many other things going on in my life right now, but I would like to go out on a limb for him and say that he is very dedicated to his work and he tries hard to make sure that everything is simple, yet sophisticated. I appreciate your nice comments, feedback, and support. I have yet to try his addon, but I'm sure when I (inevitably) pick up on WoW again I will use this minimap addon.

As a matter of fact I have a couple copies of his first couple of attempts at making the addon, but I have not found the time (as stated before) to update and use the current one. From what I have used in his older, let's say, beta testing versions I have been completely satisfied. Problems did arise when WoW received updates and what-not, but that's to be expected and I'd like to state that he usually got the addon working again rather quickly.

I'm not very active in these forums. As a matter of fact this might be my first post. I'm a bit of a lurker, but I couldn't resist posting here.

I'm not taking any credit here. None. Zero. Ziltch. Cero. Null. But I must admit jeruku has asked me a few times if I had any ideas for his addon. Normally, I didn't, as it seemed rather complete. But from time to time I'd pitch in a thought and if he felt up to the task would try to make it work. As I said, I take no credit for anything in this addon, which is why I won't reveal any details on our discussions.

All I can say to you jeruku is, "Keep up the good work, buddy."


P.S.
Put a dang endorsement button on your addon. I can see people support you and wouldn't mind sending a buck or 2 your way.
Last edited by Begnis : 11-30-12 at 07:48 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 07:46 AM  
Begnis
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Sorry for the double post, but I actually do have an idea for more features.

First is maybe a slide bar or another way to scale the minimap in-game. If this has already been implemented, disregard it, please.

I know you're not a PvP guy and probably don't know much about the UI involving PvP. But if you do get around to it, could you look at adding some more UI movers? For example the score in Arathi Basin is centered to the top, but I don't like it there and even with other mods I can't seem to get it to move.

More examples are:
The score in Warsong Gulch
The base capture meter (in many battlegrounds, but Eye of the Storm comes to mind)
PvP frames (though this may involve a whole other addon) in Arenas
The flag carrier and score in Eye of the Storm

I could think of a few more given the time, but I just got home from "work" if it can so be called. I had an energy drink before and I'm feeling the crash. Getting sleepy and this post took somewhere around 15 minutes to type because I was getting distracted by sounds and I think I dozed off once.

So yeah. Just a few ideas. PvP-specific movers. In-game scale option.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 11:10 AM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Originally Posted by Begnis
First is maybe a slide bar or another way to scale the minimap in-game. If this has already been implemented, disregard it, please.

I know you're not a PvP guy and probably don't know much about the UI involving PvP. But if you do get around to it, could you look at adding some more UI movers? For example the score in Arathi Basin is centered to the top, but I don't like it there and even with other mods I can't seem to get it to move.
Hey Beg, I'll take it you're bored or updating addons. As for donations, this addon ain't all that great.

I have added /slash commands to change settings and made settings persistent. I'm reluctant to make a GUI based option system of most sorts until I feel I understand that code better.

As for the PVP or WorldState frame... yeah, that's one of the original movers if I'm not mistaken. Just need to add support for the boss frames and arena frames. You need to get back to Panda-land I think.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Unread 06-23-13, 11:00 AM  
Glanville
A Murloc Raider
 
Glanville's Avatar

Forum posts: 5
File comments: 2
Uploads: 0
Originally Posted by jeruku
Originally Posted by Begnis
First is maybe a slide bar or another way to scale the minimap in-game. If this has already been implemented, disregard it, please.

I know you're not a PvP guy and probably don't know much about the UI involving PvP. But if you do get around to it, could you look at adding some more UI movers? For example the score in Arathi Basin is centered to the top, but I don't like it there and even with other mods I can't seem to get it to move.
Hey Beg, I'll take it you're bored or updating addons. As for donations, this addon ain't all that great.

I have added /slash commands to change settings and made settings persistent. I'm reluctant to make a GUI based option system of most sorts until I feel I understand that code better.

As for the PVP or WorldState frame... yeah, that's one of the original movers if I'm not mistaken. Just need to add support for the boss frames and arena frames. You need to get back to Panda-land I think.
Yep /jimm doesn't work soz.. I really wish to replace sexymap too. *sigh* nice idea though
Last edited by Glanville : 06-23-13 at 11:01 AM.
Report comment to moderator  
Reply With Quote
Unread 06-23-13, 01:01 PM  
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 223
File comments: 34
Uploads: 4
Originally Posted by Glanville
Yep /jimm doesn't work soz.. I really wish to replace sexymap too. *sigh* nice idea though
Whoa, it's /jmm there is no i. Jeruku's MiniMap. Use lowercase for the /jmm part, take the liberty to go ballistic with random capitalization after that.
(Example: "/jmm MaP ShaPe CorNer-TopLEFT" turns into "/jmm Map shape CORNER-TOPLEFT"; at least it's supposed to do that.)

If you're wondering how to move the Minimap.... that's my bad. I forgot to add the Shift + Alt hint to /jmm. Added for next release.

To keep things fairly light and simple I've kept the command-line options. If you are looking for Graphical User Interface options feel free to continue use of the addon to your liking. Another thing is I have not localized any options.

Any further concerns or questions?
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: