Page 1 of 1

Added feats not showing up

Posted: Fri Aug 29, 2014 10:55 pm
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?

Re: Added feats not showing up

Posted: Fri Aug 29, 2014 11:06 pm
by marinecomm
Ok, I reloaded CT and got an error message saying it can't load the feat.rpdat file.

Re: Added feats not showing up

Posted: Sat Aug 30, 2014 8:40 am
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.

Re: Added feats not showing up

Posted: Sat Aug 30, 2014 11:19 am
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.

Re: Added feats not showing up

Posted: Sun Aug 31, 2014 12:47 pm
by jay
Could you post your game file so I can take a look at it?

Re: Added feats not showing up

Posted: Sun Aug 31, 2014 1:11 pm
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

Re: Added feats not showing up

Posted: Sun Aug 31, 2014 2:27 pm
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.