[firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
[firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
if unit with "last strike" ([firststrike] special with apply_to=opponent, on any of its attacks) is targeted by other unit for attack then Wesnoth hangs or (according to BlakerBR) crashes to desktop without writing anything to .log file
reproduces on clean install Wesnoth 1.16.2 and 1.16.0
example of workaround attached
EDIT: see newfrenchy83's suggestion below for more straightforward workaround
reproduces on clean install Wesnoth 1.16.2 and 1.16.0
example of workaround attached
EDIT: see newfrenchy83's suggestion below for more straightforward workaround
- Attachments
-
- special-delayed.cfg
- (2.55 KiB) Downloaded 143 times
Last edited by lea on March 23rd, 2022, 6:47 am, edited 2 times in total.
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
have you addes active_on=offense for fix that?
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
hah, in 1.16, it's not firstrike with apply_to=opponent who is used but another code pulled to opponent.
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
this workaround seems to work as well and is a lot less complicated, thanks for suggestion
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
But it's half resove the issue, this because i had pul this https://github.com/wesnoth/wesnoth/pull ... -918286954 PR for fix bug
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
is it going to be included in upcoming wesnoth 1.16.3?newfrenchy83 wrote: ↑March 23rd, 2022, 2:06 pm But it's half resove the issue, this because i had pul this https://github.com/wesnoth/wesnoth/pull ... -918286954 PR for fix bug
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
i don't know, but i want other thing, if two user of laststrike fight themselves, who give firststrike, the attacker or the defender?lea wrote: ↑March 23rd, 2022, 3:40 pmis it going to be included in upcoming wesnoth 1.16.3?newfrenchy83 wrote: ↑March 23rd, 2022, 2:06 pm But it's half resove the issue, this because i had pul this https://github.com/wesnoth/wesnoth/pull ... -918286954 PR for fix bug
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
indeed, have to filter it out like this:newfrenchy83 wrote: ↑March 23rd, 2022, 3:43 pm i don't know, but i want other thing, if two user of laststrike fight themselves, who give firststrike, the attacker or the defender?
Code: Select all
[filter_opponent]
[filter_weapon]
[not]
special=delayed
[/not]
[/filter_weapon]
[/filter_opponent]
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
craches fixed for 1.16.3 version
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
-
- Code Contributor
- Posts: 179
- Joined: October 6th, 2017, 12:57 pm
- Lord-Knightmare
- Discord Moderator
- Posts: 2376
- 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: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
Not sure. Maybe 17/04/22.lea wrote: ↑April 6th, 2022, 6:40 amwhen will it be released?
https://www.wesnoth.org/ still offers 1.16.2 for download
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x
1.16.3 is scheduled for release on 8th May, and 1.17.3 is scheduled for release tonight.