Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Char
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Char

    @Char

    4
    Posts
    696
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Char Follow

    Posts made by Char

    • RE: Room.serializePath returning string with undefined

      Oops, I was looking at the parameter description for moveByPath the whole time:

      "A path value as returned from Room.findPath, RoomPosition.findPathTo, or PathFinder.search methods. Both array form and serialized string form are accepted."

      Sorry if I confused anyone.

      posted in Technical Issues and Bugs
      Char
    • RE: Room.serializePath returning string with undefined

      @donatzor Oh, thank you very much for pointing this out!

      Looks like the document is not updated then.

      BTW the doc says that Room.serializePath() uses Jump Point Search and PathFinder.search() uses A* written in C++, which is claimed to be faster. Is it real or is it not updated as well?

      posted in Technical Issues and Bugs
      Char
    • Room.serializePath returning string with undefined

      Re: FR: Fix Room.deserializePath()

      I am having the same issue as someone posted 5 years ago, where Room.serializePath() doesn't return the numbers that represent directions properly. Here's a screenshot. 0_1617527896290_8c70bc02-e6ed-453c-9b15-f654e7664e4f-image.png Is this function supposed to be used like this? Or we should write our own?

      posted in Technical Issues and Bugs
      Char