![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
This quest brings people to the new quest area, the Pavel Ruins. This quest starts at the head blacksmith in Schuttgart Town: Head Blacksmith Newyear. It's nothing fancy, but it's crucial to starting "Resurrection of an Old Manager"; another quest involving that area. You can find the exact locations of the NPCs in the client quest files btw. Check out this data:
913xx.xx0000 -1168xx.xx0000 -39xx.xx0000 31961 884xx.xx0000 -1397xx.xx0000 -15xx.xx0000 It gives you an EXP bonus of 10,000. I strongly advise to bump up this EXP bonus if you have an accelerated server! Travelquests are worth nothing in Lineage2, so even if you have a 1x server I'd still suggest putting the rates of this quest to 2x: that way it'll be actually worth it to get the quest. Change the parameter 'EXPRate' on collector yumi to do this, or leave it '1' and use the l2server config parameters to change all quests Locations, HTML and other notable information can be found at http://www.arktic.net/wrath/index.ph...d=94&Itemid=46 HTML: Code:
head_blacksmith_newyear_q0121_01: You have the quest but still return to Newyear head_blacksmith_newyear_q0121_02: General info about the quest, including an 'accept quest' link head_blacksmith_newyear_q0121_03: You're not suitable for the quest, due to your low level. head_blacksmith_newyear_q0121_04: You just got the quest (quest_accepted) collector_yumi_q0121_01: You came to yumi and delivered the quest. AI: Code:
class head_blacksmith_newyear : master_lv3_black
{
handler:
EventHandler TALK_SELECTED(fhtml0,talker)
{
if( _from_choice == 0 )
{
if( myself->HaveMemo(talker,@pavel_the_giant) == 0 && myself->GetOneTimeQuestFlag(talker,@pavel_the_giant) == 0 )
{
_choiceN = ( _choiceN + 1 );
_code = 0;
myself->AddChoice(0,"Pavel the Giant");
}
if( myself->HaveMemo(talker,@pavel_the_giant) == 1 )
{
_choiceN = ( _choiceN + 1 );
_code = 0;
myself->AddChoice(1,"Pavel the Giant");
}
/*
More support for quests must be added later on
*/
if( _choiceN > 1 )
{
myself->ShowChoicePage(talker,1);
return;
}
}
if( _from_choice || _choiceN == 1 )
{
select(_code)
{
case 0:
if( _from_choice == 0 || myself->HaveMemo(talker,@pavel_the_giant) == 0 && myself->GetOneTimeQuestFlag(talker,@pavel_the_giant) == 0 )
{
myself->SetCurrentQuestID(@pavel_the_giant);
if( myself->GetInventoryInfo(talker,0) >= ( myself->GetInventoryInfo(talker,1) * 0.800000 ) || myself->GetInventoryInfo(talker,2) >= ( myself->GetInventoryInfo(talker,3) * 0.800000 ) )
{
myself->ShowSystemMessage(talker,1118);
return;
}
if( myself->GetMemoCount(talker) < 16 )
{
if( talker.level >= 46 )
{
myself->FHTML_SetFileName(fhtml0,"head_blacksmith_newyear_q0121_02.htm");
myself->FHTML_SetInt(fhtml0,"quest_id",121);
myself->ShowFHTML(talker,fhtml0);
}
else
{
myself->ShowPage(talker,"head_blacksmith_newyear_q0121_03.htm");
}
}
else
{
myself->ShowPage(talker,"fullquest.htm");
}
}
break;
case 1:
if( _from_choice == 0 || ( myself->HaveMemo(talker,121) > 0 )
{
myself->ShowPage(talker,"head_blacksmith_newyear_q0121_01.htm");
}
break;
}
}
return;
}
super;
}
EventHandler QUEST_ACCEPTED(quest_id,talker)
{
if( quest_id == @pavel_the_giant )
{
myself->SetCurrentQuestID(@pavel_the_giant);
if( myself->GetInventoryInfo(talker,0) >= ( myself->GetInventoryInfo(talker,1) * 0.800000 ) || myself->GetInventoryInfo(talker,2) >= ( myself->GetInventoryInfo(talker,3) * 0.800000 ) )
{
myself->ShowSystemMessage(talker,1118);
return;
}
if( ( myself->GetCurrentTick() - talker.quest_last_reward_time ) > 1 )
{
talker.quest_last_reward_time = myself->GetCurrentTick();
myself->SetMemo(talker,quest_id);
myself->AddLog(1,talker,@pavel_the_giant);
myself->SetFlagJournal(talker,@pavel_the_giant,1);
myself->SoundEffect(talker,"ItemSound.quest_accept");
myself->ShowPage(talker,"head_blacksmith_newyear_q0121_04.htm");
}
return;
}
super;
}
}
class collector_yumi : citizen
{
parameter:
int EXPRate = 1;
handler:
EventHandler TALK_SELECTED(fhtml0,talker)
{
if( _from_choice == 0 )
{
if( myself->HaveMemo(talker,@pavel_the_giant) == 1 && myself->GetOneTimeQuestFlag(talker,@pavel_the_giant) == 0 )
{
_choiceN = ( _choiceN + 1 );
_code = 0;
myself->AddChoice(0,"Pavel the Giant");
}
if( _choiceN > 1 )
{
myself->ShowChoicePage(talker,1);
return;
}
}
if( _from_choice || _choiceN == 1 )
{
select(_code)
{
case 0:
if( _from_choice == 0 || ( myself->HaveMemo(talker,@pavel_the_giant) == 1 && myself->GetOneTimeQuestFlag(talker,@pavel_the_giant) == 0 )
{
myself->SetCurrentQuestID(@pavel_the_giant);
if( myself->GetInventoryInfo(talker,0) >= ( myself->GetInventoryInfo(talker,1) * 0.800000 ) || myself->GetInventoryInfo(talker,2) >= ( myself->GetInventoryInfo(talker,3) * 0.800000 ) )
{
myself->ShowSystemMessage(talker,1118);
return;
}
myself->RemoveMemo(talker,@pavel_the_giant);
myself->SoundEffect(talker,"ItemSound.quest_finish");
myself->SetOneTimeQuestFlag(talker,@pavel_the_giant,1);
myself->IncrementParam(talker,0,(10000*EXPRate));
myself->ShowPage(talker,"collector_yumi_q0121_01.htm");
}
break;
}
return;
}
super;
}
}
Code:
[pavel_the_giant] 121 Code:
121 0 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 277
|
Compiled
(Attension again! May be some mistakes. Plz test it before add on urs playing servers) 2 Aikeeler Watching for the "}". Now only 1 mistake : Code:
case 1:
if( _from_choice == 0 || ( myself->HaveMemo(talker,121) > 0 )
{
myself->ShowPage(talker,"head_blacksmith_newyear_q0121_01.htm");
} <- this is excess
break;
}
Code:
[pavel_the_giant] = 8290 Вложения из исходного сообщения (сами файлы в копии отсутствуют): ai.zip — 1567 байт |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
heeeee Aikeleer's back!
Glad to see you're coding again AI.obj, i played your server and i had fun with GC part quests 1&2 and the soul crystal one <3 |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
Sorry, I misunderstood you. Thanks again for compiling, sorry about the bracket-syntax-error. I make these in a hurry and can't test these. So a big thanks
![]() I will check the item once I get home, I didn't see any item in the questname-e file I think. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
Item 8290:
Code:
8290 Flower of Pavel The strange flower from Atlanta. -1 0 0 0 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jan 2006
Posts: 277
|
In your itemdada not that digit?
Oke..some, who wanna - chenge by thereselfs to wright ID of item |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|