Author Topic: Odd bug  (Read 899 times)

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Odd bug
« Reply #15 on: September 30, 2014, 01:49:15 am »


               


for fighter and sorcerer, then check every feat id with the feat.2da under that line, feat is invalid when there is **** instead of tlk reference for name




 


Wait - Are you saying it's a missing FEAT field (that's the talk file column header name for the feat's string name) in feat.2da that's the problem? I was thinking it was a missing or nonexistant FeatIndex. Seems odd that a missing string entry would cause the trouble, rather than just giving some unrecognized token error.


 


But, okay, I will scan every feat in the cls_feat_fight.2da and cls_feat_sorc.2da files and check the corresponding line in the feat.2da file for **** in the FEAT field.



               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Odd bug
« Reply #16 on: September 30, 2014, 01:55:33 am »


               

[Edit] Doing some double checking...


[Edit 2]


Okay, the following line is in cls_feat_sorc.2da:



99  ESS_Rest                                   4399      0    99             2

It appears to refer to the following feat line in feat.2da:



4399  ****                                                  ****     ****        ****               ****           ****   ****   ****   ****   ****   ****   ****        ****        ****        ****         ****         ****             ****     ****  ****    ****      ****    ****       ****       ****       ****       ****       ****       ****       ****       ****     ****             ****      ****              ****                                           ****            ****        ****     ****          ****     ****        ****       1        

Is that the problem?

 



               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Odd bug
« Reply #17 on: September 30, 2014, 02:15:30 am »


               

BTW, running my script on all of the cls_feat_*.2da files, searching for the same thing, I got the following:



--> feat.2da does not have talk table entries for 1 feats from cls_feat_alag.2da
   ['113', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 10 feats from cls_feat_blmagus.2da
   ['0', 'FEAT_BLMAGUS_BLCOMP', '4261', '3', '1', '0']
   ['1', 'FEAT_BLMAGUS_SCAR', '4262', '3', '2', '1']
   ['2', 'FEAT_BLMAGUS_DEATHKNELL', '4263', '3', '3', '1']
   ['3', 'FEAT_BLMAGUS_BLOODDRAUGHT', '4264', '3', '4', '0']
   ['4', 'FEAT_BLMAGUS_INFUSION', '4265', '3', '9', '0']
   ['5', 'FEAT_BLMAGUS_GORE', '4266', '3', '6', '0']
   ['6', 'FEAT_BLMAGUS_AWAKEN', '4267', '3', '8', '1']
   ['7', 'FEAT_BLMAGUS_HOMUNC', '4268', '3', '5', '1']
   ['8', 'FEAT_BLMAGUS_BLWALK', '4269', '3', '10', '0']
   ['9', 'FEAT_BLMAGUS_BLTHICK', '4241', '3', '7', '0']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_cler.2da
   ['92', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_dnecro.2da
   ['136', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_druid.2da
   ['141', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_sorc.2da
   ['99', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_wiz.2da
   ['79', 'ESS_Rest', '4399', '0', '99', '2']
--> feat.2da does not have talk table entries for 1 feats from cls_feat_wrmage.2da
   ['109', 'ESS_Rest', '4399', '0', '99', '2']

Seems like that ESS_Rest comes up quite a bit. Seems like if that was the issue, someone would have noticed it long ago...



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Odd bug
« Reply #18 on: September 30, 2014, 02:22:07 am »


               

yes this is it, now remove those lines from cls_feat_*.2das, pack into PRC hak with 2da and sent to OP, problem should be solved



               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Odd bug
« Reply #19 on: September 30, 2014, 02:26:28 am »


               


yes this is it, now remove those lines from cls_feat_*.2das, pack into PRC hak with 2da and sent to OP, problem should be solved




 


So, replace the entries on those lines with **** to remove them?


               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Odd bug
« Reply #20 on: September 30, 2014, 02:51:36 am »


               

Okay, I edited the 2DA files mentioned above with that problem and created a replacement prc_2das.hak. A 7-zip archive of the updated  version is available here.



               
               

               
            

Legacy_Prizzard

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Odd bug
« Reply #21 on: September 30, 2014, 05:48:43 am »


               

Well shite, nice programming for the auto-search. Yea, you'd think any previous programmer making these packs would have thought of that. Thank you big-time for the fix, I'll try it after I get this custom class working right. For some reason I can't equip light armor even though I have the feat and my AC with Combat Expertise is exactly what it should be without it. I'm at 8AC without using that feat >.< I'm hoping that's just a bug caused by loading with it active.



               
               

               
            

Legacy_Prizzard

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Odd bug
« Reply #22 on: September 30, 2014, 06:42:07 am »


               

Didn't fix the issue on mine. MrZork, would you like my save file for research? I'm just learning how to do these things, it'll take a long time before I can effectively do this.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Odd bug
« Reply #23 on: September 30, 2014, 07:16:22 am »


               


Didn't fix the issue on mine. MrZork, would you like my save file for research? I'm just learning how to do these things, it'll take a long time before I can effectively do this.




okay thats weird, i will look into it, send savegame and also tell me which version of the PRC are you using I try to reproduce the bug/find the cause