What am I doing wrong

Really thought I was getting the hang of this, I have got all sorts of files made for my One Ring campaign. However I thought I needed some animals to run amok... However although following the successful methods previously for some reasons this isn't working. Help, slaps round the back of the head greatly appreciated.

Table: Wild animals
Type: Lookup
Roll:1d10
1-2: A [@game] being chased by [@beasts].
3-4: A [@beasts] following the party [closely|at a distance].
5-6: A [@beasts] eating a [@game].
7-8: A {1d6} [@game] are being driven in a panic [@directions]
9-10: A {1d6} [@game] are seen [@distance]

The sub tables seem to be fine....
Cheers
S.

Comments

  • Hi Maenoferren, welcome to the forums!

    I ran your code and didn't really see any issues (except that you need a "|" after the "[" in "[closely|at a distance]").

    What kinds of problems are you experiencing?
  • Thanks for the reply, I basically get a title then nothing underneath it, Even with 100 chosen, there is nothing there. Occasionally when I have messed up it will say 'missing' or if I have a gap I will get a blank space that shows I have hit return by mistake in my lists. However with this there is absolutely nothing there. I am now at the frustrated stage :)
  • Sounds frustrating! If you post all the relevant code (including your call to the table) here I'll tinker with it a bit.
  • Thanks again for the support.I am relatively new to this so it is maybe something obvious that I am missing.
    The whole code is:
    Table: Wild animals
    Type: Lookup
    Roll:1d10
    1-2: A [@game] being chased by [@beasts].
    3-4: A [@beasts] following the party [|closely|at a distance|].
    5-6: A [@beasts] eating a [@game].
    7-8: A {1d6} [@game] are being driven in a panic [@directions]
    9-10: A {1d6} [@game] are seen [@distance]

    Table: game
    antelope
    bird
    wild boar
    deer
    wild goat
    elk
    wild ox

    Table: beasts
    a bear
    a big cat
    a wolf
    a pack of wolves comprising {1d6+2} wolves

    Table: directions
    towards the party
    away from the party
    parallel to the party
    north
    north east
    north west
    east west
    south
    south east
    south west

    Table: distance
    nearby
    200 yards to the [@directions]
    500 yards to the [@directions]
    A mile [@directions]
  • Well, crap, I got nuttin.

    I ran your code and found nothing like the problem you describe. Maybe it's IPP versions? I'm running v3.01b.

    Or maybe something in the larger program that uses this code is messing it up? I see in one of your older posts you talk about seeing the "title", which isn't in the given code.

    Incidentally, if you make an .ipt file out of just the code you posted, does it run correctly for you?
  • I made a test table:
    Table: test
    Test
    Test 1
    Test 2
    Test 3
    I ran that and it worked fine.

    I the pasted the animal code over the top of it and saved it, basically, to see if I messed up the file type etc. I ran the program and zip exactly the same effect as before. When I mentioned title I meant the file name on the same line as the number of items to show.
    I can't understand why the animals doesn't work and the following does:
    Table: Breelanders
    Type: lookup
    Roll: 1d6
    1-2: A man called[ @Bree male names] [ @Bree family names]
    3: Two men called [ @Bree male names] and [ @Bree male names]
    4: A couple called [ @Bree male names] and [ @Bree female names] [ @Bree family names]
    5: A [@Occupations] called [ @Bree male names]
    6: A shady character who introduces himself as [ @Bree male names]





    Table: Bree male names

    Al
    Albert
    Alden
    Alvin
    Alf
    Alfred
    Andy
    Archie
    Arnie
    Arnold
    Art
    Ashley
    Bail
    Barliman
    Bernard
    Bert
    Bill
    Bob
    Bran
    Charlie
    Cliff
    Crispin
    Dale
    Del
    Edgar
    Fred
    Harry
    Herb
    Howard
    Kip
    Larry
    Lenard
    Matty
    Morton
    Nick
    Osbert
    Oswin
    Perry
    Peregrin
    Robin
    Sage
    Sid
    Stan
    Ted
    Toby
    Tobias
    Tod
    Tom
    Walt
    William

    Table: Bree female names

    Ada
    Aggy
    Agnes
    Ash
    Aud
    Avi
    Babs
    Belinda
    Bernice
    Bertha
    Daisy
    Dawn
    Dee
    Dora
    Dot
    Dorothy
    Edith
    Emmy
    Emily
    Faye
    Fern
    Flora
    Gertie
    Hattie
    Hayley
    Hazel
    Hettie
    Henrietta
    Holly
    Ivy
    Joy
    Lillian
    Belinda
    Marge
    Margaret
    Milly
    Mildred
    Wilhelmina
    Myrtle
    Poppy
    Rosalind
    Rose
    Rosie
    Sage
    Tilly
    Matilda
    Trudie
    Gertrude
    Violet
    Wilma
    Wilhelmina
    Winnie

    Table: Bree family names

    Appledore
    Birchdown
    Blackthorn
    Butterbur
    Buttercup
    Dogwood
    Ferny
    Goatleaf
    Gooseberry
    Harebell
    Heathertoes
    Honeystalk
    Mawseed
    Milkflower
    Pickthorn
    Rushlight
    Thistlewool
    Whistletree
    Whitebeam
    Whortleberry

    Table: Occupations
    merchant
    tinker
    farmer
    shepherd
    hunter
    traveller
    messenger
    fisherman
    blacksmith
    drover
    mason
    fletcher
    cooper
    potter
    bowyer
    innkeeper
  • I just checked I am running 3.01a
  • Still struggling with this conundrum... A few thoughts...
    Is it because I am using the Android version?
    Have I had up an allocated amount of space ( a bit of a wierd long shot)
    I am having to write it as a txt file and convert to ipt? ( it won't open up the txt file and the text editor won't open an ipt file)
    Am I just doing something mega wierd!
  • It gets a bit wierder.. I rewrote the code again with a d6 roll and a simple animal and animal etc it sort of worked then the whole thing crashed. Every other code worked apart from the animal one. I uninstalled and ran it again. It appeared this time as it had before, basically nothing showing. After a while of messing about with it I changed the table names and voilà... It worked... Animals became wildlife and game became wild ... For some reason it works fine.
    Table: wildlife
    Type: Lookup
    Roll:1d10
    1-2: A [@wild] is being chased by [@beasts].
    3-4: A [@beasts] is following the party [|closely|at a distance|].
    5-6: A [@beasts] are eating a [@wild].
    7-8: {1d6} [@wild] are running in a panic [@directions]
    9-10: {1d6} [@wild] are seen [@distance]
  • I thought that Table names could not contain spaces.

  • Table names may contain spaces. But I had problems with certain table names in the past as well, although they were not listed as variables in the helpfile or something similar that could cause issues. Just can't remember the table names anymore though. Maybe stricter naming rules would help. Like Table: "animals" or Table: #animals or Table id="animals" or similar to make clear this is a table ID.

Leave a Comment