cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 47 forks source link

EventAI. #221

Closed ghost closed 11 years ago

ghost commented 11 years ago

Good evening.In EventAI new types of events, such as TIMER_GENERIС and RECEIVE_AI EVENT. Translate then translated, but unfortunately was not able to understand what they can do. RECEIVE_AI_EVENT probably in order to perform some action when such separation damage. I hope I issuе created where necessary. Thanks in advance. Type of action THROW_AI_EVENT also raises questions. Translate to Russia. Добрый вечер, В EventAI появились новые типы события, такие как TIMER_GENERIC и RECEIVE_AI_EVENT. Перевести то перевел, но к сожалению не смог понять, что они умеют и для чего. RECEIVE_AI_EVENT наверное для вызова действия при разделении дамага. Я надеюсь создал иссуй правильно и там, где надо. Заранее спасибо. Тип действия THROW_AI_EVENT также вызывает вопросы. Перевожу на свой родной язык, как вы и просили.

xfurry commented 11 years ago

Hi, I'll try to explain what those 2 events are doing.

  1. The TIMER_GENERIС means that the specified timer will expire bot in combat and offcombat. This will ignore any change in the combat state of the NPC. The other 2 times, will work only in or out of combat.
  2. The RECEIVE_AI EVENT is an event which is supposed to allow more dynamic scripting. The idea is to be able to send actions or information from EventAI to SD2 and reversed. You can see these example: https://github.com/scriptdev2/scriptdev2/commit/db7abfc25ecfbd677fdb173913fff583469e02d6 and https://github.com/scriptdev2/acid/commit/a0ba181ddb589a9268c480676b8b1763d4ca5d36 which basically reflects how SD2 works together with EAI.
ghost commented 11 years ago

Thanks, it became more clear. It would be a core of Pandaria, it would come in handy for sure (the events and all that, and on EventAI DB_Script could realize 5 percent), while in other versions of the game this improvement does not hurt. Спасибо, более понятно стало. Было бы Ядро Пандарии, оно бы пригодилось точно(события и все такое, На EventAI и DB_Script можно было бы процентов 5 реализовать), хотя и на других версиях игры это усовершенствование не помешает. P.S:https://github.com/scriptdev2/acid/issues/29 гляньте пожалуйста. Попытка помочь просто. Take a look please. Just trying to help. https://github.com/mangosR2/mangos/issues/1343 and https://github.com/mangosR2/mangos/issues/1324 Here's another fix two spells. In P2, it has been checked and fixed a. And I think you will have to work with. Вот еще фикс двух спеллов. В Р2 это пофиксили и было проверено. Думаю и у вас будет работать. Чтобы по 100 иссуев не создавать подряд. To 100 Issue does not create a row.

Schmoozerd commented 11 years ago

Nooooo AIEvents are not designed to wrap Acid and SD2 together. It might be usable in extremely rare cases, but must be avoided at all costs!

AIEvents are designed to allow scripting dynamic - especially group - behaviour of mob packs with EventAI (and to be used as a generic framework independendly within sd2)

Schmoozerd commented 11 years ago

@Ulduar You are more than welcome to prepare nice patches and post them for cmangos. Otherwise unfortunately such simple links often get forgotten :(

ghost commented 11 years ago

Please forgive me, but I only understand EventAI scripts (and not at all), and of the basic AI in SD2, can write. I study the code, but unfortunately I still have tea makers in it ( Translate to Russia: Простите пожалуйста, но я только в EventAI скриптах разбираюсь(и то не во всех), ну и базовое АИ в СД2 могу написать. Я изучаю код, но к сожалению я до сих пор чайник в нем(

ghost commented 11 years ago

Thank you for having responded to my question. Close Please issue. P.S: https://github.com/scriptdev2/acid/pull/45 Please see, made commit.

DomGries commented 11 years ago

Alright then closed as invalid bug report ;)