PDA

View Full Version : [Share]Straider Quest


serafim
06.05.2006, 15:01
my first version. Enjoi :)
some npc text writen in Russian lang

PS:Sorry for my bad english

Eanae
06.05.2006, 15:55
Very nice. Will test it soon. Can someone do a good retail translation of HTML's?

andrei1516
06.05.2006, 16:33
Спасибо челл, кстати я тут и остальные перевёл, так уж что бы весь квест был на русском!!!

sage_cronos_q0421_01.htm
<html><head><body>Sage Cronos:

Что же, ты хочешь превратить своего hatchling'a в более мошное сушество?


<a action="bypass -h menu_select?ask=421&reply=1">Да, скажи мне как это сделать</a>

</body></html>


sage_cronos_q0421_02.htm
<html><head><body>Sage Cronos:

Ты должен быть минимум 45 левелом, что бы закончить этот квест.</body></html>

sage_cronos_q0421_03.htm
<html><head><body>Sage Cronos:

Ну иди же,я к сожелению не смогу тебе помочь больше ни чем, отпровляйся к моей сестре <font color=\"LEVEL\">Fairy Mymyu</font>.
Ты должен её найти!!! Если тебе это ешё нужно.</body></html>


sage_cronos_q0421_04.htm
<html><head><body>Sage Cronos:

Твой драконьчик должен быть не меньше 55 левела для выполнения этого квеста.</body></html>


sage_cronos_q0421_05.htm
<html><head><body>
Твой hatchling должен быть вызван для того чтобы законьчить этот квест.</body></html>


sage_cronos_q0421_06.htm
<html><head><body>Sage Cronos:

Ты должен пойти и увидется с моёй сестрой <font color=\"LEVEL\">Fairy Mymyu</font>,
Она сможет помочь тебе.</body></html>


Квест в тесте!!!

Eanae
06.05.2006, 16:55
NEW RULE (specially for russians)

9.) Posting language
We only allow english post, so if you can't write it use a translator (http://babelfish.altavista.com/). You guys can post it in both languages, russian/english, spanish/english, whatever/english but always leave a english version with it.


... :roll:

serafim
06.05.2006, 17:51
Has forgotten to specify one thing, for passage of a quest it is necessary to find trees in strict sequence in which specifies Fairy MyuoMyuo
2 andrei1516 - Thanks for translation :)

Sunrise
06.05.2006, 21:33
english htmls...

hel
06.05.2006, 22:01
serafim:
Yeeeea!! Great job!
Take some points. ^^

Shraier
06.05.2006, 23:56
nice one!
thanks ^^

Den2Fast
07.05.2006, 10:26
Thx man, nice share!
/rus/ Спасибо, так держать! /rus/

Den2Fast
07.05.2006, 10:26
Thx man, nice share!
/rus/ Спасибо, так держать! /rus/

mantrastic
07.05.2006, 11:39
Thanks man! nice!

mantrastic
07.05.2006, 11:39
Thanks man! nice!

Den2Fast
07.05.2006, 13:34
hmmm.... i change my AI to your, and my NPC server many times wrie can't find AI handler?

Den2Fast
07.05.2006, 13:34
hmmm.... i change my AI to your, and my NPC server many times wrie can't find AI handler?

andrei1516
07.05.2006, 13:44
hmmm.... i change my AI to your, and my NPC server many times wrie can't find AI handler?

hm, in my server this quest work perfect, but in you server, hm chek you AI on dublecated...

andrei1516
07.05.2006, 13:44
hmmm.... i change my AI to your, and my NPC server many times wrie can't find AI handler?

hm, in my server this quest work perfect, but in you server, hm chek you AI on dublecated...

Shraier
07.05.2006, 14:37
Has forgotten to specify one thing, for passage of a quest it is necessary to find trees in strict sequence in which specifies Fairy MyuoMyuo
2 andrei1516 - Thanks for translation :)

What sequence? Wind, Star, Twilight and Abyss ?

and... do you have to kill trees or your hatchling?

//I haven't tested it yet

thanks for help

Shraier
07.05.2006, 14:37
Has forgotten to specify one thing, for passage of a quest it is necessary to find trees in strict sequence in which specifies Fairy MyuoMyuo
2 andrei1516 - Thanks for translation :)

What sequence? Wind, Star, Twilight and Abyss ?

and... do you have to kill trees or your hatchling?

//I haven't tested it yet

thanks for help

L2Character
07.05.2006, 16:02
Tree Guardians dont go agro when you attack the tree.

L2Character
07.05.2006, 16:02
Tree Guardians dont go agro when you attack the tree.

serafim
07.05.2006, 16:18
The order is those-
1)Fairy Trees of Wind
2)Fairy Trees of Star
3)Fairy Trees of Twilight
4)Fairy Trees of Abyss

Trees should attack only hatchling, you should not touch them.
What to win a tree yours hatchling should put approximately 100 impacts and thus the main thing to not kill a tree

serafim
07.05.2006, 16:18
The order is those-
1)Fairy Trees of Wind
2)Fairy Trees of Star
3)Fairy Trees of Twilight
4)Fairy Trees of Abyss

Trees should attack only hatchling, you should not touch them.
What to win a tree yours hatchling should put approximately 100 impacts and thus the main thing to not kill a tree

L2Character
07.05.2006, 18:02
But the Guardians just stand there?

L2Character
07.05.2006, 18:02
But the Guardians just stand there?

serafim
07.05.2006, 18:58
Oh sorry remove from tree npcpos - Privates = [guardian_of_tree:party_private:1:5sec;guardian_of_ tree:party_private:1:5sec;guardian_of_tree:party_p rivate:1:5sec;guardian_of_tree:party_private:1:5se c;guardian_of_tree:party_private:1:5sec;guardian_o f_tree:party_private:1:5sec]

serafim
07.05.2006, 18:58
Oh sorry remove from tree npcpos - Privates = [guardian_of_tree:party_private:1:5sec;guardian_of_ tree:party_private:1:5sec;guardian_of_tree:party_p rivate:1:5sec;guardian_of_tree:party_private:1:5se c;guardian_of_tree:party_private:1:5sec;guardian_o f_tree:party_private:1:5sec]

sando
09.05.2006, 16:20
Hatchling hit the trees... but nothing happens...TT

serafim
09.05.2006, 17:51
Hatchling hit the trees... but nothing happens...TT
Has forgotten to specify one thing, for passage of a quest it is necessary to find trees in strict sequence in which specifies Fairy MyuoMyuo
The order is those-
1)Fairy Trees of Wind
2)Fairy Trees of Star
3)Fairy Trees of Twilight
4)Fairy Trees of Abyss

Trees should attack only hatchling, you should not touch them.
What to win a tree yours hatchling should put approximately 100 impacts and thus the main thing to not kill a tree

srh
10.05.2006, 13:26
big respect . :)

Amanda
10.05.2006, 16:35
nice job (+^_^+) thk

vex
13.05.2006, 14:09
quest_begin id=421 level=1 name=[Little Wing's Big Adventure] desc=[Wiseman Cronos suggests you consult Fairy Mymyu concerning the raising of a strider.] step=[In Search of Mymyu] quest_item={} quest_item_amt={} quest_mask1=[00000000000000000000000000000000] quest_mask2=[00000000000000000000000000000000] quest_mask3=[00000000000000000000000000000000] level_limit1=45 level_limit2=0 other_attr=2 target=[] readable=1 quest_end
quest_begin id=421 level=2 name=[Little Wing's Big Adventure] desc=[Fairy Mymyu examines your hatchling and tells you the story of the four fairy trees and their guardians. She tells you to feed the sap of these trees to your hatchling. Go to each of the four fairy trees of wind, star, twilight and abyss and let your hatchling drink their sap. You must guard your hatchling as it drinks. When it has finished drinking, attach a fairy leaf to the fairy tree.] step=[The Sap of Fairy Trees] quest_item={4325} quest_item_amt={4} quest_mask1=[00000000000000000000000000000000] quest_mask2=[00000000000000000000000000000000] quest_mask3=[00000000000000000000000000000000] level_limit1=45 level_limit2=0 other_attr=2 target=[] readable=1 quest_end
quest_begin id=421 level=3 name=[Little Wing's Big Adventure] desc=[Your hatchling has drunk the sap of all four fairy trees-- the wind, star, twilight and abyss. The preparations for its growth have been completed. Return to Fairy Mymyu.] step=[Return to Fairy Mymyu] quest_item={} quest_item_amt={} quest_mask1=[00000000000000000000000000000000] quest_mask2=[00000000000000000000000000000000] quest_mask3=[00000000000000000000000000000000] level_limit1=45 level_limit2=0 other_attr=2 target=[] readable=1 quest_end

s00r
13.05.2006, 21:20
help me please with npcdata for sage_cronos

what correct end ?

npc_ai={[sage_cronos];{[fnHi] = ...

KTPSMF
13.05.2006, 21:27
prof quest for sws to cronos not working ;)

Morte
14.05.2006, 10:51
prof quest for sws to cronos not working ;)
check replies/ask. probably different then your server %))

kadi
14.05.2006, 14:36
so we have the same problem like other here the first tree the wind count until +- 100 then the leave disappear
but the other tree (star) dont count (all dont count after wind)
did some one know why ??

amin
14.05.2006, 16:48
so we have the same problem like other here the first tree the wind count until +- 100 then the leave disappear
but the other tree (star) dont count (all dont count after wind)
did some one know why ??
I have same problem here. :(

2Rain
14.05.2006, 18:46
What about start HTMLs for Cronos an butterfly?

kadi
16.05.2006, 13:31
hi so i find the fault by my self
make shure u have switcht the quest_pch and quest_pch2 too then it works
but
1). at beginn from hatchling quest u get first styder quest talk too cronos 2 times then u get the right quest

2). only the tree of wind cou7nt the other not but if ur hatchling bit long enough the trees says u win (it means they count not loud)

but now it works
BIG THX FOR POSTING
and if someone can tell me how too fix the rest probs it would be nice

amin
16.05.2006, 15:33
1st Tree's AI:

EventHandler ATTACKED
...
SayInt(myself.i_quest1);
if (myself.i_quest0 == 0) {
...


Others' AIs:

EventHandler ATTACKED
...
//do not have this line, but it works anyway.
if (myself.i_quest0 == 0) {
...


btw, in 3rd Tree's, you have to remove this line:

DeleteItem1(attacker.master, @q0421_fairy_leaf, 1);

Dont ask me for AIdec or nasc, since all others are the property of their respective owners.

Thanks for the share.

2Rain
22.05.2006, 08:46
Well. I am not "respective owner" and I don't wish f*cks with NUSC. Anybody translate it in "human" AI code? ;)

P.S.: If I share any my works and made mistakes, I reshare corrected version in same topic later. What attitude for people here? :-\

Firedaemon
23.05.2006, 05:06
Attached is the converted source


class sage_cronos : citizen {

handler:

EventHandler TALK_SELECTED(_choiceN, _code, _from_choice, talker) {
if (_from_choice == 0) {
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0) && (OwnItemCount(talker, @symbol_of_cronos) == 0)) {
_choiceN = (_choiceN+1);
_code = 0;
AddChoice(0, "Trial of the Scholar");
}
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) >= 1) && (OwnItemCount(talker, @cronos_sigil) >= 1)) {
_choiceN = (_choiceN+1);
_code = 1;
AddChoice(1, "Trial of the Scholar");
}
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @symbol_of_cronos) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0)) {
_choiceN = (_choiceN+1);
_code = 2;
AddChoice(2, "Trial of the Scholar");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 1)) {
_choiceN = (_choiceN+1);
_code = 3;
AddChoice(3, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) || (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
_choiceN = (_choiceN+1);
_code = 4;
AddChoice(4, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 5;
AddChoice(5, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 6;
AddChoice(6, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 3)) {
_choiceN = (_choiceN+1);
_code = 7;
AddChoice(7, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 10)) {
_choiceN = (_choiceN+1);
_code = 8;
AddChoice(8, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 4) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 9;
AddChoice(9, "Little Wing");
}
if ((HaveMemo(talker, 421) == 0) && (HaveMemo(talker, @little_wings) != 1) && (HaveMemo(talker, @trial_of_scholar) != 1) && (OwnItemCount(talker, @dragonflute_of_wind) == 1) || (OwnItemCount(talker, @dragonflute_of_star) == 1) || (OwnItemCount(talker, @dragonflute_of_twilight) == 1)) {
_choiceN = (_choiceN+1);
_code = 10;
AddChoice(10, "LittleWingAdventures");
}
if (HaveMemo(talker, 421) == 1) {
_choiceN = (_choiceN+1);
_code = 11;
AddChoice(11, "LittleWingAdventures");
}
if (_choiceN > 1) {
ShowChoicePage(talker, 1);
return;
}
}
if ((_from_choice || (_choiceN == 1))) {
if (_code == 0) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0) && (OwnItemCount(talker, @symbol_of_cronos) == 0)) {
ShowPage(talker, "sage_cronos_q0214_01.htm");
}
}
else if (_code == 1) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) >= 1) && (OwnItemCount(talker, @cronos_sigil) >= 1)) {
if ((OwnItemCount(talker, @scripture_chapter_1) >= 1) && (OwnItemCount(talker, @scripture_chapter_2) >= 1) && (OwnItemCount(talker, @scripture_chapter_3) >= 1) && (OwnItemCount(talker, @scripture_chapter_4) >= 1)) {
ShowPage(talker, "sage_cronos_q0214_12.htm");
}
else {
ShowPage(talker, "sage_cronos_q0214_11.htm");
}
}
}
else if (_code == 2) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @symbol_of_cronos) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0)) {
ShowPage(talker, "sage_cronos_q0214_15.htm");
}
}
else if (_code == 3) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 1)) {
ShowPage(talker, "sage_cronos_q0420_01.htm");
}
}
else if (_code == 4) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) || (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
ShowPage(talker, "sage_cronos_q0420_07.htm");
}
}
else if (_code == 5) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_08.htm");
SetMemoState(talker, @little_wings, 3);
}
}
else if (_code == 6) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_14.htm");
}
}
else if (_code == 7) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 3)) {
ShowPage(talker, "sage_cronos_q0420_09.htm");
}
}
else if (_code == 8) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 10)) {
ShowPage(talker, "sage_cronos_q0420_10.htm");
}
}
else if (_code == 9) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 4) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_11.htm");
}
}
else if (_code == 10) {
if (_from_choice == 0) {
ShowPage(talker, "sage_cronos_q0421_01.htm");
}
}
else if (_code == 11) {
if (_from_choice == 0) {
ShowPage(talker, "sage_cronos_q0421_03.htm");
}
}
return;
}
super;
}
// 107 functions called (27+80)


EventHandler MENU_SELECTED(ask, c0, reply, talker) {
if (ask == 214) {
if (reply == 1) {
ShowPage(talker, "sage_cronos_q0214_02.htm");
}
if (reply == 2) {
ShowPage(talker, "sage_cronos_q0214_03.htm");
}
if (reply == 3) {
ShowPage(talker, "sage_cronos_q0214_04.htm");
}
if (reply == 4) {
ShowPage(talker, "sage_cronos_q0214_05.htm");
}
if (reply == 5) {
ShowPage(talker, "sage_cronos_q0214_06.htm");
}
if (reply == 6) {
ShowPage(talker, "sage_cronos_q0214_07.htm");
}
if (reply == 7) {
ShowPage(talker, "sage_cronos_q0214_08.htm");
}
if (reply == 8) {
ShowPage(talker, "sage_cronos_q0214_09.htm");
}
if (reply == 9) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
ShowPage(talker, "sage_cronos_q0214_10.htm");
GiveItem1(talker, @cronos_sigil, 1);
GiveItem1(talker, @cronos_letter, 1);
}
}
if (reply == 10) {
ShowPage(talker, "sage_cronos_q0214_13.htm");
}
if (reply == 11) {
if (OwnItemCount(talker, @dieters_diary) >= 1) {
ShowPage(talker, "sage_cronos_q0214_14.htm");
DeleteItem1(talker, @scripture_chapter_1, OwnItemCount(talker, @scripture_chapter_1));
DeleteItem1(talker, @scripture_chapter_2, OwnItemCount(talker, @scripture_chapter_2));
DeleteItem1(talker, @scripture_chapter_3, OwnItemCount(talker, @scripture_chapter_3));
DeleteItem1(talker, @scripture_chapter_4, OwnItemCount(talker, @scripture_chapter_4));
DeleteItem1(talker, @cronos_sigil, OwnItemCount(talker, @cronos_sigil));
DeleteItem1(talker, @treafs_ring, OwnItemCount(talker, @treafs_ring));
DeleteItem1(talker, @dieters_diary, 1);
GiveItem1(talker, @symbol_of_cronos, 1);
}
}
}
if (ask == 420) {
if (reply == 1) {
ShowPage(talker, "sage_cronos_q0420_02.htm");
}
if (reply == 2) {
ShowPage(talker, "sage_cronos_q0420_03.htm");
}
if (reply == 3) {
ShowPage(talker, "sage_cronos_q0420_04.htm");
}
if (reply == 4) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fs, 1);
ShowPage(talker, "sage_cronos_q0420_05.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 5) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fsd, 1);
ShowPage(talker, "sage_cronos_q0420_06.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 6) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fs, 1);
SetMemoState(talker, @little_wings, 11);
ShowPage(talker, "sage_cronos_q0420_12.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 7) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fsd, 1);
SetMemoState(talker, @little_wings, 11);
ShowPage(talker, "sage_cronos_q0420_13.htm");
SetMemoState(talker, @little_wings, 2);
}
}
}
if (ask == 421) {
if (reply == 1) {
if (talker.level < 45) {
ShowPage(talker, "sage_cronos_q0421_02.htm");
}
else {
if ((talker.level >= 45) && (talker.flag != 0)) {
c0 = GetCreatureFromIndex(talker.flag);
if ((DistFromMe(c0) < 100) && (DistFromMe(c0) > 5) && (c0.npc_class_id == 1012311) || (c0.npc_class_id == 1012312) || (c0.npc_class_id == 1012313)) {
if (c0.level >= 55) {
SetMemo(talker, 421);
SetMemoState(talker, 421, 1);
SoundEffect(talker, "ItemSound.quest_accept");
ShowPage(talker, "sage_cronos_q0421_06.htm");
}
else {
ShowPage(talker, "sage_cronos_q0421_04.htm");
}
}
else {
ShowPage(talker, "sage_cronos_q0421_05.htm");
}
}
else {
if (talker.flag == 0) {
ShowPage(talker, "sage_cronos_q0421_05.htm");
}
}
}
}
}
super;
}
// 68 functions called (46+22)

}



class fairy_mymyu : citizen {

handler:

EventHandler TALK_SELECTED(_choiceN, _code, _from_choice, i0, myself, talker) {
if (_from_choice == 0) {
if ((HaveMemo(talker, @little_wings) == 1) && (OwnItemCount(talker, @q_fairy_stone) == 1)) {
_choiceN = (_choiceN+1);
_code = 0;
AddChoice(0, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 1;
AddChoice(1, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 5)) {
_choiceN = (_choiceN+1);
_code = 2;
AddChoice(2, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 6) && (OwnItemCount(talker, @q_juice_of_monkshood) == 1)) {
_choiceN = (_choiceN+1);
_code = 3;
AddChoice(3, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 7)) {
_choiceN = (_choiceN+1);
_code = 4;
AddChoice(4, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 8)) {
_choiceN = (_choiceN+1);
_code = 5;
AddChoice(5, "Little Wing");
}
if (HaveMemo(talker, 421) == 0) {
if ((HaveMemo(talker, @little_wings) == 0) || (GetMemoState(talker, @little_wings) < 4) || (GetMemoState(talker, @little_wings) > 8) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
_choiceN = (_choiceN+1);
_code = 6;
AddChoice(6, "Little Wing");
}
}
if ((HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 1)) {
_choiceN = (_choiceN+1);
_code = 7;
AddChoice(7, "Little Wing Adventures");
}
if ((HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 2)) {
_choiceN = (_choiceN+1);
_code = 8;
AddChoice(8, "Little Wing Adventures");
}
if ((HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 3) && (OwnItemCount(talker, @q0421_fairy_leaf) == 0)) {
_choiceN = (_choiceN+1);
_code = 9;
AddChoice(9, "Little Wing Adventures");
}
if (_choiceN > 1) {
ShowChoicePage(talker, 1);
return;
}
}
if ((_from_choice || (_choiceN == 1))) {
if (_code == 0) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (OwnItemCount(talker, @q_fairy_stone) == 1)) {
ShowPage(talker, "fairy_mymyu_q0420_02.htm");
}
}
else if (_code == 1) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "fairy_mymyu_q0420_04.htm");
}
}
else if (_code == 2) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 5)) {
ShowPage(talker, "fairy_mymyu_q0420_07.htm");
}
}
else if (_code == 3) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 6) && (OwnItemCount(talker, @q_juice_of_monkshood) == 1)) {
ShowPage(talker, "fairy_mymyu_q0420_09.htm");
}
}
else if (_code == 4) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 7)) {
if ((OwnItemCount(talker, @q_egg_of_drake_exarion) < 20) && (OwnItemCount(talker, @q_egg_of_drake_zwov) < 20) && (OwnItemCount(talker, @q_egg_of_drake_kalibran) < 20) && (OwnItemCount(talker, @q_egg_of_wyrm_suzet) < 20) && (OwnItemCount(talker, @q_egg_of_wyrm_shamhai) < 20)) {
ShowPage(talker, "fairy_mymyu_q0420_10.htm");
}
else {
ShowPage(talker, "fairy_mymyu_q0420_11.htm");
}
}
}
else if (_code == 5) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 8)) {
ShowPage(talker, "fairy_mymyu_q0420_12.htm");
}
}
else if (_code == 6) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 0) || (GetMemoState(talker, @little_wings) < 4) || (GetMemoState(talker, @little_wings) > 8) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
myself.i_quest0 = (myself.i_quest0+1);
i0 = (myself.i_quest0%3);
if (i0 == 0) {
InstantTeleport(myself.sm, 109816, 40854, -4640);
}
else {
if (i0 == 1) {
InstantTeleport(myself.sm, 108940, 41615, -4643);
}
else {
InstantTeleport(myself.sm, 110395, 41625, -4642);
}
}
}
}
else if (_code == 7) {
if ((_from_choice == 0) || (HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 1)) {
ShowPage(talker, "fairy_mymyu_q0421_001.htm");
}
}
else if (_code == 8) {
if ((_from_choice == 0) || (HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 2)) {
ShowPage(talker, "fairy_mymyu_q0421_003.htm");
}
}
else if (_code == 9) {
if ((_from_choice == 0) || (HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 3) && (OwnItemCount(talker, @q0421_fairy_leaf) == 0)) {
ShowPage(talker, "fairy_mymyu_q0421_004.htm");
}
}
return;
}
super;
}
// 80 functions called (24+56)


EventHandler MENU_SELECTED(ask, c0, i0, reply, talker) {
if (ask == 420) {
if (reply == 1) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
DeleteItem1(talker, @q_fairy_stone, OwnItemCount(talker, @q_fairy_stone));
SetMemoState(talker, @little_wings, 5);
ShowPage(talker, "fairy_mymyu_q0421_003.htm");
}
}
if ((reply == 3) && OwnItemCount(talker, @q_fairy_stone_delux)) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_fairy_dust, 1);
DeleteItem1(talker, @q_fairy_stone_delux, OwnItemCount(talker, @q_fairy_stone_delux));
SetMemoState(talker, @little_wings, 5);
ShowPage(talker, "fairy_mymyu_q0420_05.htm");
}
}
if (reply == 2) {
ShowPage(talker, "fairy_mymyu_q0420_06.htm");
}
if (reply == 4) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_juice_of_monkshood, 1);
SetMemoState(talker, @little_wings, 6);
ShowPage(talker, "fairy_mymyu_q0420_08.htm");
SetJournal(talker, 420, 5);
}
}
if (reply == 5) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
ShowPage(talker, "fairy_mymyu_q0420_13.htm");
}
else {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
i0 = Rand(100);
if (OwnItemCount(talker, @q_egg_of_drake_exarion) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 45) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 75) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 50) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_drake_exarion, OwnItemCount(talker, @q_egg_of_drake_exarion));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_suzet) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 55) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 65) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 95) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_wyrm_suzet, OwnItemCount(talker, @q_egg_of_wyrm_suzet));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_kalibran) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 60) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 90) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_drake_kalibran, OwnItemCount(talker, @q_egg_of_drake_kalibran));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_shamhai) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
if (i0 < 85) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_wyrm_shamhai, OwnItemCount(talker, @q_egg_of_wyrm_shamhai));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_zwov) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 90) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
CreatePet(talker, 3500, 1012311);
}
DeleteItem1(talker, @q_egg_of_drake_zwov, OwnItemCount(talker, @q_egg_of_drake_zwov));
}
}
}
}
}
RemoveMemo(talker, @little_wings);
SoundEffect(talker, "ItemSound.quest_finish");
ShowPage(talker, "fairy_mymyu_q0420_16.htm");
}
}
}
if (reply == 7) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
i0 = Rand(100);
if (OwnItemCount(talker, @q_egg_of_drake_exarion) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 45) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 75) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 50) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_drake_exarion, OwnItemCount(talker, @q_egg_of_drake_exarion));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_suzet) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 55) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 65) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 95) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_wyrm_suzet, OwnItemCount(talker, @q_egg_of_wyrm_suzet));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_kalibran) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 60) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 90) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_drake_kalibran, OwnItemCount(talker, @q_egg_of_drake_kalibran));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_shamhai) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
if (i0 < 85) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_wyrm_shamhai, OwnItemCount(talker, @q_egg_of_wyrm_shamhai));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_zwov) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 90) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
CreatePet(talker, 3500, 1012311);
}
DeleteItem1(talker, @q_egg_of_drake_zwov, OwnItemCount(talker, @q_egg_of_drake_zwov));
}
}
}
}
}
RemoveMemo(talker, @little_wings);
SoundEffect(talker, "ItemSound.quest_finish");
ShowPage(talker, "fairy_mymyu_q0420_14.htm");
}
}
if (reply == 6) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
i0 = Rand(100);
if (OwnItemCount(talker, @q_egg_of_drake_exarion) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 45) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 75) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 50) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_drake_exarion, OwnItemCount(talker, @q_egg_of_drake_exarion));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_suzet) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 55) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 85) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 65) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 95) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
DeleteItem1(talker, @q_egg_of_wyrm_suzet, OwnItemCount(talker, @q_egg_of_wyrm_suzet));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_kalibran) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 60) {
CreatePet(talker, 3500, 1012311);
}
else {
if (i0 < 90) {
CreatePet(talker, 3501, 1012312);
}
else {
CreatePet(talker, 3502, 1012313);
}
}
}
else {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_drake_kalibran, OwnItemCount(talker, @q_egg_of_drake_kalibran));
}
else {
if (OwnItemCount(talker, @q_egg_of_wyrm_shamhai) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 70) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
if (i0 < 85) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
DeleteItem1(talker, @q_egg_of_wyrm_shamhai, OwnItemCount(talker, @q_egg_of_wyrm_shamhai));
}
else {
if (OwnItemCount(talker, @q_egg_of_drake_zwov) >= 1) {
if (OwnItemCount(talker, @q_fairy_dust) == 1) {
if (i0 < 90) {
CreatePet(talker, 3500, 1012311);
}
else {
CreatePet(talker, 3501, 1012312);
}
}
else {
CreatePet(talker, 3500, 1012311);
}
DeleteItem1(talker, @q_egg_of_drake_zwov, OwnItemCount(talker, @q_egg_of_drake_zwov));
}
}
}
}
}
RemoveMemo(talker, @little_wings);
SoundEffect(talker, "ItemSound.quest_finish");
if (OwnItemCount(talker, @q_fairy_dust) == 0) {
ShowPage(talker, "fairy_mymyu_q0420_14.htm");
}
else {
if (i0 < 5) {
ShowPage(talker, "fairy_mymyu_q0420_15.htm");
GiveItem1(talker, @hatchlings_soft_leather, 1);
}
else {
ShowPage(talker, "fairy_mymyu_q0420_15t.htm");
GiveItem1(talker, @food_for_hatchling, 20);
DeleteItem1(talker, @q_fairy_dust, OwnItemCount(talker, @q_fairy_dust));
}
}
}
}
}
if (ask == 421) {
if (reply == 1) {
if ((HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 1)) {
GiveItem1(talker, @q0421_fairy_leaf, 4);
SetMemoState(talker, 421, 2);
SoundEffect(talker, "ItemSound.quest_itemget");
ShowPage(talker, "fairy_mymyu_q0421_002.htm");
}
}
if (reply == 2) {
if ((HaveMemo(talker, 421) == 1) && (GetMemoState(talker, 421) == 3) && (OwnItemCount(talker, @q0421_fairy_leaf) == 0)) {
c0 = GetCreatureFromIndex(talker.flag);
if ((c0.npc_class_id == 1012311) || (c0.npc_class_id == 1012312) || (c0.npc_class_id == 1012313) && (DistFromMe(c0) < 150) && (DistFromMe(c0) > 5)) {
if (c0.level >= 55) {
if ((OwnItemCount(talker, @dragonflute_of_wind) == 1) && (OwnItemCount(talker, @dragonflute_of_star) == 0) && (OwnItemCount(talker, @dragonflute_of_twilight) == 0)) {
DeleteItem1(talker, @dragonflute_of_wind, 1);
CreatePet(talker, 4422, 1012526);
ShowPage(talker, "fairy_mymyu_q0421_010.htm");
SoundEffect(talker, "ItemSound.quest_finish");
RemoveMemo(talker, 421);
}
else {
if ((OwnItemCount(talker, @dragonflute_of_star) == 1) && (OwnItemCount(talker, @dragonflute_of_wind) == 0) && (OwnItemCount(talker, @dragonflute_of_twilight) == 0)) {
DeleteItem1(talker, @dragonflute_of_star, 1);
CreatePet(talker, 4423, 1012527);
ShowPage(talker, "fairy_mymyu_q0421_010.htm");
SoundEffect(talker, "ItemSound.quest_finish");
RemoveMemo(talker, 421);
}
else {
if ((OwnItemCount(talker, @dragonflute_of_twilight) == 1) && (OwnItemCount(talker, @dragonflute_of_wind) == 0) && (OwnItemCount(talker, @dragonflute_of_star) == 0)) {
DeleteItem1(talker, @dragonflute_of_twilight, 1);
CreatePet(talker, 4424, 1012528);
ShowPage(talker, "fairy_mymyu_q0421_010.htm");
SoundEffect(talker, "ItemSound.quest_finish");
RemoveMemo(talker, 421);
}
else {
ShowPage(talker, "fairy_mymyu_q0421_007.htm");
}
}
}
}
}
else {
ShowPage(talker, "fairy_mymyu_q0421_005.htm");
}
}
}
}
super;
}
// 218 functions called (135+83)

}



class hatchling_of_wind : pet_use_one_skill {

handler:

EventHandler CREATED(myself) {
myself.sm.flag = 0;
AddTimerEx(8997790, 500);
}
// 1 functions called (1+0)


EventHandler TIMER_FIRED_EX(c0, i0, myself, timer_id) {
if (timer_id == 8997790) {
i0 = myself.master.target_index;
c0 = GetCreatureFromIndex(i0);
if (c0) {
if ((c0.npc_class_id == 1007610) || (c0.npc_class_id == 1007747) && (DistFromMe(c0) < 500)) {
myself.master.flag = GetIndexFromCreature(myself.sm);
}
}
if (OwnItemCount(myself.master, @dragonflute_of_wind) < 1) {
Despawn();
}
if (HaveMemo(myself.master, 421) == 1) {
if ((myself.sm.flag == 1) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 4)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 2) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 3)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 3) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 2)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 4) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 1)) {
SoundEffect(myself.master, "ItemSound.quest_finish");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
SetMemoState(myself.master, 421, 3);
myself.sm.flag = 0;
}
}
}
}
}
AddTimerEx(8997790, 500);
}
}
// 20 functions called (11+9)

}

Firedaemon
23.05.2006, 05:08
class hatchling_of_star : pet_use_one_skill {

handler:

EventHandler CREATED(myself) {
myself.sm.flag = 0;
AddTimerEx(8997791, 500);
}
// 1 functions called (1+0)


EventHandler TIMER_FIRED_EX(c0, i0, myself, timer_id) {
if (timer_id == 8997791) {
i0 = myself.master.target_index;
c0 = GetCreatureFromIndex(i0);
if (c0) {
if ((c0.npc_class_id == 1007610) || (c0.npc_class_id == 1007747) && (DistFromMe(c0) < 500) && (myself.sm.level >= 55)) {
myself.master.flag = GetIndexFromCreature(myself.sm);
}
}
if (OwnItemCount(myself.master, @dragonflute_of_star) < 1) {
Despawn();
}
if (HaveMemo(myself.master, 421) == 1) {
if ((myself.sm.flag == 1) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 4)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 2) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 3)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 3) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 2)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 4) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 1)) {
SoundEffect(myself.master, "ItemSound.quest_finish");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
SetMemoState(myself.master, 421, 3);
myself.sm.flag = 0;
}
}
}
}
}
AddTimerEx(8997791, 500);
}
}
// 20 functions called (11+9)

}



class hatchling_of_twilight : pet_use_one_skill {

handler:

EventHandler CREATED(myself) {
myself.sm.flag = 0;
AddTimerEx(8997792, 500);
}
// 1 functions called (1+0)


EventHandler TIMER_FIRED_EX(c0, i0, myself, timer_id) {
if (timer_id == 8997792) {
i0 = myself.master.target_index;
c0 = GetCreatureFromIndex(i0);
if (c0) {
if ((c0.npc_class_id == 1007610) || (c0.npc_class_id == 1007747) && (DistFromMe(c0) < 500) && (myself.sm.level >= 55)) {
myself.master.flag = GetIndexFromCreature(myself.sm);
}
}
if (OwnItemCount(myself.master, @dragonflute_of_twilight) < 1) {
Despawn();
}
if (HaveMemo(myself.master, 421) == 1) {
if ((myself.sm.flag == 1) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 4)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 2) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 3)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 3) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 2)) {
SoundEffect(myself.master, "ItemSound.quest_middle");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
}
else {
if ((myself.sm.flag == 4) && (OwnItemCount(myself.master, @q0421_fairy_leaf) == 1)) {
SoundEffect(myself.master, "ItemSound.quest_finish");
DeleteItem1(myself.master, @q0421_fairy_leaf, 1);
SetMemoState(myself.master, 421, 3);
myself.sm.flag = 0;
}
}
}
}
}
AddTimerEx(8997792, 500);
}
}
// 20 functions called (11+9)

}



class quest_tree_1 : default_npc {

parameter:

string Privates = "guardian_of_tree:guardian_tree:1:5sec;guardian_of_ tree:guardian_tree:1:5sec;guardian_of_tree:guardia n_tree:1:5sec;guardian_of_tree:guardian_tree:1:5se c;guardian_of_tree:guardian_tree:1:5sec;guardian_o f_tree:guardian_tree:1:5sec";

handler:

EventHandler CREATED(myself) {
CreatePrivates(Privates);
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
// 1 functions called (1+0)


EventHandler PARTY_DIED(_private, myself) {
if (_private != myself.sm) {
CreateOnePrivate(_private.npc_class_id, (_private+1336), _private.weight_point, _private.respawn_time);
}
}
// 1 functions called (1+0)


EventHandler ATTACKED(attacker, myself, skill_name_id) {
if ((attacker.npc_class_id == 1012311) || (attacker.npc_class_id == 1012312) || (attacker.npc_class_id == 1012313) && (skill_name_id == 0)) {
SayInt(myself.i_quest1);
if (myself.i_quest0 == 0) {
myself.i_quest0 = GetIndexFromCreature(attacker);
}
else {
if (myself.i_quest0 == GetIndexFromCreature(attacker)) {
myself.i_quest1 = (myself.i_quest1+1);
if ((myself.i_quest1 >= 98) && (attacker.flag == 0)) {
attacker.flag = 1;
Say("You win!");
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
else {
if (myself.i_quest0 != GetIndexFromCreature(attacker)) {
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
}
}
else {
if ((HaveMemo(attacker, 421) == 1) && (GetMemoState(attacker, 421) == 2)) {
AddUseSkillDesire(attacker, @s_quest_fatal_poison, 0, 0, 1000000);
}
}
}
// 8 functions called (3+5)

}




class quest_tree_2 : default_npc {

parameter:

string Privates = "guardian_of_tree:guardian_tree:1:5sec;guardian_of_ tree:guardian_tree:1:5sec;guardian_of_tree:guardia n_tree:1:5sec;guardian_of_tree:guardian_tree:1:5se c;guardian_of_tree:guardian_tree:1:5sec;guardian_o f_tree:guardian_tree:1:5sec";

handler:

EventHandler CREATED(myself) {
CreatePrivates(Privates);
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
// 1 functions called (1+0)


EventHandler PARTY_DIED(_private, myself) {
if (_private != myself.sm) {
CreateOnePrivate(_private.npc_class_id, (_private+1336), _private.weight_point, _private.respawn_time);
}
}
// 1 functions called (1+0)


EventHandler ATTACKED(attacker, myself, skill_name_id) {
if ((attacker.npc_class_id == 1012311) || (attacker.npc_class_id == 1012312) || (attacker.npc_class_id == 1012313) && (skill_name_id == 0)) {
if (myself.i_quest0 == 0) {
myself.i_quest0 = GetIndexFromCreature(attacker);
}
else {
if (myself.i_quest0 == GetIndexFromCreature(attacker)) {
myself.i_quest1 = (myself.i_quest1+1);
if ((myself.i_quest1 >= 98) && (attacker.flag == 1)) {
attacker.flag = 2;
Say("You Win!");
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
else {
if (myself.i_quest0 != GetIndexFromCreature(attacker)) {
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
}
}
else {
if ((HaveMemo(attacker, 421) == 1) && (GetMemoState(attacker, 421) == 2)) {
AddUseSkillDesire(attacker, @s_quest_fatal_poison, 0, 0, 1000000);
}
}
}
// 7 functions called (2+5)

}



class quest_tree_3 : default_npc {

parameter:

string Privates = "guardian_of_tree:guardian_tree:1:5sec;guardian_of_ tree:guardian_tree:1:5sec;guardian_of_tree:guardia n_tree:1:5sec;guardian_of_tree:guardian_tree:1:5se c;guardian_of_tree:guardian_tree:1:5sec;guardian_o f_tree:guardian_tree:1:5sec";

handler:

EventHandler CREATED(myself) {
CreatePrivates(Privates);
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
// 1 functions called (1+0)


EventHandler PARTY_DIED(_private, myself) {
if (_private != myself.sm) {
CreateOnePrivate(_private.npc_class_id, (_private+1336), _private.weight_point, _private.respawn_time);
}
}
// 1 functions called (1+0)


EventHandler ATTACKED(attacker, myself, skill_name_id) {
if ((attacker.npc_class_id == 1012311) || (attacker.npc_class_id == 1012312) || (attacker.npc_class_id == 1012313) && (skill_name_id == 0)) {
if (myself.i_quest0 == 0) {
myself.i_quest0 = GetIndexFromCreature(attacker);
}
else {
if (myself.i_quest0 == GetIndexFromCreature(attacker)) {
myself.i_quest1 = (myself.i_quest1+1);
if ((myself.i_quest1 >= 98) && (attacker.flag == 2)) {
DeleteItem1(attacker.master, @q0421_fairy_leaf, 1);
attacker.flag = 3;
Say("You Win!");
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
else {
if (myself.i_quest0 != GetIndexFromCreature(attacker)) {
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
}
}
else {
if ((HaveMemo(attacker, 421) == 1) && (GetMemoState(attacker, 421) == 2)) {
AddUseSkillDesire(attacker, @s_quest_fatal_poison, 0, 0, 1000000);
}
}
}
// 8 functions called (3+5)

}



class quest_tree_4 : default_npc {

parameter:

string Privates = "guardian_of_tree:guardian_tree:1:5sec;guardian_of_ tree:guardian_tree:1:5sec;guardian_of_tree:guardia n_tree:1:5sec;guardian_of_tree:guardian_tree:1:5se c;guardian_of_tree:guardian_tree:1:5sec;guardian_o f_tree:guardian_tree:1:5sec";

handler:

EventHandler CREATED(myself) {
CreatePrivates(Privates);
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
// 1 functions called (1+0)


EventHandler PARTY_DIED(_private, myself) {
if (_private != myself.sm) {
CreateOnePrivate(_private.npc_class_id, (_private+1336), _private.weight_point, _private.respawn_time);
}
}
// 1 functions called (1+0)


EventHandler ATTACKED(attacker, myself, skill_name_id) {
if ((attacker.npc_class_id == 1012311) || (attacker.npc_class_id == 1012312) || (attacker.npc_class_id == 1012313) && (skill_name_id == 0)) {
if (myself.i_quest0 == 0) {
myself.i_quest0 = GetIndexFromCreature(attacker);
}
else {
if (myself.i_quest0 == GetIndexFromCreature(attacker)) {
myself.i_quest1 = (myself.i_quest1+1);
if ((myself.i_quest1 >= 98) && (attacker.flag == 3)) {
attacker.flag = 4;
Say("You Win!");
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
else {
if (myself.i_quest0 != GetIndexFromCreature(attacker)) {
myself.i_quest0 = 0;
myself.i_quest1 = 0;
}
}
}
}
else {
if ((HaveMemo(attacker, 421) == 1) && (GetMemoState(attacker, 421) == 2)) {
AddUseSkillDesire(attacker, @s_quest_fatal_poison, 1, 0, 1000000);
}
}
}
// 7 functions called (2+5)

}



class guardian_tree : default_npc {

handler:

EventHandler NO_DESIRE(myself) {
if (myself.boss.alive) {
AddFollowDesire(myself.boss, 5);
}
else {
AddMoveAroundDesire(5, 5);
}
}
// 2 functions called (2+0)


EventHandler PARTY_ATTACKED(_private, attacker, myself) {
if (_private == myself.boss) {
AddAttackDesire(attacker, 1, 20000);
}
}
// 1 functions called (1+0)


EventHandler ATTACKED(attacker, damage, myself) {
if (myself.boss.alive == 0) {
Despawn();
}
else {
if ((attacker.is_pc != 0) || IsInCategory(9, attacker.npc_class_id)) {
AddAttackDesire(attacker, 1, (((damage/myself.sm.max_hp)/0.050000)*100));
}
}
}
// 3 functions called (2+1)

}

2Rain
23.05.2006, 06:09
Thanks. You compel me to learn hard soft... Very bad.

wton
26.05.2006, 00:50
what happen with first post? no strider quest ?

???

Decaz
10.06.2006, 07:37
I receive a quest at Cronos, then I go to Fairy Mymyu, further talk in dialogue Hatchling to Strider and game hangs...what to do?

TuMBLer
10.06.2006, 21:59
Someone reshare please

LoVeRSaMa
10.06.2006, 22:23
Nice :D
Very good,i cant wait for translations then str8 to our server >.<

Zil
19.06.2006, 09:14
Someone reshare pleaseAs I think here it is

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
straiderquest_155_808.rar — 14649 байт

_xor_
19.06.2006, 13:00
I receive a quest at Cronos, then I go to Fairy Mymyu, further talk in dialogue Hatchling to Strider and game hangs...what to do?
Same thing.
ai, npcdata, npcpos, quest_pch, quest_pch2, itemdata injected.
Any ideas?

LoVeRSaMa
19.06.2006, 16:24
*Bump*

anyone ?

Cranberry
22.06.2006, 22:03
Quest for Strider is working, but Quest for Hatchling is break, cause Sage Cronos shows "Conditions are not right" page.

Is anyone know what is wrong?

Cranberry
22.06.2006, 22:07
I use this AI



class sage_cronos : citizen {

handler:

EventHandler TALK_SELECTED(_choiceN, _code, _from_choice, talker) {
if (_from_choice == 0) {
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0) && (OwnItemCount(talker, @symbol_of_cronos) == 0)) {
_choiceN = (_choiceN+1);
_code = 0;
AddChoice(0, "Trial of the Scholar");
}
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) >= 1) && (OwnItemCount(talker, @cronos_sigil) >= 1)) {
_choiceN = (_choiceN+1);
_code = 1;
AddChoice(1, "Trial of the Scholar");
}
if ((HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @symbol_of_cronos) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0)) {
_choiceN = (_choiceN+1);
_code = 2;
AddChoice(2, "Trial of the Scholar");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 1)) {
_choiceN = (_choiceN+1);
_code = 3;
AddChoice(3, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) || (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
_choiceN = (_choiceN+1);
_code = 4;
AddChoice(4, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 5;
AddChoice(5, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 6;
AddChoice(6, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 3)) {
_choiceN = (_choiceN+1);
_code = 7;
AddChoice(7, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 10)) {
_choiceN = (_choiceN+1);
_code = 8;
AddChoice(8, "Little Wing");
}
if ((HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 4) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
_choiceN = (_choiceN+1);
_code = 9;
AddChoice(9, "Little Wing");
}
if ((HaveMemo(talker, 421) == 0) && (HaveMemo(talker, @little_wings) != 1) && (HaveMemo(talker, @trial_of_scholar) != 1) && (OwnItemCount(talker, @dragonflute_of_wind) == 1) || (OwnItemCount(talker, @dragonflute_of_star) == 1) || (OwnItemCount(talker, @dragonflute_of_twilight) == 1)) {
_choiceN = (_choiceN+1);
_code = 10;
AddChoice(10, "LittleWingAdventures");
}
if (HaveMemo(talker, 421) == 1) {
_choiceN = (_choiceN+1);
_code = 11;
AddChoice(11, "LittleWingAdventures");
}
if (_choiceN > 1) {
ShowChoicePage(talker, 1);
return;
}
}
if ((_from_choice || (_choiceN == 1))) {
if (_code == 0) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0) && (OwnItemCount(talker, @symbol_of_cronos) == 0)) {
ShowPage(talker, "sage_cronos_q0214_01.htm");
}
}
else if (_code == 1) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) >= 1) && (OwnItemCount(talker, @cronos_sigil) >= 1)) {
if ((OwnItemCount(talker, @scripture_chapter_1) >= 1) && (OwnItemCount(talker, @scripture_chapter_2) >= 1) && (OwnItemCount(talker, @scripture_chapter_3) >= 1) && (OwnItemCount(talker, @scripture_chapter_4) >= 1)) {
ShowPage(talker, "sage_cronos_q0214_12.htm");
}
else {
ShowPage(talker, "sage_cronos_q0214_11.htm");
}
}
}
else if (_code == 2) {
if ((_from_choice == 0) || (HaveMemo(talker, @trial_of_scholar) == 1) && (OwnItemCount(talker, @miriens_sigil3) == 1) && (OwnItemCount(talker, @symbol_of_cronos) == 1) && (OwnItemCount(talker, @cronos_sigil) == 0)) {
ShowPage(talker, "sage_cronos_q0214_15.htm");
}
}
else if (_code == 3) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 1)) {
ShowPage(talker, "sage_cronos_q0420_01.htm");
}
}
else if (_code == 4) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) || (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 0) && (OwnItemCount(talker, @q_fairy_stone_delux) == 0)) {
ShowPage(talker, "sage_cronos_q0420_07.htm");
}
}
else if (_code == 5) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 2) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_08.htm");
SetMemoState(talker, @little_wings, 3);
}
}
else if (_code == 6) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 11) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_14.htm");
}
}
else if (_code == 7) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 3)) {
ShowPage(talker, "sage_cronos_q0420_09.htm");
}
}
else if (_code == 8) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 10)) {
ShowPage(talker, "sage_cronos_q0420_10.htm");
}
}
else if (_code == 9) {
if ((_from_choice == 0) || (HaveMemo(talker, @little_wings) == 1) && (GetMemoState(talker, @little_wings) == 4) && (OwnItemCount(talker, @q_fairy_stone) == 1) || (OwnItemCount(talker, @q_fairy_stone_delux) == 1)) {
ShowPage(talker, "sage_cronos_q0420_11.htm");
}
}
else if (_code == 10) {
if (_from_choice == 0) {
ShowPage(talker, "sage_cronos_q0421_01.htm");
}
}
else if (_code == 11) {
if (_from_choice == 0) {
ShowPage(talker, "sage_cronos_q0421_03.htm");
}
}
return;
}
super;
}
// 107 functions called (27+80)


EventHandler MENU_SELECTED(ask, c0, reply, talker) {
if (ask == 214) {
if (reply == 1) {
ShowPage(talker, "sage_cronos_q0214_02.htm");
}
if (reply == 2) {
ShowPage(talker, "sage_cronos_q0214_03.htm");
}
if (reply == 3) {
ShowPage(talker, "sage_cronos_q0214_04.htm");
}
if (reply == 4) {
ShowPage(talker, "sage_cronos_q0214_05.htm");
}
if (reply == 5) {
ShowPage(talker, "sage_cronos_q0214_06.htm");
}
if (reply == 6) {
ShowPage(talker, "sage_cronos_q0214_07.htm");
}
if (reply == 7) {
ShowPage(talker, "sage_cronos_q0214_08.htm");
}
if (reply == 8) {
ShowPage(talker, "sage_cronos_q0214_09.htm");
}
if (reply == 9) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
ShowPage(talker, "sage_cronos_q0214_10.htm");
GiveItem1(talker, @cronos_sigil, 1);
GiveItem1(talker, @cronos_letter, 1);
}
}
if (reply == 10) {
ShowPage(talker, "sage_cronos_q0214_13.htm");
}
if (reply == 11) {
if (OwnItemCount(talker, @dieters_diary) >= 1) {
ShowPage(talker, "sage_cronos_q0214_14.htm");
DeleteItem1(talker, @scripture_chapter_1, OwnItemCount(talker, @scripture_chapter_1));
DeleteItem1(talker, @scripture_chapter_2, OwnItemCount(talker, @scripture_chapter_2));
DeleteItem1(talker, @scripture_chapter_3, OwnItemCount(talker, @scripture_chapter_3));
DeleteItem1(talker, @scripture_chapter_4, OwnItemCount(talker, @scripture_chapter_4));
DeleteItem1(talker, @cronos_sigil, OwnItemCount(talker, @cronos_sigil));
DeleteItem1(talker, @treafs_ring, OwnItemCount(talker, @treafs_ring));
DeleteItem1(talker, @dieters_diary, 1);
GiveItem1(talker, @symbol_of_cronos, 1);
}
}
}
if (ask == 420) {
if (reply == 1) {
ShowPage(talker, "sage_cronos_q0420_02.htm");
}
if (reply == 2) {
ShowPage(talker, "sage_cronos_q0420_03.htm");
}
if (reply == 3) {
ShowPage(talker, "sage_cronos_q0420_04.htm");
}
if (reply == 4) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fs, 1);
ShowPage(talker, "sage_cronos_q0420_05.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 5) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fsd, 1);
ShowPage(talker, "sage_cronos_q0420_06.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 6) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fs, 1);
SetMemoState(talker, @little_wings, 11);
ShowPage(talker, "sage_cronos_q0420_12.htm");
SetMemoState(talker, @little_wings, 2);
}
}
if (reply == 7) {
if ((GetCurrentTick()-talker.quest_last_reward_time) > 1) {
talker.quest_last_reward_time = GetCurrentTick();
GiveItem1(talker, @q_list_of_stuff_for_fsd, 1);
SetMemoState(talker, @little_wings, 11);
ShowPage(talker, "sage_cronos_q0420_13.htm");
SetMemoState(talker, @little_wings, 2);
}
}
}
if (ask == 421) {
if (reply == 1) {
if (talker.level < 45) {
ShowPage(talker, "sage_cronos_q0421_02.htm");
}
else {
if ((talker.level >= 45) && (talker.flag != 0)) {
c0 = GetCreatureFromIndex(talker.flag);
if ((DistFromMe(c0) < 100) && (DistFromMe(c0) > 5) && (c0.npc_class_id == 1012311) || (c0.npc_class_id == 1012312) || (c0.npc_class_id == 1012313)) {
if (c0.level >= 55) {
SetMemo(talker, 421);
SetMemoState(talker, 421, 1);
SoundEffect(talker, "ItemSound.quest_accept");
ShowPage(talker, "sage_cronos_q0421_06.htm");
}
else {
ShowPage(talker, "sage_cronos_q0421_04.htm");
}
}
else {
ShowPage(talker, "sage_cronos_q0421_05.htm");
}
}
else {
if (talker.flag == 0) {
ShowPage(talker, "sage_cronos_q0421_05.htm");
}
}
}
}
}
super;
}
// 68 functions called (46+22)

}

_xor_
23.06.2006, 06:45
Same thing.
ai, npcdata, npcpos, quest_pch, quest_pch2, itemdata injected.
Any ideas?
i found mistake - in html file for mymyu.
There was link to old version of html.
I write new html (fairy_mymyu_q0421_001.htm) in link, and now client dont crush )
But still don't working, when i push "Да" (<a action="bypass -h menu_select?ask=421&reply=1">Да.</a>).

BeTePok
10.07.2006, 22:51
I get quest, all trees good work, he del all need item)
And i go to Mymyu say with him, push "Yes" and he not say
ask 421 replay 1