[Next Message in Time] | [Previous Message in Time] | [Next Message in Topic] | [Previous Message in Topic]

Message ID: 16689
Date: Thu Mar 23 16:26:56 GMT 2000
Author: kim@stormhaven.org
Subject: RE: [eqbards] Just because, Patch Message.


On Thu, 23 Mar 2000, Kimes, Dean W. wrote:
> >
> >> Corrected a bug in the /follow process that would cause your character
> >> to loop around to the right at times when following someone.
>
> >Hope so. This bug makes Selo's group travel really annoying.
>
> Heh heh, they forgot a line.
>
> Corrected a bug in the /follow process that would cause your character
> to loop around to the right at times when following someone.
>
> They now loop around to the left as originally intended.

Heh. One of the bards on the Concert Hall was the one who
posted the fix to it and managed to flag Abashi's attention.

If you think of your direction as a compass degrees, if your
friend is at 159 and you are facing 120, the obvious way to
get you to follow your friend is to gradually increase your
heading - 125, 130, 135, 140, 145, 150, 155, 159. Likewise,
if your friend was at 94, you'd decrease your heading - 115,
110, 105, 100, 95, 94. The problem with coding it like that
is if your friend is at 359 and you're facing 5. The logic
says since 5 is less than 359, to increase the 5 until you hit
359. That makes you loop around to the right.

--
John H. Kim
kim@...