Search found 276 matches

by celestian
Wed Jul 15, 2015 7:19 pm
Forum: Macros
Topic: Potential bug - reading value of 1 from Library token prop's
Replies: 10
Views: 1101

Re: Potential bug - reading value of 1 from Library token pr

wolph42 wrote:Did you perhaps predefine the property on the lib with a default value of 1?
Cause in that case this can happen.
I never quite understood this behavior. Is there a REASON it would want to do this? I can't think of a valid reason it would make sense.
by celestian
Fri Jul 10, 2015 2:05 pm
Forum: User Creations
Topic: AD&D (1e or 2e) Framework
Replies: 66
Views: 42861

Re: AD&D (1e or 2e) Framework

Updated first post with new changes to version 1.2. 1.1-1.2 update list: Monster Database, Journal Database, NPC "Sheet". Journal Entries on PC Sheet w/options to make personal journal entries as well. Various bug fixes, UI updates and features. 1.2 download link: http://forums.rptools.net...
by celestian
Thu Jul 09, 2015 2:04 pm
Forum: Macros
Topic: macro outputting text when it's a UDF and [h:idden]
Replies: 8
Views: 870

Re: macro outputting text when it's a UDF and [h:idden]

aliasmask wrote: I have a token (http://forums.rptools.net/download/file.php?id=7849) that makes all your macros in to functions and suppress all output. Any output must be passed back to calling macro or use the build in function output.basic().
Thanks, I've downloaded and will poke around and see how it works.
by celestian
Thu Jul 09, 2015 1:50 pm
Forum: Drop-In Macro Resources
Topic: RPedit - Macro Importer/Exporter and Editor [4/19/13]
Replies: 194
Views: 74452

Re: RPedit - Macro Importer/Exporter and Editor [4/19/13]

Is there any chance you'll do a video on how/uses of RPEdit? I've installed it and not really sure the best way/benefits of the tool are. I did a quick search on youtube but didnt get any hits. Looks interesting but I'm confused on how it makes things easier is all. I'm guessing if I saw someone usi...
by celestian
Thu Jul 09, 2015 1:10 pm
Forum: Macros
Topic: macro outputting text when it's a UDF and [h:idden]
Replies: 8
Views: 870

Re: macro outputting text when it's a UDF and [h:idden]

[h: args = 'myID='+currentToken()+';'] [h: sheet(args)] When you don't hide the chat output from sheet it displays the last value in macro.return which is 2 functions deep and returns "BOB". The problem there (not with this example) is that when you have the frame refresh on the backend t...
by celestian
Thu Jul 09, 2015 12:34 pm
Forum: Macros
Topic: macro outputting text when it's a UDF and [h:idden]
Replies: 8
Views: 870

Re: macro outputting text when it's a UDF and [h:idden]

So here is a tiny campaign. All it has is 2 libs plus rpedit (was trying it out). The token with the macro to run is "TEST THIS" and the macro is "Sheet Frame Bug Example" on it. Output from frame window: TESTING TESTING... The chat box results: TEST THIS: BOB There should be not...
by celestian
Thu Jul 09, 2015 10:52 am
Forum: Macros
Topic: macro outputting text when it's a UDF and [h:idden]
Replies: 8
Views: 870

Re: macro outputting text when it's a UDF and [h:idden]

probly a 'trusted' error. If you make use of a trusted function (which is why you need to uncheck 'allow players to edit macro') you can only run it from a trusted macro. Anything you run from the chat is not trusted and will hence not run (if you make use of a trusted function in that macro). That...
by celestian
Wed Jul 08, 2015 11:59 pm
Forum: Macros
Topic: macro outputting text when it's a UDF and [h:idden]
Replies: 8
Views: 870

macro outputting text when it's a UDF and [h:idden]

I have a UDF macro that I use to generate some html output. Something alone the lines of [h: attackTxt = getActiveWeapons('myID=%{myID};')]. When that macro runs I get the text in the chat window (it's also put into attackTxt). When I run the same command in the chatbox I get no such output. If I pu...
by celestian
Wed Jul 08, 2015 1:20 am
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

First, that's is a horrible way to represent rolls (ie 5-12), but there is a more direct and less convoluted way of doing it, but probably less representative of the desired method. For example, 3-18 seems pretty clear that it's suppose to represent 3d6 where it has an average of 10 or 11 and as yo...
by celestian
Wed Jul 08, 2015 12:47 am
Forum: User Creations
Topic: AD&D (1e or 2e) Framework
Replies: 66
Views: 42861

Re: AD&D (1e or 2e) Framework

I have completed the import methods for "book/website" and "flat file". With that I was able to import 700 critters using sblaxman's monster spreadsheet. You can now initialize tokens using the monster DB. I think I am going to clean 1.1 up and update tutorial vids and upload it....
by celestian
Wed Jul 08, 2015 12:41 am
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

This was what I finally ended up with on the "parseDiceRoll" macro. Works! [h: '<!-- this parses rolls like 3-18+1 and turns them into 3d6+1 -->'] [H: numArgs = argCount()] [h: assert(!(numArgs<1),"To few arguments to function "+getMacroName()+"(DiceString). "+getMacroN...
by celestian
Tue Jul 07, 2015 3:31 pm
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

Now I just need to figure out how to resolve these sorta rolls. "5-8/5-8/5-12" not sure if it's what you need but ... 4 + 1d4 // 4 + 1d4 // 4 + 1d8 ? to give a coding idea: (lowest number - 1) + 1d(difference between highest and lowest number) Was tinkering around with something more comp...
by celestian
Tue Jul 07, 2015 1:27 pm
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

Now I just need to figure out how to resolve these sorta rolls.

"5-8/5-8/5-12"
by celestian
Tue Jul 07, 2015 11:22 am
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

looks good, however your initial 'list creation' is quite redundant: [damageList = "1-3/1-3/2-16+1"] is already a list, with seperator "/" Unfortunately that format is not guaranteed ;) It could also be "1-4 1-4" or "2-6 (2d3)" or "2-4/1-6 1d3x2" Ea...
by celestian
Tue Jul 07, 2015 2:14 am
Forum: MapTool
Topic: dice parsing import example?
Replies: 11
Views: 1031

Re: dice parsing import example?

and this is used to parse up the dice list and get everything formatted properly for a roll. <!-- this parses rolls like 3-18+1 and turns them into 3d6+1 --> [H: numArgs = argCount()] [h: assert(!(numArgs<1),"To few arguments to function "+getMacroName()+"(DiceString). "+getMacro...

Go to advanced search