• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Spell Compendium user file auto-loading

(Hope this is the write sub-forum for this)

I downloaded the Spell Compendium (updated to Pathfinder) file from the Cheese Weasel site. Now, whenever I make a character, options from the SC show up in selection menus, even if I have the SC unchecked in the Configure Hero menu.

I'm guessing there's a mistake in the .user file itself. Any idea on how to correct it? For now I've just moved the .user file out of the Pathfinder directory to keep it from showing up.
 
Only about the first 10 maybe 12 spells are actually marked to be attached to that Source. So the fix is very easy, but very time consuming. Open the file in the editor and mark each individual spell to use that source. :)

I have a version where I am down to the B's so far. :p
 
Spell Compendium updated to Pathfinder?! Where can I get that one?

Cheeseweasel.net and look in the bottom left for the Hero Lab link.

Shadow - Darn. Is there a feasible way to make it a group effort, where someone does abc, someone else does def, someone else does ghi and so on, or would combining the pieces be too much trouble?
 
What source are you referring too?
My bad sometimes I am in a hurry and write very quickly. Each Thing(thing referencing the Generic term for feats, spells, and other stuff in HL) can be connected to a Book Source. Not source code for a program. :) This way certain Things are only available when the source is checked marked from inside the Configure Your Hero window. Each Thing must be marked individually and only a few of the spells in the above .user file are marked.

Spell Compendium updated to Pathfinder?! Where can I get that one?
Their are many great community created data sets available. Their are two main sites that host them and can be found in my signature. d20pfsrd host OGL and Cup compliant books while Cheesewesel's site hosts anything including many 3.5 converted stuff.

Shadow - Darn. Is there a feasible way to make it a group effort, where someone does abc, someone else does def, someone else does ghi and so on, or would combining the pieces be too much trouble?
The .user files are nothing but XML so it is possible for me to simply cut and paste stuff between .user files. So if you wanted to start working backwards while I am working Forwards that would be a GREAT help. Then all I would have to do is know the ThingID's for where you started and ended. As long as they are in order it will be a pretty easy copy and paste. Send me a PM if you want to do this.
 
ShadowChemosh - does your XML editor handle regular expressions for search & replace?

If so, you could look for a line including:

Code:
<fieldval field="?????" value="?????"/>

followed by a line including:

Code:
<tag group="??????" tag="?????"/>

And replace that with:

Code:
<fieldval field="?????" value="?????"/>
<usesource source="UltMagic"/>
<tag group="??????" tag="?????"/>

(Replacing the ????? with proper search terms and UltMagic with whatever the source's Id is)

Spells are a type of thing that will always have both fields and tags defined for them, so it's a case where this will work.

(If the source has already been applied, there will already be an entry between the last field and the first tag, so the search won't find that one).
 
Last edited:
My bad sometimes I am in a hurry and write very quickly. Each Thing(thing referencing the Generic term for feats, spells, and other stuff in HL) can be connected to a Book Source. Not source code for a program. :) This way certain Things are only available when the source is checked marked from inside the Configure Your Hero window. Each Thing must be marked individually and only a few of the spells in the above .user file are marked.

What source are you tying the spells to if I might ask? I am asking because I have some time and would be MORE then happy to start and do this as well? That way We can all enjoy it and I can at least do a little bit to help too?
 
Ok sent Shadow and Lawful a copy of the modified files.

2370 things 2297 tagged
73 didn't parse and need to be done by hand:
Spell Comp Domains (U 7-18-10).dat: <thing id="xHungBite"
Spell Comp Planar Domains (U 7-29-09).dat: <thing id="cdAbyss"
Spell Compendium B (C 7-23-10).dat: <thing id="sDrdBBogun"
Spell Compendium B (C 7-23-10).dat: <thing id="sWizBeClaw"
Spell Compendium B (C 7-23-10).dat: <thing id="sSorBeClaw"
Spell Compendium C (C 8-16-09).dat: <thing id="sClrCircDa"
Spell Compendium C (C 8-16-09).dat: <thing id="sBrdCircDa"
Spell Compendium C (C 8-16-09).dat: <thing id="sDrdCircDa"
Spell Compendium C (C 8-16-09).dat: <thing id="sWizCircDa"
Spell Compendium C (C 8-16-09).dat: <thing id="sSorCircDa"
Spell Compendium C (C 8-16-09).dat: <thing id="sSorCGrasp"
Spell Compendium C (C 8-16-09).dat: <thing id="sWizCGrasp"
Spell Compendium C (C 8-16-09).dat: <thing id="sDPesCuLyc"
Spell Compendium G.dat: <thing id="sBrdGElsCh"
Spell Compendium G.dat: <thing id="sDHunGhGau"
Spell Compendium G.dat: <thing id="sWizGhoGau"
Spell Compendium G.dat: <thing id="sSorGhoGau"
Spell Compendium G.dat: <thing id="sClrGloOrb"
Spell Compendium G.dat: <thing id="sWizGloOrb"
Spell Compendium G.dat: <thing id="sSorGloOrb"
Spell Compendium H (C 8-16-09).dat: <thing id="sWizHarden"
Spell Compendium H (C 8-16-09).dat: <thing id="sSorHarden"
Spell Compendium H (C 8-16-09).dat: <thing id="sDrdHealSt"
Spell Compendium L (C 3-10-10).dat: <thing id="sWizLaBolt"
Spell Compendium L (C 3-10-10).dat: <thing id="sSorLaBolt"
Spell Compendium L (C 3-10-10).dat: <thing id="sWizLaItem"
Spell Compendium L (C 3-10-10).dat: <thing id="sSorLaItem"
Spell Compendium L (C 3-10-10).dat: <thing id="sBrdLaLand"
Spell Compendium L (C 3-10-10).dat: <thing id="sDrdLaLand"
Spell Compendium L (C 3-10-10).dat: <thing id="sRgrLaLand"
Spell Compendium M (C 7-23-10).dat: <thing id="sDrdMEarth"
Spell Compendium M (C 7-23-10).dat: <thing id="sPalMoClar"
Spell Compendium O.dat: <thing id="sClrOmenPe"
Spell Compendium O.dat: <thing id="sDLibOmenP"
Spell Compendium O.dat: <thing id="sDrdOmenPe"
Spell Compendium O.dat: <thing id="sRgrOmenPe"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRCrDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRCrDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRLtDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRLtDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRMiDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRMiDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRMoDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRMoDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRSeDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRSeDam"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizReCast"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorReCast"
Spell Compendium R (C 8-16-09).dat: <thing id="sDDbdRevUn"
Spell Compendium R (C 8-16-09).dat: <thing id="sWizRevUnd"
Spell Compendium R (C 8-16-09).dat: <thing id="sSorRevUnd"
Spell Compendium S (C 6-04-10).dat: <thing id="sWizSklGrd"
Spell Compendium S (C 6-04-10).dat: <thing id="sSorSklGrd"
Spell Compendium S (C 6-04-10).dat: <thing id="sClrSkuWat"
Spell Compendium S (C 6-04-10).dat: <thing id="sWizSkuWat"
Spell Compendium S (C 6-04-10).dat: <thing id="sSorSkuWat"
Spell Compendium S (C 6-04-10).dat: <thing id="sWizStuBre"
Spell Compendium S (C 6-04-10).dat: <thing id="sSorStuBre"
Spell Compendium S (C 6-04-10).dat: <thing id="sWizStBrGr"
Spell Compendium S (C 6-04-10).dat: <thing id="sSorStBrGr"
Spell Compendium T (C 7-23-10).dat: <thing id="sClrTriSpe"
Spell Compendium U.dat: <thing id="sClrUpdraf"
Spell Compendium U.dat: <thing id="sDrdUpdraf"
Spell Compendium W (C 2-27-10).dat: <thing id="sClrWithPa"
Spell Compendium W (C 2-27-10).dat: <thing id="sWizWraTou"
Spell Compendium W (C 2-27-10).dat: <thing id="sDrdWraTou"
Spell Compendium W (C 2-27-10).dat: <thing id="sSorWraTou"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTBeClaw"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTCircDa"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTRCrDam"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTRLtDam"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTRMoDam"
Spell Compendium (Spellthief Compile).user: <thing id="sSpTRSeDam"
 
Last edited:
ShadowChemosh - does your XML editor handle regular expressions for search & replace?
Currently I use TextPad which I have used for years for dozen of different projects with Javascript, Java, TSQL and others. Though it's looking like I need a more advanced XML editor lately. Not just for HL but the current project I am on doing SOAP XML to a web service.

I can do them all with a regex, Shadow where is the file?
I'll modify them all in an instant.
Thanks so much for this Risner. I will need to check out regex if it was able to do this so easily. :)

I have the corrected file from Risner so I will be forwarding that along to cheifweasel to post on his site. Still can't put it to d20pfsrd as the Spell Compendium is NOT OGL.

Thanks all. :)
 
The other thing I did with this file (using find and replace in notepad) was to add "-SpC" in the name filed so I can see where the spell came from in the name list.

It would be nice to have a second field in these lists to have the name of the book it came from instead of having to click on it and look in the text.
 
Oops, I missed adding the "Appears In" text to spells (I got it added for most other things) - I'll fix that in the next update.
 
I purposed something awhile back that might need to be restated. With the user community of HL growing and becoming more active a certain amount of standards needs to be applied in order to maintain the organization of the user created files. Things such as standardized file names, documentation of user files, testing of user created content, things like this. I really think that a group of users should come together and create these standards for the rest of the community. Much like IANA or other organization maintain standards for industries.

This is just a thought, i didnt get much feed back the last time i brought it up but still think its a good idea.
 
Good thought. When I was in messing around last night with my small common language thing, I was adding unique ID's and thinking - geez, I'd better come up with a standard I'm going to use and woiuldn't it be nice if there was a standard so that I hopefully never step on anything the dev's do. So I wnt with something like:

gaXXXXXX

where ga is my initials, (in lowerscase) then the XXXXX is a code I assigned.

But, would be nice to have a community standard on iunique ID names to keep us from stepping on each other.
 
If you're going to use your initials, I'd recommend putting them after the normal prefix for a thing. For example, for a language, start with the normal lowercase "l", then "GA", then the rest of the Id. That way, if you get an error message about some random thing, you'll see that the prefix is "l", and therefore, you're going to go looking for it among the languages.
 
HL pretty much uses the full name of a Thing without any special characters. So for example Dodge feat would be fDodge. For the Pathfinder Companion stuff I did on d20pfsrd it all uses PC as part of the ID. So Dodge feat would be fPcDodge. I am pretty sure I saw the Sargava .user file held the same standard and used PC also.

When I do get given new stuff to post on d20pfsrd I add it first to a Test Environment of Pathfinder to make sure that their is no conflicts with other .user files. It also helps make sure that at least the .user file I was given will compile and does not require a missing Thing.

Would be a great move to have standards or someone willing to sort of a act as a QA tester for new stuff. This way editors would have someone willing to give a different point of view to stuff. This person would have to be familiar with HL, but not really an editor. As it would be more about testing the new things someone added. Just another thought is all.

Later
 
We need something. There is a lot of content that I'm not using because it is too complicated to sort through using it.

I've implemented my own versions of things (like Master of Many Forms PrC) because using the existing one wouldn't compile.

There are some things that are used across multiple books, those things should probably be isolated into one file. The books that need those items should overtly list they need the other file.

Books should be combined into one file (like MIC for example) or whole sets (like all the Complete books into one file.)

I've been thinking of trying to do some of this myself or to hire it done by someone else.

My perfect world though would to have just a few files:
1) All 3.5 books published by WotC for D20
2) All 3.0 books published by WotC for D20
3) All 3rd party 3.5 Books for D20

etc

As few files to install as possible.
 
Back
Top