MapTool 1.3 Development Build 42

New build announcements plus site news and changes.

Moderators: dorpond, trevor, Azhrei, Craig

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

MapTool 1.3 Development Build 42

Post by trevor »

The "Answer to the Ultimate Question of Life, the Universe, and Everything" build ( http://en.wikipedia.org/wiki/The_Hitchh ... the_Galaxy )

Build 42 (9/15/08)
* Make default values show up on the edit token dialog properties tab
* Fix bug: resource library directories are not sorted on linux
* Fix bug: loading a campaign with a saved radius template with an invalid map never completes
* Fix bug: token stat sheet doesn't show up if it only has default values
* Fix bug: player perspective for tokens with different sight types can cause light to be seen with incorrect sight type
* Fix bug: line distance measuring label position bug (Contributed by phergus)

Contributed by jfrazier
* Improve /whisper to support quoted names (e.g. /whisper "joe blow")
* Improve /whisper name to be case insensitive
* Add /reply macro that whispers back to the last person to whisper you
* Fix Bug: Loading a token having a Property Set which does not exist in the Campaign causes a Null Pointer Exception.

Contributed by mkarasek
* Fix bug: new line issues in macros
* Fix bug: smilies being overly aggressive about dice rolls
* Evaluate separator each pass when doing multiple rolls.

Contributed by Lindharin
* Sorting the global and campaign panels on load.
* New sortby property on buttons that is the first thing sorted by.
* The sort function pads all numbers (not just dice code) to 4 digits with leading zeroes to help with implied orders (ie, 2 should be before 10).
* Fixed the existing bug when duplicating buttons in the campaign panel.
* Added a checkbox indicating the button should be applied to selected tokens, so you don't need to right click and use the "Run For Each" option.

Contributed by Jay
* Fixed Init panel showing an empty GM name bug
* Added Token (health) Bars
* Added bar.[bar-name] variable and setBar()/getBar() functions for macros.
* Added GM/Owner/Other view support to all of the states and bars.
* Stopped rotation of states & bars on top down token names.
* Made Round: label on init panel a button that resets the round counter and clears the current initiative.

Contributed by k.fan
* input() function - asks the user for multiple variables at once.
* abort(val) function - if val is zero, aborts execution and later calculations are not performed
* listGet(list, index) - returns the entry in the index position (first position is index 0)
* listDelete(list, index) - returns a new list with the item at index position deleted.
* listCount(list) - returns the number of list entries
* listFind(list, target) - returns the index of the target string in the list, or -1 if none of the list entries match.
* listAppend(list, target) - adds target to the end of the list
* listInsert(list, index, target) - inserts target before the entry at position index
* listReplace(list, index, target) - replaces the entry at position index with the target
* getStrProp(properties, key) - find a key and return the value, or "" if not found
* setStrProp(properties, key, value) - set the value for a key,inserting it if not present. Returns the new property string.
* deleteStrProp(properties, key) - delete a key. Returns the new property string.
* countStrProp(properties) - returns how many key/value settings are in the string.
* indexKeyStrProp(properties, N) - returns the Nth key in the list.
* indexValueStrProp(properties, N) - returns the Nth value in the list.
* varsFromStrProp(properties) - creates variables for each key and assigns the corresponding value. Returns the number of entries found.


NOTES:
* Please post any bugs you find to this post, any clarifications of usage should be posted as a new thread in the MapTool forum
* There's an odd bug that causes a stackoverflowexception sometimes the first time you use a long html chat message
* The download size jumped from 12m to 19m due to the inclusion of the javascript and supporting libraries. We'll be taking a closer look to see if we can trim that back down somehow
* Thanks for all your testing and patience !
Dreaming of a 1.3 release

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Documentation from k.fan


* input() function - asks the user for multiple variables at once.
Basic example:

Code: Select all

[input("AtkBonus", "DmgBonus", "CombatAdvantage")]
will create a single popup asking for values for all three variables.
Image

Many more options are available, which will be detailed in a separate
post by knizia.fan. For example, a macro can create this dialog box:
Image

********************************************************************

* abort(val) function - if val is zero, aborts execution and later
calculations are not performed


********************************************************************

List functions
These functions operate on a string of the form "item1, item2, item3, ..."
Each of them takes an optional last argument that gives an alternate
list delimiter (the default is ",").

* listGet(list, index) - returns the entry in the index position
(first position is index 0)
* listDelete(list, index) - returns a new list with the item at index
position deleted.
* listCount(list) - returns the number of list entries
* listFind(list, target) - returns the index of the target string in
the list, or -1 if none of the list entries match.
* listAppend(list, target) - adds target to the end of the list
* listInsert(list, index, target) - inserts target before the entry at
position index
* listReplace(list, index, target) - replaces the entry at position
index with the target

********************************************************************

String Property functions

These functions operate on a "properties string", which looks like:

"key1=value1; key2=value2; ...".

The functions access and modify such strings.

* getStrProp(properties, key) - find a key and return the value, or ""
if not found
* setStrProp(properties, key, value) - set the value for a key,
inserting it if not present. Returns the new property string.
* deleteStrProp(properties, key) - delete a key. Returns the new
property string.
* countStrProp(properties) - returns how many key/value settings are
in the string.
* indexKeyStrProp(properties, N) - returns the Nth key in the list.
* indexValueStrProp(properties, N) - returns the Nth value in the list.
* varsFromStrProp(properties) - creates variables for each key and
assigns the corresponding value. Returns the number of entries found.


Examples, assuming the variable props is set to "a=3 ; b=bob ; c=cow":

getStrProp(props, "b") returns "bob"
setStrProp(props, "d", 44) returns "a=3 ; b=bob ; c=cow ; d=44 ; "
deleteStrProp(props, "a") returns "b=bob ; c=cow ; "
countStrProp(props) returns 3
indexKeyStrProp(props, 0) returns "a"
indexValueStrProp(props, 0) returns 3
varsFromStrProp(props) assigns values to the variables a, b, and c.
Dreaming of a 1.3 release

knizia.fan
Giant
Posts: 197
Joined: Wed Jul 30, 2008 3:43 pm

Post by knizia.fan »

Hooray! The promised thread with full documentation of the new functions is here:

http://forums.rptools.net/viewtopic.php?t=5437

Thanks,
--k.fan

User avatar
Plissken
Giant
Posts: 116
Joined: Mon Jan 07, 2008 10:44 pm

Post by Plissken »

Awesome. Thanks trevor!

User avatar
BigO
Dragon
Posts: 558
Joined: Mon Jul 28, 2008 12:23 pm
Location: Oshkosh, WI
Contact:

Post by BigO »

WOO HOOO!!!Image
--O

I am a small and fragile flower.
http://maptool.rocks.andyousuck.com

User avatar
kat2cute
Dragon
Posts: 297
Joined: Wed Jan 30, 2008 3:46 pm

Post by kat2cute »

Bug:
Image rotation of bars and states does not align properly with top-down tokens. The tokens rotate out of the original square, but their states/bars don't move with them.
Image
Quote from an underwater D&D fight:
Alright fighter, it's your turn. What do you do?
Fighter: What do you think I do? I FAIL MY F**KING SWIM CHECK

User avatar
tdwyer11b
Cave Troll
Posts: 51
Joined: Sun May 27, 2007 6:07 am

Post by tdwyer11b »

Not sure if this is a bug or not, but I can't seem to get the webstart to work. I've downloaded the .zip and everything's fine.

Getting Error: Unable to load resource:

http://rptools.net/dist/lib.php/javadoc ... avadoc.jar

I've even tried uninstalling and reinstalling and I'm getting the same thing. Not sure if system specs matter since I haven't had a problem and I think I'm well above specs.

Windows Vista Home Premium SP1
AMD Athlon 64 x2 Dual Core 1.91GHz
3 Gigs RAM
Nvidia 8600 GT

User avatar
Daelkyr
Giant
Posts: 165
Joined: Mon May 19, 2008 10:23 pm

Post by Daelkyr »

It looks awesome gang, thanks for all of the hard work.

User avatar
palmer
Great Wyrm
Posts: 1367
Joined: Sat Sep 06, 2008 7:54 pm

Post by palmer »

tdwyer11b wrote:Not sure if this is a bug or not, but I can't seem to get the webstart to work. I've downloaded the .zip and everything's fine.

Getting Error: Unable to load resource:

http://rptools.net/dist/lib.php/javadoc ... avadoc.jar

I've even tried uninstalling and reinstalling and I'm getting the same thing.
It's not just you...

User avatar
Mrugnak
Dragon
Posts: 745
Joined: Mon Jul 21, 2008 7:38 pm

Post by Mrugnak »

palmer wrote:
tdwyer11b wrote:Not sure if this is a bug or not, but I can't seem to get the webstart to work. I've downloaded the .zip and everything's fine.

Getting Error: Unable to load resource:

http://rptools.net/dist/lib.php/javadoc ... avadoc.jar

I've even tried uninstalling and reinstalling and I'm getting the same thing.
It's not just you...
Thirding this issue.

That sounds like a jar file that should be part of the general Java installation, not something from RPTools. What java version do the folks who got things working have, and what java versions do the people that have this error have?

i have the error, I have Java version 1.6.0_05-b13, Windows XP Pro.

dorpond
RPTools Team
Posts: 5534
Joined: Thu Jun 01, 2006 2:05 pm
Location: Buffalo, NY

Post by dorpond »

Light/Vision still unusable when Individual Views is anabled and playing D&D3.x.. :(
(reported since color lighting was added)
Last edited by dorpond on Mon Sep 15, 2008 8:51 am, edited 1 time in total.

User avatar
Orchard
Great Wyrm
Posts: 1852
Joined: Fri May 09, 2008 10:45 am
Location: Doylestown PA
Contact:

Post by Orchard »

dorpond wrote:Light/Vision still unusable when Individual Views is anabled and playing D&D3.x.. :(
Bummer.

That's going to be a serious killjoy on my next gaming session if not fixed before the 27th....

:(
0+0=1, for very unstable CPUs.

dorpond
RPTools Team
Posts: 5534
Joined: Thu Jun 01, 2006 2:05 pm
Location: Buffalo, NY

Post by dorpond »

Initiative Tracker is broken when removing tokens.
(reported last night via e-mails)

dorpond
RPTools Team
Posts: 5534
Joined: Thu Jun 01, 2006 2:05 pm
Location: Buffalo, NY

Post by dorpond »

Orchard wrote:
dorpond wrote:Light/Vision still unusable when Individual Views is anabled and playing D&D3.x.. :(
Bummer.

That's going to be a serious killjoy on my next gaming session if not fixed before the 27th....

:(
These problems have been in place since color was added around b32 and I have been a royal pain in the arse reporting them to Trevor since. In Trevors defense, it isn't easy to fix and time was not on his side.

What I have found though is that it is unusable when Individual Views are enabled and you have a party with mixed visions. This mainly screws up when a Lowlight character and a Darkvision character are in the game. If you play 4th edition where all visions are the same, you shouldn't have a problem. Also, this doesn't seem to have much impact on games set where Individual Views are Off.

User avatar
Orchard
Great Wyrm
Posts: 1852
Joined: Fri May 09, 2008 10:45 am
Location: Doylestown PA
Contact:

Post by Orchard »

dorpond wrote:
Orchard wrote:
dorpond wrote:Light/Vision still unusable when Individual Views is anabled and playing D&D3.x.. :(
Bummer.

That's going to be a serious killjoy on my next gaming session if not fixed before the 27th....

:(
These problems have been in place since color was added around b32 and I have been a royal pain in the arse reporting them to Trevor since. In Trevors defense, it isn't easy to fix and time was not on his side.

What I have found though is that it is unusable when Individual Views are enabled and you have a party with mixed visions. This mainly screws up when a Lowlight character and a Darkvision character are in the game. If you play 4th edition where all visions are the same, you shouldn't have a problem. Also, this doesn't seem to have much impact on games set where Individual Views are Off.
Well, since that describes my group perfectly--some have darkvision, some have lowlight (all have some sort of 'special' vision), and we would PREFER to use individual views, then this is certainly a bummer. In the meantime, I'll just turn off individual views until this is fixed. Bummer though. I'd start pestering trevor too, but I'm sure you are doing a great job of it. :twisted:
0+0=1, for very unstable CPUs.

Post Reply

Return to “Announcements”