Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
|
Quote:
The "topic more than once" error is when the same row in the CSV table is being inserted more than once. You can have the same name on different rows without causing any issues (other than if you try to create a relationship, since it will pick the first [or all?] topics). The problem I saw was that the way you had the parents set up, the same row from the table was being added to several different parents. e.g. several topics were being put under both the parents "Level 0B: The Cloister of the Frog-God" title and "Level 0B: The Cloister of the Frog-God: The Cloister". I'm not sure if you intended the same topics to appear twice in your realm. Farling Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module Donations gratefully received via Patreon, Ko-Fi or Paypal |
|
#421 |
Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
|
Quote:
Farling Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module Donations gratefully received via Patreon, Ko-Fi or Paypal |
|
#422 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
I just tried to replicate it using a file I had made a few months ago. I deleted the original export so this was a fresh from using the csv. Unable to replicate which is a good thing. If I can make it happen again in the future I'll let you know.
Joe might have some crashing exports left. I tend to clean up the stuff that doesn't work. Realm Works - Community Links Realm Work and Hero Lab Videos Ream Works Facebook User Group CC3+ Facebook User Group D&D 5e Community Pack - Contributor General Hero Lab Support & Community Resources D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base Obsidian Obsidian TTRPG Tutorials |
#423 |
Senior Member
Join Date: Jan 2012
Location: Los Angeles, CA
Posts: 281
|
Farling,
I'm really sorry to continue poking at this, but I have gone over my CSV multiple times and I do not see any problem with how I have structured the file. I decided to copy out the lines dealing with the Cloister of the Frog-God as a test since that was definitely causing problems. I'm attaching this as a .txt file so it can be reviewed. Just using a few lines from each section, I'd expect the import to look something like this: Quote:
Sorry to be a pain. I just really don't understand how else I could structure the CSV to get the nested structure that I need. I don't see how I'm calling on the same lines multiple times. Thanks again for your help. |
|
#424 |
Senior Member
Join Date: Apr 2014
Location: Perth, Australia
Posts: 161
|
Question:
I may be crazy (actually no don't answer that.... :-) ), but I am sure that in one of the earlier builds there was an option to make a snippet a GM instruction... that seems to have disappeared ? I can see snippet styles etc... Did I miss something ? |
#425 |
Senior Member
Join Date: Jan 2013
Location: Rochester, MN
Posts: 1,515
|
It's still there for Text Snippets: Snippet Options/GM Directions/Convert to GM Directions-only or Ctrl-G.
|
#426 |
Senior Member
Join Date: Apr 2014
Location: Perth, Australia
Posts: 161
|
|
#427 |
Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
|
Version 1.49 is out
This version fixes a bug that JustinThomason found. The string matching wasn't working properly when deciding which topics should be created as children of which parents. (The API call had been changed to prevent "regular expression" special characters from having any effect, in order to fix a previous bug report.) If a possible parent name was present within another parent name, then both parents would have the topic created beneath them. e.g. with the data lines: Code:
Parent,Prefix,Name,Suffix,Alt Name,Alt Name 2,Status Tag Level 0B: The Cloister of the Frog-God,0B,Background,0B,0B,Area 0B,Empty Level 0B: The Cloister of the Frog-God: The Cloister,CL1,Entrance,0B-CL,CL1,Area CL1,Empty Level 0B: The Cloister of the Frog-God: Within the Vaults,DL1A,The Lower Temple of Tsathogga,0B-DL1,DL1A,Area DL1A,Empty Farling Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module Donations gratefully received via Patreon, Ko-Fi or Paypal |
#428 |
Senior Member
Join Date: Jan 2012
Location: Los Angeles, CA
Posts: 281
|
Perfect! The new version works like a champ!
Once again, Thank you so much Farling - this tool is top notch! |
#429 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Farling, you are a true treasure to the community, mate, thanks for this
|
#430 |
Thread Tools | |
Display Modes | |
|
|