Dark Advisor crashes the game

Fixed in r2397 (part of Beta 10).


Putting a Dark Advisor (ThingID: 16009) into a map crashes the game fairly quickly:

Log: - VClass::GetReplacement
Log: - VLevel::SpawnThinker
Log: - RunFunction
Log: - (engine.Thinker.Spawn 0)
Log: - RunFunction
Log: - (game.RedBishop.A_RedBishopDoBlur 31)
Log: - VObject::ExecuteFunction
Log: - (game.RedBishop.A_RedBishopDoBlur)
Log: - VEntity::SetState
Log: - RunFunction
Log: - (engine.Entity.SetState 0)
Log: - RunFunction
Log: - (game.BlackBishop.A_BlackBishopCastSpell 620)
Log: - VObject::ExecuteFunction
Log: - (game.BlackBishop.A_BlackBishopCastSpell)
Log: - VEntity::SetState
Log: - VEntity::AdvanceState
Log: - RunFunction
Log: - (engine.Entity.AdvanceState 0)
Log: - RunFunction
Log: - (linespec.EntityEx.Tick 285)
Log: - RunFunction
Log: - (linespec.Actor.Tick 82)
Log: - RunFunction
Log: - (linespec.KRPGPawn.Tick 58)
Log: - RunFunction
Log: - (game.IntelligentActor.Tick 2)
Log: - RunFunction
Log: - (game.BlackBishop.Tick 2)
Log: - VObject::ExecuteFunction
Log: - (game.BlackBishop.Tick)
Log: - VThinker::Tick
Log: - VLevel::TickWorld
Log: - SV_Ticker
Log: - ServerFrame
Log: - Host_Frame
Log: Doing C_Shutdown
Log: Doing CL_Shutdown
Log: tanthalos left the game

Log: Doing SV_Shutdown
Log: Doing delete GNet
Log: Doing delete GInput
Log: Doing V_Shutdown
Log: Doing delete GAudio
Log: Doing T_Shutdown
Log: Doing Sys_Shutdown
Log: Doing delete GSoundManager
Log: Doing R_ShutdownTexture
Log: Doing R_ShutdownData
Log: Doing VCommand::Shutdown
Log: Doing VCvar::Shutdown
Log: Doing ShutdownMapInfo
Log: Doing FL_Shutdown
Log: Doing W_Shutdown
Log: Doing GLanguage.FreeData
Log: Doing ShutdownDecorate
Log: Doing VObject::StaticExit
Log: Doing VName::StaticExit
Uninitialised: Doing Z_Shutdown


ERROR: Segmentation Violation

Golden Thunder crashes the game

Fixed in r2395 (part of Beta 10).


When using “impulse 151” to spawn Golden Thunder above the player’s head and the player moves around a bit in an area with monsters, the game crashes with following output.

Log: - VEntity::CheckRelPosition
Log: - VEntity::TryMove
Log: - RunFunction
Log: - (engine.Entity.TryMoveEx 0)
Log: - RunFunction
Log: - (game.IntelligentActor.StepMoveEx 554)
Log: - RunFunction
Log: - (game.IntelligentActor.TryWalkEx 1)
Log: - RunFunction
Log: - (game.IntelligentActor.DO_NewChaseDirEx 49)
Log: - RunFunction
Log: - (game.IntelligentActor.NewChaseDirEx 159)
Log: - RunFunction
Log: - (game.IntelligentActor.DoMove 554)
Log: - RunFunction
Log: - (game.IntelligentActor.A_NormalDoMove 18)
Log: - RunFunction
Log: - (game.IntelligentActor.A_ChaseAI 150)
Log: - VObject::ExecuteFunction
Log: - (game.IntelligentActor.A_ChaseAI)
Log: - VEntity::SetState
Log: - VEntity::AdvanceState
Log: - RunFunction
Log: - (engine.Entity.AdvanceState 0)
Log: - RunFunction
Log: - (linespec.EntityEx.Tick 285)
Log: - RunFunction
Log: - (linespec.Actor.Tick 82)
Log: - RunFunction
Log: - (linespec.KRPGPawn.Tick 58)
Log: - RunFunction
Log: - (game.IntelligentActor.Tick 2)
Log: - VObject::ExecuteFunction
Log: - (game.IntelligentActor.Tick)
Log: - VThinker::Tick
Log: - VLevel::TickWorld
Log: - SV_Ticker
Log: - ServerFrame
Log: - Host_Frame
Log: Doing C_Shutdown
Log: Doing CL_Shutdown
Log: tanthalos left the game

Log: Doing SV_Shutdown
Log: Doing delete GNet
Log: Doing delete GInput
Log: Doing V_Shutdown
Log: Doing delete GAudio
Log: Doing T_Shutdown
Log: Doing Sys_Shutdown
Log: Doing delete GSoundManager
Log: Doing R_ShutdownTexture
Log: Doing R_ShutdownData
Log: Doing VCommand::Shutdown
Log: Doing VCvar::Shutdown
Log: Doing ShutdownMapInfo
Log: Doing FL_Shutdown
Log: Doing W_Shutdown
Log: Doing GLanguage.FreeData
Log: Doing ShutdownDecorate
Log: Doing VObject::StaticExit
Log: Doing VName::StaticExit
Uninitialised: Doing Z_Shutdown


ERROR: Segmentation Violation

Charisma doesn’t seem to do anything

SP regeneration fixed in 1.5 (or maybe earlier). Shops scale with difficulty and complexity in the meantime.


Charisma should increase the SP regeneration, but it doesn’t seem to. I tried adding dozens of points to charisma, but didn’t see a noticeable difference in how fast the points regenerated.

Also, there is no way to make prices in shops scale with charisma as the conversation script can’t read the player’s charisma value (or I didn’t find a way to do it).

Weapon issues

Fixed in 1.6


Issues #2 and #5 fixed in 1.5.1. Partial fixes for #3 (Quietus currently back to original Hexen behaviour) and #4 (all changed to AmmoUse, but some not yet scaling with charisma).


Issue #1 Fixed in 1.1


Following issues are not so much bugs as badly/wrongly implemented/copied code (mostly from Korax Arena):

  1. Cleric’s Poison Cloud does not use any mana.
  2. Cleric’s Morning Star should not be available when player has no blue mana.
  3. Fighter’s Quietus now works even when the player has no mana for it, but it works as if it’d be using mana. Instead, it should do half the damage and use the non-glowing sprites (analog to how the axe works).
  4. Several weapons and spells are “faking” mana usage by having decorate states with A_TakeInventory. This doesn’t scale with dexterity or intelligence.
  5. Several weapons don’t scale with player stats or scale using the wrong one. All melee weapons should scale with strength, all ranged weapons with dexterity and all offensive spells with intelligence.

Tornado spell not spawning whirlwinds most of the time

Fixed in r2406 (part of Beta 10).


I tried to copy the code from the Iron Lich section of Vavoom and the spell sometimes does spawn a whirlwind that actually goes after monsters and hurts them, but most of the time it doesn’t spawn a visible whirlwind (might be out of sight, no idea). It also crashes fairly often.