Wesnoth 1.16.1

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

User avatar
Pentarctagon
Project Manager
Posts: 4914
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.16.1

Post by Pentarctagon »

It's required only if you want to use the database functionality of the multiplayer server, which as far as I'm aware has only ever actually been used on the official servers and has only ever been at all tested on Linux.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
PapaSmurfReloaded
Posts: 791
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Wesnoth 1.16.1

Post by PapaSmurfReloaded »

Has anything changed in the way that [replace_schedule] works in 1.16.1?

Code: Select all

[replace_schedule]
{DEFAULT_SCHEDULE_24H}
current_time=0
[/replace_schedule]
The above lines of code worked just fine until the last stable version, today I realized it is no longer the case in one of my add-ons. (ARRPGA)
User avatar
Pentarctagon
Project Manager
Posts: 4914
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.16.1

Post by Pentarctagon »

It shouldn't have stopped working. Are you saying it did work in 1.16.0 and doesn't work in 1.16.1?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
PapaSmurfReloaded
Posts: 791
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Wesnoth 1.16.1

Post by PapaSmurfReloaded »

Pentarctagon wrote: December 31st, 2021, 5:56 am It shouldn't have stopped working. Are you saying it did work in 1.16.0 and doesn't work in 1.16.1?
It doesn't work now.

ARRPGA has a couple of options that allow the player to change the time of the day of the scenario. They worked by using [replace_schedule] and different values for current_time.

Spoiler:
It seems to not be working now (it did before), no matter of the value of current_time it always changes time to Dawn (0).
Last edited by PapaSmurfReloaded on December 31st, 2021, 3:41 pm, edited 1 time in total.
User avatar
Lord-Knightmare
Discord Moderator
Posts: 1738
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Wesnoth 1.16.1

Post by Lord-Knightmare »

Seems to be this Bug Report
User avatar
PapaSmurfReloaded
Posts: 791
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Wesnoth 1.16.1

Post by PapaSmurfReloaded »

Lord-Knightmare wrote: December 31st, 2021, 3:38 pm Seems to be this Bug Report
Looks like it
User avatar
Pentarctagon
Project Manager
Posts: 4914
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.16.1

Post by Pentarctagon »

That was reported long before 1.16.0 though, so if that code was working until 1.16.1, then it can't be the same issue.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
PapaSmurfReloaded
Posts: 791
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Wesnoth 1.16.1

Post by PapaSmurfReloaded »

Pentarctagon wrote: December 31st, 2021, 6:42 pm That was reported long before 1.16.0 though, so if that code was working until 1.16.1, then it can't be the same issue.
My bad, I wasn't clear.

When I say it worked just fine before I am talking about the last of the 1.14 stable versions of Wesnoth. I don't know if it was also broken in 1.16.0, it could have been and I just did not notice it.
User avatar
Bob_The_Mighty
Posts: 848
Joined: July 13th, 2006, 1:15 pm

Re: Wesnoth 1.16.1

Post by Bob_The_Mighty »

I've been porting campaigns to the new version of Wesnoth and it seems 1.16.x has become a bit too fussy about potentially missing scenarios. I had to rewrite a chunk of code in The Altaz Mariners because it has a unique campaign structure. Now a different issue has cropped up with Den of Thieves. This is an MP campaign that was designed so only the host needed the add-on. On 1.16.x players get these big warnings telling them that the campaign is broken, when it isn't. See the screenshot. This was displayed continually to non-host players who didn't have the scenario files, but they shouldn't need them. I have got rid of these warnings by forcing a download, but it's not ideal. Was this intended or an oversight?
Attachments
errormsg.JPG
My current projects:
MP pirate campaign: The Altaz Mariners
RPG sequel: Return to Trent
MP stealth campaign: Den of Thieves
User avatar
octalot
General Code Maintainer
Posts: 650
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: Wesnoth 1.16.1

Post by octalot »

Oops - that was an oversight. Have logged #6420 to remind myself to fix it.
Locked