L2 Walker Script- Get a pet quest

01/20/2009 16:31 Str1k3#1
I have wrote a script for get a pet qest!
This script is made for CT2.2 retail! I have tested it many times now everything works fine! :)

Have fun !
Regards, Strike
Quote:
// Script for "Get a Pet" Quest by Strike
// Requirements: LVL 15+ Dwarf (with top ng), few SOE
// Starting village : Gludin Central Place (front of the church)

// all u have to do:
// monster settings -> Set all monster to NOATTACK
// Pathing settings -> set the pathing type to "rand"
//

// the script runing over and over again until u push stop :)
// Have Fun!

Label(Kezdes)

MOVETO(-83764,150831,-3155)
MOVETO(-84040,150826,-3155)
MOVETO(-84114,150824,-3155)
MOVETO(-84550,150831,-3155)
NPCSEL(Martin[ID=30731])
NPCDLG(Martin[ID=30731])
Delay(1000)
DLGSEL(Quest.)
Delay(1000)
DLGSEL(Ask detailed questions.)
Delay(1000)
DLGSEL(I will take the task.)

MOVETO(-83189,150782,-3155)
NPCSEL(Newbie Guide[ID=31076])
NPCDLG(Newbie Guide[ID=31076])
Delay(1000)
DLGSEL(Check the list of available Support Magic.)
Delay(1000)
DLGSEL(Receive Support Magic.)
MOVETO(-82306,150546,-3155)
MOVETO(-81135,150224,-3100)

MOVETO(-81111,150162,-3082)
MOVETO(-80783,149932,-3070)
NPCSEL(Richlin[ID=30320])
NPCDLG(Richlin[ID=30320])
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(Dwarven Village)
delay(5000)
NPCSEL(Wirphy[ID=30540])
NPCDLG(Wirphy[ID=30540])
DLGSEL(Teleport)
Delay(1000)
DLGSEL(Western Mining Zone (Central Shore))
MOVETO(136910,-205082,-3664)
MOVETO(137670,-204953,-3816)
MOVETO(139158,-203391,-3528)
MOVETO(141521,-203391,-3528)

Set(RANGETYPE, RAND)
SET(Mon,Attack,Plunder Tarantula[ID=20508])
SET(Mon,Attack,Hunter Tarantula[ID=20403])
SET(FIGHTSTART)

LABEL(gyujtes)

ITEMCOUNT(Bloody Tarantula Nail[ID=3427],<,50)
{
Delay(50000)
JMP(gyujtes)
}

SET(Mon,NoAttack,Plunder Tarantula[ID=20508])
SET(Mon,NoAttack,Hunter Tarantula[ID=20403])
delay(30000)
SET(FIGHTSTOP)
USEITEM(Scroll of Escape[ID=736])
delay(25000)

PosInRange(115790,-179146,-976,500)
{
moveto(115138,-178218,-880)

}

PosInRange(115271,-178561,-912,500)
{
moveto(115138,-178218,-880)

}

PosInRange(116352,-179264,-1080,500)
{
moveto(115633,-178785,-944)
moveto(115138,-178218,-880)

}
PosInRange(16738,-181494,-1392,500)
{
moveto(115633,-178785,-944)
moveto(115138,-178218,-880)

}
PosInRange(116450,-182897,-1536,500)
{
moveto(116702,-180260,-1184)
moveto(115633,-178785,-944)
moveto(115138,-178218,-880)

}
moveto(115138,-178218,-880)
LABEL(GK)

PCSEL(Wirphy[ID=30540])
NPCDLG(Wirphy[ID=30540])
NPCDLG(Wirphy[ID=30540])
Delay(1000)
DLGSEL(Teleport)
Delay(1000)
DLGSEL(The Town of Gludio)
delay(5000)
NPCSEL(Bella[ID=30256])
NPCDLG(Bella[ID=30256])
NPCDLG(Bella[ID=30256])
Delay(1000)
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(The Village of Gludin)
delay(5000)
MOVETO(-80976,150049,-3070)
MOVETO(-82127,150526,-3155)
MOVETO(-84161,150916,-3155)
MOVETO(-84445,150832,-3155)

NPCSEL(Martin[ID=30731])
NPCDLG(Martin[ID=30731])
Delay(1000)
DLGSEL(Quest.)
Delay(1000)
DLGSEL(Ask about the next task)
MOVETO(-84257,150802,-3155)
MOVETO(-84153,150793,-3155)
MOVETO(-82081,150464,-3155)
MOVETO(-81159,150252,-3114)
MOVETO(-81074,150184,-3070)
MOVETO(-80859,149904,-3070)
NPCSEL(Richlin[ID=30320])
NPCDLG(Richlin[ID=30320])
Delay(1000)
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(The Town of Gludio)
delay(5000)
NPCSEL(Bella[ID=30256])
NPCDLG(Bella[ID=30256])
Delay(1000)
DLGSEL(Quest.)
Delay(1000)
DLGSEL("I wish to learn about pets.")
Delay(1000)
DLGSEL(Next.)
delay(1000)
NPCSEL(Bella[ID=30256])
NPCSEL(Bella[ID=30256])
delay(1000)
NPCDLG(Bella[ID=30256])
NPCDLG(Bella[ID=30256])
Delay(1000)
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(The Town of Dion)
delay(5000)
MOVETO(15551,142894,-2696)
MOVETO(17960,146147,-3096)
MOVETO(17396,147574,-3120)

NPCSEL(Metty[ID=30072])
NPCDLG(Metty[ID=30072])
NPCDLG(Metty[ID=30072])
Delay(1000)
DLGSEL(Quest)
Delay(1000)
DLGSEL("Tell me about the pets.")

MOVETO(17396,147574,-3120)
MOVETO(17960,146147,-3096)
MOVETO(15551,142894,-2696)

NPCSEL(Trisha[ID=30059])
NPCDLG(Trisha[ID=30059])
Delay(1000)
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(The Town of Giran)
delay(5000)
MOVETO(82087,148213,-3493)
MOVETO(80772,148572,-3495)
MOVETO(79873,148785,-3559)
MOVETO(79826,148818,-3528)
MOVETO(79734,149017,-3559)
MOVETO(79699,149363,-3559)
MOVETO(80141,149472,-3537)
MOVETO(80449,149267,-3537)
MOVETO(80449,149267,-3537)
MOVETO(80447,149268,-3504)
NPCSEL(Ellie[ID=30091])
NPCDLG(Ellie[ID=30091])
Delay(1000)
DLGSEL(Quest.)
Delay(1000)
DLGSEL([Get a Pet (In Progress)])
Delay(1000)
DLGSEL("I wish to learn about pets.")
MOVETO(80394,149302,-3537)
MOVETO(80308,149363,-3537)
MOVETO(80046,149454,-3512)
MOVETO(79837,149534,-3559)
MOVETO(79820,148793,-3559)
MOVETO(80595,148608,-3500)
MOVETO(81872,148227,-3493)
MOVETO(83120,147947,-3485)
MOVETO(83234,147966,-3400)
MOVETO(83326,147963,-3431)
NPCSEL(Clarissa[ID=30080])
NPCDLG(Clarissa[ID=30080])
Delay(1000)
DLGSEL(Teleport)
Delay(1000)
DLGSEL(The Town of Gludio)
delay(5000)
NPCSEL(Bella[ID=30256])
NPCDLG(Bella[ID=30256])
DLGSEL(Teleport.)
Delay(1000)
DLGSEL(The Village of Gludin)
MOVETO(-81170,149954,-3120)
MOVETO(-81506,150174,-3120)
MOVETO(-82672,150812,-3155)
MOVETO(-84325,150825,-3155)
MOVETO(-84537,150828,-3155)
NPCSEL(Martin[ID=30731])
NPCDLG(Martin[ID=30731])
Delay(1000)
DLGSEL(Quest.)
Delay(1000)
DLGSEL(I am ready for the test.)



Label(Kerdesek)
Delay(2000)


STRINDLG(The wolf is a meat-eating)
{
DLGSEL(None of the above)
MSG(1)
JMP(Kerdesek)
}


STRINDLG(a part of the wolf)
{
DLGSEL(None of the above)
MSG(2)
JMP(Kerdesek)
}

STRINDLG(The following connections)
{
DLGSEL(Orc - Black Wolf)
MSG(3)
JMP(Kerdesek)
}


STRINDLG(What is the best way)
{
DLGSEL(When taking down a monster)
MSG(4)
JMP(Kerdesek)
}

STRINDLG(Which of the following do)
{
DLGSEL(A pregnant wolf makes)
MSG(5)
JMP(Kerdesek)
}


STRINDLG(What are the oldest)
{
DLGSEL(Dire Wolf)
MSG(6)
JMP(Kerdesek)
}

STRINDLG(Which of the following is the)
{
DLGSEL(A grown wolf is still)
MSG(7)
JMP(Kerdesek)
}

STRINDLG(How far)
{
DLGSEL(2.4 km)
MSG(8)
JMP(Kerdesek)
}

STRINDLG(of the breeding of)
{
DLGSEL(Pregnancy is nine month)
MSG(9)
JMP(Kerdesek)
}

STRINDLG(What kind of wolf leads)
{
DLGSEL(Male)
MSG(10)
JMP(Kerdesek)
}

STRINDLG(What is the normal lifespan)
{
DLGSEL(12-15 years)
MSG(11)
JMP(Kerdesek)
}

STRINDLG(Pets are very useful to their)
{
DLGSEL(Can be sent to the village)
MSG(12)
JMP(Kerdesek)
}

STRINDLG(How is a wolf)
{
DLGSEL(It's tail is always pointing)
MSG(13)
JMP(Kerdesek)
}

STRINDLG(Pets can disappear)
{
DLGSEL(24)
MSG(14)
JMP(Kerdesek)
}
STRINDLG(Congratulations!)
{
MSG(Quest completted! Push the Stop NOW if u want to quit!)
delay(5000)
JMP(Kezdes)
}

JMP(Kerdesek)
01/20/2009 18:59 emir0n#2
cool,i will test it,if it works i add it to the sticky thread
01/20/2009 19:17 Boooooooooooo#3
/fail in CT2.2

some wrong questions.

But is a good begin....

Here is the right answers:
Code:
P.: How far (in quilometers) can a wolf's smell reach?
R.: 2,4 km

P.: How is a wolf's tail normally positioned?
R.: It's tail is always pointing straight down

P.: The following connections are made between the wolves and their habitats. Wich is NOT correct?
R.: Orc - Black Wolf

P.: The wolf is a meat-eating mammal of the canine family. Wich animal among the following is NOT a meat-eating mammal of the canine family?
R.: None of the above

P.: What a kind of wolf leads the rest when hunting in a pack?
R.: Male

P.: What are the oldest and most primitive type of wolves found in Aden?
R.: Dire Wolf

P.: What is the best way to train your pet?
R.: When taking down a monster, always have a pet's company

P.: What is the normal lifespan of a wolf in captivity?
R.: 12-15 years

P.: When the pet is killed it may be ressurrected whitin a certain amount of time. What is the maximum delay allowed before ressurrection becomes impossible?
R.: 24 Hours

P.: Which is NOT a proper description of the breeding of wolves?
R.: Pregnancy is nine months

P.: Which of the following do NOT describe the life of a wolf?
R.: A pregnant wolf makes its home in a wide open place to have its babies

P.: Which of the following is NOT the part of the wolf's diet?
R.: None of the above

P.: Which of the following is the CORRECT description of a wolf?
R.: A grown wolf is still not as heavy as a fully-grown male adult human

P.: Pets are very useful to their owners. Wich of the following is NOT na appropriate use of a pet?
R.: Can be sent to the village to buy itens
01/20/2009 19:29 Str1k3#4
trust me! it's works! this script is up to date in answers !
i made that script on yesterday, and tested it on Retail server :)

i have now 22 wolf cellar :)
01/20/2009 19:45 Str1k3#5
Another important thing !
I have tested it with oog! If u want to try it with IG maybe u have to incrase the Delay-s after teleport procedure from 5000 to 10000 (depends on your computer speed)
01/21/2009 13:02 furiosx#6
It has problems of Talking to the npc's after you've killed all the spiders, any way of fixing this?
01/21/2009 15:31 Str1k3#7
Quote:
Originally Posted by furiosx View Post
It has problems of Talking to the npc's after you've killed all the spiders, any way of fixing this?
What is the problem exactly ?

1. U tried it with Dwarf ? (this script is for dwarfs only, couse other races have to kill other monsters at they homeland)
2. The script is Designed for OOG !
3. If you would like to use this script with IG Walker, maybe u have to changes the "Delay"-s in the script !
01/21/2009 16:59 emir0n#8
and some other chronicles can have some changes in the npc dialogs so it doesnt have to work everywhere
01/21/2009 17:13 Str1k3#9
Quote:
Originally Posted by emir0n View Post
and some other chronicles can have some changes in the npc dialogs so it doesnt have to work everywhere
Yes! You are absolutly right! it's for ct 2.2! (it's created & tested on Retail)
01/21/2009 17:23 furiosx#10
Quote:
Originally Posted by Str1k3 View Post
What is the problem exactly ?

1. U tried it with Dwarf ? (this script is for dwarfs only, couse other races have to kill other monsters at they homeland)
2. The script is Designed for OOG !
3. If you would like to use this script with IG Walker, maybe u have to changes the "Delay"-s in the script !
1. Yeah It's on a dwarf =]
2. I'm never gonna use OOG, so IG is what i have to use.
3. Yeah i've doubled all the delay's already, it seems to have worked a bit better, but just sticks after teleporting etc, or when it goes to click on the final dialogue test on 2/3 NPc's i just doesnt do it, i gotta babysit it. Nice script tho, good work!

And i am using it on a Ct2.2 server ;)
01/22/2009 00:45 johnnyp#11
helps a lot this script:)
thanks mate
01/22/2009 09:34 Str1k3#12
Quote:
Originally Posted by johnnyp View Post
helps a lot this script:)
thanks mate
Good to see it's works for others too! ;)
01/22/2009 18:25 Atlaner#13
Wenn ich den Test machen muss dann bekomme ich rin roter pm schrift....l2walker script tip 1...kann mir einer sagen was das soll,,,oder warum er das macht
01/23/2009 21:17 kanqukac#14
Nah meek azt megsasolom!
I go and hessz(see) tha STUFF!

Sry i speak hunglishh
hehe
02/12/2009 20:05 greenfire#15
I found a little misspelled command nPCSEL(Wirphy[ID=30540])

how did you find out the monsters ID? I can't find it anywhere u.u

why do you repeat commands like NPCDLG(gatekeeper)? :o