Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old January 14th, 2017, 03:13 PM
While messing around with import I imported a project into a realm where I had some topics with the same name assuming the topics would be merged. Instead I wound up with two copies of the topics. I looked at the import advanced settings and it seems to think content should merge with all its talk of overwriting conflicting content.

Was this something specific to this realm or are other people having similar problems?

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #1 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old January 14th, 2017, 03:14 PM
The merge would only apply when re-importing an update export file.
It does not merge imported topics with non-imported topics.
Farling is offline   #2 Reply With Quote
Silveras
Senior Member
 
Join Date: Aug 2010
Posts: 1,528

Old January 14th, 2017, 05:07 PM
The name is not the key identifier for merging.. otherwise, you could not have two Topics with the same name as you can now.

A hidden identifier is used to recognize updates to the same topic by the Import/Export logic.
Silveras is offline   #3 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old January 15th, 2017, 01:07 AM
There are countless things in any world that have the same name. Obviously, you can have two people with the same name. But it's also quite reasonable to have different things with the same name. For example, a person, a city, and a ship could easily have the same name. Heck, the city and ship might specifically be named after the person! Realm Works has to handle that smoothly, so relying solely on the name is simply not possible.

Then consider the scenario where content is being published/shared by others. It's quite likely that the same name can be used for two completely different NPCs in two different sets of published content (ModuleA and ModuleB). And you might use the exact same name for an NPC in your own world. So when you import ModuleA into your world, do you want the Fred Smith in there to be automatically merged in with your own Fred Smith? And when you import ModuleB, the Fred Smith from that module is further merged into your own NPC? I'm guessing you would think of that as a problem, right?

Consequently, we have to keep every topic distinct and used an special internal identifier to track which topic is which. It would be folly for us to try and do anything else, since we would sometimes get it right and sometimes get it wrong. And when we got it wrong, we'd actually screw things up in ways that would make it very hard to unravel (e.g. merging two separate Fred Smiths into your own Fred Smith when you imported modules A and B).

What Realm Works DOES do is track the source of any material you export and import. So let's say you create Fred Smith in one realm, export Fred, and import him into another realm. Then you modify Fred in the original realm, export him, and import him again into the second realm. When you do that, we'll recognize that you've updated Fred and properly update him with the new material in the second realm. So there IS a lot of power available here. But we divine the right behavior based solely on the name.

Hope this explanation helps!
rob is offline   #4 Reply With Quote
Bidmaron
Senior Member
 
Join Date: Dec 2010
Posts: 468

Old January 15th, 2017, 05:02 AM
Quote:
Originally Posted by rob View Post
What Realm Works DOES do is track the source of any material you export and import. So let's say you create Fred Smith in one realm, export Fred, and import him into another realm. Then you modify Fred in the original realm, export him, and import him again into the second realm. When you do that, we'll recognize that you've updated Fred and properly update him with the new material in the second realm. So there IS a lot of power available here. But we divine the right behavior based solely on the name.
What if you change Fred in the imported-to realm and export him and import him into the original realm?
Bidmaron is offline   #5 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old January 15th, 2017, 05:13 AM
Quote:
Originally Posted by Bidmaron View Post
What if you change Fred in the imported-to realm and export him and import him into the original realm?
You know those Advanced Options within the Import form? This type of stuff is where those options come into play. Basically, you can do a variety of things, but I don't want to answer this question without double-checking details with David to make sure I provide accurate answers.

This is something that I'm also going to be writing up an Designer's Diary article on in the upcoming days. So I'll probably not go into all the gory details here and instead just write up that article.

I've got a couple of initial articles written now, although they need a good editing pass before posting. And I've got another dozen subjects identified for additional articles, of which your question is but one. The first articles should start getting posted by Monday, barring any surprises over the next 36 hours.
rob is offline   #6 Reply With Quote
Bidmaron
Senior Member
 
Join Date: Dec 2010
Posts: 468

Old January 15th, 2017, 05:25 AM
Roger. Thanks. Really looking forward to designer diary series.
Bidmaron is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:02 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.