[1.7.3] The Phoenix crashing after resurrecting
Posted: Fri May 28, 2021 5:41 pm
I had checked The Phoenix stats before engaging in combat, it already had 0 health out of 3000+ (0%). When I leapt to deliver a Stunning Blow, I got a lua error. Afterwards trying to hover my mouse over the Phoenix tile or its lines on the message log causes another error. It looks like a problem with displaying its stats, it was resurrected but afterwards also stunned and bleeding from my blow. It initially having 0 health seemed a bit strange, and I don't know how the game handles it if it's also bleeding after resurrection. Looking at the log, the Phoenix dies first, turns into an egg, resurrects, and only then is the damage from my blow logged. Is that the order in which it should go?
Looks like someone on Reddit had the same thing happen, it made the savegame unplayable. That happened 4 months ago, so it's not just the 1.7.3 version:
https://www.reddit.com/r/ToME4/comments ... e_phoenix/
Luckily I had seen that thread before I started the combat, so I made a save just before.
Savegame here, the bird is in the second room going southeast of the starting position:
https://drive.google.com/file/d/1j0ABpX ... sp=sharing
Log from the combat:
Edit: the log had long lines cut off, now they're displayed.
Looks like someone on Reddit had the same thing happen, it made the savegame unplayable. That happened 4 months ago, so it's not just the 1.7.3 version:
https://www.reddit.com/r/ToME4/comments ... e_phoenix/
Luckily I had seen that thread before I started the combat, so I made a save just before.
Savegame here, the bird is in the second room going southeast of the starting position:
https://drive.google.com/file/d/1j0ABpX ... sp=sharing
Log from the combat:
Code: Select all
[Actor:move] 7426 Kogen move from 29 30 to 29 31
[SHADER] Loading from /data/gfx/shaders/volumetric_aura.lua
[SHADER] Loaded shader with totalname volumetric_aura[]
[LOG] Kogen casts #{bold}##GREEN#Rune: Shielding.#{normal}##LAST#
[LOG] A shield forms around Kogen.
[SHADER] Loading from /data/gfx/shaders/shield.lua
[SHADER] Loaded shader with totalname shield[color=vec3(0.4,0.7,1),shieldIntensity=0.2]
[SHADER] setting reset param tick_start 4083814
[LOG] Kogen uses #{bold}##ORCHID#Ghoulish Leap.#{normal}##LAST#
[Actor:move] 7426 Kogen (forced) move from 29 31 to 26 32
[LOG] Kogen speeds up.
[target_simple AI] 13787 Phoenix selecting NEW TARGET 26 32 7426 Kogen
[improved_talented AI] chooses for 13787 Phoenix T_FLAME
[LOG] Phoenix casts #{bold}##PURPLE#Flame.#{normal}##LAST#
[SPELL CRIT %] 16
[LOG] Kogen is on fire!
[SPELL] friendly fire chance 100
[LOG] #UID:13787:0#Phoenix hits #fbd578#Kogen#LAST# for #SLATE#(78 absorbed)#LAST#, #LIGHT_RED#0 fire#LAST# (#RED##{bold}#0#LAST##{normal}# total damage).
[SHADER] Loading from /data/gfx/shaders/tentacles.lua
[SHADER] Loaded shader with totalname tentacles[appearTime=0.3,noup=2,time_factor=500,wobblingType=0]
[SHADER] setting reset param tick_start 4086626
[SHADER] Loading from /data/gfx/shaders/tentacles.lua
[SHADER] Loaded shader with totalname tentacles[appearTime=0.3,noup=1,time_factor=500,wobblingType=0]
[SHADER] setting reset param tick_start 4086626
[LOG] Berserker Rage's rage awakens!
[LOG]
[LOG] Kogen uses #{bold}##ORCHID#Stunning Blow.#{normal}##LAST#
[ATTACK] to Phoenix dam/apr/atk/mult :: 292.31267151887 19 63 0.6897366596101 vs. armor/def 1 36
[ATTACK] after melee attack bonus hooks & callbacks:: 292.31267151887 19 63 0.6897366596101 vs. armor/def 1 36
checkHit 63 vs 36 => chance to hit 100
[ATTACK] HIT:: damrange 1.6 ==> dam/apr:: 347 19 vs. armor/hardiness 1 0.3
[ATTACK] after armor 347
[PHYS CRIT %] 42.401246681616
[PHYS CRIT %] sword accuracy bonus 63 36 = 0.108
[ATTACK] after crit 557.976
[ATTACK] after mult 384.85650238261
[ATTACK] after inc by type 461.82780285913
[LOG] #{bold}##UID:7426:0##fbd578#Kogen#LAST# performs a melee critical strike against Phoenix!#{normal}#
[LOG] Phoenix is consumed in a burst of flame. All that remains is a fiery egg.
[SHADER] Loading from /data/gfx/shaders/healing.lua
[SHADER] Loaded shader with totalname healing[beamColor1=vec4(1,0.81960784313725,0.13333333333333,1),beamColor2=vec4(0.9921568627451,0.58039215686275,0.24705882352941,1),beamsCount=12,circleColor=vec4(0,0,0,0),noup=2,time_factor=2000]
[SHADER] Loading from /data/gfx/shaders/healing.lua
[SHADER] Loaded shader with totalname healing[beamColor1=vec4(1,0.81960784313725,0.13333333333333,1),beamColor2=vec4(0.9921568627451,0.58039215686275,0.24705882352941,1),beamsCount=12,circleColor=vec4(0,0,0,0),noup=1,time_factor=2000]
[LOG] #LIGHT_RED#Phoenix raises from the dead!
[LOG] Kogen revels in the spilt blood and grows stronger!
[SHADER] Loading from /data/gfx/shaders/healing.lua
[SHADER] Loaded shader with totalname healing[beamColor1=vec4(1,0.13333333333333,0.13333333333333,1),beamColor2=vec4(1,0.37647058823529,0.37647058823529,1),beamsCount=8,circleColor=vec4(0,0,0,0),noup=2,time_factor=4000]
[SHADER] Loading from /data/gfx/shaders/healing.lua
[SHADER] Loaded shader with totalname healing[beamColor1=vec4(1,0.13333333333333,0.13333333333333,1),beamColor2=vec4(1,0.37647058823529,0.37647058823529,1),beamsCount=8,circleColor=vec4(0,0,0,0),noup=1,time_factor=4000]
[LOG] Phoenix starts to bleed.
checkHit 44 vs 103 => chance to hit 0
[LOG] Phoenix is stunned!
[ATTACK] to Phoenix dam/apr/atk/mult :: 292.31267151887 19 63 0.6897366596101 vs. armor/def 1 36
[ATTACK] after melee attack bonus hooks & callbacks:: 292.31267151887 19 63 0.6897366596101 vs. armor/def 1 36
checkHit 63 vs 36 => chance to hit 100
[ATTACK] HIT:: damrange 1.6 ==> dam/apr:: 467 19 vs. armor/hardiness 1 0.3
[ATTACK] after armor 467
[PHYS CRIT %] 42.401246681616
[ATTACK] after crit 467
[ATTACK] after mult 322.10702003792
[ATTACK] after inc by type 386.5284240455
checkHit 44 vs 103 => chance to hit 0
[LOG] #UID:7426:0##fbd578#Kogen#LAST# hits Phoenix for #{bold}##WHITE#600 physical#{normal}##LAST#, #GREY#12 darkness#LAST#, #WHITE#545 physical#LAST#, #GREY#12 darkness#LAST# (#RED##{bold}#1170#LAST##{normal}# total damage).
[LOG] Burning from Phoenix hits #fbd578#Kogen#LAST# for #SLATE#(11 absorbed)#LAST#, #LIGHT_RED#0 fire#LAST# (#RED##{bold}#0#LAST##{normal}# total damage).
[LOG] Phoenix's cleansing fire area effect hits #fbd578#Kogen#LAST# for #SLATE#(11 absorbed)#LAST#, #LIGHT_RED#0 fire#LAST# (#RED##{bold}#0#LAST##{normal}# total damage).
[LOG] Bleeding from Kogen hits Phoenix for #WHITE#299 physical#LAST# damage.
[LOG]
ERROR:
Game version: tome-1.7.3
Addons: items-vault-1.7.0[O]
Game version (character creation): tome-1.7.3
Lua Error: /mod/class/Actor.lua:1970: attempt to index local 'mean' (a nil value)
At [C]:-1 __index
At /mod/class/Actor.lua:1970 getCombatStats
At /mod/class/Actor.lua:2182 tooltip
At /mod/class/NPC.lua:389 check
At /engine/Map.lua:801 checkEntity
At /mod/class/Tooltip.lua:36 check
At /mod/class/Tooltip.lua:50 getTooltipAtMap
At /engine/Tooltip.lua:286 displayAtMap
At /engine/interface/GameTargeting.lua:77 targetDisplayTooltip
At /mod/class/Game.lua:1967