Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 1st, 2016, 08:04 AM
How do you hide an outdated sources in a 1st file.
Frodie is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 1st, 2016, 08:14 AM
If you can't just delete them, then you'll need to be more specific about what you mean by "hide".
Mathias is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 1st, 2016, 08:24 AM
Sorry, it used to be if a source had the same name but two different id's they would just show up as one source. Seem now they show up as two different sources.

I have a little bit of down time an thought I might work on the old Modern Path files a bit and I thought I would start with the source in the 1st file.

We could strip put the old source files (they are no longer used in the user files), but it will mess up all the old save characters. IDK, not a big deal, what do yall think?
Frodie is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 1st, 2016, 11:14 AM
You can not have "more" than one source id with the same "unique" value. They are "unique". My first question would be which "two" are we actually talking about?

Second issue is that now that Modern is in the community pack we don't do ANY changes that causes "errors" on purpose to be tossed to gamers. I don't need dozens of emails and posts about an issue.

If you are "deprecating" a source what we can do is set it up to be "grayed" out so it can not be selected anymore. But existing characters will not get errors about "missing" sources. You can do this by changing the "selectable" element to "no". Though I would recommend we do a proof of concept testing here as I have never had the need to remove an old source. We would also want to make sure no Things are attached to this source before deprecating it.

To get everyone on the same page HERE is the file is that Frodie is talking about. I don't see any "duplicate" source ID's?

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 1st, 2016, 11:31 AM
It's ok, like I said, not a big deal. I guess the best way to explain what I am talking about is to look at all the sources that show up when you start up the setting. So I added a screen shot.

Anyways, I don't want to break anything or have a bunch of post about something not working. So, l'll just leave it be, NP.
Attached Images
File Type: jpg Untitled.jpg (407.3 KB, 13 views)
Frodie is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 1st, 2016, 02:01 PM
Quote:
Originally Posted by Frodie View Post
It's ok, like I said, not a big deal. I guess the best way to explain what I am talking about is to look at all the sources that show up when you start up the setting. So I added a screen shot.

Anyways, I don't want to break anything or have a bunch of post about something not working. So, l'll just leave it be, NP.
This appears to be a totally different bug. If you look at the .1st file you have two "different" sources named "MSRD Base Classes and Skills" (sourceid.MPMSRD and sourceid.GRCMP2MSR).

So correct we need to now figure out "which" of these is the one you want to "keep" and which one we are going to deprecate.

Then we have to find all the "Things" that source marked to these ID's and move them over.

End result is we do want to fix this. Which I agreed above but we need to fix it in a "nice" friendly way to gamers.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 1st, 2016, 02:05 PM
Using GitHub to do the search we can see that HERE that "GRCMP2MSR" has a few Things source marked to it.

HERE we can see that "MPMSRD" has nothing source marked to it.

Please go ahead and change the MPMSRD source in the .1st file to selectable "NO" please and change its "description" to be something like 'Not used'. At least that will prevent the confusion of having to check mark the option "twice".

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 1st, 2016, 02:07 PM
@Mathias other then making the "source" not able to be selected in the Configure Your Hero window. Any way to "deprecate/obsolete" the source in a way that will not cause saved .por files from tossing an error?

I am sort of thinking no actually but it don't hurt to ask.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #8 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 1st, 2016, 02:24 PM
Code:
    <!-- The Ultimate Magic playtest is finished -->
    <silentsource source="UMPLaytest"/>

    <!-- The Ultimate Combat playtest is finished -->
    <silentsource source="UCPlaytest"/>
Check the loadmods.dat file in d20 - those are lines from Pathfinder's loadmods file. Those elements are within a <loadmods></loadmods> element.

Important note from the reference:
Quote:
-Requires that the source NEVER again be used within the data files
(Although having accidentally broken that rule, it's caught by the compiler, and will simply prevent you from compiling until you fix it).
Mathias is offline   #9 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 1st, 2016, 02:35 PM
Oh that is pretty cool. Thanks!

@Frodie I will take a look tonight at getting that added to obsolete the "MPMSRD" source.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #10 Reply With Quote
Reply


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 11:07 PM.


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