View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004702 | Spring engine | General | public | 2015-03-13 00:34 | 2015-03-25 23:16 | ||||
Reporter | lamer | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 98.0.1+git | ||||||||
Target Version | 99.0 | Fixed in Version | 98.0.1+git | ||||||
Summary | 0004702: Broken pathing | ||||||||
Description | Pathing was broken somewhere between 98.0.1-398 and 98.0.1-426 Now units try to go directly through unpassable areas. | ||||||||
Additional Information | Made quick demo, trying to move commander around cliff at 0:10-2:00 Good pathing: http://zero-k.info/Battles/Detail/337736 (98.0.1-398) Bad pathing: http://zero-k.info/Battles/Detail/337740 (98.0.1-426) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Google_Frog (reporter) 2015-03-14 06:42 |
This bug is easy to reproduce so I am testing intermediate versions. 98.0.1-407-g8c94d36 works. |
Google_Frog (reporter) 2015-03-14 07:22 |
"save ~1MB in pathfinder (thx Picasso)" is broken. https://github.com/spring/spring/commit/d120caeabba0a3e2e1326f41b4be3fbaaeb7d026 |
Google_Frog (reporter) 2015-03-14 08:03 |
"TestBlock(): remove an unused arg" has the bug too. https://github.com/spring/spring/commit/1e4342db2f6ba5e4572705e5d05b733e6a23c485 |
abma (administrator) 2015-03-16 01:39 Last edited: 2015-03-16 01:42 |
did you delete pathcache each time you run the test? i don't see a bug in https://github.com/spring/spring/commit/1e4342db2f6ba5e4572705e5d05b733e6a23c485 this could also lead to desyncs when the pathcache version wasn't changed when pathing was changed. |
Google_Frog (reporter) 2015-03-16 12:37 |
A new cache was built each time. The time between commits was too short for the automatic build so I had to branch from some versions and build them. Each branch had its own cache. What do you mean by "I don't see a bug"? The version prior to this one did not compile for me so there are two pathing related commits in what I built. Were you not able to reproduce the bug but were able to reproduce it for later versions? |
Google_Frog (reporter) 2015-03-16 14:28 |
Regardless, 98.0.1-426 has the bug. I trust my bisecting but it is not worth getting hung up on. |
abma (administrator) 2015-03-16 23:47 |
side-note: 98.0.1-426 is not a valid commit / version. due to force pushes / merges / tags this number isn't a static reference, so please use either the short tag, like 98.0.1-426-g1aad565 or the commit hash, like https://github.com/spring/spring/commit/1aad5655fadd5b191f6aab359202bec3ac96049d https://github.com/spring/spring/commits/develop as "TestBlock(): remove an unused arg" is broken, very likely it was introduced in "TestNeighborSquares(): save a few expensive ::IsBlockedNoSpeedModChec": https://github.com/spring/spring/commit/2d4ffe4c1e66471a2023a7f630da53a722cb33ab |
abma (administrator) 2015-03-16 23:48 |
> What do you mean by "I don't see a bug"? the bug wasn't introduced in this commit. |
abma (administrator) 2015-03-16 23:50 |
can you verify that the bug was introduced in https://github.com/spring/spring/commit/2d4ffe4c1e66471a2023a7f630da53a722cb33ab ? |
lamer (reporter) 2015-03-17 16:27 |
here's how it goes for me: * works: https://github.com/spring/spring/commit/736df0c543091907a3d890a7c20ed8cd52665e79 * won't compile: https://github.com/spring/spring/commit/2d4ffe4c1e66471a2023a7f630da53a722cb33ab * bug: https://github.com/spring/spring/commit/1e4342db2f6ba5e4572705e5d05b733e6a23c485 |
Google_Frog (reporter) 2015-03-18 12:25 |
" can you verify that the bug was introduced in https://github.com/spring/spring/commit/2d4ffe4c1e66471a2023a7f630da53a722cb33ab " No. I said: "The version prior to this one did not compile for me so there are two pathing related commits in what I built." |
abma (administrator) 2015-03-18 13:28 Last edited: 2015-03-20 03:06 |
verify = make it compile & test it or, if possible: revert the commit and test then goal is to reduce the ammount of code where the error was introduced or maybe already fix the error. |
cleanrock (reporter) 2015-03-20 17:51 |
I made 2d4ffe4 compile with and without the removal of "// check if square is outside search-constraint" block in CPathFinder::TestBlock, to make a long story short: jK, you broke pathing, start a NullAI game on 2_Mountains_Battlefield and see what happens when you try to walk your com down the mountain when standing close to the edge. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-13 00:34 | lamer | New Issue | |
2015-03-14 06:42 | Google_Frog | Note Added: 0014171 | |
2015-03-14 07:22 | Google_Frog | Note Added: 0014172 | |
2015-03-14 08:03 | Google_Frog | Note Added: 0014173 | |
2015-03-16 01:39 | abma | Note Added: 0014175 | |
2015-03-16 01:42 | abma | Note Edited: 0014175 | View Revisions |
2015-03-16 12:37 | Google_Frog | Note Added: 0014176 | |
2015-03-16 14:28 | Google_Frog | Note Added: 0014177 | |
2015-03-16 23:47 | abma | Note Added: 0014180 | |
2015-03-16 23:48 | abma | Note Added: 0014181 | |
2015-03-16 23:50 | abma | Note Added: 0014182 | |
2015-03-16 23:52 | abma | Target Version | => 99.0 |
2015-03-17 16:27 | lamer | Note Added: 0014186 | |
2015-03-18 12:25 | Google_Frog | Note Added: 0014187 | |
2015-03-18 13:28 | abma | Note Added: 0014188 | |
2015-03-18 13:29 | abma | Note Edited: 0014188 | View Revisions |
2015-03-20 03:06 | abma | Note Edited: 0014188 | View Revisions |
2015-03-20 17:51 | cleanrock | Note Added: 0014199 | |
2015-03-21 18:49 | Kloot | Status | new => resolved |
2015-03-21 18:49 | Kloot | Fixed in Version | => 98.0.1+git |
2015-03-21 18:49 | Kloot | Resolution | open => fixed |
2015-03-21 18:49 | Kloot | Assigned To | => Kloot |
2015-03-25 23:16 | jK | Relationship added | duplicate of 0004704 |
2015-03-25 23:16 | jK | Relationship deleted | 0004704 |