[SGC-SOFT] Aion Geo & PathFind Api

Написано командой Syntax Game Code

ntlzthm8

Administrator
[Боженька]
Командный игрок
Итак, в чем текущая суть разработки?
Гео одна из самых обсуждаемых тем для разработчиков java серверов Айона, и практически самая недоступная в силу своей сложности.
В разное время было сделано несколько всяких гео-билдеров, гео-парсеров и прочих ПО, но не все работают хорошо, и не всем доступно их использование.

Я же, поняв как в целом создавать гео и работать с ним, как и остальные - конечно же не раскрою секретов создание гео файлов для сборок, и не выложу каких либо ПО на эту тематику.
Но, пришла мне одна мысль и я сделал Api сервис, который предоставляет услуги гео по Айон.
Это пока стартовая версия, которая перехватывает часть функций из гео движка. В фильной версии можно будет полностью вырезать гео движок из java сборки, и заменить на передовые технологии.

Собственно, что же это за Api такой. Для многих разработчиков серверов Aion - "Api" очень тяжелое слово, они тупо его не понимают, они застряли в 2010 годах, в java 7-8 и понятия не имеют как делать что-то новое.

Api сервис - в данном случае это HTTP сервис, в который aion java GS делает запрос и получает ответ. В данном случае это различные гео позиции (getCollisiona()), z координаты (getZ()), функции canSee() и так далее.

Сам сервис расположен по адресу
Please, Вход or Регистрация to view URLs content!


Как его использовать, можно посмотреть в
Please, Вход or Регистрация to view URLs content!

Я взял какой-то говно-сервер и прикрутил к нему мой API (пока частично, мне очень тяжело ковыряться в этом говне, которое слепило сообщество рукожопых разработчиков java Aion)
У многих сразу возникнет вопрос, а как же скорость? Со скоростью всё в порядке! Если сервера GS будут находится на расстоянии 10мс (ping), то скорости хватает с запасом.

!!! В текущем бесплатном варианте скорость запросов снижена и доступна только одна локация - Фоэта.

Расчёт PathFind (поиск пути обхода препятствий) можно пока юзать по ссылке, со временем добавлю в GS:
Please, Вход or Регистрация to view URLs content!

где подставляете свои значения:
x,y - начало пути
tx,ty - конец пути


z,tz - необязательные значения
 
  • Like
Реакции: WeRn
So, what is the current essence of development?
Geo is one of the most discussed topics for developers of aion java servers, and almost the most inaccessible due to its complexity.
At various times, several geo-builders, geo-parsers and other software have been made, but not all work well, and not everyone can use them.

I, having understood how to generally create geo and work with it, like the rest, of course, I will not reveal the secrets of creating geo files for assemblies, and I will not post any software on this topic.
But, one thought came to me and I made an Api service that provides geo services for Aion.
This is still the initial version, which intercepts some of the functions from the geo engine. In the final version, it will be possible to completely cut the geo engine from the java build, and replace it with advanced technologies.

Actually, what kind of Api is this. For many Aion server developers, "Api" is a very hard word, they stupidly do not understand it, they are stuck in 2010, in java 7-8 and have no idea how to do something new.

Api service - in this case, it is an HTTP service to which aion java GS makes a request and receives a response. In this case, these are various geo positions (getCollisiona()), z coordinates (getZ()), canSee() functions, and so on.

The service itself is located at
Please, Вход or Регистрация to view URLs content!

How to use it, you can see in
Please, Вход or Регистрация to view URLs content!


I took some shit server and screwed my API to it (partially so far, it's very hard for me to pick at this shit that blinded the community of hand-ass java Aion developers)
Many will immediately have a question, but what about speed? There's nothing wrong with the speed! If the GS servers are located at a distance of 10ms (ping), then the speed is enough with a margin.

!!! In the current free version, the speed of requests is reduced and only one location is available - the Poeta.

The calculation of PathFind (finding a way around obstacles) can be used by the link for now, I will add it to GS over time:
Please, Вход or Регистрация to view URLs content!

where you substitute your values:
x,y - the beginning of the path
tx,ty - end of the path


z,tz - optional values
 
Назад
Верх