Jump to content


Photo

S_and_H patch V6 question (and a debug problem)


  • Please log in to reply
1 reply to this topic

#1 arclogo

arclogo
  • Member
  • 37 posts

Posted 09 February 2005 - 05:43 AM

Well, I have got a neat installation of BGP-BP-NEJ(patched313), and my plan is to get CtB + BG1 NPC + DSoSC + Bonehill added into my game inventory.

So before patching S_and_H, I noted the discussion about its potential conflict with CtB (earlier versions of S_and_H, possibly), and I decided to follow the instruction of this guide:

http://www.shsforums...pe=post&id=1666

Specifically, the following code (1) of Setup-BP_s_and_h_Patch.tp2 is expected, as per guide, to be changed manually to code (2):

code (1)

BEGIN @5 //NEJ-specific fixes
ACTION_IF FILE_EXISTS ~ehhroth.bcs~ // NEJ Installed at some point.
OR FILE_EXISTS ~ehhroth.bcs~
THEN BEGIN
PRINT @6 //NEJ is installed. Patching proceeding.

code (2)

BEGIN @5 //NEJ-specific fixes
ACTION_IF FILE_EXISTS ~Override/Bag02NeJ.sto~ // NEJ Installed at some point. OR FILE_EXISTS ~ehhroth.bcs~
THEN BEGIN
PRINT @6 //NEJ is installed. Patching proceeding.

But apparently V6 of S_and_H patch have already done this in its tp2 file, only that one variable is different from the description of code (2), I will quote it here as code (3):

BEGIN @5 //NEJ-specific fixes
ACTION_IF FILE_EXISTS ~Override/Bag02NeJ.itm~ // NEJ Installed at some point.
OR FILE_EXISTS ~EHHROTH.BCS~
THEN BEGIN
PRINT @6 //NEJ is installed. Patching proceeding.

Differece between code (2) and (3):

(2) ...Bag02NeJ.sto...
(3) ...Bag02NeJ.itm...

So I am wondering which one is the proper source code to rely on......any hint?


PS:

1. When checking the newly-installed game with Debug mode, I find that SetCurrentXP() and AddGold() etc. work all fine but CreateItem() and CreateCreature() always fail with Error: File does not exist......

Could it be that the file names are changed in the BGT-BP installation process? I used the following link for item/creature codes:

http://mikesrpgcente...te2/cheats.html

Special Note: I installed BGT-BP with German version of BG I and English version of BG II....could that be a cause of this problem?

2. I have Iomen now set to Charm Rogue kit, and I just intend to install Druidic Sorcerer mod (conflict again, sigh)....any idea of how I can avoid removing Imeon's special abilities when installing the latter mode?

Edited by arclogo, 09 February 2005 - 05:47 AM.


#2 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 09 February 2005 - 01:15 PM

If I remember right, the bag's ITM and STO file are both installed with the version 14 patch for NeJ, so it shouldn't matter which one you look for, they are both in the override folder.

If you can't find an item, use NI or DLTCEP to view the item files. That should show you what you are typing in wrong.

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website