Jump to content

Recommended Posts

Posted

Hi guys,,

 

 

 

It's my first 'more advanced' script.

 

I have to say, it was rather complicated to make.. cause you deal with several mobs and your hp drops rather fast.

 

 

 

I tested it on easyer mobs, and went perfectly.. however with a crapload of mobs or with stronger mobs its gonna be hard.

 

 

 

Few notes:

 

*You can fill in your own coordinates ... here picture on what they all mean

 

 

2co4cwm.png

 

 

*Mind that your sleep1,2,3,4,A and B are long enough to walk to that location!!!

 

 

 

*Use Bot options > Buffs and heals; to use revival and battle roar

 

> Items; to spam mp's and greater healing potions

 

> AutoFighter; Auto Unstuck

 

 

 

 

 

Enjoy the script,, when i got time ill update it maybe a bit with more check's so he wont die for sure... but worked enough on it for now xD

 

 

 

Greetz. (Special thanks to Saleen, Infant and tstert for helping a bit )

 

 

 

//Warlord script made by SolarStorm

//Made for hellbound farm-area on L2Dubai

//Enjoy

//============================

PRINT_TEXT "Warlord script started by Solar."

//============================

//Under this HP_percentage will it use the stun attacks

DEFINE_GLOBAL INT HP_Percentage 80      //Chance this to what u like

//============================

DEFINE_GLOBAL INT HP_Percentage2 90    //To check if he still has mobs (Keep it high)

//============================

DEFINE_GLOBAL INT HP_Percent1 0

DEFINE_GLOBAL INT HP_Percent2 0

//============================

HP_Percent1 = char_max_hp / "#i100"

HP_Percent1 = HP_Percent1 * HP_Percentage

HP_Percent2 = char_max_hp / "#i100"

HP_Percent2 = HP_Percent2 * HP_Percentage2

//=====================================

//Buffs Warcry, fell swoop, Thrill fight and Detect beast weakness

THREAD Buffs

//=====================================

//Starting the loop

//First half of the square we run

    DO

         MOVE_TO 21912 252267 -2114 //Starting location

              SLEEP 10000

         USE_SKILL 286 //Provoke

         SLEEP 1000

         MOVE_TO 20914 254484 -2016 //Second location

              SLEEP 15000 //Time to run to location

         USE_SKILL 286 //Provoke

         SLEEP 1000

    TARGET_NEAREST_ID 1022756

         SET_TARGETING TYPE ZERO  //Checking target if its real mob

         SET_TARGETING ATTACKABLE ZERO

         SET_TARGETING COMBAT ZERO

    TARGET_NEAREST_ID 1022756

    ATTACK_TARGET

         SLEEP 500

         WHILE Char_Cur_HP < HP_Percent1

              TARGET_NEAREST_ID 1022756               

              USE_SKILL 48

              SLEEP 1000

              TARGET_NEAREST_ID 1022756

              ATTACK_TARGET

              SLEEP 6000

         WEND

              CANCEL_TARGET  //Going to check if we still have mobs

                        WHILE Char_Cur_HP < HP_Percent2

                             TARGET_NEAREST_ID 1022756  //Attack the mob with ID

                             ATTACK_TARGET 

                             SLEEP 2000

                        WEND                

         SLEEP 5000 //Little pause

//Second run

//Second half of the square we run

         MOVE_TO 18523 254471 -2016 //Third location

              SLEEP 10000 //time to run

         USE_SKILL 286 //Provoke

         SLEEP 1000

         MOVE_TO 17898 252300 -2019 //Fourth location

              SLEEP 15000 //time to run

         USE_SKILL 286 //Provoke

         SLEEP 1000

    TARGET_NEAREST_ID 1022756

         SET_TARGETING TYPE ZERO  //Checking target if its real mob

         SET_TARGETING ATTACKABLE ZERO

         SET_TARGETING COMBAT ZERO

    TARGET_NEAREST_ID 1022756

    ATTACK_TARGET

         SLEEP 500

         WHILE Char_Cur_HP < HP_Percent1

              TARGET_NEAREST_ID 1022756               

              USE_SKILL 48

              SLEEP 1000

              TARGET_NEAREST_ID 1022756

              ATTACK_TARGET

              SLEEP 6000

         WEND

              CANCEL_TARGET  //Going to check if we still have mobs

                        WHILE Char_Cur_HP < HP_Percent2

                             TARGET_NEAREST_ID 1022756  //Attack the mob with ID

                             ATTACK_TARGET 

                             SLEEP 2000

                        WEND                

         SLEEP 5000 //Little pause

LOOP ONE == ONE

END_SCRIPT



FUNCTION Buffs

   While Char_Cur_HP > 0

         USE_SKILL 78

         SLEEP 1000

         USE_SKILL 421

         SLEEP 1000

         USE_SKILL 130

         SLEEP 1000

         USE_SKILL 80

         SLEEP 100000

   WEND

Return void



 

 

ITS TESTED ON L2NET V390/DATAPACK V387

  • 2 weeks later...
  • 2 months later...
  • 1 year later...

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.



  • Posts

    • L2 AARON - ADVERTISTING BANNERS     L2 AMBROSIAL - ANIMATED BORDER Portfolio - protojahdesigns.com You can also join Protojah Designs Discord
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store ✅ ➡ Our SMM-Boosting Panel: socnet.pro ✅ ➡ Telegram Shop Bot: socnet.shop ✅ ➡ Telegram Support: https://t.me/solomon_bog ✅ ➡ Telegram Channel: https://t.me/accsforyou_shop ✅ ➡ Discord Support: @AllSocialNetworksShop ✅ ➡ Discord Server: https://discord.gg/y9AStFFsrh ✅ ➡ WhatsApp Support: 79051904467✅ ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ✅ ➡ Email Support: solomonbog@socnet.store ✅
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store ✅ ➡ Our SMM-Boosting Panel: socnet.pro ✅ ➡ Telegram Shop Bot: socnet.shop ✅ ➡ Telegram Support: https://t.me/solomon_bog ✅ ➡ Telegram Channel: https://t.me/accsforyou_shop ✅ ➡ Discord Support: @AllSocialNetworksShop ✅ ➡ Discord Server: https://discord.gg/y9AStFFsrh ✅ ➡ WhatsApp Support: 79051904467✅ ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ✅ ➡ Email Support: solomonbog@socnet.store ✅
    • giving error in npc grp
  • Topics

×
×
  • 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