You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been observed that Player is able to win war simply by teleporting to spawn via /spawn command (Essentials).
It has been observed that incorrect Town is marked as War winner - "losers" are marked as winners and they obtain the prize.
Prerequisites:
Player Farum
Player Farum is mayor of Farumowo town
Player Testur
Player Testur is mayor of Testuchowo town
Farumowo & Testuchowo both have 5000 in town coffers (the amount to start a war)
Farumowo & Testuchowo are sworn enemies by their relations
Repro Steps:
(as Farum) Use /town war declare Testuchowo command.
(as Testur) Accept war declaration via clicking chat message.
-wait until both players are teleported to initial positions- 4. (as Testur) Use /spawn command.
(as Farum) Kill Testur using sword. 5. Observe as HuskTowns detects that Testur has run away from the battlefield - the message is visible on both Players' chats.
Observe as HuskTowns detects that Testur has been killed in the battle.
Observe the issue, as HuskTowns declares that Testuchowo is a winner.
Expected Results: Town, which Users were not removed from the battle should be considered as winners.
Town, which Users were not killed in the battle (or left the battle) should be considered as winners.
In the following example - Farumowo.
Actual Results: Town, which Users were removed from the battle were considered as winners.
Town, which Users were killed in the battle (or left the battle) are considered as winners.
In the following example - Testuchowo.
Picture 1
Testur was removed from the battle operations. (correct)
Testuchowo won the war against Farumowo! (incorrect)
The text was updated successfully, but these errors were encountered:
Please note that I wasn't able to investigate the issue further due to War module limitations - we're running (and testing on prod), so I wasn't eager to set it below 0. There could be a command to reset cooldown, like /admintown war resetcooldown :)
It seems that the teleportation itself is not a root cause. Prerequisities:
Player BookLover
Player BookLover is mayor of Librarium
Player Piwoo746
Player Piwoo746 is mayor of Stalgard
BookLover was killed by Piwoo746.
Librarium has won the war against Stalgard.
farum12
changed the title
[Bug] [War module] Town is able to win a War by using /spawn command
[Bug] [War module] Incorrect Town is marked as War winner
Dec 5, 2023
It has been observed that Player is able to win war simply by teleporting to spawn via /spawn command (Essentials).It has been observed that incorrect Town is marked as War winner - "losers" are marked as winners and they obtain the prize.
Prerequisites:
Repro Steps:
4. (as Testur) Use /spawn command.5. Observe as HuskTowns detects that Testur has run away from the battlefield - the message is visible on both Players' chats.Expected Results:
Town, which Users were not removed from the battle should be considered as winners.Town, which Users were not killed in the battle (or left the battle) should be considered as winners.
In the following example - Farumowo.
Actual Results:
Town, which Users were removed from the battle were considered as winners.Town, which Users were killed in the battle (or left the battle) are considered as winners.
In the following example - Testuchowo.
Picture 1
Testur was removed from the battle operations. (correct)
Testuchowo won the war against Farumowo! (incorrect)
The text was updated successfully, but these errors were encountered: