/l2j-geoserver-rest

Use L2j GeoData & Pathfinding over REST API

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

l2j-geoserver-rest

Use L2j GeoData & Pathfinding over REST API

API

/canSeeTarget?&x=&y=&z=&tx=&ty=&tz=

{"canSee": true}

/findPath?&x=&y=&z=&tx=&ty=&tz=

[
   {
      "x":-81256,
      "z":-3120,
      "y":150184,
      "nodeX":35881,
      "nodeY":46250
   },
   {
      "x":-84536,
      "z":-3120,
      "y":150872,
      "nodeX":35676,
      "nodeY":46293
   }
]

Credits

This project is heavily based on L2J Server source code, whole GeoData logic was extracted and exposed via JSON REST API. I would like to thank to whole L2J Team to making this possible.