Search found 2031 matches

by Craig
Tue May 03, 2016 7:46 pm
Forum: MapTool 1.4
Topic: [MT 1.4.0.2 BUG - revisited] json.difference
Replies: 3
Views: 911

Re: [MT 1.4.0.2 BUG - revisited] json.difference

Its not a bug :)

Its one of the set functions MT supports for JS objects so lives by the rules of set theory...
Having said that I will add a json.removeFirst(<array1>, <array2>) which will do what you want.
by Craig
Tue May 03, 2016 4:49 am
Forum: Announcements
Topic: MapTool 1.4.0.2 Build
Replies: 14
Views: 4092

MapTool 1.4.0.2 Build

Just a small one this time.

New Functionality/Fixes
  • Fix for problem when using 3rd parameter for tableImage() function post (Jagged).
  • Allow scripts to modify max loops/recursion post (Craig).
by Craig
Sun May 01, 2016 1:06 am
Forum: MapTool 1.4
Topic: Hit a snag: "max recourse limit reached"
Replies: 26
Views: 3486

Re: Hit a snag: "max recourse limit reached"

I have created the following changes that will go into the next build. Increased max recursion depth by 50% (to 150). Increased max loop iterations to 10,000 Added the following macro functions to query/set parser properties. getMaxRecusionDepth() getRecursionDepth() getMaxLoopIterations() setMaxRec...
by Craig
Fri Apr 29, 2016 11:57 am
Forum: Announcements
Topic: MapTool 1.4.0.1 Build
Replies: 12
Views: 4665

MapTool 1.4.0.1 Build

New Functionality/Fixes Map Visible Commands thread (Jagged). Table Additions thread (Jagged). Parser Errors Handled Incorrectly thread (Jagged). Copy Map Function thread (Jagged). Checks for Trusted Macros (Jagged). Bugfix Renaming current map doesn't update MapTool Frame (Jagged). Add UPnP Discov...
by Craig
Wed Apr 06, 2016 5:28 pm
Forum: MapTool
Topic: Working Launchfile for Maptool
Replies: 31
Views: 8394

Re: Working Launchfile for Maptool

I suspect the problem is that Java requires contiguous memory, and Windows (especially 32 bit) does not allocate contiguous blocks very well. 32 bit Windows can address up to 3.something GB of memory, but the biggest contiguous block possible is about 1.6 GB, under the most ideal conditions. (Reali...
by Craig
Sat Dec 12, 2015 12:17 am
Forum: Macros
Topic: Macro creating new property and not assigning correctly
Replies: 4
Views: 612

Re: Macro creating new property and not assigning correctly

setProperty() takes a string as first variable.
I see many calls to setProperty(Weapons,...) but no where that the variable Weapons is set, should this be setProperty("Weapons", ...) or is the code that sets the variable not shown?
by Craig
Sat Dec 12, 2015 12:06 am
Forum: Macros
Topic: calling macro problem
Replies: 3
Views: 728

Re: calling macro problem

That code you have there looks all right. Its hard to tell because I can't see the macro you are calling but if you say it works with a roll like "1d10" but not a number make sure you are not trying to call eval() on the args as in the example macro.args . eval should only be used to turn ...
by Craig
Fri Dec 11, 2015 11:54 pm
Forum: TokenTool
Topic: Can't launch tool
Replies: 2
Views: 5556

Re: Can't launch tool

emirikol found a solution to a very similar (probably the same) issue for maptool after moving to windows 10
http://forums.rptools.net/viewtopic.php ... 65#p261365
by Craig
Fri Dec 11, 2015 11:50 pm
Forum: Macros
Topic: Macro creating new property and not assigning correctly
Replies: 4
Views: 612

Re: Macro creating new property and not assigning correctly

I'm working on a BESM framework for a campaign I plan on running. I have decided to use nested json objects to hold the weapon information (Each weapon name is a The second macro (present on a library token named "Lib:CharacterCreation"): <!-- initialize variables to use for weapon creati...
by Craig
Fri Dec 11, 2015 11:33 pm
Forum: MapTool 1.4
Topic: 1.4 Build 01
Replies: 18
Views: 39757

Re: 1.4 Build 01

When I run the current trunk, I get the following run time warnings: AppResourceLoader.loadImage failed: net/rptools/lib/image/icons/shape_handles.png AppResourceLoader.loadImage failed: net/rptools/lib/image/icons/eraser.png AppResourceLoader.loadImage failed: net/rptools/lib/image/icons/paintbrus...
by Craig
Tue Dec 01, 2015 6:09 pm
Forum: MapTool
Topic: Current Status of 1.4.0.0?
Replies: 5
Views: 1032

Re: Current Status of 1.4.0.0?

Work always is always interfering :( The following is my plan for the rest of this week/weekend Get the parser up and going in git hub (some issues with antlr at the moment) Address outstanding pull requests Reformat all the source that hasn't already been to match the style guide we have supposedly...
by Craig
Mon Nov 30, 2015 6:07 pm
Forum: Developer Notes
Topic: Hosted Java Docs
Replies: 2
Views: 5756

Re: Hosted Java Docs

Something like this would be nice, but one of the problems is the JavaDoc in the source code might be a little lacking... A few of us have started to address this when adding/modifying stuff, but the phrase a drop in the ocean comes to mind.
by Craig
Mon Nov 09, 2015 2:29 am
Forum: Developer Notes
Topic: How Can I Help?
Replies: 6
Views: 6976

Re: How Can I Help?

joshsziegler wrote:Sorry, I should have done some more searching before asking for the build info.

Do people prefer docs being on the forum versus in the GitHub repo? I find myself looking there first, but understand you all might have different preferences.
Hmm all the info should ideally be in github...
by Craig
Thu Sep 17, 2015 9:02 pm
Forum: MapTool 1.4
Topic: Contributing to MapTool 1.4
Replies: 40
Views: 59520

Re: Contributing to MapTool 1.4

rplib and dicetool have been added to github. To build them you will need to specify the -PVersion=<version> option. For example to install the pom into your local repository ./graldew install -pVersion=1.4.0.1-SNAPSHOT or graldew.bat install -pVersion=1.4.0.1-SNAPSHOT Use the next version + -SNAPSH...
by Craig
Thu Sep 17, 2015 8:17 pm
Forum: MapTool 1.4
Topic: Contributing to MapTool 1.4
Replies: 40
Views: 59520

Re: Contributing to MapTool 1.4

I believe Spotless works with Eclipse so I am happy with that. My only request is that we use something wider than 80 characters. I'd prefer "double space" over "tab" for indents too, but don't mind too much on that one ;) Yes it is just using the formatting preferences file exp...

Go to advanced search