Log in

View Full Version : [AI]Check quest status?


Renobizarro
11.08.2009, 11:36
i got a problem with subclass Raid Boss, they petrify the players that are making the quest fate's whisper and they should not...


somebody knows how to check if player is making some quest?


i found the problem and it is on raid_boss_standard AI...


here:


if( attacker.level > ( myself.sm.level + 8 ) && myself->GetAbnormalLevel(attacker,myself->Skill_GetAbnormalType(1155841)) < 99 )

{

myself->AddUseSkillDesire(attacker,1155841,0,1,1000000);

myself->RemoveAttackDesire(attacker.id);

}


but i don't know how to check if the player is on the quest...


something like if(attacker_is_not_doing_this_quest && attacker.level>(myself.sm.level+8)) {petrify}


if some1 know how to check that plz tellme ^^

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 08-11-2009, 11:36 AM. Открыть источник (https://web.archive.org/web/20100324121144id_/http://www.postpacific.com:80/archive/index.php/t-1038.html).

kold
11.08.2009, 12:46
Go look at decompiled AI.

Should take like 30s to find an example of HaveMemo() or GetMemoState()

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 08-11-2009, 12:46 PM. Открыть источник (https://web.archive.org/web/20100324121144id_/http://www.postpacific.com:80/archive/index.php/t-1038.html).

Renobizarro
11.08.2009, 19:06
that'z what i waz lookin for and i didn't remember... i was searching into decompiled ai for "quest" string.


tnx kold.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 08-11-2009, 07:06 PM. Открыть источник (https://web.archive.org/web/20100324121144id_/http://www.postpacific.com:80/archive/index.php/t-1038.html).