Jump to content


Photo

Funny bug?


  • Please log in to reply
11 replies to this topic

#1 Joakim

Joakim
  • Member
  • 23 posts

Posted 20 December 2006 - 01:09 AM

I've installed lots of MODs and they work fine. But I've got one bug that replaces inventory item icon assignment between normal 'long bow' and 'composite bow'.

It's really funny however, I wanna fix it. Nonetheless It doesn't affect on the game play.

My installed MODs are below

~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #101 // Improved Spell Animations
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #102 // Cromwell's Forging Actually Takes a Day
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #104 // Ghreyfain's Holy Symbol Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #105 // Additional Hero Quests in Trademeet Wait Until Hero is Officially Named
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #106 // Giants Receive Penalties When Attacking Halflings, Dwarves, and Gnomes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #107 // Remove Dual-Classing Restriction from Archers and Stalkers
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #109 // Corrected Summoned Demon Behavior
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #110 // Additional Script Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #111 // Bard Song Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #112 // Wizard Slayers Cause Miscast Magic on Ranged Attacks
~SETUP-ITEMUPGRADE.TP2~ #0 #0 // Shadows Of Amn Item Upgrades
~SETUP-ITEMUPGRADE.TP2~ #0 #1 // Throne Of Bhaal Item Upgrades
~SETUP-VALHORN.TP2~ #0 #0 // Improved Horns of Valhalla v1.2
~SETUP-EDWINROMANCE.TP2~ #0 #0 // EdwinRomance
~SETUP-EDWINTOB.TP2~ #0 #0 // Edwin Romance ToB
~SETUP-NPCFLIRT.TP2~ #0 #0 // Aerie Flirt Pack For SOA
~SETUP-NPCFLIRT.TP2~ #0 #2 // Aerie Flirt Pack For TOB
~SETUP-NPCFLIRT.TP2~ #0 #4 // Jaheira Flirt Pack for SOA
~SETUP-NPCFLIRT.TP2~ #0 #6 // Jaheira Flirt Pack for TOB
~SETUP-NPCFLIRT.TP2~ #0 #8 // Viconia Flirt Pack for SOA
~SETUP-NPCFLIRT.TP2~ #0 #10 // Viconia Flirt Pack for TOB
~SETUP-NPCFLIRT.TP2~ #0 #12 // Anomen Flirt Pack for SOA
~SETUP-NPCFLIRT.TP2~ #0 #14 // Anomen Flirt Pack for TOB
~SETUP-SHEENA.TP2~ #0 #0 // Install A Half Dragon Tale - Version 5.5
~SETUP-YASRAENA.TP2~ #0 #0 // Yasraena v7 (BG2:SoA & TOB NPC) created by nethrin & Sillara of the Tamari
~SETUP-TASHIA.TP2~ #0 #0 // Tashia NPC Mod -> Full version (ToB required)
~SETUP-TASHIA.TP2~ #0 #2 // Tashia Add-on Pack by Bri and Lord Ernie (English only, Tashia ToB Required) -> Action Style dialogues
~SETUP-SAERILETH.TP2~ #0 #0 // Saerileth Romance Mod v12 (BG2:SoA & TOB NPC) created by nethrin and Sillara
~SETUP-KIDO.TP2~ #0 #0 // Kido the Jester (Requires Throne of Bhaal)
~SETUP-KIDO.TP2~ #0 #2 // Which of Kido's portraits do you wish to install? -> Gonchi's portaits?
~SETUP-TSUJATHA.TP2~ #0 #0 // Tsujatha v9 (BG2:SoA NPC) created by Sillara of the Tamari
~SETUP-UB.TP2~ #0 #0 // The Kidnapping of Boo by Cliffette
~SETUP-UB.TP2~ #0 #1 // The Suna Seni/Valygar Relationship
~SETUP-UB.TP2~ #0 #2 // Kalah and What He Was Promised
~SETUP-UB.TP2~ #0 #3 // "Cat and Mouse" (Bodhi hunts you in Spellhold) by Ghreyfain
~SETUP-UB.TP2~ #0 #4 // Gorje Hilldark and the Extended Illithium Quest
~SETUP-UB.TP2~ #0 #5 // The Pai'Na/Spider's Bane Quest
~SETUP-UB.TP2~ #0 #6 // Restored Crooked Crane Inn
~SETUP-UB.TP2~ #0 #7 // Restored Encounters
~SETUP-UB.TP2~ #0 #8 // Artemis Entreri in Bodhi's Lair
~SETUP-UB.TP2~ #0 #9 // Corrected "Xzar's Creations"
~SETUP-UB.TP2~ #0 #10 // Restored Hell Minions, by SimDing0
~SETUP-UB.TP2~ #0 #11 // Gorf the Squisher Fix, by Gebhard Blucher
~SETUP-UB.TP2~ #0 #13 // Yoshimo's Original Portrait
~SETUP-UB.TP2~ #0 #15 // NPC Portrait Restorations
~SETUP-UB.TP2~ #0 #16 // Corrected BAMs and Scripts
~SETUP-UB.TP2~ #0 #17 // Corrected Character Names and Biographies
~SETUP-UB.TP2~ #0 #21 // Throne of Bhaal Minor Restorations
~SETUP-UB.TP2~ #0 #24 // Sarevok's Remorse
~SETUP-BPV177.TP2~ #0 #0 // Big Picture AI/Enhancement Mod, version 177 weidu (beta)
~SETUP-BPV177.TP2~ #0 #2 // Improved Spellhold
~SETUP-BPV177.TP2~ #0 #15 // Ascension for BP
~SETUP-BPV177-TOBFIX.TP2~ #0 #0 // BPv177 TOB Trigger Fix
~SETUP-BANTERPACK.TP2~ #0 #0 // Pocket Plane Banter Pack for BG2: Shadows of Amn
~SETUP-BANTERPACK.TP2~ #0 #2 // Pocket Plane Banter Pack for BG2: Throne of Bhaal
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #20 // Change Imoen's Avatar to Mage
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #60 // Weapon Animation Tweaks
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1010 // More Interjections
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1020 // Alter HP Triggers for NPC Wounded Dialogues
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1050 // Gradual Drow Item Disintegration
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1070 // Improved Kick-out Dialogues
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1120 // Stores Sell Higher Stacks of Items
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1140 // Gems and Potions Require Identification
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1150 // Shapeshifter Rebalancing
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2010 // PnP Spell Progression Tables
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2140 // Expanded Dual-Class Options
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2170 // Cast Spells from Scrolls (and Other Items) at Character Level
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2210 // True Grand Mastery (Baldurdash)
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3200 // Sellable Staffs, Clubs, and Slings (Icelus)
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4010 // Improved Fate Spirit Summoning
~NPCKIT/NPCKIT.TP2~ #0 #0 // NPC Kit Pack
~NPCKIT/NPCKIT.TP2~ #0 #1 // Anomen Gains Helm Kit on Passing Knighthood Test
~NPCKIT/NPCKIT.TP2~ #0 #2 // Anomen Gains Berserker Kit on Failing Knighthood Test
~NPCKIT/NPCKIT.TP2~ #0 #3 // Prevent CN Anomen Gaining a Holy Symbol
~NPCKIT/NPCKIT.TP2~ #0 #4 // Add Red Wizard to Edwin's Kit Description
~NPCKIT/NPCKIT.TP2~ #0 #5 // Give Imoen Adventurer Kit
~NPCKIT/NPCKIT.TP2~ #0 #15 // Change Korgan's Kit to Battlerager
~NPCKIT/NPCKIT.TP2~ #0 #16 // Give Mazzy a Proper Truesword of Arvoreen Kit
~NPCKIT/NPCKIT.TP2~ #0 #17 // Change Minsc's Title to Rashemaar Ranger

Edited by Joakim, 20 December 2006 - 01:49 AM.


#2 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 20 December 2006 - 01:55 AM

~SETUP-VALHORN.TP2~ #0 #0 // Improved Horns of Valhalla v1.2


I belive that this is already part of the Big Picture.

I Ride for the King!


a.k.a. Chev


#3 Joakim

Joakim
  • Member
  • 23 posts

Posted 20 December 2006 - 03:16 AM

~SETUP-VALHORN.TP2~ #0 #0 // Improved Horns of Valhalla v1.2


I belive that this is already part of the Big Picture.


So, this duplicated component would cause errors on my game? And this is the cause of inventory icon assign replacement between 'long bow' and 'composite bow'?

Edited by Joakim, 20 December 2006 - 03:17 AM.


#4 ronin

ronin
  • Modder
  • 2114 posts

Posted 20 December 2006 - 03:41 AM

So, this duplicated component would cause errors on my game? And this is the cause of inventory icon assign replacement between 'long bow' and 'composite bow'?


No, Valhorn has no effect on the problem that you are having. I dont know why you are having that problem either.

ronin

#5 Joakim

Joakim
  • Member
  • 23 posts

Posted 20 December 2006 - 07:17 PM

I have another question.

When enemy priest casted chant to his party, my party also got its beneficial effect, not harmful. I recognized this on record page's saving throw section.

This problem caused by what? Of course, my installed MODs and installation order are the same.

Edited by Joakim, 20 December 2006 - 07:39 PM.


#6 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 20 December 2006 - 09:21 PM

I have another question.

When enemy priest casted chant to his party, my party also got its beneficial effect, not harmful. I recognized this on record page's saving throw section.

This problem caused by what? Of course, my installed MODs and installation order are the same.





I believe that's on the Fixpack items to fix list.

It takes a village...


#7 Joakim

Joakim
  • Member
  • 23 posts

Posted 20 December 2006 - 10:43 PM

I believe that's on the Fixpack items to fix list.


I've tried to find this problem? in fixpack document, but I can't find it. I've read also Fixpack Core Document, but I cannot find it also. Where I can find document about this? If it relied by fixpack, it was intended by the author?

#8 Joakim

Joakim
  • Member
  • 23 posts

Posted 20 December 2006 - 10:56 PM

I belive that this is already part of the Big Picture.


I opened Setup-BPv177.tp2 and found where are the cre files of Horn of Valhalla. But I only found itm files, Valhalla's creature files weren't there. Does BP really contain ValHorn?

Or is this part of Setup-BPv177.tp2 would be adding ValHorn?


<<<<<<<< ITM_RMV.TBL

CREATURE ITEM

BERSER02.CRE BERSERK
BERSER02.CRE DLEAT10
BERSER02.CRE DSHLD01
BERSER02.CRE DAX1H01

BERSER03.CRE BERSERK
BERSER03.CRE DLEAT10
BERSER03.CRE DSHLD01
BERSER03.CRE DAX1H01

BERSERSU.CRE BERSERK
BERSERSU.CRE DLEAT10
BERSERSU.CRE DAX1H01


Of course, my big concerns are the problem of chant and replacing inventory item icons between 'longbow' and 'compositebow'

Edited by Joakim, 20 December 2006 - 11:01 PM.


#9 seanas

seanas
  • Modder
  • 1906 posts

Posted 21 December 2006 - 01:19 AM

BP doesn't include the improved Horns of Valhalla; and neither BP nor the ValHorn are causing the long bow/ composite long bow issues you are experiencing. as to what is causing that issue, i have no idea, as i've never heard of it happening before. is it is maybe this:

~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements

or perhaps funky interaction between these two?
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements
~SETUP-UB.TP2~ #0 #16 // Corrected BAMs and Scripts

i really am just guessing tho...

as for chant - yes, it's a limitation/ failing of the game engine. the BG2 Fixpack crew are working on a fix - there's a discussion of it here - but i'm not sure if this has been implemented. if it has been implemented - then, err, it hasn't been fully fixed yet.

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#10 Joakim

Joakim
  • Member
  • 23 posts

Posted 21 December 2006 - 01:51 AM

I think
~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements
is not the reason of replacing icons problem because When I installed just Baldurdash and BG2 Tweaks, this problem is not occured.

Hmm... maybe Icon Improvements and Corrected BAMs and Scripts make this concern.

UB's Corrected BAMs and Scripts features tp2 code is like that
BEGIN @50

COPY ~ub/ubnull.itm~ ~override/ubbams.xxx~ //null file to identify this component

/* Corrected Avatars */

COPY_EXISTING ~CLONE1.CRE~ ~override/CLONE1.CRE~	 /* Ellesime clone in Chateau Irenicus */
WRITE_LONG	~0x28~	   ~0x7F31~

//COPY_EXISTING ~GORSTA06.CRE~ ~override\GORSTA06.CRE~  /* Fixes statue avatars in Watcher's Keep */
//WRITE_LONG ~0x28~ ~0x1000~

//COPY_EXISTING ~GORSTA10.CRE~ ~override\GORSTA10.CRE~  /* Fixes statue avatars in Watcher's Keep */
//WRITE_LONG ~0x28~ ~0x7F11~

//COPY_EXISTING ~GORSTA12.CRE~ ~override\GORSTA12.CRE~  /* Fixes statue avatars in Watcher's Keep */
//WRITE_LONG ~0x28~ ~0x7310~

/* Corrected Inventory BAMs */

COPY_EXISTING ~FAMFAIR.ITM~ ~override/FAMFAIR.ITM~   /* Fairy Dragon Familiar */
			  ~FAMPSD.ITM~  ~override/FAMPSD.ITM~	/* Pseudodragon Familiar */
WRITE_ASCII   ~0x3a~		~FAMPSD~

ACTION_IF FILE_EXISTS_IN_GAME ~saradush.mve~
THEN BEGIN
COPY_EXISTING ~FAMFAI25.ITM~ ~override/FAMFAI25.ITM~ /* Fairy Dragon Familiar (ToB) */
			  ~FAMPSD25.ITM~ ~override/FAMPSD25.ITM~ /* Pseudodragon Familiar (ToB) */
WRITE_ASCII   ~0x3a~		 ~FAMPSD~
END

/* Remove evil-aligned weaponry */

COPY_EXISTING ~C6ELHAN.CRE~ ~override/C6ELHAN.CRE~   /* Remove Elhan's evil-aligned Shazzellim scimitars */
			  ~SUELHAN.CRE~ ~override/SUELHAN.CRE~
REPLACE_TEXTUALLY "SW1H50" "SW1H22"

COPY_EXISTING ~DRSHNL01.CRE~ ~override/DRSHNL01.CRE~ /* Nilthiri */
WRITE_ASCII   ~0x248~ ~DRSHNL01~					 /* Assigns the appropriate script */
WRITE_LONG	~0x250~ 0x00000000

EXTEND_TOP ~DRSHNL01.bcs~ ~ub/misc/u!nilthi.baf~	 /* Fixes Nilthiri's script */

COMPILE ~ub/misc/DRSHNL02.baf~

COPY_EXISTING ~ruffian.cre~ ~override/ruffian.cre~   /* Assigns Amalas his correct script */
WRITE_ASCII 0x248 ~AMALAS~						   /* Assigns amalas.bcs as his override script */
and I don't think it touches longbow or compositebow.

And about chant... If I put in this code to fixpack's tp2 file, this problem would be solved?
COPY_EXISTING ~sppr203.spl~  ~override~
  PATCH_IF (%SOURCE_SIZE%>0x71)							   BEGIN
	READ_LONG	0x64 "ho"									// extended header offset
	READ_SHORT   0x68 "hc"									// extended header count
	READ_LONG	0x6a "eo"									// feature table offset
	FOR ("i1"=0; "%i1%"<"%hc%"; "i1"+=1)					  BEGIN
	  WRITE_BYTE	("%ho%"+(0x28*"%i1%")+0x0c) 0x05		  // target self
	  WRITE_SHORT   ("%ho%"+(0x28*"%i1%")+0x0e) 0x00		  // range
	  READ_SHORT	("%ho%"+(0x28*"%i1%")+0x1e) "ec"		  // effects for header i+1
	  READ_SHORT	("%ho%"+(0x28*"%i1%")+0x20) "ei"		  // effect index for header i+1
	  WRITE_SHORT   ("%ho%"+(0x28*"%i1%")+0x26) 0x01		  // projectile: none
	  DELETE_BYTES  ("%eo%"+(0x30*"%ei%")+0x00) (0x30*"%ec%") // remove existing effects
	  INSERT_BYTES  ("%eo%"+(0x30*"%ei%")+0x00) 0x60		  // add two new effects
	  WRITE_ASCII   ("%eo%"+(0x30*"%ei%")+0x14) ~sppr203d~ #8 // positive chant
	  WRITE_ASCII   ("%eo%"+(0x30*"%ei%")+0x44) ~sppr203e~ #8 // negative chant
	  FOR ("i2"=0; "%i2%"<2; "i2"+=1)						 BEGIN
		WRITE_SHORT ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x00) 0x92 // cast spell
		WRITE_BYTE  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x02) 0x01 // target self
		WRITE_BYTE  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x03) 0x00 // power
		WRITE_LONG  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x04) 0x00 // casting level
		WRITE_LONG  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x08) 0x01 // cast instantly
		WRITE_BYTE  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x0c) 0x01 // instant/permanent
		WRITE_BYTE  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x0d) 0x00 // resistability
		WRITE_BYTE  ("%eo%"+(0x30*("%ei%"+"%i2%"))+0x12) 0x64 // min prob 100%
	  END													 // FOR i2 effect fleshing
	  WRITE_SHORT   ("%ho%"+(0x28*"%i1%")+0x1e) 0x02		  // effects for header i+1
	  FOR ("i3"="%i1%"; "%i3%"<"%hc%"; "i3"+=1)			   BEGIN
		READ_SHORT  ("%ho%"+(0x28*"%i3%")+0x20) "ix"		  // search later header indices
		PATCH_IF ("%ix%">0)							  THEN BEGIN
		  WRITE_SHORT ("%ho%"+(0x28*"%l%")+0x20) (("%ix%"-"%ec%")+0x02)
		END												   // PATCH_IF
	  END													 // FOR i3; rewriting ability effect indices
	END													   // FOR i1
  END														 // PATCH_IF filesize check
BUT_ONLY_IF_IT_CHANGES										// COPY_EXISTING
I hope to get your answer.

#11 Joakim

Joakim
  • Member
  • 23 posts

Posted 21 December 2006 - 03:31 AM

I've replaced fixpack tp2 file's chant fix section to above code to fix chant problem, but I cannot fix it.

I also downloaded spell file from the link that seanas was mentioned, but I don't know how to use it.

How to fix this problem?

#12 Salk

Salk
  • Modder
  • 1419 posts

Donator

Posted 25 February 2007 - 10:35 PM

BP doesn't include the improved Horns of Valhalla


Horred himself has answered me one year ago in another way. Look here:

http://www.shsforums...p...19044&st=20

So now I wonder: is or not Improved Horns of Valhalla included in BP ?

Thanks!