Latest Posts

Topic: Along the river -scenario

teppo

Topic Opener
Joined: 2012-01-30, 09:42
Posts: 423
Ranking
Tribe Member
Posted at: 2020-10-31, 20:00

I failed to start "Along the river" scenario with a recent build: incompatible savegame. Should the scenario still work?


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1929
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-10-31, 20:09

You mean this one? https://www.widelands.org/maps/along-the-river/

I took a brief look at it and it seems ancient. It still uses the "fernery", the "donjon", terrain names like "wiese2" and "berg1", and so on. So no, recent Widelands builds will not accept the scripting. I wonder if someone would care to create an updated version, it has very positive comments…

Edit: I see it does not even start, this can be solved by deleting the file binary/flag

Edited: 2020-10-31, 20:11

Top Quote
teppo

Topic Opener
Joined: 2012-01-30, 09:42
Posts: 423
Ranking
Tribe Member
Posted at: 2020-10-31, 22:25

Nordfriese wrote:

You mean this one? https://www.widelands.org/maps/along-the-river/

I took a brief look at it and it seems ancient. It still uses the "fernery", the "donjon", terrain names like "wiese2" and "berg1", and so on. So no, recent Widelands builds will not accept the scripting. I wonder if someone would care to create an updated version, it has very positive comments…

Edit: I see it does not even start, this can be solved by deleting the file binary/flag

Ah, okay. I did not notice that it was a downloaded map and not bundled.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-11-01, 07:07

I could start it by deleting the scripting directory, or by running it as a LAN game to skip the scripting.

We provide map compatibility all the way down, but not for scripting.

Edited: 2020-11-01, 07:29

Busy indexing nil values

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2020-11-01, 11:42

GunChleoc wrote:

We provide map compatibility all the way down, but not for scripting.

Yes, that's really pity. Felt changing the LUA Api happens every year... which makes creating a scenario sometimes hard. Some continuity would be appreciated face-smile.png

Maybe the maps section on the website should show if it is a scenario, and with which widelands version it was made?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-11-01, 13:34

There's a reason I did the big tribes/world overhaul and added as much compatibility code as possible, because I really do want to stabilize our API. Please let me know if there are still any pain points in our API left that we should redesign ASAP so that we can really get things stable.

Since this map has gotten a good rating, maybe we should make it official and fix it? We could replace The Green Plateau with it. That scenario is just a copy of The Pass Through the Mountains and it's only still there to have a singleplayer scenario to test the code with.


Busy indexing nil values

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1929
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-11-01, 19:32

Since this map has gotten a good rating, maybe we should make it official and fix it? We could replace The Green Plateau with it. That scenario is just a copy of The Pass Through the Mountains and it's only still there to have a singleplayer scenario to test the code with.

+1


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2646
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-14, 09:43

Nordfriese wrote:

Since this map has gotten a good rating, maybe we should make it official and fix it? We could replace The Green Plateau with it. That scenario is just a copy of The Pass Through the Mountains and it's only still there to have a singleplayer scenario to test the code with.

+1

Done this see https://github.com/widelands/widelands/pull/5062

Happy testing


Top Quote