Vaelyn Posted January 18, 2015 Share Posted January 18, 2015 I'd be interested in trying this as well. Would plan on running BG1EE and BG2EE with Spell Revisions, the new SCS v29, and a few things from bg2tweaks. Link to comment
kreso Posted January 18, 2015 Share Posted January 18, 2015 Ummm....let's see now. I think I narrowed down the cause of the issue to "Dispel Magic Fix" component of SR.. It's probably the part about dispellable items. I'll look into it further and see what's going on. Can EE people try uninstalling this component and see if trolls die (and save me from script editing )? They do on my install. Afaik, Dispel Fix should be on EE by default, no? If that is so, @Demi, deprive this component from EE users. If errors still occur, I can do several things: a) remove minHP from trolls (probably best, since it removes the annoyance factor) b) change scripts fully(a lot of work, since each type of troll has a custom to account for specific XP granted) Link to comment
janoha Posted January 18, 2015 Share Posted January 18, 2015 (edited) I can confirm that your fix works Kreso. Not installing the component "Fix dispel magic" makes the trolls work as intended. Edited January 18, 2015 by janoha Link to comment
Demivrgvs Posted January 18, 2015 Author Share Posted January 18, 2015 Not installing the component "Fix dispel magic" makes the trolls work as intended.I'm glad we tracked down the issue...but still...WTF? How are the two things connected? Does EE use some dispellable "magic weapon" on downed trolls? o.O Afaik, Dispel Fix should be on EE by default, no?Afaik, not to a full extent like SR+ToBex, but I'm not the best expert of EE. Link to comment
janoha Posted January 18, 2015 Share Posted January 18, 2015 Icewind dale spells Oh yeah Demi.. Is there any possibility of porting some of the unique druid spells from IWD:EE to SR? I think some of the spells like Bear Claws, Thorn Spray etc. would go very well with the SR druid. Link to comment
Demivrgvs Posted January 18, 2015 Author Share Posted January 18, 2015 (edited) Icewind dale spells Oh yeah Demi.. Is there any possibility of porting some of the unique druid spells from IWD:EE to SR? I think some of the spells like Bear Claws, Thorn Spray etc. would go very well with the SR druid. I'm already working on expanding Druid's spellbook, see here. Edited January 18, 2015 by Demivrgvs Link to comment
janoha Posted January 18, 2015 Share Posted January 18, 2015 (edited) Icewind dale spells Link doesn't work but I assume it is the "New Divine Spells" thread? I thought a lot of the planned spells had to be cancelled since you couldn't get Pacek to make the icons and bams? Like AS 1-7 for instance.. Edited January 18, 2015 by janoha Link to comment
kreso Posted January 18, 2015 Share Posted January 18, 2015 Done, download. Put in override after you install Dispel fix, let me know if it works on EE (does for me). I'll explain in 30 minutes what was wrong . Link to comment
kreso Posted January 18, 2015 Share Posted January 18, 2015 That fixes it. Great. Ok, here's what's up: Dispel fix has this piece of code for every .spl file in the game: // kill 'remove item' opcode // note: this one isn't very elegant, but the chance of it potentially ruining something seems too low // hahahahahhahahahahaha PATCH_IF (found_dispel=1) BEGIN SET opcode_to_delete = 112 LAUNCH_PATCH_MACRO DELETE_SPELL_EFFECT END Now, the .spl trollreg.spl needs to keep this. The thing is, this spell makes trolls immune to sleep (and a number of other things). Since troll scripts are changed to this simple piece of code to make them killable....: IF StateCheck(Myself,STATE_SLEEPING) THEN RESPONSE #100 NoAction() END ...and they'd remain sleep-invurnerable due to SR patching trollreg. spell. If they're sleep-invurneralble, the StateCheck will never return true, and you got a troll that can't be put down. Now, someone Weidu hackish can (I guess) add a piece of code which excludes trollreg.spl from the piece of code patching spells in dispellable_items.tpa. Link to comment
Kalindor Posted January 18, 2015 Share Posted January 18, 2015 Nice find, kreso. LOL at the note in the script. Link to comment
kreso Posted January 18, 2015 Share Posted January 18, 2015 Alternative soultion is to simply restore trollreg.spl from backup, rather than downloading the fix (the fix is basically trollreg.spl with 112 opcode, before SR deleted it). Link to comment
Mike1072 Posted January 18, 2015 Share Posted January 18, 2015 // kill 'remove item' opcode // note: this one isn't very elegant, but the chance of it potentially ruining something seems too low // hahahahahhahahahahaha To be fair to the author (Ardanis?), the chance of it breaking something was pretty low. If you try to cover every possible exception, you'll never get anything done. Link to comment
CrevsDaak Posted January 18, 2015 Share Posted January 18, 2015 Demi, you've forgotten to send the link via PM. Now, someone Weidu hackish can (I guess) add a piece of code which excludes trollreg.spl from the piece of code patching spells in dispellable_items.tpa. PATCH_IF found_dispel=1 && "%SOURCE_RES%" STR_CMP trollreg BEGIN SET opcode_to_delete = 112 LAUNCH_PATCH_MACRO DELETE_SPELL_EFFECT END(that should be enough ) Link to comment
Demivrgvs Posted January 18, 2015 Author Share Posted January 18, 2015 @Crevs, sorry man, sent! Link to comment
Recommended Posts