Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.08.2009, 11:36   #1
Renobizarro
Guest
 
Posts: n/a
Default [AI]Check quest status?

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. Открыть источник.
 
Old 11.08.2009, 12:46   #2
kold
Guest
 
Posts: n/a
Default [AI]Check quest status?

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. Открыть источник.
 
Old 11.08.2009, 19:06   #3
Renobizarro
Guest
 
Posts: n/a
Default [AI]Check quest status?

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. Открыть источник.
 
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:40.