Currently Online

Latest Posts

Topic: barbarians_empire_economy_upgrade

Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 2057
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-08-06, 18:19

kaputtnik wrote:

Nordfriese wrote:

I uploaded your barbarians-empire add-on.

White summer has this error:

Name 'immovables/red maple' may not contain the character ' ' (whitespace)

I've put on my to-do list to sanity-check the filenames in Widelands before upload to give nicer and more reliable error messages.

Can't there be a replacement function like there is for file names? Probably with an informing message to the uploader that some characters where replaced…

This would quite likely break path statements for images, include calls, and the like. IMO it is safer if the programmer goes through the list of offenders and corrects them by hand, and tests the result again to check he didn't miss any occurrences.


Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34
Posts: 175
Ranking
At home in WL-forums
Location: Czech
Posted at: 2024-08-06, 19:07

Thank you.


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 2057
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-08-07, 14:59

https://codeberg.org/wl/widelands/pulls/4857


Top Quote