Hextorio - Build in hexagons


Expand your hex territory. Loot dungeons. Complete quests. Level up every item in the game. Trade your way to victory. Get rich.

Overhaul
12 days ago
2.0 - 2.1
6.54K
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Combat Enemies Environment Mining Manufacturing Storage

b Bug: Fatal crash on hex generation, if standing on ground that becomes water

6 months ago
(updated 6 months ago)

EDIT: Sorry it's a "non-recoverable error", not a crash (fatal to the mod though)

I was playing with quite small hexes and decided to start moving before the hexes generated, so when it finished my character was on top of water and promptly died. Respawning left me with a fatal error:

Error while running event hextorio::on_chunk_generated (ID 16)
Can't set character for non player with non god controller.
stack traceback:
[C]: in function 'create_character'
hextorio/api/hex_grid.lua:891: in function 'initialize_hex'
hextorio/api/hex_grid.lua:2235: in function 'initialize_adjacent_hexes'
hextorio/api/hex_grid.lua:2199: in function 'on_chunk_generated'
hextorio/control.lua:254: in function <hextorio/control.lua:229>

It's a pretty niche situation and a non-issue (only happens at the start under specific settings and if you screw around)

5 months ago
(updated 5 months ago)

Funny thing, I was fixing crashes from small hexes (due to your other bug report) and encountered this immediately. It's actually possible with the default hex sizes, too. But people aren't running diagonally "as fast as possible" at the start of their games, so that hasn't been a top priority issue to solve yet.

5 months ago

Took a little break from Factorio and came back to a whole bunch of updates! Thank you for working hard on this mod, it's very enjoyable

5 months ago

Thanks for playing it! It's a fun one to develop. :)

New response