[1.2.5] 7+ allies on final encounter despawns Aeryn
Posted: Thu Mar 12, 2015 7:26 pm
If you zone into High Peak Sanctum with 7 or more allied units, they occupy all tiles that qualify as adjacent to the player unit (the 8th tile immediately behind you is a wall). This causes the script that spawns Aeryn to place her on an overlapping tile. She later throws a lua error on her first turn.
Immediately after activating Orb of Many Ways on High Peak 10:
End of scripted events:
Aeryn's first turn? (after the second skeleton mage)
Then the same lua error repeats 30 or so times.
After clicking Dismiss All the fight was still playable and no more lua errors occured, but Aeryn was nowhere on the map.
Immediately after activating Orb of Many Ways on High Peak 10:
Code: Select all
=== nil nil
Wait finished, counted 745, 593 ticks
No zone events loaded
Running on level loads high-peak-11
[PARTY] New member, add after Esriel Esriel
Adding entity 1846 after 1846
[PARTY] New member, add after skeleton mage Esriel
Adding entity 30126 after 1846
[PARTY] New member, add after skeleton warrior Esriel
Adding entity 31920 after 1846
[PARTY] New member, add after skeleton mage Esriel
Adding entity 30121 after 1846
[PARTY] New member, add after skeleton warrior Esriel
Adding entity 31925 after 1846
[PARTY] New member, add after armoured skeleton warrior Esriel
Adding entity 27364 after 1846
[PARTY] New member, add after ghoulking Esriel
Adding entity 31930 after 1846
[PARTY] New member, add after orc cryomancer Esriel
Adding entity 25869 after 1846
[LOG] #TEAL#You feel a thrill of terror and your heart begins to pound in your chest. You feel terribly threatened upon entering this area.
Code: Select all
[QUEST] try update status on Esriel high-peak 1 aeryn-helps
[LOG] #LIGHT_GREEN#Quest 'Falling Toward Apotheosis' status updated! #WHITE#(Press 'j' to see the quest log)
[LOG] High Sun Paladin Aeryn appears next to you!
Using cached font /data/font/DroidSansMono.ttf 14
Using cached font /data/font/DroidSansMono.ttf 14
[CHAT] selected I am glad to have you at my side, my Lady. Let's hunt some wizards! nil nil
AI took for target 30121 skeleton mage :: 35540 Elandar 9 < 100
skeleton mage 30121 dumb ai talents can use Bone Armour T_BONE_ARMOUR
skeleton mage 30121 dumb ai talents can use Manathrust T_MANATHRUST
skeleton mage 30121 dumb ai talents can use Re-assemble T_SKELETON_REASSEMBLE
dumb ai uses T_MANATHRUST
Code: Select all
[LOG] Argoniel is on fire!
[LOG] #UID:30126:0#Skeleton mage hits Argoniel for #SLATE#(37 to bones)#LAST#, #LIGHT_RED#0 fire#LAST# (0 total damage).
[LOG] #UID:30121:0#Skeleton mage hits #fbd578#Esriel#LAST# for #SLATE#(47 absorbed)#LAST#, #PURPLE#0 arcane#LAST# (0 total damage).
[LOG] #UID:30121:0#Skeleton mage hits Elandar for #PURPLE#41 arcane#LAST# damage.
Lua Error: /mod/ai//tactical.lua:61: bad argument #3 to 'distance' (number expected, got nil)
At [C]:-1
At [C]:-1 distance
At /mod/ai//tactical.lua:61 runAI
At /mod/ai//tactical.lua:421 doAI
At /mod/class/NPC.lua:61 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1181
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
After clicking Dismiss All the fight was still playable and no more lua errors occured, but Aeryn was nowhere on the map.