[Ohrrpgce] SVN: teeemcee/9050 xypair_wrapping_manhattan_distance was completely utterly wrong on wrapp

James Paige Bob at hamsterrepublic.com
Tue Jul 18 09:26:51 PDT 2017


Opps! I remember thinking when I wrote that code "Is this right?... Oh,
well the Wrapping Map in a-star.rpg works, so it must be right!"

Thank you for catching this.

On Tuesday, July 18, 2017, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2017-07-18 09:15:50 -0700 (Tue, 18 Jul 2017)
> 299
> xypair_wrapping_manhattan_distance was completely utterly wrong on
> wrapping maps. It's a miracle pathing on wrapping maps worked!
>
> And it was always like that, not just since my recent changes.
>
> I guess pathfinding is just like the rest of AI: you can never be sure
> it's correct, even when it works.
> ---
> U   wip/pathfinding.bas
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org <javascript:;>
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170718/d6e96495/attachment.htm>


More information about the Ohrrpgce mailing list