Path calculations broken

Path calculations broken

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Path calculations broken

Post by TradeMark »

See in below image:
Image

I've noticed long time ago that on flat maps it cant find the path sometimes, even when the destination is only 500pixels away from it.

--

Edit: managed to make it crash when i clicked on another location with con vehicles:
[ 53329] Construction Vehicle: Can't reach destination!
[ 53329] Construction Vehicle: Can't reach destination!
[ 53813] TradeMark paused the game
[ 53813] TradeMark unpaused the game
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Construction Vehicle: Can't reach destination!
[ 53860] Spring 0.80.5.0 (0.80.5-0-g17b4710{@}-cmake-mingw32) has crashed.
[ 53860] Exception: Access violation (0xc0000005)
[ 53860] Exception Address: 0x006c63be
[ 53860] DLL information:
[ 53860] 0x00400000 spring
[ 53860] 0x7c900000 ntdll
[ 53860] 0x7c800000 kernel32
[ 53860] 0x10000000 DevIL
[ 53860] 0x77c00000 MSVCRT
[ 53860] 0x01c30000 ILU
[ 53860] 0x77dc0000 ADVAPI32
[ 53860] 0x77e70000 RPCRT4
[ 53860] 0x77fe0000 Secur32
[ 53860] 0x61560000 GLU32
[ 53860] 0x5f250000 OPENGL32
[ 53860] 0x77f10000 GDI32
[ 53860] 0x7e360000 USER32
[ 53860] 0x73730000 DDRAW
[ 53860] 0x73b90000 DCIMAN32
[ 53860] 0x76c80000 IMAGEHLP
[ 53860] 0x6fbc0000 mingwm10
[ 53860] 0x7c9c0000 SHELL32
[ 53860] 0x77f60000 SHLWAPI
[ 53860] 0x71aa0000 WS2_32
[ 53860] 0x71a90000 WS2HELP
[ 53860] 0x6e940000 libgcc_s_dw2-1
[ 53860] 0x01c50000 SDL
[ 53860] 0x76b30000 WINMM
[ 53860] 0x7c340000 MSVCR71
[ 53860] 0x66fc0000 freetype6
[ 53860] 0x61b80000 zlib1
[ 53860] 0x6ed80000 glew32
[ 53860] 0x6b180000 vorbisfile
[ 53860] 0x63e00000 vorbis
[ 53860] 0x01ca0000 ogg
[ 53860] 0x01cc0000 OpenAL32
[ 53860] 0x76370000 IMM32
[ 53860] 0x62f30000 LPK
[ 53860] 0x75550000 USP10
[ 53860] 0x773c0000 comctl32
[ 53860] 0x5d5e0000 comctl32
[ 53860] 0x5b2a0000 uxtheme
[ 53860] 0x03930000 fsscoepl
[ 53860] 0x774d0000 ole32
[ 53860] 0x03990000 flashadgm32
[ 53860] 0x771a0000 WININET
[ 53860] 0x77a70000 CRYPT32
[ 53860] 0x77b10000 MSASN1
[ 53860] 0x77110000 OLEAUT32
[ 53860] 0x76d50000 iphlpapi
[ 53860] 0x77b30000 apphelp
[ 53860] 0x751a0000 msctfime
[ 53860] 0x69000000 atioglx2
[ 53860] 0x72270000 DINPUT
[ 53860] 0x68e80000 HID
[ 53860] 0x77910000 SETUPAPI
[ 53860] 0x76c20000 WINTRUST
[ 53860] 0x72cf0000 wdmaud
[ 53860] 0x72ce0000 msacm32
[ 53860] 0x77bd0000 MSACM32
[ 53860] 0x77bc0000 midimap
[ 53860] 0x73ee0000 dsound
[ 53860] 0x77bf0000 VERSION
[ 53860] 0x76fc0000 CLBCATQ
[ 53860] 0x77040000 COMRes
[ 53860] 0x73eb0000 KsUser
[ 53860] 0x07240000 FSLSP
[ 53860] 0x07280000 fsgkiapi
[ 53860] 0x07db0000 wrap_oal
[ 53860] 0x71a40000 mswsock
[ 53860] 0x075f0000 hnetcfg
[ 53860] 0x71a80000 wshtcpip
[ 53860] 0x59f80000 DBGHELP
[ 53860] Stacktrace:
[ 53860] (0) I:\Spring_805\spring.exe [0x006C63BE]
[ 53860] (1) I:\Spring_805\spring.exe [0x006C6743]
[ 53860] (2) I:\Spring_805\spring.exe [0x006C694C]
[ 53860] (3) I:\Spring_805\spring.exe [0x006C6B13]
[ 53860] (4) I:\Spring_805\spring.exe [0x006CB547]
[ 53860] (5) I:\Spring_805\spring.exe [0x006CBA8B]
[ 53860] (6) I:\Spring_805\spring.exe [0x006B000E]
[ 53860] (7) I:\Spring_805\spring.exe [0x006B408D]
[ 53860] (8) I:\Spring_805\spring.exe [0x006B4209]
[ 53860] (9) I:\Spring_805\spring.exe [0x006B42C7]
[ 53860] (10) I:\Spring_805\spring.exe [0x006AFA5E]
[ 53860] (11) I:\Spring_805\spring.exe [0x0075C7BD]
[ 53860] (12) I:\Spring_805\spring.exe [0x0075C8E0]
[ 53860] (13) I:\Spring_805\spring.exe [0x0075920E]
[ 53860] (14) I:\Spring_805\spring.exe [0x0075C4F9]
[ 53860] (15) I:\Spring_805\spring.exe [0x007692C5]
[ 53860] (16) I:\Spring_805\spring.exe [0x0077F842]
[ 53860] (17) I:\Spring_805\spring.exe [0x00759588]
[ 53860] (18) I:\Spring_805\spring.exe [0x00768C8A]
[ 53860] (19) I:\Spring_805\spring.exe [0x00466A5F]
[ 53860] (20) I:\Spring_805\spring.exe [0x004570BF]
[ 53860] (21) I:\Spring_805\spring.exe [0x00420700]
[ 53860] (22) I:\Spring_805\spring.exe [0x00422BFC]
[ 53860] (23) I:\Spring_805\spring.exe [0x007F24BA]
[ 53860] (24) I:\Spring_805\spring.exe [0x007F9415]
[ 53860] (25) I:\Spring_805\spring.exe [0x007EEC6B]
[ 53860] (26) I:\Spring_805\spring.exe [0x007EF111]
[ 53860] (27) I:\Spring_805\spring.exe [0x00887288]
[ 53860] (28) I:\Spring_805\spring.exe [0x0040124B]
[ 53860] (29) I:\Spring_805\spring.exe [0x004012B8]
[ 53860] (30) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Path calculations broken

Post by TradeMark »

After randomizing the heightmap it seems to work like it should:

Image

Edit: tested again with less random, only 1 height differences on the surface, and it works too:

Image

I noticed i tested only with arm units, but after testing with core units, it works as well as with arm units.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Path calculations broken

Post by zerver »

Yeah, i agree something is wrong. It has become much more common for units to refuse to move when you give them an order.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Path calculations broken

Post by Tobi »

Does there exist a released map on which this is reproducible?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Path calculations broken

Post by TradeMark »

i think this should be:
http://mapinfo.adune.nl/?map=Speed_Ball ... NoMetal_V3

not sure tho, but its exactly the same heightmap i used in testing.

--

i think this might have something to do with this:
http://springrts.com/phpbb/viewtopic.php?f=11&t=20967

nevertheless, my maps arent the only maps where ive seen this behaviour, for example on Tabula flat places you can encounter this bug too.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Path calculations broken

Post by Tobi »

Can't reproduce it. (yet)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Path calculations broken

Post by TradeMark »

did you try isle coordinates 0x0, 3x3 and 1x1 ?

would it help if i send the replay where i tested it? (if it even recorded it...)
Post Reply

Return to “Help & Bugs”