Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Wanderer

An episodic 2D adventure game blending cinematic platformer and RPG into a beautiful lo-fi sci-fi universe. · By Red Cloak Games, Cris_R, Fenrir

Crash During Combat

A topic by Cheeseness created Jun 21, 2017 Views: 133 Replies: 2
Viewing posts 1 to 2

Version: 0.1143

Description: I'd lost and retried the battle that occurs after getting the forklift working maybe a half dozen times . As one of the enemies entered range combat, the game showed a crash screen along with a message to send through a crash log which contained the following:

04:58:00 [error] | Error: modules/game/controllers/combat/menus/RangedAttack.lua:26: attempt to index local 'range' (a nil value)
stack traceback:
    modules/game/controllers/combat/menus/RangedAttack.lua:26: in function 'enter'
    modules/game/controllers/combat/Combat.lua:203: in function <modules game="" controllers="" combat="" combat.lua:193="">
    modules/game/EntityContainer.lua:236: in function 'fire'
    modules/game/EntityContainer.lua:189: in function 'set'
    modules/game/controllers/combat/Combat.lua:520: in function 'setSelected'
    modules/game/controllers/combat/Combat.lua:212: in function <modules game="" controllers="" combat="" combat.lua:211="">
    modules/game/EntityContainer.lua:236: in function 'fire'
    modules/game/EntityContainer.lua:189: in function 'set'
    modules/game/controllers/combat/Enemy.lua:126: in function 'callback'
    modules/utils/EventManager.lua:110: in function 'update'
    modules/game/StateManager.lua:144: in function 'update'
    main.lua:47: in function 'update'
    main.lua:313: in function <main.lua:278>
    [C]: in function 'xpcall' (game/controllers/combat/menus/RangedAttack)</main.lua:278></modules></modules>

Thanks a lot for the report, it will be fixed in the next build!

No problems, and thank you :)