Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToB chapter change in ar4000.bcs #12

Closed
RoxanneSHS opened this issue Mar 26, 2018 · 4 comments
Closed

ToB chapter change in ar4000.bcs #12

RoxanneSHS opened this issue Mar 26, 2018 · 4 comments

Comments

@RoxanneSHS
Copy link
Contributor

see this post for problem and suggested solution
http://gibberlings3.net/forums/index.php?showtopic=29295#entry259509

@RoxanneSHS
Copy link
Contributor Author

PR #13 submitted

@K4thos
Copy link
Collaborator

K4thos commented Jul 19, 2018

Roxanne, I've noticed that BG2:EE received 2.5 patch for BG2:EE, so I've done a quick update that solves all installation warnings. I'd like to discuss your pull requests and internalize them within code, but it looks like G3 is offline, so I can't view the bugs descriptions.

@RoxanneSHS
Copy link
Contributor Author

RoxanneSHS commented Jul 19, 2018

The bug report(s) about it are very similar. Some mod (latest example Almateria mod, other was Breagar but that is corrected meanwhile) adds some code to the top of the ar4000.bcs that triggers prior to the OnCreation() block that contains the chapter increment. The big OnCreation block is not executed, when you go to the bhaal plane you are still in chapter 19 (or 7 when you play without EET).
The effect in EET is more dramatic than in non-EET game because all the dialogue and PID triggers of NPCs use the chapterGT19 LT20 barrier.
My proposal was just a safety code block that would trigger even if the first one fails. The better solution of course would be NOT to use the garbage OnCreation() trigger for the big transition block, but I think this is somehow inherited from the original code. Bioware used OnCreation() a lot, not taking into account that modders would appear some day...

PS - here is one report that appeared on my own forum recently http://baldursextendedworld.com/Vanilla_Forums/discussion/20/pid-not-functioning-in-tob#latest

@K4thos
Copy link
Collaborator

K4thos commented Jul 20, 2018

So this was not a bug in EET after all. Thanks for investigating the issue. OnCreation() in that block is completly usless considering there is already Global("TurnDay","AR4000",0) and SetGlobal("TurnDay","AR4000",1) in the same block. It will be removed in the RC10 because that block is crucial for EET. And yes, OnCreation() is there in vanilla BG2:EE.

@K4thos K4thos closed this as completed Jul 20, 2018
K4thos added a commit that referenced this issue Jul 20, 2018
General changes and fixes:
- WeiDU updated to Version 246
- 64-bit WeiDU binaries added to package (64-bit setup-EET used by default)
- SPLPROT.2DA importation and patching (weapons should no longer break past chapter 6)
- impact projectile patching
- IncrementGlobal chapter patching
- macros.tph now uses NearInfinity names for Effects comments (cosmetic change)
- housg3state5 dialog state variable added to cpmvars (Pull request #10 by AstroBryGuy on Github)
- EET.ico file with multiple resolutions (Pull request #11 by Rakhsev on Github)
- vanilla OnCreation() trigger removed from AR4000.bcs (Issue #12 on Github)
- added DLC Merger to compatibility list (Pull request #15 by Roxanne on Github)
- removed reputation reset during SoA transition (Issue #16 on Github, the feature will be likely implemented back once I test the transition on 2.5 patch - better safe than sorry)
- Baldur.exe patching is now done with external LUA code to save memory (Issue #17 on Github, REPLACE_TEXTUALLY used on 5MB+ file may be too much for BWS installation)

Changes related to BG2:EE patch 2.5.16.6:
- updated BG2:EE GUI (based on latest UI.MENU, SoD GUI still awaits for unreleased 2.5 SoD patch in order to get the same functionality)
- removed BCS and DLG patching for stuff fixed in the patch
- additional resource and special fields patching (based on recent NearInfinity changelogs)
- DisplayStringPoint, DisplayStringPointLog strref patching in reversed order
- BitCheck, Proficiency, ProficiencyGT, ProficiencyLT triggers patching
- BitSet, BitClear, IncrementGlobalOnce, IncrementGlobalOnceEx, PlaySoundNotRanged, PlaySoundThroughVoice actions patching
- removed cheat area codes for SoA and ToB areas (they are now part of vanilla game)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants