L

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Levendor

About

Username
Levendor
Joined
Visits
1,034
Last Active
Roles
REGISTERED,

Comments

  • OK... here's what's happening. @GemTypes with {1d2} 10 is setting {$2} to a value of 10 until some other parameter sets {$2} to a new value, and I can't figure out how to "unset" {$2} to null before running the call on the @Coins table. So, instead…
  • Can you post a more complete set of code? What you posted is missing the @Gems table. I guessed at what that should look like, and got it to stop returning the extra line of 10 for the gold coins call, but I'm not sure what the [@GemTypes with {1d2}…
  • Confirmed - it's a scientific notation thing. In your prompt selection, just put the E33 in "literal text" brackets, as in [E33] and everything works fine. Run this example to demonstrate: ; Test Scientific Notation.ipt ; created 9/20/2018 10:48:53…
  • I'm guessing it is interpreting it as a Scientific Notation number, not text (even though you are defining as text). As in 8E03 is scientific notation for 8 x 10^3 or 8,000. If this is the case, a workaround could be to show the text as 'E33 or *E3…
  • Not sure that I ever had an issue with the old viewer, but this one installed and works just fine. New machine - Win 10, 64-bit, Intel i7 8th gen processor, not sure of graphics card (probably built-in intel). Thanks for the update!
  • Thanks! Might use it as part of generating backgrounds for PCs and NPCs.
    in Family Comment by Levendor August 2018
  • There's a previous thread on exploding dice. Try "Open ended dice rolls" in the search bar. I'm pretty sure I posted some code that worked for it. When I have a chance I can repost the code. The one I posted I think is for 1d100, and the user can en…
  • So, I'm thinking that you need to have a numerical standard for the relative position of each adjacent hex. For instance if the fire (or peasant revolt, plague, giant rat epidemic) started in hex 26, it easy to figure the the hex to the left is 25, …
  • Very nice! And thanks for the link to the BoH blog - lots of cool stuff there.
  • Thanks Ed, but credit goes to original creator from many years ago on NOX. I just did a tweak and repair of folder mapping. SmallRealities: you could take tables like Runes and BGImage and make them their own geneator with fixed paths, never to…
  • Oh, here's the sample output.
  • This is a generator that you can download by searching "Runes" here on the forum or in the NOX (NBOS Online Exchange). That's where you will get all the jpg and gif files. But the generator didn't work for me when I downloaded it from NOX. So I did …
  • Maybe you were asking something more basic, like can I have a lookup table without a Roll: call. Yes, I use it often. Try calling the table like this: [#{$var} TableName] It sends the value of {$var} to the table, and if the table is defined as a …
  • I don't think so. You can always set the reps to 1000, then you won't have to reroll for a little while. Otherwise, I think print results and save results between each generator run is all that's available.
  • Yes. In the code below, there is a variable called SpellLevel. It's value basically set by a user prompt, but it could really be set by anything in the generator, but it better be an integer! Then I call for a {1d{{SpellLevel}+1}-1} which is 1 roll…
  • Oh... I just thought your generator was cool and started to tweak it for myself. Was thinking a scroll of a particular user magic level might have spells of his max usable level or lower, with more number of spells if a lower power spell, and fewer …
  • So, the Prompt: call at the start asks for user input and automatically creates a variable called $Prompt1 and defines its value as the user entered value. The problem comes in that the external generator you call might be using the variable $Prompt…
  • I'm guessing that would be an unsupported feature. I read in the help file "Prompt commands are ignored by the command line and CGI versions of the program". Even if it does work, you must prompt for those inputs in your main generator that uses thi…
  • No problem. My main issue is always that I really don't have a decent grasp on the difference between {var} & {@var} and [@var] and [var], etc. I generally have to try all versions of syntax (and more) before I get the expected output. It's all …
  • I used the syntax {@var} in the PA calculation to retrieve the stored values of val_kw and it worked. Here's the test code: ; variable value.ipt ; created 6/3/2018 11:02:08 AM Set: val_at = 4 Set: val_at_mod = 1.2 Table: Value AT {@val_kw = if({val…
  • Here's sample output:
  • Try this: Change the do and else expressions from {$CasterClass==[@ClassHigh]} to {CasterClass=="[@ClassHigh]"} I used {1d6] for the NumSpells call. And - it is important to remove the deck pick "!" from Scroll of [!{$NumSpells}. That really messe…
  • The commands ceil(n) and floor(n) and round (n) work to round up, round down, and round (proper) to the nearest integer. You can find these and more in help file under Gen Files Crash Course\Expressions\Built In Functions If you want to round a var…
  • Yup... try [ WorstStat== ... Note the space between the open bracket and the W. Also, search IPP Forum using the search term "Wealth" for a thread from September 2017 to see a discussion of the [W issue.
  • Wasn't there a thread about a leading "W" making things go bonkers? I'll look and see if I can find that. The fix was to put a space before the leading "W", I think. I'll follow back on this one when I find that old thread.
  • Use the round function in the Field Source box. It's been forever since I did any designing in CSD, but here's an example where I calculated the HP's for a horse using other user entered data about the horse, then rounded to the nearest whole number…
  • for FM9! Hope to see an update where floating the cursor over a symbol on the symbol palette will display its file name. I normally need to leave File Explorer up on one monitor to see file names (which usually contain helpful descriptive &…
  • My MalwareBytes just updated, and security problems are gone. Here's the version that it just updated to: Woohoo!
  • Thanks for the reply, Ed. I really think it's just a problem with my personal MB setting or installation (and this did begin well before their memory leak episode last week, and before Win10 Creators update caused smoke to come out of my laptop...).…
  • As far as where to put the images, I may be able to assist. I worked through some of that when loading the Runes generator recently. I have all my data files on a SD drive and uploaded to the cloud, so I found it best to use a full path name. And..…