Jump to content

[GUIDE]How to make a script


Versus

Recommended Posts

Live example!

 

I create it and leveling a tank in gludio 16-24.

 

Requiriments: Char in center of gludio town.

200 Healig Pots

Top No Grade

 

Set Patching L2Walker: define patchpoint and use Healing Pots if HP < 30%.

 

LABEL(start)
SET(L2WALKER,DISABLE)
SET(FIGHTSTOP)
MOVETO(-14251,123654,-3143)
MOVETO(-14251,123654,-3143)
MOVETO(-14251,123654,-3143)

//GROCERY
MOVETO(-14305,124183,-3143)
MOVETO(-14529,124572,-3149)
MOVETO(-14622,124626,-3112)
MOVETO(-14681,124626,-3140)
MOVETO(-14817,124512,-3140)

//CHECK SOULSHOT
ITEMCOUNT(Soulshot: No Grade[iD=1835],<=,1000)
{
NPCSEL(Harmony[iD=30254])
NPCDLG(Harmony[iD=30254])
DLGSEL(Buy Consumables and Minerals )
BUYITEM(Soulshot: No Grade[iD=1835],6000;)
}

//CHECK RECOVERY NO GRADE
LABEL(pen)
ITEMCOUNT(Scroll: Recovery[iD=8594],<,1)
{
NPCSEL(Harmony[iD=30254])
NPCDLG(Harmony[iD=30254])
DLGSEL(Buy Consumables and Minerals )
BUYITEM(Scroll: Recovery[iD=8594],1;)
}

//CHECK RECOVERY GRADE D
LABEL(pen2)
ITEMCOUNT(Scroll: Recovery[iD=8595],<,1)
{
NPCSEL(Harmony[iD=30254])
NPCDLG(Harmony[iD=30254])
DLGSEL(Buy Consumables and Minerals )
BUYITEM(Scroll: Recovery[iD=8594],1;)
}

//RETURN CENTER
LABEL(center)
MOVETO(-14877,124265,-3140)
MOVETO(-14930,124082,-3112)
MOVETO(-14903,123962,-3143)
MOVETO(-14484,123778,-3143)
MOVETO(-14347,123637,-3143)
CALL(buff)

//BUFFS
LABEL(buff)
MOVETO(-14290,123223,-3143)
MOVETO(-14197,122698,-3143)
MOVETO(-14140,122222,-3016)
MOVETO(-13975,121996,-3015)
NPCSEL(Newbie Guide[iD=31077])
NPCDLG(Newbie Guide[iD=31077])
DLGSEL(Check the list of available Support Magic.)
DLGSEL(Receive support magic.)
DELAY(4000)
MOVETO(-14159,122191,-3015)
MOVETO(-14155,122492,-3143)
MOVETO(-14256,122913,-3143)
MOVETO(-14304,123404,-3143)
MOVETO(-14274,123548,-3143)

//RUN
LABEL(spot)
MOVETO(-14100,123640,-3143)
MOVETO(-13569,123664,-3143)
MOVETO(-12884,123656,-3143)
MOVETO(-12236,123645,-3128)
MOVETO(-11264,123810,-3068)
MOVETO(-10153,123885,-3060)
MOVETO(-9364,123890,-2924)
MOVETO(-8545,123888,-2898)
MOVETO(-7344,123868,-3059)
MOVETO(-6887,122789,-3060)
MOVETO(-6889,121557,-3104)
MOVETO(-6786,120701,-3128)

//PATCHPOINTS
LABEL(setpatch)
SET(DEFRANGE,CLEAR)
SET(DEFPATH, CLEAR) 
Set(RANGETYPE, DEFPATH) 
SET(DEFPATH,ADD,-6505,122823,-3032,2500)
SET(DEFPATH,ADD,-6201,118077,-3312,2500)
SET(DEFPATH,ADD,-4568,116429,-3344,1500)
SET(DEFPATH,ADD,-6806,115934,-3312,1500)
SET(DEFPATH,ADD,-5366,114948,-3344,2000)
SET(L2WALKER,ENABLE)
SET(FIGHTSTART)

//LIVE?
LABEL(live)
DELAY(50000)
CharStatus(CHP,<=,0)
{
DELAY(1000)
GOHOME()
DELAY(10000)
SET(L2WALKER,DISABLE)
SET(FIGHTSTOP)
MOVETO(-14251,123654,-3143)
MOVETO(-14251,123654,-3143)
USEITEM(Scroll: Recovery[iD=8595])
USEITEM(Scroll: Recovery[iD=8594])
CALL(start)
}
CALL(live)

 

Click Run and leveling!

A good choice is buy a lot of seeds and set Walker for harvest.

OMG GOOD!
Link to comment
Share on other sites

  • 3 months later...
  • 3 weeks later...
  • 4 months later...
  • 2 months later...

This is an awesome guide actually. Just awesome well explained not to many unneded details just perfect an good work to the creator and a thanks for the guy that shared it with the world-wide community. :)

Link to comment
Share on other sites

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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock