Author Topic: Two errors.  (Read 1858 times)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Two errors.
« on: October 05, 2005, 11:30:43 AM »
163 IG(S:GLOBAL*,S:Area*D0VTYPE,I:Value*)

if this is short for 'Increment Global', you should change the 163 (ReputationInc) to 109  :)

Even better,IMHO it'd be better to completely do away without IG (which causes problems with decompiling some dialogues, EG trax.dlg) and change the general DLG patching to

Code: [Select]
COPY_EXISTING_REGEXP GLOB ~.*\.dlg~ ~override~
DECOMPILE_DLG_TO_D
REPLACE_TEXTUALLY ~ReputationInc(~ ~IncrementGlobal("D0Chg2","Global",~
COMPILE_D_TO_DLG
IF ~ReputationInc(~
BUT_ONLY_IF_IT_CHANGES
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Ding0

  • Guest
Re: Two errors.
« Reply #1 on: October 05, 2005, 06:02:15 PM »
IG is a leftover from pre-DECOMPILE days, yeh. (Although you say it has problems with a DLG? I assumed it'd be more reliable than trying to decompile things.) Why on earth it's using the wrong IDS value, I don't know. It definitely worked at some point.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Two errors.
« Reply #2 on: October 06, 2005, 06:57:26 AM »
IG is a leftover from pre-DECOMPILE days, yeh. (Although you say it has problems with a DLG? I assumed it'd be more reliable than trying to decompile things.) Why on earth it's using the wrong IDS value, I don't know. It definitely worked at some point.

It says that IG is expecting a string but finds an integer - maybe WeiDU doesn't like S:String*D0Vtype anymore, or something. Try decompiling Trax.dlg with the current version of Virtue installed, and then traifying it. (don't ask me what on Earth I was doing or testing, since I cannot recall, honestly  ;D )

In my tests, with DECOMPILE/COMPILE (after correcting the action.ids reference) I only get errors with BG1 leftovers, similar to those in the BCSes (Abela, Charle, Nobw8, Prism, Quinn, Silke.dlg).
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: