Compatibility-breaking changes between 1.12 and 1.13/1.14
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Re: Compatibility-breaking changes between 1.12 and 1.13/1.14
Is that code snippet something I can copy and paste verbatim, or am I supposed to put something in the "Development Team wrote: ↑November 18th, 2017, 5:34 pm Deprecated or removed feature:
scenario_generation=cave
, that is the built-in cave map generator is now deprecated and will be removed in 1.14 or 1.15. Scenarios that previously used it should change to the new Lua cave map generator. To do this, usemap_generation=lua
withcreate_map = << return wesnoth.require("lua/cave_map_generator.lua").generate_map(...) >>
.
...
" part? Asking because I am trying to port The Earth's Gut from 1.12 to 1.14 and have been running into this issue in scenario 10, Old Friends: https://github.com/cooljeanius/The_Earths_Gut/issues/1Wesnoth-related GitHub repos:
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
- Pentarctagon
- Project Manager
- Posts: 5566
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Compatibility-breaking changes between 1.12 and 1.13/1.14
It should be verbatim, I think. From the Gather Materials scenario of SoF, line 22:
create_map = << return wesnoth.require("cave_map_generator").generate_map(...) >>
.99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Compatibility-breaking changes between 1.12 and 1.13/1.14
OK, I tried that, but now I get a different error:Pentarctagon wrote: ↑November 21st, 2020, 11:31 pm It should be verbatim, I think. From the Gather Materials scenario of SoF, line 22:create_map = << return wesnoth.require("cave_map_generator").generate_map(...) >>
.
(there is no text in the entire error message even if you scroll all the way down)
Edit: After some further tinkering to bring it closer to the code found in the "Gathering Materials" scenario mentioned, I now get yet another different error:
Wesnoth-related GitHub repos:
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
- Pentarctagon
- Project Manager
- Posts: 5566
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Compatibility-breaking changes between 1.12 and 1.13/1.14
I've never done anything with map generation, so I really don't know.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Compatibility-breaking changes between 1.12 and 1.13/1.14
OK with some help from Knyghtmare we got things worked out; it required removing the deprecated
[settings]
and [items]
tagsWesnoth-related GitHub repos:
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager