Added feats not showing up

Discussion of and general support for d20 D&D, including 3.0E and 3.5E and derivatives.

Moderators: dorpond, Azhrei

Post Reply
User avatar
marinecomm
Kobold
Posts: 17
Joined: Tue Oct 05, 2010 4:59 pm
Location: Georgia

Added feats not showing up

Post by marinecomm »

I downloaded CT 1.0.b15 and installed it on my system. I found the file d20fantasy.rpgame, unzipped it and added feats to the feats.rpdat file. I rezipped it and placed it in the proper location. When I fire up CT, go to the feats section and click the Add button, a window pops up and only shows the two feats that were originally there. It doesn't show any of the feats that I added to the feats.rpdat file. I'm running Xubuntu 14.04 32-bit. What might I be doing wrong?
"Once you become Real, you can't become Unreal again. It lasts for always!"

User avatar
marinecomm
Kobold
Posts: 17
Joined: Tue Oct 05, 2010 4:59 pm
Location: Georgia

Re: Added feats not showing up

Post by marinecomm »

Ok, I reloaded CT and got an error message saying it can't load the feat.rpdat file.
"Once you become Real, you can't become Unreal again. It lasts for always!"

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Re: Added feats not showing up

Post by jay »

If you send me your entire game file I can take a look at it. It might take me awhile, as I'm going out of town this weekend.

User avatar
marinecomm
Kobold
Posts: 17
Joined: Tue Oct 05, 2010 4:59 pm
Location: Georgia

Re: Added feats not showing up

Post by marinecomm »

I found a post back from 2012 where someone had added feats and posted the file for download. I tried their file but still only the two feats show up. I read that post and saw where I went wrong but still even when I use their file the feats added won't show up. Here's the link to that thread.
"Once you become Real, you can't become Unreal again. It lasts for always!"

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Re: Added feats not showing up

Post by jay »

Could you post your game file so I can take a look at it?

User avatar
marinecomm
Kobold
Posts: 17
Joined: Tue Oct 05, 2010 4:59 pm
Location: Georgia

Re: Added feats not showing up

Post by marinecomm »

The code is too big to post here so I will put it up on pastebin so you can view it.

http://pastebin.com/gRhzTScw
"Once you become Real, you can't become Unreal again. It lasts for always!"

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Re: Added feats not showing up

Post by jay »

The biggest problem was that when the 'and' function is used the last parenthesis is missing. Every so often a comma between arguments in the 'and' functions was left out.

The other problem was with the inList you mentioned above. What was needed was this:

Code: Select all

inList(root.characterFeats, "Armor Proficiency (Light)", "name")
and not the listGet() method. The listGet() method is only needed when you need to check a saved value. The d20fantasy file doesn't support that kind of feat.

I fixed all of the prerequisite errors I could find and attached the file below.
Attachments
feats.zip
Fixed feats file.
(16.84 KiB) Downloaded 131 times

Post Reply

Return to “Support: d20 D&D”