Merge lp:~widelands-dev/widelands/bug-1540813-island-hopping into lp:widelands

Proposed by GunChleoc
Status: Rejected
Rejected by: GunChleoc
Proposed branch: lp:~widelands-dev/widelands/bug-1540813-island-hopping
Merge into: lp:widelands
Diff against target: 12 lines (+1/-1)
1 file modified
data/maps/MP_Scenarios/Island_Hopping.wmf/scripting/first_island.lua (+1/-1)
To merge this branch: bzr merge lp:~widelands-dev/widelands/bug-1540813-island-hopping
Reviewer Review Type Date Requested Status
GunChleoc Disapprove
Review via email: mp+289579@code.launchpad.net

Commit message

Fixed the hopping in the Island Hopping scenario.

Description of the change

Yep, just some blank spaces.

To post a comment you must log in.
Revision history for this message
Miroslav Remák (miroslavr256) wrote :

Am I missing something? How did adding these two spaces fix the bug? There should be no difference.

Revision history for this message
GunChleoc (gunchleoc) wrote :

On my machine, I couldn't get it to hop at all without the blank spaces.

Revision history for this message
Miroslav Remák (miroslavr256) wrote :

Was the script running at all (e.g. did you receive the initial welcome message)? Any error messages?

Revision history for this message
Miroslav Remák (miroslavr256) wrote :

Also, what made you even attempt such a strange fix? Have you experienced a similar issue before?

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 873. State: failed. Details: https://travis-ci.org/widelands/widelands/builds/117270666.
Appveyor build 706. State: failed. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1540813_island_hopping-706.

Revision history for this message
GunChleoc (gunchleoc) wrote :

The rest of the script was running fine. The fix happened by accident.

Revision history for this message
SirVer (sirver) wrote :

I am 99% sure that this cannot change semantics in Lua. Are all other possibilities like flakiness, timing, map locations explored?

> Am 21.03.2016 um 06:02 schrieb GunChleoc <email address hidden>:
>
> The rest of the script was running fine. The fix happened by accident.
> --
> https://code.launchpad.net/~widelands-dev/widelands/bug-1540813-island-hopping/+merge/289579
> You are subscribed to branch lp:widelands.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 873. State: failed. Details: https://travis-ci.org/widelands/widelands/builds/117270666.
Appveyor build 710. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_bug_1540813_island_hopping-710.

Revision history for this message
GunChleoc (gunchleoc) wrote :

I can't reproduce the original bug any more, so I'm setting this to invalid/rejected.

review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/maps/MP_Scenarios/Island_Hopping.wmf/scripting/first_island.lua'
2--- data/maps/MP_Scenarios/Island_Hopping.wmf/scripting/first_island.lua 2016-01-29 16:36:12 +0000
3+++ data/maps/MP_Scenarios/Island_Hopping.wmf/scripting/first_island.lua 2016-03-20 14:33:28 +0000
4@@ -3,7 +3,7 @@
5 -- ==========================
6 function _wait_for_castle_on_finish_area(plr, island_idx)
7 local finish_area = _finish_areas[island_idx][plr.number]
8- while not check_for_buildings(plr, {atlanteans_castle=1}, finish_area) do
9+ while not check_for_buildings(plr, {atlanteans_castle = 1}, finish_area) do
10 sleep(1237)
11 end
12 end

Subscribers

People subscribed via source and target branches

to status/vote changes: