Jump to content

Recommended Posts

Posted

yo guys. I made 1 script fo wl/pal for making trains, but i am at hospital so i did it from my head on piece of paper, atm i am posting via mobile, i will write here that script and if somebody could tell me what i made wrong tnx.

 

PosX= anyposition x,y,z just update it where u want to train

ID=x type item id

 

 

LABEL(START TRAIN)
MOVETO(POS1)
MOVETO(POS2)
MOVETO(POS3)
USESKILL(Provoke[iD=])
DELAY(600)
MOVETO(POS4)
USESKILL(Provoke[iD=])
DELAY(600)
MOVETO(POS5)
LABEL(CHECK HP)
CHARSTATUS(HP,<=,70)
{
USEITEM(Greater Healing Potion[iD=X])
JMP(CHECK HP)
}
LABEL(SCRIPT CONTINUE)
USESKILL(Aura Of Hate[iD=])
MOVETO(POS6)
USESKILL(Thrill fight[iD=])
DELAY(300)
USESKILL(Howl[iD=])
DELAY(300)
Label(homu)
USEITEM(Homonuculos sword[Conversion,ID=X])
DELAY(300)
LABEL(FB)
USEITEM(Forgoten Blade[Haste,ID=X])
DELAY(300)
LABEL(AI)
CHARSTATUS(HP,<=,30)
{
USESKILL(Angelic icon)
}
CharBuffs(Angelic Icon [iD=xxx])
{
JMP(SS)
}
JMP(AI)
DELAY(300)
LABEL(SS)
USEITEM(SAINT SPEAR[HASTE, ID=X])
USESKILL(Fell Swoop [iD=]
LABEL(STARTFIGHT)
SET(L2W ENABLE)
SET(FIGHTSTART)
USESKILL[War Cry[iD=XXX])
LABEL(CHECK HP2)
CHARSTATUS(HP,<=,70)
{
USEITEM(Greater Healing Potion[iD=X])
JMP(CHECK HP2)
}
LABEL(SCRIPT CONTINUE2)
LABEL(BR)
CHARSTATUS(HP,<=,20)
{
USESKILL(Battle Roar[iD=xxx])
}
CharBuffs(Battle Roar[iD=xxx])
{
JMP(CONTINUE)
}
JMP(BR)

LABEL(CONTINUE)
CHATSTATUS(HP,<=,5)
{
USESKILL(Revival[iD=xxx])
}
DELAY(180000)
LABEL(ENDFIGHT)
SET(STOPFIGHT)
SET(L2WALKER,DISABLE)
MOVETO(BUFFER POSITION)
{
RequestJoinParty(buffer name,0)
}
DELAY(1000)
{
CharBuffs(Prophecy of Fire[iD=X],Dance of Warrior[iD=X],Dance of Fury[iD=X],Dance of fire[iD=X],Dance of Vampire[iD=X],Improve Fight[iD=X],Berserker spirit[iD=X],Guidance[iD=X],Greater Might[iD=X],Improve condition[iD=X],Wind Walk[iD=X],Improve Critical[iD=X],Shield[iD=X])
}
DELAY(10000)
{
RequestOutOfParty(buffer name)
}
CALL(START TRAIN)

 

 

 

I am working on it that entire buff self perservation (revival,tol,vengeance ,ud, war cry etc) working via script, atm that i plan to put in heal tabs or self buffs

Sry for bad english

Tnx for answers in advance

 

I corrected some errors tnx to Bigos

 

 

so still have trouble can instead of delay to he whenno moobs move to buffer for buffs ?

 

Posted

yo guys. I made 1 script fo wl/pal for making trains, but i am at hospital so i did it from my head on piece of paper, atm i am posting via mobile, i will write here that script and if somebody could tell me what i made wrong tnx.

 

PosX= anyposition x,y,z just update it where u want to train

ID=x type item id

 

 

LABEL(START TRAIN)

SET(STOPFIGHT)

SET(L2WALKER,DISABLE)

MOVETO(POS1)

MOVETO(POS2)

MOVETO(POS3)

USESKILL(Provoke)

DELAY(600)

MOVETO(POS4)

USESKILL(Provoke)

DELAY(600)

MOVETO(POS5)

LABEL(CHECK HP)

JMP(CHECK HP)

CHARSTATUS(HP,<=,70)

{

USEITEM(Greater Healing Potion[iD=X])

}

*not sure now here should i write return.

RETURN

USESKILL(Aura Of Hate)

MOVETO(POS6)

***here u can add as many path point u need from time to time to jmp(check hp)

*this should bee on last point(corner of some room)

USESKILL(Thrill fight)

DELAY(300)

USESKILL(Howl)

DELAY(300)

LABEL(AI)

CALL(AI)

USEITEM(Homonuculos sword[Conversion,ID=X])

DELAY(300)

USEITEM(Forgoten Blade[Haste,ID=X])

DELAY(300)

USESKILL(Angelic Icon)

DELAY(300)

LABEL(SS)

JMP(SS)

USEITEM(SAINT SPEAR[HASTE, ID=X])

RETURN

SET(L2WALER, ENABLE)

SET(FIGHTSTART)

DELAY(240000)

*i used delay but i would like to someone tell me what is command for when no mobs alive continue.

LABEL(POF*DANCE)

JMP(POF*DANCE)

!CHARBUFFS(Prophecy of Fire.Dance of Warrior, Dance of Fury,Dance of Fire, Dance of Vampire)

{

REQUESTJOINPARTY(*buffer name,0)

}

CHARBUFFS(Prophecy of Fire,Dance of Warrior,Dance of Fury,Dance of Fire,Dance of Vampire)

{

REQUESTOUTOFPARTY(*buffer name)

CALL (START TRAIN)

 

I use pp/bd as buffer,

Have few questionts

Can i for using augments use:

USESKILL(Item skill:Refresh) or is some other like:

USEITEMSKILL(Refresh) ?

 

I am working on it that entire buff self perservation (revival,tol,vengeance ,ud, war cry etc) working via script, atm that i plan to put in heal tabs or self buffs

Sry for bad english

Tnx for answers in advanc

 

Ok 2 more question,

 

Is there any command like:

IFTHEREISNOMOREMOONS(DO THAT) ?

i want him to aproach buffer only till fight is over,

 

And how to make him no mather what he dont move from corner he stay there until last creep die, is that posible ?

Posted

LABEL(CHECK HP)

JMP(CHECK HP)

 

... here BOT will stop, and will still jumpin from JMP to Label indefinitely.

I guess you want bot STOP and recover HP in this moment. You shoud write something like this:

 

USESKILL(Provoke)

DELAY(600)

MOVETO(POS5)

LABEL(CHECK HP)

CHARSTATUS(HP,<=,70)

{

USEITEM(Greater Healing Potion[iD=X])

JMP(CHECK HP)

}

LABEL(SCRIPT CONTINUE)

......

Posted

LABEL(CHECK HP)

JMP(CHECK HP)

 

... here BOT will stop, and will still jumpin from JMP to Label indefinitely.

I guess you want bot STOP and recover HP in this moment. You shoud write something like this:

 

USESKILL(Provoke)

DELAY(600)

MOVETO(POS5)

LABEL(CHECK HP)

CHARSTATUS(HP,<=,70)

{

USEITEM(Greater Healing Potion[iD=X])

JMP(CHECK HP)

}

LABEL(SCRIPT CONTINUE)

......

U ar right. Tnx .

Mby u know i have problem with ai label , i need something like

Ifhavebuf(angelic icon)

Continue

Ifdonthavebuff(angelic icon)

Call(ai)

Is that posibla bro ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...