Skip to content

Latest commit

 

History

History
146 lines (133 loc) · 13.8 KB

CHANGE_LOG.md

File metadata and controls

146 lines (133 loc) · 13.8 KB

MapTool 1.5.1

A minor update to 1.5.0 consisting of bug fixes and small enhancements.


Bug Fixes

  • #107 - getTokenNativeHeight/Width Script Function
  • #189 - transferVBL function is misnamed
  • #278 - Fix existing unit tests and enable unit tests in build
  • #326 - defineFunction causes error with macro edit window open
  • #324 - fix output of setViewArea. This might break existing macro using workaround to interpret the broken result before the fix.

Enhancements

  • #50 - Decimal digits in map properties (distance per cell)
  • #255 - Enable Delete Button on Draw Explore
  • #289 - token opacity slider needs preview
  • #332 - Allow to set color for personal lights in campaign Sight types

MapTool 1.5.0

A major update pulling in almost a years worth of enhancements and bug fixes from the Nerps fork back to the main MapTool repository. This will bring us back to a single build for users once again while we continue working on MapTool 2.0.


Bug Fixes

  • #113 - Macro function getMoveCount() does not return terrain modifier costs. See issue for full details but basically a new parameter is added so getMoveCount(0, 1) will return movement costs taking into account any Terrain Modifiers.
  • #108 - Fix setTokenOpacity to update token for players.. Token is now updated with opacity effect on the server after setTokenOpacity macro calls.
  • #92 - MapTool should default to UTF-8 encoding. Windows likes to default to it's one file encoding which can cause issues in macros and certain encoded characters. MapTool will now always launch using UTF-8 file encoding! I've also added a 'Encoding Information' section in Gather Debug Info under the help menu to verify what encoding you are using.
  • #80 - Comparison method violates its general contract in FogUtil.calculateVisibility(FogUtil.java:81). This should be fixed now.
  • #81 - Cell Highlight distance text not sizing for grid sizes. This is now fixed
  • #76 - Will no longer see errors when attempting to open initiative window on Linux or MacOS.
  • #68 - MapTool's i18n language override enabled via Edit -> Preferences -> Startup tab. This will override your default language set by your OS.
  • #41 - Allow player owned tokens without "sight" to move within currently exposed FoW, e.g. areas other PC token can currently see. Hopefully this is finally squashed properly...
  • #44 - If running the JAR version with your own JRE installed, Edit -> Preferences will no longer throw and error and blow up! Instead the Startup tab will be grayed out (as those values will not be used and you must make your own startup script to set memory settings when using the JAR format)
  • #27 - Code cleanup, .pdf & .por files will no longer throw errors to the log file.
  • #65 - Gradle will once again build and deploy vs throw an error getting the branch name.
  • #179 - Pulled in @Jaggeroth change from main RPTool's Repo; ZOrder sort violation problem by restoring the original comparator and only using the new figure comparator when sorting figure only.
  • #54 - Missing Preferences menu option on OS X
  • #59 - App does not check for new versions in 1.4.4.1
  • #5 - Adding new state causes java.lang.ArrayIndexOutOfBoundsException no more!
  • #6 - Fixed various Typos
  • #15 - Lighting wasn't immediately forced to connected clients and should be fixed now.
  • #18 - Exporting Campaigns back to 1.4.0.1 was failing due to new objects added. You can now export any campaign back to 1.4.0.1 but as always, this is permanent in that it will strip out new objects as in TokenVBl, new lighting options, etc but macros will not be touched and may fail if they contain new macro functions not available in 1.4.0.1.
  • #19 - Default save location for tokens are now remembered!
  • #20 - Added missing documentation for lights/vision, e.g. 'scale'
  • #21 - Lights are not updating properly based on ownership looked like it was tied to other 'light' bugs and should now be fixed.
  • #23 - Fixed sendToBack & bringToFront macros broke states and bar changes in the macro. This was an OLD one going back to 1.3b63! You can now safely use these functions in your macro now!
  • #30 - Players see NPC movement when there are no lights no more! This was another old bug going back to 1.3b-something and only showed itself if you had NO lights (including personal lights, aka darkvision).
  • #232 - Mouse pointer incorrectly changing to Hand pointer was an oversight which has been corrected, hands down the best bug fix!
  • #210 - Non-snap-to-grid Tokens have bad last path info Tokens now walk the straight and narrow again, no more drunken paths shown.

Enhancements

  • #125 - When entering invalid JVM values in Startup Preferences, a dialog will not display explaining why it was not saved. Another dialog will show if any JVM values were changed warning the user that invalid options could prevent MapTool from starting and to confirm changes.
  • #77 - Tweaked the A* algorithm for a more natural and straighter move though open spaces for both square and hex grids. Also tweaked the A* algorithm to find the shortest path more consistently.
  • #49 - Pathfinding! When activated (via new 'AI' toggle button), tokens will find the shortest path to it's destination as you drag them on the token or hidden layers, taking VBL into account. Yes, this means your tokens will no longer walk thru VBL! If no path can be found (or found within several seconds) no path will be shown, however you can still move your token to that location. This can happen because the area is blocked off or you are working with a very complicated or large map. With MapTool allowing unbounded/nearly infinite map space, I had to include a timeout to prevent an infinite search. A new token config value is also now available called Terrain Modifier. This multiplies the cost of moving into that tokens cell and taken into account with Pathfinding is used. Some examples are: Setting the multiplier to 2 will cost 10 feet of movement vs 5 feet acting like difficult terrain. Setting the multiplier to a sufficiently high number, like 99999, will effectively block the movement and make the token go around the obstacle. Useful for things like an arrow slit, window, lava, etc. Any token can have this modifier, NPC tokens to make PC tokens go around them vs through them, or stamp tokens on the object layer like oil or water. You could also place tokens on the hidden layer over rocky terrain to denote difficult terrain. Please note, at this time no macros are available to access these new feature, nor server options to force players to use this mode of moving tokens. Due to the complexity of this feature, I felt it better to get this out to you, the user, to play with and use (or not use) and provide feedback. Therefore the Terrain Modifier could change in the future or expand in functionality. There could be performance related hits as well, although I did my best to mitigate this, as well as you can turn this feature off and revert to basic movement. Also note, currently fractional modifiers are not supported at this time nor straight addition modifiers. I plan to expand this functionality over time.
  • #45 - Lighting has been improved to greatly reduce lag when multiple light sources are on a map. It also helps alleviate the slowness you encounter as you reveal more and more FoW.
  • #63 - Spacebar functionality has been restored to it's original behavior, including ctrl+spacebar & shift+spacebar. A new shift+ctrl+spacebar command along with a new pointer image is now available. When this keystroke combo is pressed, and you are a GM, the pointer will center & zoom all connected clients to that point. When it is released, all clients will return to their previous view point & zoom.
  • #67 - A new vision/light type of GRID has also been added, which is a circle of the specified size but only lights up the affected grid cells within range, much like using the template tool. This is useful in systems like Pathfinder if you want to see exactly which grid cells (squares) are affected by a Light/Aura or can be seen. Aura for Channel Energy for instance, or seeing which grid cells are in dim light for concealment.
  • #71 - The default data directory (USER_HOME/.maptool-{Vendor}, so for Nerps fork, .maptool-Nerps) can now be overridden in Edit -> Preferences -> Startup tab.
  • #43 - Spotless and .appveyor.yml updated. This is purely a build process enhancement to make deployment of the releases better.
  • #66 - Update packaged JRE to Java 10 and verify MapTool runs under Java 10. *Note: Java 9 was a short term release hence the update to Java 10.
  • #8 - New packaging mechanism! OS specific "installs" are now being generated using Oracles native javapackager tool. It packages the JAR, native executable, and JRE in the following packages: .exe (Windows), .dmg & .pkg (MacOS), & .deb (Linux) as well as unified JAR that can be run manually.
  • #26 - MapTool now checks and alerts user when a new version is available as a GitHub release and allow you to download it! You can "skip" a version to stop alerting until the next release comes out or cancel all auto update checks. It will download the release based on your OS (.exe, .pkg, or .deb)
  • #9 - New macro function added to change token ownership to 'Owned by All', setOwnedByAll(boolean [,tokenID]) returns boolean
  • #22 - Darkvision changed to Darkvision: circle r60 (removed distance=62.5)
  • #25 - Cone lights now accept 'offset=x' as an option just like vision
  • #33 - Java stack traces are sent automatically to Sentry.io for aggregation and notification. No private info is gathered or sent. This lets me know if an unreported bug shows up and how critical may be so I can get it fixed quicker and with minimal info needed from users.
  • New RESTful functions getRequest & postRequest to send GET & POST requests to a URI. *Note: You must first turn access on in Preferences for these macro functions to work.
  • New function exportData exportData(FilePath file, String data, boolean appendToFile) which saves string data to external file.
  • New function getEnvironmentVariable(String name), Returns the value stored in the Environment Variable.
  • New menu option added to the "Connections" window. Right clicking a player will offer a "Whisper" command that prepopulates the chat window with a whisper macro.
  • #237 - Added support to use shift-enter to insert newlines into the command entry box (also known as the chat entry box)
  • #239 - MapToolScriptTokenMaker now handles function names with . notation and dynamically pulls in all functions names. TokenMakerMaker no longer needs to be ran upon changes to MTScript.
  • #240 - Macro Editor now has Auto-Completion for macro functions! A brief description and summary can be displayed (these will be added as time permits)