Icendoan Posted December 11, 2008 Share Posted December 11, 2008 Jaheira's Curse bug: Jaheira's CON drain could kill her when she was cursed in the cutscene, which would break the game, as the next line is Jaheira's. It adds a check for Jaheira's HP before starting. <<<<<<<< Bg2Fixpack/Inlined/BaronP_HP-fix.d~ ADD_STATE_TRIGGER ~BARONP~ ~0~ ~HPGT("Jaheira",20)~ >>>>>>>> COMPILE ~BG2Fixpack/Inlined/BaronP_HP-fix.d~ Dirbert's Sword Count: Fixes a bug where you only got the reply option to give Dirbert and crew his swords if you have 3 Bastard swords, not 2, not 4, and 5 is plain out of it! <<<<<<<< BG2Fixpack/Inlined/Dirbert-swords.d" REPLACE_TRANS_TRIGGER "UHKID01" BEGIN 16 END BEGIN 0 END BEGIN 16 END BEGIN 0 2 4 6 7 END "NumItemsParty("SW1H01",3)" "NumItemsPartyGT("SW1H01",2)" >>>>>>>> COMPILE ~BG2Fixpack/Inlined/Dirbert-swords.d~ Currently, both are untested, but ought to work. Icen Link to comment
Leomar Posted December 12, 2008 Share Posted December 12, 2008 O.K. here I've the same problem with the "Dirbert's Sword Count fix" like I've described for the Jaheira's Curse bug fix: Can you explain, what exactly I must do to include your fix? Greetings Leomar Link to comment
Icendoan Posted December 12, 2008 Author Share Posted December 12, 2008 Simply place this in the CORE/BETA FIXES section of the BG2fixpack. As long as they are in a BEGIN ~modName~ section, and not part of a PATCH_IF statement or similar, it should work pretty well. Icen Link to comment
Leomar Posted December 14, 2008 Share Posted December 14, 2008 Do you mean I can simple do this at the end of the BETA Core Fixes: END BUT_ONLY_IF_IT_CHANGES ///// \\\\\ ///// Jaheira's Curse Fix from Icendoan \\\\\ ///// \\\\\ <<<<<<<< ~Bg2Fixpack/Inlined/BaronP_HP-fix.d~ ADD_STATE_TRIGGER ~BARONP~ ~0~ ~HPGT("Jaheira",20)~ >>>>>>>> COMPILE ~BG2Fixpack/Inlined/BaronP_HP-fix.d~ ///// \\\\\ ///// Dirbert's Sword Count Fix from Icendoan \\\\\ ///// \\\\\ <<<<<<<< "BG2Fixpack/Inlined/Dirbert-swords.d" REPLACE_TRANS_TRIGGER "UHKID01" BEGIN 16 END BEGIN 0 END BEGIN 16 END BEGIN 0 2 4 6 7 END "NumItemsParty("SW1H01",3)" "NumItemsPartyGT("SW1H01",2)" >>>>>>>> COMPILE ~BG2Fixpack/Inlined/Dirbert-swords.d~ /////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\ /////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\ ///// \\\\\ ///// Optional, but cool \\\\\ [EDIT] I've seen in this thread that their are some problems with your "Dirbert's Sword Count Fix". I would ask only, if the fix is correct like you described it here or must I do something more? Greetings Leomar Link to comment
Leomar Posted December 14, 2008 Share Posted December 14, 2008 Oh, you answered fast. Thanks. I've edited my post above with this: I've seen in this thread that their are some problems with your "Dirbert's Sword Count Fix". I would ask only, if the fix is correct like you described it here or must I do something more? Greetings Leomar Link to comment
Mike1072 Posted December 14, 2008 Share Posted December 14, 2008 I'd advise you to use the updated Dirbert code. I did some checking, and it looks like inlined files are case-sensitive and require you to not put quotes around their declaration. So, updated, the additions should look like: ///// \\\\\ ///// Jaheira's Curse Fix from Icendoan \\\\\ ///// \\\\\ <<<<<<<< bg2fixpack/inlined/baronp_hp-fix.d ADD_STATE_TRIGGER ~BARONP~ ~0~ ~HPGT("Jaheira",20)~ >>>>>>>> COMPILE ~bg2fixpack/inlined/baronp_hp-fix.d~ ///// \\\\\ ///// Dirbert's Sword Count Fix from Icendoan \\\\\ ///// \\\\\ <<<<<<<< bg2fixpack/inlined/dirbert-swords.d REPLACE_TRANS_TRIGGER "UHKID01" BEGIN 16 END BEGIN 0 1 3 5 7 8 END ~NumItemsParty("SW1H01",3)~ ~NumItemsPartyGT("SW1H01",2)~ >>>>>>>> COMPILE ~bg2fixpack/inlined/dirbert-swords.d~ Link to comment
Icendoan Posted December 14, 2008 Author Share Posted December 14, 2008 I have to put "" in mine due to my prefix "#!", which gives me LEXER errors otherwise. Icen Link to comment
Mike1072 Posted December 14, 2008 Share Posted December 14, 2008 I have to put "" in mine due to my prefix "#!", which gives me LEXER errors otherwise. Icen I meant in the declaration of the file, not the COMPILE statement. For example, this appears to work: <<<<<<<< #!bg2fixpack/inlined/baronp_hp-fix.d ADD_STATE_TRIGGER ~BARONP~ ~0~ ~HPGT("Jaheira",20)~ >>>>>>>> COMPILE ~#!bg2fixpack/inlined/baronp_hp-fix.d~ This gives a file not found message: <<<<<<<< "#!bg2fixpack/inlined/baronp_hp-fix.d" ADD_STATE_TRIGGER ~BARONP~ ~0~ ~HPGT("Jaheira",20)~ >>>>>>>> COMPILE ~#!bg2fixpack/inlined/baronp_hp-fix.d~ And this gives the lexer error: COMPILE #!bg2fixpack/inlined/dirbert-swords.d Link to comment
Icendoan Posted December 14, 2008 Author Share Posted December 14, 2008 EDIT: It would appear that you are right. First post edited, use that or mike's version. Icen Link to comment
Salk Posted December 16, 2008 Share Posted December 16, 2008 Neither Icendoan's nor Mike's Dirbert Sword Count code seem to work. The first still gives a "File not found error". (Typo here: <<<<<<<< BG2Fixpack/Inlined/Dirbert-swords.d" where there is an unwanted " after swords.d) The second gives a "Parsing error". Both stop the installation. Please recheck. EDIT: It appears the syntax error is here: ~NumItemsParty("SW1H01",3)~ ~NumItemsPartyGT("SW1H01",2)~ Removing the "" will make it compile: ~NumItemsParty(SW1H01,3)~ ~NumItemsPartyGT(SW1H01,2)~ Link to comment
Mike1072 Posted December 16, 2008 Share Posted December 16, 2008 The second gives a "Parsing error". Both stop the installation. Please recheck. EDIT: It appears the syntax error is here: ~NumItemsParty("SW1H01",3)~ ~NumItemsPartyGT("SW1H01",2)~ Removing the "" will make it compile: ~NumItemsParty(SW1H01,3)~ ~NumItemsPartyGT(SW1H01,2)~ It parses, installs, and executes properly for me - and this is the syntax used by the game. Please provide a full log of the error message you received along with the code you used to install. Link to comment
Salk Posted December 16, 2008 Share Posted December 16, 2008 The code I have tried is: <<<<<<<< bg2fixpack/inlined/dirbert-swords.d REPLACE_TRANS_TRIGGER "UHKID01" BEGIN 16 END BEGIN 0 1 3 5 7 8 END ~NumItemsParty("SW1H01",3)~ ~NumItemsPartyGT("SW1H01",2)~ >>>>>>>> COMPILE ~bg2fixpack/inlined/dirbert-swords.d~ The error log reports: [bg2fixpack/inlined/dirbert-swords.d] PARSE ERROR at line 1 column 0-20 Near Text: REPLACE_TRANS_TRIGGER syntax error [bg2fixpack/inlined/dirbert-swords.d] ERROR at line 1 column 0-20 Near Text: REPLACE_TRANS_TRIGGER Parsing.Parse_error ERROR: parsing [bg2fixpack/inlined/dirbert-swords.d]: Parsing.Parse_error ERROR: compiling [bg2fixpack/inlined/dirbert-swords.d]! Stopping installation because of error. ERROR Installing [bETA Core Fixes (please check the readme!)], rolling back to previous state [bg2fixpack/backup/3/UNSETSTR.3] SET_STRING uninstall info not found Will uninstall 2 files for [bG2FIXPACK/SETUP-BG2FIXPACK.TP2] component 3. Uninstalled 2 files for [bG2FIXPACK/SETUP-BG2FIXPACK.TP2] component 3. SETUP-A6XPPATCH.TP2 0 0 Installed SETUP-A6XPPATCH.TP2 0 1 Installed SETUP-A6CHARMPATCH.TP2 0 0 Installed BG2FIXPACK/SETUP-BG2FIXPACK.TP2 0 0 Installed ~BG2 Fixpack - Core Fixes~ BG2FIXPACK/SETUP-BG2FIXPACK.TP2 0 1 Installed ~BG2 Fixpack - Game Text Update~ ERROR: Parsing.Parse_error PLEASE email the file SETUP-BG2FIXPACK.DEBUG to webmaster@gibberlings3.net Using Language [English] [English] has 1 top-level TRA files [bg2fixpack/english/setup.tra] has 101 translation strings Link to comment
Mike1072 Posted December 16, 2008 Share Posted December 16, 2008 Ah, okay! It seems the issue is that the Fixpack ships with WeiDU Version 204 and REPLACE_TRANS_TRIGGER was added in 207. To use this code reliably in the BWP 6.1 Hotfix, Leomar, you'd need to include one of the newer versions of WeiDU.exe renamed to 'Setup-bg2fixpack.exe'. Link to comment
Salk Posted December 16, 2008 Share Posted December 16, 2008 It works with WeiDU 209! Thanks Mike! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.