Skip to content

[Bug] Memorised Spell order

GallowglassGallowglass Member Posts: 3,356
Observed behaviour: on loading a saved game, the memorised spells of a mage or priest are re-sorted into alphabetical order instead of being in the order specified at memorisation.

Expected behaviour: memorised spells should stay in the order in which you memorised them, as they did in the original game.

Commentary: in BG1/BGee this doesn't matter, but when BG2ee comes out this will then be important because there are lots of level-draining enemies in BG2. Level-draining causes loss of the last spell or two in the memorised list, so it is important (in some situations game-changingly important) in BG2 to be able to control which spells are at risk from level-drain. In original BG2, we could do this because it remembered the memorisation order instead of automatically re-sorting, so BG2ee ought to do the same.

Comments

  • JalilyJalily Member Posts: 4,681
    I can't reproduce this in Windows v2014. Spells stay in the order I memorized them after quickloading, manually loading, and restarting the program.
  • GallowglassGallowglass Member Posts: 3,356
    That's very strange, @Jalily. I'm on the Windows version too, and it's definitely happening for me ... I think it's mostly (or maybe exclusively) on re-starting the program, but on further testing, it's not happening every time. I'll try to note under what conditions it occurs and pin it down more closely.
  • GallowglassGallowglass Member Posts: 3,356
    It just happened to me again. I'm not sure, but it's starting to look as if it happens only when you restart the game after being out of it for some time (rather than just closing and immediately restarting), or only when you restart after the machine has been shut down in the meanwhile. Very odd, I can't figure out the mechanism ... is the sort order stored in a dynamic array or linked list which might be still in RAM on an immediate restart but wouldn't persist if you've done something else before restarting the game? (Although that'd imply a memory-deallocation fault in the engine code.)

    I'll continue to keep my eyes open for clues about what triggers this re-sort.
  • GallowglassGallowglass Member Posts: 3,356
    Bump, because it's now happened a further couple of times. I can't figure out any pattern, it seems random to me. Not all the time, and the frequency of occurrence is quite variable.
Sign In or Register to comment.