Jump to content


Photo

nOpcode ouf bounds message


  • Please log in to reply
11 replies to this topic

#1 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 21 January 2013 - 04:51 PM

I accidently notice (after ALT-Tab to desktop) that TobEx console has lot of messages:

 

CEffectSetStat::ApplyEffect(): nOpcode out of bounds (expected maximum 400)

 

It doesn't affect game, at least i don't notice anything.

 

Just curious about this issue.


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#2 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 22 January 2013 - 02:22 PM

Some mod is using the SetStat effect opcode incorrectly. Anyone out there using this currently? It doesn't necessarily have any impact on the game itself, but whatever some modder is trying to achieve just won't do anything.


--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#3 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 22 January 2013 - 02:35 PM

Some mod is using the SetStat effect opcode incorrectly. Anyone out there using this currently? It doesn't necessarily have any impact on the game itself, but whatever some modder is trying to achieve just won't do anything.

Can i help at any way, though i don't know anything about modding, i only play, like now. :D 


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#4 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 22 January 2013 - 10:25 PM

Some mod is using the SetStat effect opcode incorrectly. Anyone out there using this currently? It doesn't necessarily have any impact on the game itself, but whatever some modder is trying to achieve just won't do anything.

Can i help at any way, though i don't know anything about modding, i only play, like now. :D 
Well you could, if you find the component that causes the message to show up... but with BWS games, it's a little more than an easy to find out problem, having the 1000 components... :D

Deactivated account. The user today is known as The Imp.


#5 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 23 January 2013 - 06:20 AM

Run this on your install :) It checks EFFs, CREs, ITMs and SPLs for effects using invalid opcodes (> 317)

 

If there are stuff in your install that use opcode 318, I think A64 would like to know about them :cheers:

 

1. Rename a setup-XXX.exe to setup-invalid_opcode_checker.exe

2. Open cmd.exe and type: setup-invalid_opcode_checker.exe --force-install-list 0 > invalid.log

3. Attach invalid.log :P

 

Example output:

Spoiler

 

Not sure if those are present in vanilla BG as well, checking mod backups just in case.

Attached Files


"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#6 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 23 January 2013 - 08:27 AM

OK, here's my results from your "mod".

 

Attached File  invalid.log   16.13K   444 downloads


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#7 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 23 January 2013 - 11:27 AM

Salk's No game over mod seems to add this to a lot of spells :unsure: What should their correct STAT opcodes be though?


"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#8 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 January 2013 - 03:22 PM

I can't personally identify which mods those spells belong to, but there are two ways to further this:

1. once identified which mods these spells belong, notify the respective mod authors to check that they are using opcode 318 correctly

2. if these spells belong to multiple mods, something or some mod may have f00bared STATS.IDS, preventing opcode 318 from working correctly. In this case finding which mod overwrote stats.ids or similar and restoring its backup could fix the issue.


--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#9 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 20 February 2013 - 12:39 PM

For starters, I'd try to run change-log on the following fubared files:

 

DW#TRPIN.SPL

SPIN897.SPL

SPPR705.SPL
SPWI810.SPL

 

Next, post your WeiDU.log's contents.

 

 

 

2. if these spells belong to multiple mods, something or some mod may have f00bared STATS.IDS, preventing opcode 318 from working correctly.

Are you saying that the missing entry in STATS.IDS can prevent the 318 from actually working, not just being unrecognized by WeiDU during the BAF compilation???

 

I know about two mods that cause it - pre-BGEE versions of SCS and SCS2 (both v21), and aTweaks. They ship with the Detectable Spells library, that effectively deletes any 200+ entries from STATS.IDS. I did know about its inability to handle new ToBEx stats, and have uploaded the updated version (now in use by SCS v22), but it never came across my mind that the problem would lay that deep. If that be true, then we need to get aTweaks updated asap.


Retired from modding.


#10 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 20 February 2013 - 01:12 PM

Well if it helps anyway here are those change-logs.

 

Attached File  change-log_DW#TRPIN.SPL.txt   654bytes   315 downloads

Attached File  change-log_SPIN897.SPL.RAR   1.1K   257 downloads

Attached File  change-log_SPPR705.SPL.RAR   3.29K   254 downloads

Attached File  change-log_SPWI810.SPL.RAR   3.18K   254 downloads

 

Here's my weidu.log:

Spoiler

Attached File  WeiDU.log   85.81K   229 downloads


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#11 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 21 February 2013 - 10:11 AM

So, it is as I suspected then - the Game Over Only on Party Death mod's new 318th stat is erased from STATS.IDS by SCS' old DS.


Retired from modding.


#12 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 February 2013 - 04:17 PM

Apologies for late reply. TobEx relies on the highest numbered stat in STATS.IDS to determine how much memory to assign for stats for the game session.


--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)