blackdtools / Blackd-Proxy-CLASSIC

Blackd Proxy CLASSIC
MIT License
9 stars 7 forks source link

when standing diagonally 2 SQM away from ladder, cavebot won't move closer to ladder to use it #70

Closed divinity76 closed 8 years ago

divinity76 commented 8 years ago

see here

the cavebot thinks it's already "close enough to the ladder"; and will attempt to use it, when standing 2SQM away diagonally, while obviously it needs to move closer first.. the character just stands there inifinitely with the client going "Too far away" (to use ladder). some bug in the cavebot pathfinder

divinity76 commented 8 years ago

this code in PerformMoveUp may be related, looks like it fails to notice that movement is required here https://github.com/blackdtools/Blackd-Proxy-CLASSIC/blob/693bfa758041c230ac17fea2bceba206d3f60828/modCavebot.bas#L4522

also, here is the "performUseItem" call when it should have moved closer instead - https://github.com/blackdtools/Blackd-Proxy-CLASSIC/blob/693bfa758041c230ac17fea2bceba206d3f60828/modCavebot.bas#L1074

divinity76 commented 8 years ago

fixed in commit fbd0a923bbc466c4815e14412cb0d02f5f9cad41 and c4b092cf73eaddd7b6390143190deb8717636492