L2Walker - Scripting Demystified XD

08/13/2008 02:26 FoxFire#16
@xenosaga21:
It's common practice to place your comments before the line of code. Example:
Code:
// Goes to town upon death
GOHOME()
Also, this tutorial provides nothing that hasn't already been posted numerous times.
08/15/2008 21:03 piktas123#17
Does anyone know the script command to detect the buff? Like the "Auto detect" thing in walker. Just wanna make it manual in a script. Would really help to write a script for HP bless weapon. Just need to find out the command that would detect whether I have the buff or not. Anyone know how to make that?
08/15/2008 21:41 bigg#18
hi, can anyone pls help me with script. am lvl'ing my sub with off party prp. the problem is that buffs berserker spirit an holy weapon can be recieved only in party. so script should work like:
1. main char sends party invite to buffer
2. buffer comes to party
3. buffer gives bers and holy wepon buff to main char
4. leaves the party.
5. repeat all this in 20 min.
08/16/2008 16:31 greenfire#19
Quote:
Originally Posted by Jayzzz View Post
I found a little bug in scavenger quest when he comes to magic shop in dvarwen village and talking with npc(Mion) he don't press Path Of Scavenger-In progress.Etc,when i push "Path Of Scavenger-In progress" he go with Zimenf and back to Mion and always doing this,smth wrong Greenfire.
hmm well i made it on interlude maby one hellbound the Strings changed
any way this is not a verey good script i didn't use STRINDLG wat mean string in dialogue and will press automaticly the sentence most similar with my script sentence
for exampe:

the Gate keepers fee changes by night so
its swrong to do =>
DLGSEL(Abandoned Coal Mines - 690 Adena) (day)
coz at night it wil be 345 Adena approximately
and DLGSEL press only exact sentence

to solve this u need to use
STRINDLG(Abandoned Coal Mines)
so he wil target the most similar sentence

i think u got the same problem because... u already started the quest or something or maby becaus of the clients differences in quest.

anyways if u would change DLGSEL(become scavenger....)
to STRINDLG(Say Become Scavenger) it should work fine
08/18/2008 06:21 plasmasword#20
Quote:
Originally Posted by emir0n View Post
hi i made a script that makes the 2 delivery quests in hot springs - it works on hellbound official (not java) - char used : TH 70+ (or other dagger) with stealth and dash skill - if u dont have a buffer,the script uses a haste potion everytime it starts questing again and it buys scrolls of escape eveytime he uses one,so u can let it make the quests 24/7.
script start is on the hot springs port (goddard gk > Hot springs 9300)
enjoy

DLGSEL("Jeremy sent me to get some adena." )
MOVETO(146125,-58099,-2984)
MOVETO(146917,-58363,-2984)
MOVETO(147584,-58260,-2984)
MOVETO(147685,-57805,-2930)
MOVETO(147745,-56940,-2784)
MOVETO(147788,-56187,-2784)
MOVETO(147949,-55321,-2737)
NPCSEL(Tatiana[ID=31275])
NPCDLG(Tatiana[ID=31275])
DELAY(5000)
DLGSEL(Teleport.)
DLGSEL(Hot Springs - 9300 Adena )
DELAY(10000)
JMP(HS)
//
//==============================HS Questy======================================
//
LABEL(HS)
SAY(Oujeee :P)
USESKILL(Stealth)
USEITEM(Haste Potion[ID=734])
MOVETO(145218,-113092,-2567)
MOVETO(146488,-112619,-2355)
MOVETO(147526,-112600,-2181)
MOVETO(149182,-112502,-2090)
Small warning: when u run script it says "Oujeee :P" in white chat, so delete this line of script.
08/18/2008 11:59 emir0n#21
was only for testnig and i let it there,but anyone can delete the line / make some changes in the script
10/19/2008 10:55 SagyCZ23#22
These links are dead :/ Please where i can get scripts for class change scripts for l2w ? Thx

CLASS CHANGE QUESTS!
Human wizard Class Change (LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Shillen Oracle Quest(LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Dark Elf Wizard Class Change(LvL20)
[Only registered and activated users can see links. Click Here To Register...]
Dark Elf Assassin Class Change(LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Human Cleric Class Change(LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Scavenger Class Change (LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Elven Rogue Class Change(LVL20)
[Only registered and activated users can see links. Click Here To Register...]
Human Rogue Class Change(LVL20)
[Only registered and activated users can see links. Click Here To Register...]
10/20/2008 01:32 Rendor#23
Please repair and renew theese links.. :)
10/20/2008 10:43 vikentiy#24
please help!!! i need a script of second class change for SHILLEN ELDER/// i can`t find it(((
I will say you @THANKS@ ! %))
12/30/2008 12:58 oxenjo30#25
hi guys i have a problem

SET(RANGETYPE, RAND)
SET(FIGHTSTART)
DELAY(1000)
ITEMCOUNT(Felim Lizardman Head[ID=9749],=,5)
{
Set(DEFPATH, CLEAR)
SET([FIGHTSTOP)
USEITEM(Adventurer's Scroll of Escape[ID=10650])
Delay(90000)
}

thats the part of the script that im creating but it seems that its not doing the item count and continue to run the script even if the item is not yet complete and its not even using the scroll of escape, what seems to be wrong with my script help me please

thanks in advance
12/30/2008 20:01 brokentrust#26
hello, uhmm is there any scripts that when a player attacks you while your bottin well your character defensively and offensively attacks too to the player who is flaggin you.
xD
01/02/2009 19:09 archseth#27
is any 1 know questing in HS? delivery egg? pm me ^_^
01/02/2009 21:38 emir0n#28
Quote:
Originally Posted by archseth View Post
is any 1 know questing in HS? delivery egg? pm me ^_^
reading the sticky threads would be a good start
01/03/2009 14:45 archseth#29
NPCSEL(Beolin[ID=31547])
NPCDLG(Beolin[ID=31547])
DELAY(1000)
DLGSEL(Quest)
DELAY(1000)
DLGSEL([Specialty Liquor Delivery (In Progress)])
DELAY(1000)
DLGSEL("I'm here to deliver some liquor." )

why he did not acpt the quest???
01/03/2009 16:18 chrisek1987#30
Quote:
Originally Posted by archseth View Post
NPCSEL(Beolin[ID=31547])
NPCDLG(Beolin[ID=31547])
DELAY(1000)
DLGSEL(Quest)
DELAY(1000)
DLGSEL([Specialty Liquor Delivery (In Progress)])
DELAY(1000)
DLGSEL("I'm here to deliver some liquor." )

why he did not acpt the quest???
One line need to be changed on Gracia part2. Use this below :)
Code:
DLGSEL(   "I'm here to deliver some liquor."  )