custom tilespec, leave game, crash
Posted: Sun Feb 09, 2025 3:23 am
I'm updating my custom ruleset "dino" to 3.1 and have found I can use it to crash the client. My game.ruleset contains
which loads the "dino.tilespec" file. That file contains
All this is patterned after what the "alien" ruleset does. After starting a game in the client using the "dino" ruleset, the client ouputs to stdout -
Maybe there's a real bug here, or maybe I'm missing something? What causes the "alien" ruleset to load the tileset "amplio2" after loading "alio"?
Code: Select all
[tileset]
preferred="dino"
Code: Select all
for_ruleset = "dino"
In the game, when I do help "About Current Tilespec" it says -3: Loading tileset "dino".
Then I do "Leave game", start another game with a normal ruleset like "Classic" and crash happens. What's interesting is the difference between this and what happens when I choose the "alien" ruleset, then the client ouputs to stdout -dino 3.1
Tileset to be used with dino ruleset.
and help "About Current Tilespec" says -3: Loading tileset "alio".
3: Loading tileset "amplio2".
and I can "Leave game", start another game with a normal ruleset and no crash.Amplio2
Maybe there's a real bug here, or maybe I'm missing something? What causes the "alien" ruleset to load the tileset "amplio2" after loading "alio"?