[Ohrrpgce] SVN: james/10194 Call update_hero_pathfinding() on every tick for each hero

Ralph Versteegen teeemcee at gmail.com
Mon Mar 26 17:51:19 PDT 2018


On 27 March 2018 at 13:29, James Paige <Bob at hamsterrepublic.com> wrote:

> Oh, right! I meant to fix that... I actually dreamed that I fixed it  a
> few nights back, which might be why I forgot about it in the waking world ;)


Then it's too bad you don't sleep-walk when dreaming about programming! :)

>
>
> On Monday, March 26, 2018, Ralph Versteegen <teeemcee at gmail.com> wrote:
>
>>
>> In SUB update_hero_pathfinding:
>>
>> + IF rank > 0 ANDALSO NOT caterpillar_is_suspended() THEN
>> +  'quietly do nothing when trying to update non-leaders
>> +  'while caterpillar party is enabled
>> +  EXIT SUB
>> + END IF
>>
>> I'm guessing, but should there be a call to cancel_hero_pathfinding here?
>> If you tell a hero other than the leader to pathfind, then resume the
>> caterpillar (stopping the movement), and a bit later suspend the
>> caterpillar again, will they resume the old pathfinding command?
>>
>> On 27 March 2018 at 11:15, <subversion at hamsterrepublic.com> wrote:
>>
>>> james
>>> 2018-03-26 15:15:15 -0700 (Mon, 26 Mar 2018)
>>> 189
>>> Call update_hero_pathfinding() on every tick for each hero
>>> Does nothing on non-leaders when caterpillar is enabled.
>>> when suspendplayer happens. pathing with .by_user = YES is auto-cancelled
>>> ---
>>> U   wip/game.bas
>>> U   wip/game.bi
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>>
>>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> 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/20180327/7a0c84d8/attachment.html>


More information about the Ohrrpgce mailing list