Jump to content

[HELP] l2net auto enchant script


x5iwyx

Recommended Posts

when i use this script

 

//Settings

DEFINE STRING ITEMNAME "Forgotten Blade"            //Item name, don't write the SA

DEFINE STRING ITGRADE S                    //Item grade (s80=s)

DEFINE STRING ENCHNAME "Scroll: Enchant Weapon (S)"    //Enchant name

DEFINE STRING ENCHANT 16                //Max enchant

DEFINE INT CURENCHANT 38                 //Current enchant, change line 38 too

DEFINE INT DELAY 2000                    //Delay of all actions (ms)

 

//Some definitions

DEFINE STRING CRYSTAL "Crystal: <&ITGRADE&> Grade"

DEFINE INT CRYID 0

DEFINE INT CRYCOUNT 0

DEFINE INT CRYCOUNT2 0

ITEM_GET_ID CRYID "<&CRYSTAL&>"

DEFINE STRING HEXCODE "00 00 00 00"

DEFINE STRING ITNAME 0

DEFINE INT ENCHID 0

DEFINE INT ENCHCOUNT 0

DEFINE INT ENCHUID 0

DEFINE STRING ENCHCODE 0

DEFINE STRING ITEM 0

DEFINE ARRAYLIST INVEN_AL 0

GET_INVENTORY INVEN_AL

//Calc enchant unique id

ITEM_GET_ID ENCHID "<&ENCHNAME&>"

INVEN_GET_UID ENCHUID "<&ENCHID&>"

MATH ENCHCODE ENCHUID GET_HEX

DEFINE STRING ENCH "19 <&ENCHCODE&> 00 00 00 00"

 

//Start actions

FOREACH I Inventory INVEN_AL

   SET ITNAME "<&INVEN_AL.I.NAME&>"

   IF ITNAME == ITEMNAME

       CALLSUB ENCHANT

       PRINT_TEXT "<&ENCHCOUNT&> enchants sobrando. "

       SET CURENCHANT 0

   ENDIF

NEXTEACH

 

PRINT_TEXT "Done"

SCRIPT_END

 

SUB ENCHANT

 

MATH HEXCODE "INVEN_AL.I.ID" GET_HEX

 

SET ITEM "5F <&HEXCODE&> 00 00 00 00"

 

WHILE ZERO == ZERO

ITEM_COUNT CRYCOUNT "<&CRYID&>"

IF CURENCHANT < ENCHANT

   ITEM_COUNT ENCHCOUNT "<&ENCHID&>"

   IF ENCHCOUNT > ZERO

       INJECT "<&ENCH&>"

       SLEEP "<&DELAY&>"

       INJECT "<&ITEM&>"

       SLEEP "<&DELAY&>"

       MATH CURENCHANT CURENCHANT ADD ONE

 

   ITEM_COUNT CRYCOUNT2 "<&CRYID&>"

   IF CRYCOUNT2 > CRYCOUNT

       RETURNSUB

   ENDIF

   ELSE

       PRINT_TEXT "Enchant is over."

       SCRIPT_END

   ENDIF

ELSE

   PRINT_TEXT "Successfully enchanted."

   RETURNSUB

ENDIF

WEND

RETURNSUB

 

 

i see on chat "09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE

09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE

09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE

09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE

09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE

09:02:05 :[ERROR: SCRIPT ERROR : THREAD[13] LINE[30] : INVALID VARIABLE TYPE"

 

what i must change?

gracia epilogue

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks 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

    • OUR OFFICIAL WEBSITE / FORUM - MILLENNIUM-HOOK.NET CHEAT DESCRIPTION: We are offering the best in market Division 2 hacks without detection. If you are wondering where to get the best cheats and hacks for The Division 2, you are at the right place! Our private TD2  hack has been completely undetected since we released it! Also, our cheat has all the most necessary functions such as aimbot, esp, etc. And the limited slots will give even more security to our product. SUPPORTED ANTI-CHEATS: (read more on official website) - Easy Anti-Cheat (EAC): Undetected & Safe - FairFight AC: Undetected & Safe Our The Division 2 cheat has a limited number of slots to ensure greater product security! (Available slots check on official website) FEATURES: AIMBOT: - Enable aim - No recoil - Silent aim - Aim distance - Aim fov - Draw aim fov - Fov change - Weakspot - Aim hitbox - Head - Neck - Chest - Random ESP: - Enable visuals - Enable radar - Skeleton - Weakspot - Pre-rendering - ESP distance - Radar distance - Auto - Enemy - Name - Blacklist - Whitelist - Custom color - Clear whitelist - Clear blacklist MISC: - Auto fire/Triggerbot - Rapid of fire rate - Shotgun of fire rate - Magic bullets - Fast reload - Unlimited ammo - Shoot in safehouse - Accelerate - Noclip REQUIREMENTS: - Included HWID Spoofer: Yes - Stream Bypass: Yes - Supported game modes: Windowed, Borderless - Supported platforms: Steam / Uplay / Epic Games - Supported CPU: Intel & AMD - Supported OS: Windows 10 (1903,1909,2004,20H2,21H1, 22H2), Windows 11 (All version). Supported OS change and are added periodically. More check on official website.   IN-GAME SCREENSHOTS:   - Check on the official website.
    • 50% discount for the next 3 copies Price 150 , will try for test server not guaranteed
    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices https://campsite.bio/utchihaamkt  
  • Topics

×
×
  • Create New...