Jump to content

Issue with mage HLAs


TDouglas

Recommended Posts

Posted

I've run across this several times (each with a different mod install) ... when a mage uses all hla slots, gemrb still insists on showing the hla screen the next time you level up, then not allowing you to exit the screen (nothing to select, so can't leave). I'm not seening any error on the debug, but this is what is printed:

 

 

 

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[Python]: Single classed

[Python]: Class (Level): MAGE ( 29 )

[ResourceManager]: Searching for 'guilupb'...

[ResourceManager]: Found 'guilupb.mos' in 'Cache'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'magesch.2da' in 'GemRB Unhardcoded data'.

[Python]: Title: Mage Actor Title: Mage

[Python]: Class: 1 Actor Class: 1

[Python]: Kit: 0 Actor Kit: 0

[Python]: ClassName: MAGE Actor ClassNames: ['MAGE']

[Python]: NumClasses: 1 Actor NumClasses: 1

[Python]: Classes: [1] Actor Classes: [1]

[Python]: IsDual: False Actor IsDual 0

[ResourceManager]: Found 'MXSPLWIZ.2da' in 'chitin.key'.

[Python]: Actor CurrentLevels: [29]

[Python]: Levels: [30, 0, 0] Actor NextLevels: [49]

[Python]: LevelDiffs: [1, 0, 0] Actor LevelDiffs: [20]

[ResourceManager]: Found 'SAVEWIZ.2da' in 'chitin.key'.

[ResourceManager]: Found 'HPWIZ.2da' in 'chitin.key'.

[2DAImporter/WARNING]: Bad signature (hpwiz.2da)! Ignoring...

[Python]: Actor HLA Names: ['MAGE']

[ResourceManager]: Searching for 'guihsbs'...

[ResourceManager]: Found 'guihsbs.mos' in 'Cache'.

[ResourceManager]: Found 'luMa0.2da' in 'chitin.key'.

[Python]: HLA Class/Kit: MAGE

[Python]: HLA 0 : AP_SPCL928

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 1 : AP_SPCL929

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 2 : AP_SPCL930

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 3 : GA_SPWI920

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 4 : GA_SPWI921

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 5 : GA_SPWI922

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 6 : GA_SPWI923

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 7 : GA_SPWI924

[Python]: Needs ALL_GOOD

[Python]: HLA 8 : GA_SPWI925

[Python]: HLA count: 1

[Python]: Only allowed to learn 1 times

[Python]: HLA 9 : *

[Python]: End of HLAs

[Python]: Number of HLAs: 8

[ResourceManager]: Found 'SPCL928.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPCL929.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPCL930.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPWI920.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPWI921.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPWI922.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPWI923.spl' in 'chitin.key'.

[ResourceManager]: Found 'SPWI925.spl' in 'chitin.key'.

[OpenAL]: Playing Next Music

 

The actor in question is Edwin, but I've noticed it with other actors as well (including non spell casters who run out of hla slots).

 

Anything I can do to salvage the game?

 

Thanks guys, great job :)

Posted

Uff, looking at my last final game save, Edwin is only at level 19. :D I can reproduce and I'll have a fix for you sometime today. Just wait for the patch and then levelup will go as usual.

 

ok, done.

Posted

While we're on the subject of HLA's, there's more. When a thief character sets a trap, it doesn't persist in the area. For example, set a trap, leave the area, come back to the same area and the trap is gone. I've printed the output from a snare, but traps do the same.

 

[unknown]: Cast spell: spcl412

[unknown]: Slot: 24

[unknown]: Type: 2

[unknown]: Spellname: Set Snare

[unknown]: Target: 4

[unknown]: Range: 1

[Control/WARNING]: Nested event handlers are not supported!

[ResourceManager]: Found 'spell.ids' in 'chitin.key'.

[KeyMap]: Looking up key: ( )

[ResourceManager]: Found 'chmb2g11.bam' in 'chitin.key'.

[ResourceManager]: Found 'nnowhg1e.bam' in 'chitin.key'.

[ResourceManager]: Found 'cgtable.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'SPCL411.spl' in 'chitin.key'.

[ResourceManager]: Found 'AG#SNAR.pro' in 'chitin.key'.

[ResourceManager]: Found 'sptrapbb.vvc' in 'chitin.key'.

[ResourceManager]: Found 'sptrapbb.bam' in 'chitin.key'.

[ResourceManager]: Found 'trapgr.bam' in 'chitin.key'.

[ResourceManager]: Found 'chmb2ca.bam' in 'chitin.key'.

[ResourceManager/ERROR]: Couldn't find 'wqLS1ca.bam'.

[ResourceManager/ERROR]: Couldn't find 'wqLD3ca.bam'.

[ResourceManager]: Found 'chmb2g1.bam' in 'chitin.key'.

[GUIScript/ERROR]: Runtime Error:

[Python/ERROR]: Traceback (most recent call last):

[Python/ERROR]: File "/usr/local/share/gemrb/GUIScripts/GUICommonWindows.py", line 981, in ActionInnatePressed

[Python/ERROR]: UpdateActionsWindow ()

[Python/ERROR]: File "/usr/local/share/gemrb/GUIScripts/GUICommonWindows.py", line 677, in UpdateActionsWindow

[Python/ERROR]: Spellbook.SetupSpellIcons(CurrentWindow, type, TopIndex, ActionBarControlOffset)

[Python/ERROR]: File "/usr/local/share/gemrb/GUIScripts/Spellbook.py", line 274, in SetupSpellIcons

[Python/ERROR]: Button.SetSpellIcon (Spell['SpellResRef'], 1)

[Python/ERROR]: File "/usr/local/share/gemrb/GUIScripts/MetaClasses.py", line 60, in <lambda>

[Python/ERROR]: return lambda self, *args: M(self.WinID, self.ID, *args)

[Python/ERROR]: RuntimeError: BAM not found

[Control/WARNING]: Nested event handlers are not supported!

[unknown]: Cast spell: spcl412

[unknown]: Slot: 25

[unknown]: Type: 2

[unknown]: Spellname: Set Snare

[unknown]: Target: 4

[unknown]: Range: 1

[Control/WARNING]: Nested event handlers are not supported!

[ResourceManager]: Found 'sptrapbb.vvc' in 'chitin.key'.

[ResourceManager/ERROR]: Couldn't find 'wqLS1ca.bam'.

[ResourceManager/ERROR]: Couldn't find 'wqLD3ca.bam'.

[OpenAL]: Playing Next Music

[ResourceManager]: Searching for 'Mx0500/Mx0500A'...

[ResourceManager]: Found 'Mx0500/Mx0500A.acm' in 'Music'.

[unknown]: Playing: Mx0500/Mx0500A

[OpenAL]: Queuing New Music

 

Hope this helps :)

Posted

When a thief character sets a trap, it doesn't persist in the area. For example, set a trap, leave the area, come back to the same area and the trap is gone.

This is clearly because the invisible elephant herd visited the area ... :D

Posted

let's just call that an anti-cheese measure. The error you triggered is unrelated.

Posted

@ Jarno: Rats ... anyone have an elephant swatter?

 

I'll have to remember not to put any points into set traps ... no reason to have a skill you can't use :)

 

There is, however, another thing I need to ask about. The mage spell Skull Trap isn't working either (what is it with traps these days lol). When you try to use it, the range causes it to blow up on the casting mage :( There's not much relevant info in the gemrb log, but this is what shows up:

 

 

[unknown]: Cast spell: spwi313

[unknown]: Slot: 14

[unknown]: Type: 1

[unknown]: Spellname: Skull Trap

[unknown]: Target: 4

[unknown]: Range: 55

 

Of course, this trial run is with a crapload of mods installed (not a full bwp, but still a lot) ... could be some mod or other has overwritten the spell or something like that. If there's anything I can tell ya let me know :)

Posted

... The mage spell Skull Trap ...the range causes it to blow up on the casting mage

Where did you cast the spell to, you should know that if you cast it near the mage, it will explode cause it sees the mage ... so it needs to be casted like fireball, as the explosion range is a little bit smaller than the fireballs, and so is the detonation range, it's still like half of the normal sight range. So don't go stepping on it. The 55 range is the casting range, not the explosion one, well at least should be. Yes, the sight range is about 30, but if you cast the Farsight spell which lets the mage see longer distance and so the spell reflects that, even though it's normally max ~30.

 

And nope, the rat's like to ride the invisible elephants too much to scare them. And why would you need an elephant swatter ? It's not like you could ever see them anyways, even if they were right next to you. :D

 

I'll have to remember not to put any points into set traps ... no reason to have a skill you can't use

... to insta-kill demi-liches. Well duh.

The original game had a 5 trap limit per area, and if leaving the area resets the value, it's broken mechanic.

Posted

Yup, I'm familiar with the spells range and behavior ... it's just not working in gemrb. You try to click off to a safe area, but the casting mage walks up to the area before casting every time. Weird.

 

As far as the damned rats riding the invisible elephants, remember the rats are still visible if they hop on after the elephants drink their potion (or cast theiir spell), so I can still target 'em with a swatter :)

Posted

Oh, and leaving the area does not clear thieves traps in the original game (or in wine, for that matter), so the ability is actually useful :)

Posted

He said that it clears the limit, so you could have even more cheese.

 

I can cast skull trap just fine without it exploding. I don't remember its casting range in the original, but it is pretty short in gemrb.

 

Btw, converting spell distance to game "feet" is something we only guess at. Currently it's a black box constant. :(

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...