Chaosforge Forum

  • July 06, 2020, 02:59
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.5] Infinite loop by a former human escaping on Phobos Base Entry  (Read 1194 times)

ZicherCZ

  • Chaos Knight
  • Supporter of Chaos
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 736
  • YADJHG - Yet Another Dead JupiterHellGuy
    • View Profile

Hi guys,

I started playing AoB and let the first former human shoot all of his ammo into the tree I covered behind. Then I strarted to pursue him, until he ran into the right, walkable edge of the level. This is what happened:

Code: [Select]
----------------------------------------------------------------------
Timestamp   : 5.2.2012 13:47:59
Error level : ERROR
Message     : Lua hook OnAction caught ELuaStateException!

Call path     : beings[former].OnAction
Call params   : ()
Error message : Lua error : lua\core.lua:988: AI : former_ai entered infinite loop!
----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 5.2.2012 13:48:08
Error level : ERROR
Message     : Lua hook OnAction caught ELuaStateException!

Call path     : beings[former].OnAction
Call params   : ()
Error message : Lua error : lua\core.lua:988: AI : former_ai entered infinite loop!
----------------------------------------------------------------------

The precise order of action was:
- The former human entered the right edge. No problem so far.
- I moved towards him, and then the first instance of the bug happened. The game then continued.
- Again I moved towards him, after which the second instance happened. Again, the game went on afterwards.
- Then I finally moved into his melee range, and he attacked me. No problem this time and the rest of the game went fine.
Logged
DoomRL 0.997: Cyberdemon Brigadier General - Games: 217, Wins: 2/5/3/6/0, Medals: 18, Specials: 64, Asm: 39, Badges: 19/17/16/5/1/Are you kidding?
Jupiter Hell: Inner Circle - first tech build reached and working

Vakalix

  • Private
  • *
  • Offline Offline
  • Posts: 1
  • Lost Soul
    • View Profile

Okay, i just registered to report the same minor bug in 0.996.
Code: [Select]
----------------------------------------------------------------------
Timestamp   : 05.03.2012 13:34:08
Error level : ERROR
Message     : Lua hook OnAction caught ELuaStateException!

Call path     : beings[former].OnAction
Call params   : ()
Error message : Lua error : lua\core.lua:960: AI : former_ai entered infinite loop!
----------------------------------------------------------------------
Logged

Game Hunter

  • Programmer
  • Local Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1044
  • Looks like game to me.
    • View Profile
    • Channel, the Roguelike

Oy, I'm really sorry this didn't get taken care of by 0996. Fortunately, Phobos Base Entry is the only level that ever has the potential to trigger this bug, so it shouldn't hamper gameplay all that much. I'll be sure to fix the AI by the next beta.
Logged
I'm just a dude playing a dude disguised as another dude.

Latest LPs: Angband, Delver

ZicherCZ

  • Chaos Knight
  • Supporter of Chaos
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 736
  • YADJHG - Yet Another Dead JupiterHellGuy
    • View Profile

Oy, I'm really sorry this didn't get taken care of by 0996. Fortunately, Phobos Base Entry is the only level that ever has the potential to trigger this bug, so it shouldn't hamper gameplay all that much. I'll be sure to fix the AI by the next beta.
Are you certain? Levels with rivers spreading to the edges of the screen might theoretically create this bug as well, although it's highly improbable to get a former human out of ammo there :).
It's no gamebreaker anyway, so there's no need to hurry here, I guess.
Logged
DoomRL 0.997: Cyberdemon Brigadier General - Games: 217, Wins: 2/5/3/6/0, Medals: 18, Specials: 64, Asm: 39, Badges: 19/17/16/5/1/Are you kidding?
Jupiter Hell: Inner Circle - first tech build reached and working
Pages: [1]