Download
(34 Kb)
Download
Updated: 10/15/23 02:48 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:10/15/23 02:48 AM
Created:06/25/16 12:39 AM
Monthly downloads:18,727
Total downloads:3,415,459
Favorites:1,756
MD5:
Votan's Minimap  Popular! (More than 5000 hits)
Version: 2.0.6
by: votan [More]
DependenciesDescription
This addon reactivates the mini map from ZOS. Thus the mini map does not do less, but also not more than the built-in world map, because it is the built-in world map.

No artificial synchronization of (custom) pins between mini map and world map. All kind of pins are supported by design.
But also no border pins or rotation mode and such features. My mini map is intended to be lightweight and fast.
  • Includes world map performance tweaks, which can be disabled for performance comparison.
    The tweaks changing the pin rendering to utilize the CPU up to a framerate of 75 only. Seeing the pins rendered over time is not a sign of overload of this addon, but a compensation of others.
  • Conflicts with other mini maps can be expected. Therefore the mini map can be disabled to use the tweaks only.
  • I do not recommend to use the AUI mini map module at the same time as mine.
  • Gamepad support, but limited due to lines in ZOS source code, they call a "total hack" themself:
    Positioning and resizing in keyboard mode only.
  • The window is resizable via mouse. (this code is written by ZOS, not me)

If you think you need a full-featured mini map try the MiniMap by Fyrakin.

@Shinni did a great job creating a plug-in for a Circular Votan's Mini Map.
And if you want to show group pins in different colors and/or icons, such as showing a different color for dead players, you may want to use Votan's Group Pins.

Providing a mini map can be an unthankful job. I guess Fyrakin could sing a song or two. Therefore I can't resist to say:
The addon works well for me. Otherwise I would not have released it. If you think you have performance problems due to this addon, help tracking down or stop using.
Frame freezes are most likely coming from an addon providing a lot of pins without taking care about creating even a simple pin takes some time multiplied by hundreds.
In this case the author of that addon can make it more mini map friendly, only.

Thanks to @scootworks, @Anceane and @Drakanwulf for testing

Remarks
  • There are key-bindings to toggle the mini map on/off. For technical reasons the toggle while at siege weapons needs its own key-binding. But you can re-use the same key.
  • If you feel dissatisfied with the second main menu entry for "Addons", take a look at Harven's AS to LAM adapter.
  • In order to move or resize the window, you need to go to the mouse-cursor mode. You can do this by pressing the key-bind for mouse-cursor mode, which is "." (dot) by default. Or you press "Enter" as if you want to start chatting.
    Once you have the mouse pointer you can drag the window with the title-bar and bottom-bar. Or resize it using the border. The mouse pointer will change. Like in Windows. (And I guess MAC, too )

ToDo
- Customize pin scaling Done. => Extra settings page.
- Try to enable tooltips: Update: Found a real, real hacky way. Gamepad mode is wonky. One has really have to think about going this way.
version 2.0.6:
- API bump for U40.
- Handle ingame "missing map" bug.

version 2.0.5:
- Added SHIFT key for zoom-in/out fives times faster.

version 2.0.4:
- Update for Necrom.
- LibGPS 3.3.0 required.
- New option: "Show On Top".

version 2.0.3:
- Fixed sticky POI map pims.
- Updated mini map titles: Showing dungeon difficulty and campaigns.

version 2.0.2:
- API bump.
- Fixed issue with update 37.

version 2.0.1:
- Removed legacy code.
- Fixed sticky POI pins. (Hopefully)

version 2.0.0:
- Dropped support for TweakIt.
- Update for "Firesong".

version 1.8.5:
- Japanese translation. Thanks to @snorunt361.
- Update to French translation. Thanks to @lexo1000.

version 1.8.4: Fixed fonts issue due to recent changes by ZOS.

version 1.8.3: Fixed minor bug with reseting custom styles.

version 1.8.2:
- Fixed issue with floor buttons.

version 1.8.1:
- Fixed issue with switching gamepad mode. (As far as I can test)

version 1.8.0:
- Update to API 101032.

version 1.7.8:
- Allow to show/hide real-time and in-game time separately.

version 1.7.7:
- Russian translation update. Thanks to @lucelem.
- Update code to use WORLD_MAP_MANAGER.
- Fixed covering top level windows like "displayleads".

version 1.7.6:
- Update to API 100033 "Markarth".

version 1.7.5:
- Another try to fix battleground zoom.
- LibDebugLogger support.
- Changing draw delay for POIs, if world map is open, to 25ms from 200ms.
- Reverting the custom pin draw auto delay.

version 1.7.4:
- Reverted fix for pan to player in non-square map window. (Causing jitter. Fix will not work.)

version 1.7.3:
- Fixed Compass settings.

version 1.7.2:
- Update to API 100032 "Stonethorn".
- Fixed pan to player in non-square map window. (Beta)
- Fixed not zooming out to show dig zones.

version 1.7.1:
- Switched to a master on/off toggle. Revisit your settings and key-bindings.

version 1.7.0:
- Hopefully fixed the new scrying system: Handling new scene SCRYING_SCENE.
- Use new a WORLD_MAP_MANAGER.

version 1.6.9:
- Battleground zoom. But without testing. I don't do PvP.
- Say bye-bye to LibStub.

version 1.6.8: Sync built-in setting "Keep Square" across characters, which makes it account-wide. You may have to toggle it one last time.

version 1.6.7:
- For the peace of mind I changed to a simple camera heading from current view angle. And: No, I will not offer both as an option.

version 1.6.6:
- Limit "Field of View" indicator angle to 140 degrees maximum.

version 1.6.5:
- Added missing texture to zip.

version 1.6.4:
- Fixed overseen use of LibStub.

version 1.6.3:
- Update to API 100029 "Dragonhold".
- New option: Show Field of View. As requested.

version 1.6.2:
- There is a bug in LibHarvensAddonSettings, which I fixed for myself. Until Harven fixes it, the feature is disabled again. Sorry.

version 1.6.1:
- Update to API 100028 "Scalebreaker".

version 1.6.0:
- Update to API 100027 "Elsweyr".
- Custom pin sizes.

version 1.5.1:
- New option: Asynchronous Update is optional, now. Try it.

version 1.5.0:
- Update to API 100026 "Wrathstone".
- Allow to fix Mini Map at current mouse pointer position like setting a waypoint.
- Tweaked dead-zone handling of the zone/sub-zone toggling.

version 1.4.14:
- new option: Show Full Title. As requested by @mav1234.

version 1.4.13:
- Fixed gamepad levels buttons.

version 1.4.12:
- The fix of 1.4.10 introduced a new bug, that sometimes the mini map stops following the player pin.

version 1.4.11:
- The fix of 1.4.10 introduced a new bug, that does not allow to hide the mini map once the world map was shown.

version 1.4.10:
- Fixed leaving fast travel mode on dismounting. Thanks to @Jhenox.

version 1.4.9:
- Fixed overseen change to POIs.

version 1.4.8:
- Fixed gamepad hacks.

version 1.4.7:
- Update for "Murkmire".
- Update to LibAsync rev 1.8.
- Compabitility with PerfectPixel.

version 1.4.6:
- Fixed mini map keeps stuck in drag-scroll mode.
- Added russian translation. Thanks to KiriX.
- Improved support for language-packs. Thanks to TERAB1T.
- New option: Keep Square. Finally found a way to change ZOS' pan&zoom for retangluar mini maps.

version 1.4.5:
- Update LibHarvensAddonSettings rev 7.2. Fixed color picker settings.

version 1.4.4: Fixed dependency typo, which prevents addon gets loaded.

version 1.4.3:
- Update to API 100024 "Wolfhunter".
- Update to LibAsync rev 1.7.
- New library load structure.
- New behavior: Mounted Zoom is a scale factor, now. You may need to re-adjust this value to your preferences.

version 1.4.2:
- Fixed bug which would cause trouble with WaypointIt.

version 1.4.1:
- Store zoom factors scale and limitedScale in VOTANS_MINIMAP. Requested by Shinni.
- Fixed fast travel to "The Harborage".

version 1.4.0:
- Fixed settings reset to default.
- Added LibQuickPin for faster pins drawing in World Map and Minimap. Thanks to @Shinni.
- API bump 100023 "Summerset".

version 1.3.5:
- All settings, expect toggle state, account-wide: Zoom key-binds did use wrong settings.
- Fixed icon size scaling.
- Hopefully fixed the Cyrodiil zone caption update. Part 3.

version 1.3.4:
- Fixed "Show while Mounted".

version 1.3.3:
- Hopefully fixed the Cyrodiil zone caption update. Part 2.
- Update to LibAsync rev 1.6: Take cake of V-Sync on/off.
  • For V-Sync on, the target frame rate is bit higher than 60fps.
  • For V-Sync off, the frame limiter value (default 100fps) is used for target frame rate.

- All settings, except toggle state, account-wide.

version 1.3.2:
- Fixed wrong pins. Part 2.
- Hopefully fixed the Cyrodiil zone caption update.

version 1.3.1:
- Fixed wrong pins
- Hopefully fixed hooking pins. Like "Hide Preview Houses".

version 1.3.0:
- Update to LibAsync rev. 1.5.
- Allow to set a waypoint with ctrl left-click in minimap.
- Reworked tweaks.

version 1.2.5:
- API bump for "Dragon Bones".
- Renamed from "Mini Map" to "Minimap" for better addon search results.

version 1.2.4:
- Fixed an issue with map change ping pong in some sub zones at the edges.

version 1.2.3:
- Adding a deadzone to sub-zone map swapping.
- Hopefully better "Show On Mounted" key-bind toggling.

version 1.2.2:
- Prevent "Joviex's Addon Settings Transfer (Updated)" false detects the addon as settings useable for transfer.

version 1.2.1:
- API bump for Clockwork City.

version 1.2.0:
- Update for "Horns of the Reach".
- Layer mini map under bounty meter.
- Zoom key-bindings at siege.

version 1.1.9:
- Fixed a typo for settings tooltip.
- New option for title at the bottom bar.

version 1.1.8:
- LibAsync 1.4: Boost mode for menu scenes. The boost mode shifts the priority from framerate to Lua speed.
- Localization. Thanks to @lexo1000 for french translation.

version 1.1.7:
- Fixed Show Siege settings.

version 1.1.6:
- Fixed Mounted Zoom factor settings.

version 1.1.5:
- Zoom factors and show states are per character, now. But taking over former account-wide settings. I did not expect that to be so important. Sorry.
* If the character was not loaded before already.
- Update to LibASync 1.3.

version 1.1.4:
- Localization. Thanks to @lexo1000 for french translation.
- Zoom factors and show states are per character, now.

version 1.1.3:
- update to LibAsync 1.2: Low framerate mode, fix bug in Delay.
- Fix potential issue with detecting LibGPS.
- New option to show/hide compass, if mini map is shown on HUD.

version 1.1.2:
- LibAsync rev 1.1: New target framerate 75.
- Back to render method of v1.1.0 with new LibAsync.
- Fixed missing map update for Cyrodiil specific pins.
- Added debug option to show frame freeze warning.

version 1.1.1:
- Deleted unused files.
- Reverted rendering tweaks, which could make the addon "heavier".

version 1.1.0:
- Better support for LibGPS.
- Limited gamepad support. Thanks to @Shinni.
* Limitation: Positioning and resizing can be done in keyboard mode only.
- New option to suppress Zone change annoucement in upper right corner.
- Use LibAsync for asynchronous programming.
- New option: time format.

version 1.0.10:
- Added optional dependency to TrueExploration for compatibility.
- Fixed another small issue with "Show on Map".

version 1.0.9:
- New option to choose either or not to zoom to player.

version 1.0.8:
- Changed clamped-to-screen-insets, requested by F-Lambda
- Fixed pins were keeping mouse-over-size.

VotansMiniMap v1.0.7:
- Update to LAM2 rev 23
- ESO 2.7 "Homestead" ready
- Thanks to @Chip, I can use new world map functions to move the map faster to player position

version 1.0.6:
- Better unsupport of gamepad mode: World map is not broken, if switching to gamepad mode.
* Still no change to World Map code from ZOS. Gamepad support still not possible.
- Reworked "Spread over time" calculations: Don't be too restrictive for framerates 60+.
- As map pins are larger now, they are made smaller on mini map.

version 1.0.5:
- Restore player pin level. (Hopefully)
- Hide map in gamepad mode.
- Scale unit pins, but not below configured minimum.
- Tweak change: Multiple calls to UpdatePinsForMapSizeChange are buffered, but the update itself is not spread over time anymore.
- ESO 2.6 'One Tamriel' ready.

version 1.0.4:
- Allow to hide floor buttons.
- Show player location name in title.
- Added thin shadow to title bar font.
- Zoom level for sub-zones and dungeons
- key-binds to adjust zoom directly
- New Style "Modern"

version 1.0.3:
- More options: Allow to lock window position
- Drag with the bottom bar, too.
- Auto size pins on zoom less than 1.
- Key-binds to change zoom factor while key is pressed, as suggested by @Baertram.
- Fixed missing zoom if using wayshrine in subzone. (Hopefully)

version 1.0.2:
- Again, more appearance options: Title font, size, color.

version 1.0.1:
- More appearance options. (Yes, yes, more will come)
- Fixed map pin filter for Cyrodiil.
- Fixed compatibility issue with Dolgubon's Lazy Writ Crafter.
- Update 11 (Shadows of the Hist) ready.

version 1.0.0:
- initial
Optional Files (2)
File Name
Version
Size
Author
Date
Type
1.0.0
504kB
08/04/23 05:48 PM
Addon
1.11
317kB
05/04/22 11:21 PM
Addon


Archived Files (79)
File Name
Version
Size
Uploader
Date
2.0.5
34kB
votan
08/26/23 07:05 AM
2.0.4
34kB
votan
06/08/23 07:28 AM
2.0.3
34kB
votan
04/01/23 10:37 AM
2.0.2
46kB
votan
02/11/23 08:01 AM
2.0.1
33kB
votan
11/05/22 10:39 AM
2.0.0
46kB
votan
10/23/22 08:58 AM
1.8.5
33kB
votan
06/05/22 08:06 AM
1.8.4
30kB
votan
05/14/22 06:32 AM
1.8.3
30kB
votan
02/12/22 09:35 AM
1.8.2
30kB
votan
12/05/21 10:04 AM
1.8.1
30kB
votan
11/28/21 08:15 AM
1.8.0
30kB
votan
10/02/21 11:38 AM
1.7.8
30kB
votan
04/18/21 07:53 AM
1.7.7
30kB
votan
01/16/21 10:02 AM
1.7.6
29kB
votan
11/02/20 04:41 AM
1.7.5
29kB
votan
08/16/20 01:06 PM
1.7.4
29kB
votan
08/15/20 09:19 AM
1.7.3
29kB
votan
08/07/20 01:17 PM
1.7.2
29kB
votan
07/31/20 01:57 PM
1.7.1
29kB
votan
07/05/20 08:58 AM
1.7.0
29kB
votan
05/31/20 05:11 AM
1.6.9
40kB
votan
02/28/20 02:11 PM
1.6.8
40kB
votan
12/02/19 12:24 PM
1.6.7
40kB
votan
11/23/19 12:45 PM
1.6.6
40kB
votan
11/17/19 04:37 AM
1.6.5
40kB
votan
11/12/19 02:13 PM
1.6.4
40kB
votan
11/09/19 10:43 AM
1.6.3
41kB
votan
10/19/19 08:26 AM
1.6.2
40kB
votan
08/13/19 02:13 PM
1.6.1
40kB
votan
08/12/19 11:13 AM
1.6.0
40kB
votan
05/18/19 08:08 AM
1.5.1
45kB
votan
02/05/19 12:49 PM
1.5.0
45kB
votan
02/03/19 08:59 AM
1.4.14
44kB
votan
01/13/19 01:22 PM
1.4.13
44kB
votan
11/17/18 10:53 AM
1.4.12
44kB
votan
11/10/18 10:48 AM
1.4.11
44kB
votan
10/30/18 01:34 PM
1.4.10
44kB
votan
10/28/18 11:36 AM
1.4.9
44kB
votan
10/22/18 11:51 AM
1.4.8
44kB
votan
10/20/18 10:34 AM
1.4.7
44kB
votan
10/13/18 09:22 AM
1.4.6
41kB
votan
09/16/18 08:12 AM
1.4.5
39kB
votan
08/13/18 02:11 PM
1.4.4
39kB
votan
08/13/18 12:19 PM
1.4.2
33kB
votan
05/20/18 08:39 AM
1.4.1
33kB
votan
05/04/18 01:20 PM
1.4.0
33kB
votan
04/26/18 11:58 AM
1.3.5
31kB
votan
04/02/18 11:20 AM
1.3.4
31kB
votan
04/02/18 08:17 AM
1.3.3
31kB
votan
03/30/18 08:29 AM
1.3.2
31kB
votan
03/22/18 02:54 PM
1.3.1
31kB
votan
03/17/18 11:51 AM
1.3.0
31kB
votan
03/14/18 11:55 AM
1.2.5
31kB
votan
02/04/18 02:41 AM
1.2.4
31kB
votan
12/26/17 01:09 PM
1.2.3
31kB
votan
12/13/17 01:04 PM
1.2.2
30kB
votan
10/31/17 02:53 AM
1.2.1
30kB
votan
10/22/17 01:21 PM
1.2.0
30kB
votan
07/20/17 12:03 AM
1.1.9
30kB
votan
07/01/17 05:39 AM
1.1.7
30kB
votan
05/19/17 11:00 AM
1.1.6
30kB
votan
05/18/17 01:28 PM
1.1.5
30kB
votan
05/18/17 12:54 PM
1.1.4
29kB
votan
05/17/17 11:08 PM
1.1.3
25kB
votan
04/09/17 03:06 PM
1.1.2
25kB
votan
04/02/17 03:39 AM
1.1.1
25kB
votan
03/25/17 02:21 PM
1.1.0
27kB
votan
03/15/17 02:09 PM
1.0.10
21kB
votan
02/25/17 02:21 PM
1.0.9
21kB
votan
02/12/17 05:59 AM
1.0.8
21kB
votan
02/11/17 09:56 AM
1.0.7
21kB
votan
02/03/17 12:04 PM
1.0.6
21kB
votan
11/20/16 08:52 AM
1.0.5
21kB
votan
09/07/16 11:07 AM
1.0.4
19kB
votan
07/16/16 07:54 AM
1.0.3
19kB
votan
07/09/16 06:13 AM
1.0.2
18kB
votan
07/03/16 11:58 AM
1.0.1
17kB
votan
06/28/16 11:44 PM
1.0.0
16kB
votan
06/25/16 12:39 AM


Post A Reply Comment Options
Unread 10/17/18, 12:07 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
@XIIICaesar Your mini map seems to be in a non-square shape. Be sure "Keep Square" is enabled and resize it.
Last edited by votan : 10/17/18 at 12:07 PM.
Report comment to moderator  
Reply With Quote
Unread 10/17/18, 07:25 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by XIIICaesar
Hey. Love the minimap mod. Since the Murkmire update though I've noticed something odd. In the top right & left corners of the map there 2 square cutouts that just display the game screen space behind the map. Dont know if its a bug or not. instead of the map. Im using the circular addon for Votans too. I also posted there. It only seems to happen in all the circular modes. It only happens when I press select on my controller to go into the world map. If I hit WINDOWS button or alt+tab to desktop n go back to the game the minimap is fine until I press select again to open the world map.
Hm. Never seen, yet. Everywhere or specific location?
Report comment to moderator  
Reply With Quote
Unread 10/17/18, 03:18 AM  
XIIICaesar

Forum posts: 2
File comments: 24
Uploads: 0
Hey. Love the minimap mod. Since the Murkmire update though I've noticed something odd. In the top right & left corners of the map there 2 square cutouts that just display the game screen space behind the map. Dont know if its a bug or not. instead of the map. Im using the circular addon for Votans too. I also posted there. It only seems to happen in all the circular modes. It only happens when I press select on my controller to go into the world map. If I hit WINDOWS button or alt+tab to desktop n go back to the game the minimap is fine until I press select again to open the world map.
Last edited by XIIICaesar : 10/17/18 at 07:16 AM.
Report comment to moderator  
Reply With Quote
Unread 10/12/18, 10:36 AM  
Kyoma
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 328
Uploads: 10
Originally Posted by Zemious
I love this minimap addon, it's well made; however, my only qualm is that it's got it's own "Add-On" tab rather than being with all the other "Addon" settings. I wish this addon would conform to normal addon setting locations.
https://www.esoui.com/downloads/info...AMadapter.html
Report comment to moderator  
Reply With Quote
Unread 10/12/18, 10:11 AM  
Zemious

Forum posts: 0
File comments: 3
Uploads: 0
I love this minimap addon, it's well made; however, my only qualm is that it's got it's own "Add-On" tab rather than being with all the other "Addon" settings. I wish this addon would conform to normal addon setting locations.
Report comment to moderator  
Reply With Quote
Unread 10/11/18, 03:39 PM  
SlippyCheeze
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 272
Uploads: 1
I have a bug, in which the map flips back and forth between the "city" map and the "region" map, roughly once a second, but obviously triggered by something because it is not steady at that rate, just normally at it.

A location that reproduces it for me consistently is at where Steady-Hand, Fjar Moonstrike, and Vurila Llethan are gathered for a quest in Eastmarch, just near Fort Amol. This is not the only location, just the one I troubled myself to gather reproduction on.

Screenshot of the location: https://imgur.com/a/vZkE5vN

I've made available my SavedVars file, this is "Ephem Slippy Cheeze", but I have experienced it with other characters: https://gist.github.com/slippycheeze...a11cdd000f306d

The location is, per the function from MapPins, follows. LMK if you need it some other way.

Lua Code:
  1. fortamol_base={{0.525,0.076,68}}
  2.  
  3. The function that gave me that, for reference:
  4.     SLASH_COMMANDS["/loc"]=function()
  5.             local x,y=GetMapPlayerPosition("player")
  6.             StartChatInput(string.match(string.gsub(GetMapTileTexture(),"UI_Map_",""), "%w+/%w+/%w+/(%w+_%w+)")..'={{'..math.floor(x*1000)/1000 ..","..math.floor(y*1000)/1000 ..","..LastAchivement..'}},')
  7.         end
Report comment to moderator  
Reply With Quote
Unread 09/27/18, 11:08 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by LazyPyro
Originally Posted by Anceane
Originally Posted by xaraan
Not really a big issue, but worth mentioning maybe... for some reason the menu for the map does not appear under the Addons section of the game menu, but in a separate "add-on" menu by itself.
Yes, its a Votan feature all his addons can be found together that way.
No? Fisherman and Fish Fillet are in the normal addons menu. Only minimap is showing in it's own separate "Add-Ons" menu. It's confusing at first as I didn't even notice this separate menu so didn't realise there were a whole bunch of settings I was able to change.

I'd love to know how to move it to the proper Addons menu as it's annoying here and runs counter to how every other addon is coded. Surely it's just one line of code we can change if Votan won't? Anybody know how to do it?
Use this: Harven's AS to LAM adapter.
Report comment to moderator  
Reply With Quote
Unread 09/26/18, 02:00 PM  
LazyPyro

Forum posts: 0
File comments: 7
Uploads: 0
Originally Posted by Anceane
Originally Posted by xaraan
Not really a big issue, but worth mentioning maybe... for some reason the menu for the map does not appear under the Addons section of the game menu, but in a separate "add-on" menu by itself.
Yes, its a Votan feature all his addons can be found together that way.
No? Fisherman and Fish Fillet are in the normal addons menu. Only minimap is showing in it's own separate "Add-Ons" menu. It's confusing at first as I didn't even notice this separate menu so didn't realise there were a whole bunch of settings I was able to change.

I'd love to know how to move it to the proper Addons menu as it's annoying here and runs counter to how every other addon is coded. Surely it's just one line of code we can change if Votan won't? Anybody know how to do it?
Report comment to moderator  
Reply With Quote
Unread 09/20/18, 04:40 PM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 51
Uploads: 6
Re: Re: Is this what you meant to do?

Originally Posted by votan
Originally Posted by Drakanwulf
About line 1213 in Votan's Minimap, I noticed these lines of code:

Code:
	local defaults = {
		showHUD = self.account.showHUD or true,
		showLoot = self.account.showLoot or true,
		showMounted = self.account.showMounted or true,
		showCombat = self.account.showCombat or false,
		showSiege = self.account.showSiege or false,
	}

	self.player = ZO_SavedVars:NewCharacterIdSettings("VotansMiniMap_Data", 1, nil, defaults)

	defaults = {
		showHUD = true,
		showLoot = true,
		showMounted = true,
		showCombat = false,
		showSiege = false,
	}
	self.defaults = defaults
Does the second table declaration for "defaults" overwrite the data in the first local declaration? Or does the second table declaration for "defaults" result in a global variable?

I am asking because I like the way the Initialize function code saves and/or retrieves saved variables from the nested $Accountwide and characterId subtables. I am just confused about the having two tables with the same "defaults" variable name but each being used for a different purpose.

I think the second "defaults" table code is initializing the first local "defaults" table with different values again but I am not sure.
The first one is for taking over for new characters. The second defaults are the real defaults for the reset button.
Thanks, Votan. As usual you thought of the things I didn't.
Report comment to moderator  
Reply With Quote
Unread 09/20/18, 01:04 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Is this what you meant to do?

Originally Posted by Drakanwulf
About line 1213 in Votan's Minimap, I noticed these lines of code:

Code:
	local defaults = {
		showHUD = self.account.showHUD or true,
		showLoot = self.account.showLoot or true,
		showMounted = self.account.showMounted or true,
		showCombat = self.account.showCombat or false,
		showSiege = self.account.showSiege or false,
	}

	self.player = ZO_SavedVars:NewCharacterIdSettings("VotansMiniMap_Data", 1, nil, defaults)

	defaults = {
		showHUD = true,
		showLoot = true,
		showMounted = true,
		showCombat = false,
		showSiege = false,
	}
	self.defaults = defaults
Does the second table declaration for "defaults" overwrite the data in the first local declaration? Or does the second table declaration for "defaults" result in a global variable?

I am asking because I like the way the Initialize function code saves and/or retrieves saved variables from the nested $Accountwide and characterId subtables. I am just confused about the having two tables with the same "defaults" variable name but each being used for a different purpose.

I think the second "defaults" table code is initializing the first local "defaults" table with different values again but I am not sure.
The first one is for taking over for new characters. The second defaults are the real defaults for the reset button.
Report comment to moderator  
Reply With Quote
Unread 09/19/18, 06:37 PM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 51
Uploads: 6
Is this what you meant to do?

About line 1213 in Votan's Minimap, I noticed these lines of code:

Code:
	local defaults = {
		showHUD = self.account.showHUD or true,
		showLoot = self.account.showLoot or true,
		showMounted = self.account.showMounted or true,
		showCombat = self.account.showCombat or false,
		showSiege = self.account.showSiege or false,
	}

	self.player = ZO_SavedVars:NewCharacterIdSettings("VotansMiniMap_Data", 1, nil, defaults)

	defaults = {
		showHUD = true,
		showLoot = true,
		showMounted = true,
		showCombat = false,
		showSiege = false,
	}
	self.defaults = defaults
Does the second table declaration for "defaults" overwrite the data in the first local declaration? Or does the second table declaration for "defaults" result in a global variable?

I am asking because I like the way the Initialize function code saves and/or retrieves saved variables from the nested $Accountwide and characterId subtables. I am just confused about the having two tables with the same "defaults" variable name but each being used for a different purpose.

I think the second "defaults" table code is initializing the first local "defaults" table with different values again but I am not sure.
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 05:17 PM  
Gamer1986PAN
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 641
Uploads: 2
Incompatibility issues with BeamMeUp

Hi Votan. We have a problem with our addon if the User is using your Mini-Map. Please take a look and help us here for a quick fix with your great knowledge and wisdom to make our addons be able to work together. Thanks in advance.

http://www.esoui.com/downloads/filei...=2143#comments


#edit: Thanks for your help. Should work as intended now.
Last edited by Gamer1986PAN : 09/18/18 at 05:27 AM.
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 10:22 AM  
Dahlia Nightshade

Forum posts: 7
File comments: 40
Uploads: 0
Thank you very very much for the absolute rocket fast reply and solution.


Much much appreciated, thanks again

Dahlia
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 03:56 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Square to Rectangular

Originally Posted by Dahlia Nightshade
Hello, would it be possible to adjust the map shape from Square to Rectangular?

Is there a line of code (or more) that I could edit to make it rectangular?



Thank you

Dahlia
You can do this in chat:
Code:
/script VOTANS_MINIMAP.modeData.keepSquare=false
And you will see what will happen.

/edit: But stay tuned. I finally found a way.
/edit 2: Try version 1.4.6.
Last edited by votan : 09/16/18 at 08:15 AM.
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 01:34 AM  
Dahlia Nightshade

Forum posts: 7
File comments: 40
Uploads: 0
Square to Rectangular

Hello, would it be possible to adjust the map shape from Square to Rectangular?

Is there a line of code (or more) that I could edit to make it rectangular?



Thank you

Dahlia
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: