Jump to content


Photo

Some stuff


1 reply to this topic

#1 Wisp

Wisp
  • Modders
  • 967 posts
  • Gender:Male

Posted 03 July 2010 - 04:06 AM

The fix to make Flydian disappear after Faldorn's dead is causing a reproducible CTD on SoA-only installations. There's no error message, other creatures can DestroySelf just fine and it happens with EscapeArea as well. It does not occur if Deavtivate is used instead of DestroySelf.

Beta Core no longer installs on SoA-only installations:
@@ -921,6 +921,7 @@
   ~blun31.itm~
   ~bolt09.itm~
   ~bonedag.itm~
+   boot12.itm //ALLOW_MISSING
   ~bow20.itm~
   ~bow21.itm~
   ~bow22.itm~
@@ -30336,7 +30337,7 @@
 END												// ends ACTION_FOR_EACH block
 
 // Anomen should not speak ill of the Order during his banters with Imoen unless he had failed his test (Wisp)
-
+ACTION_IF GAME_IS tob BEGIN
 <<<<<<<<inlined/dialogues/are/gauche/anomenfix.d
 ALTER_TRANS bimoen25 BEGIN 14 16 END BEGIN 0 END BEGIN
 "TRIGGER" ~!Alignment("Anomen",CHAOTIC_NEUTRAL)~
@@ -30346,6 +30347,7 @@
 END
 >>>>>>>>
 COMPILE "inlined/dialogues/are/gauche/anomenfix.d"
+END
 
 // Assembling the Flail of Ages piece by piece should grant an XP reward (Wisp)
 
@@ -30624,7 +30626,7 @@
   BUT_ONLY
 
 // Killing a couple of unrelated Baatezu in the Marching Mountains will no longer turn Ka'rashur and his cohort in Watcher's Keep hostile (Wisp)
-
+ACTION_IF GAME_IS tob BEGIN
 COPY_EXISTING yssumm2.bcs override
   DECOMPILE_BCS_TO_BAF
	 REPLACE_TEXTUALLY CASE_INSENSITIVE EXACT_MATCH ~"gorbat2"~ ~"deriny01"~
@@ -30653,6 +30655,7 @@
	 END
   END
 BUT_ONLY
+END
 
 // Mithral Field Plate Armor +2 and Missile Attraction +2 armors can no longer be worn together with rings and amulets of protection (Wisp)
 
@@ -30936,7 +30939,7 @@
 BUT_ONLY_IF_IT_CHANGES
 
 // Wish: Breach on all enemies in the area should not affect friendly summoned creatures and turn them hostile. Fixed by using a different targeting method and projectile
-
+ACTION_IF GAME_IS tob BEGIN
 COPY_EXISTING ~SPWISH38.SPL~  ~override~										   // Wish: Breach on all enemies in the area
   READ_LONG  0x64 "abil_off"
   READ_SHORT 0x68 "abil_num"
@@ -30950,6 +30953,7 @@
   WRITE_SHORT  ("%abil_off%" + 0x26 + (0x28 * "%index%")) "254"					// projectile: 254 (BIGNAREA)
   END
 BUT_ONLY_IF_IT_CHANGES
+END
 
 // Greater Command should use the same projectile at all levels. In term, the spell will no longer affect the caster's allies at lower levels

The obligatory junk:
//reddeath doesn't work because it uses the wrong action
COPY_EXISTING reddeath.bcs override
  DECOMPILE_BCS_TO_BAF
	REPLACE_TEXTUALLY CASE_INSENSITIVE EXACT_MATCH ReallyForceSpell ReallyForceSpellDead
  COMPILE_BAF_TO_BCS
UNLESS 240OB
BUT_ONLY

//Kruin can spawn again if you killed him before he could talk
COPY_EXISTING githspwn.bcs override
  DECOMPILE_BCS_TO_BAF
	REPLACE_TEXTUALLY CASE_INSENSITIVE EXACT_MATCH ~!Exists("Kruin")~ ~!Exists("Kruin") !Dead("Kruin")~
  COMPILE_BAF_TO_BCS
UNLESS ~16465 0 1 0 0 "Kruin" "" OB~
BUT_ONLY

There's also a problem with Visaj continuing to loiter about in Ust Natha even after you've killed him together with Jarlaxle, but I can't think of a good fix for it.

Some more strings for the GTUL:
//STRING_SET
4668  @1004668 //as if a door were
48334 @1048334 //horseshoe shaped
48576 @1048576 //as if a door were

//TRA
@1004668=~You turn the wheel with all your strength.  From the west you hear a loud creaking as if a door was being closed.~
@1048334=~You may rotate this horseshoe-shaped wheel.~
@1048576=~You turn the wheel with all your strength.  From the west you hear a loud creaking as if a door was being opened.~

Edited by Wisp, 15 July 2010 - 01:42 PM.


#2 aVENGER_(RR)

aVENGER_(RR)

    Sneaksie!

  • Fixpackers
  • 1008 posts
  • Gender:Male

Posted 09 January 2012 - 08:56 PM

The fix to make Flydian disappear after Faldorn's dead is causing a reproducible CTD on SoA-only installations. There's no error message, other creatures can DestroySelf just fine and it happens with EscapeArea as well. It does not occur if Deavtivate is used instead of DestroySelf.


It would seem that simply replacing InMyArea("messen") with Exists("messen") prevents the crash.

Tested on BG2-SoA v23037.
Retired modder

Rogue Rebalancing - Author
aTweaks - Author
Wizard Slayer Rebalancing - Co-Author
BG2 Fixpack - Contributor



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users