Jump to content

Recommended Posts

Posted

i want to make 2 script into one general script

this

// Beast Farm script
// Server:  l2j freya
// Autor: mochitto
// Date: 28.10.2010
// Special thanks for L2.NET contributors
// rev.: 34
PRINT_TEXT "SCRIPT STARTED!]"

// Main section
// ===============================
DEFINE_GLOBAL STRING NORMAL_MOB_NAME "Baby Alpine Kookaburra"
DEFINE_GLOBAL STRING NORMAL2_MOB_NAME "Young Kookaburra"
DEFINE_GLOBAL STRING FINAL_MOB_NAME "Adult Kookaburra"
DEFINE_GLOBAL STRING BANDIT1 "Beast Devourer"    
DEFINE_GLOBAL STRING BANDIT2 "Farm Bandit"        
DEFINE_GLOBAL STRING FINAL2_MOB_NAME "Full Grown Kookaburra" 
DEFINE_GLOBAL INT ID_LAST_MOB
DEFINE_GLOBAL INT RAND 0
DEFINE_GLOBAL INT COMM 0

SET_EVENT "<&SCRIPTEVENT_SELFDIE&>" "<&SYSTEM_CURRENTFILE&>" SelfDie

THREAD SKILLS
THREAD MP

DO
    LABEL HERE
    IF TARGET_ID == 0
        TARGET_NEAREST
        SLEEP 1200    
    ENDIF
    
    IF ( ( TARGET_NAME == NORMAL_MOB_NAME ) || ( TARGET_NAME == NORMAL2_MOB_NAME ) )
        USE_ITEM 15474
        SLEEP 800
    ELSE
        IF ( ( TARGET_NAME == FINAL_MOB_NAME ) || ( TARGET_NAME == FINAL2_MOB_NAME ) )
            ID_LAST_MOB = TARGET_ID
            GET_RAND RAND 300 2000
            SLEEP "<&RAND&>"
            USE_SKILL 348
            GET_RAND RAND 2300 3600
            SLEEP "<&RAND&>"
            USE_SKILL 348
            GET_RAND RAND 2300 3600
            SLEEP "<&RAND&>"
            WHILE TARGET_CUR_HP > 0
                IF TARGET_ID != ID_LAST_MOB
                    JUMP_TO_LABEL HERE
                ENDIF
                SLEEP 400          
            WEND
            GET_RAND RAND 800 2600
            SLEEP "<&RAND&>"
            TARGET_NEAREST
        ELSE
            IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) )
                ID_LAST_MOB = TARGET_ID
                USE_SKILL 254
                GET_RAND RAND 2300 3600
                SLEEP "<&RAND&>"
                WHILE TARGET_CUR_HP > 0
                    IF TARGET_ID != ID_LAST_MOB
                        JUMP_TO_LABEL HERE
                    ENDIF  
                    SLEEP 400          
                WEND
                GET_RAND RAND 800 2600
                SLEEP "<&RAND&>"
                TARGET_NEAREST
            ENDIF
        ENDIF
    ENDIF
    SLEEP 600
LOOP ONE == ONE

PRINT_TEXT "SCRIPT STOPED!]"
END_SCRIPT

FUNCTION SKILLS
    WHILE ZERO == ZERO
    
    IF CHAR_CUR_MP < 200
        IF TARGET_ID != 0
            COMMAND "/attack"
            SLEEP 1200    
        ENDIF        
        SLEEP 3000
    ELSE  
        IF TARGET_CUR_HP > 0
             
        IF ( ( TARGET_NAME == FINAL_MOB_NAME ) ) && ( ( TARGET_CUR_HP < TARGET_MAX_HP ) )
              USE_SKILL 0
              GET_RAND RAND 1800 3100
             SLEEP "<&RAND&>"
              USE_SKILL 0
              GET_RAND RAND 1800 3100
              SLEEP "<&RAND&>"  
        ELSE
            IF TARGET_NAME == FINAL_MOB_NAME
                COMMAND "/attack"
                SLEEP 5000    
            ELSE
                IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) ) 
                    USE_SKILL 0
                      GET_RAND RAND 1800 3100
                     SLEEP "<&RAND&>"
                      USE_SKILL 0
                      GET_RAND RAND 1800 3100
                      SLEEP "<&RAND&>"  
                  ENDIF
            ENDIF     
          ENDIF
          
          ENDIF
      ENDIF
      
      SLEEP 300
      
    WEND
RETURN VOID

FUNCTION MP
     DEFINE INT MPPOTS
     WHILE ZERO == ZERO  
          ITEM_COUNT MPPOTS 728
          IF MPPOTS > #i1
               IF ( CHAR_CUR_MP < ( ( CHAR_MAX_MP * 11 ) / 100 ) )
                    WHILE ( CHAR_CUR_MP < ( CHAR_MAX_MP - 700 ) ) 
                        print_text "use mana"
                         ITEM_COUNT MPPOTS 728
                         IF MPPOTS > #i1
                              USE_ITEM 728 // Mana Potion
                         ELSE
                              BREAK 2
                         ENDIF
                         SLEEP 900
                    WEND
               ENDIF
          ELSE
               SLEEP 10000
          ENDIF
          SLEEP 25
     WEND
RETURN VOID   
        
FUNCTION SelfDie
    IF COMM != 1
        COMM = 1
        SLEEP 3000
        TAP_TO TOWN
    ENDIF
RETURN VOID

and this

WHILE CHAR_NAME == CHAR_NAME
IF CHAR_TITLE != CHAR_NAME
SAY_TEXT "<&CHANNEL_ALL&>" "<&CHAR_TITLE&>"
ENDIF
SLEEP 10000
WEND 
END_SCRIPT

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • ⚔️ JOIN US – L2CLASSIC.GLOBAL – DISCORD.GG/L2CLASSICGLOBAL - TEASER   ━━━━━━━━━━━━━━━━━━ 🔥 SERVER CONCEPT A lot of people want to play, but they don't have the same amount of time available in the spring & summer as they do in the winter. That’s why we created a  High Rate Server focused on PvP. 🎯 Obtain items by playing PvP - not by autofarming mobs or using bots ⚔️ Progress through PvP, events, sieges, and real competition ⏳ Farming still exists, but it’s optional and balanced 🚀 Fast-paced progression – reach full gear in a short time This server is built for action. ━━━━━━━━━━━━━━━━━━ 🎮 WHY LINEAGE II CLASSIC? We chose Lineage II Classic to maximize your gameplay experience: 🎥 Modern damage & heal indicators 🖥️ Improved video rendering options with🛠️ Major bug fixes 🧩 Huge potential for unique custom content & ⚙️ Stable and optimized performance ⚔️ Client: Lineage II Classic / Skilltree: Interlude (C6) ━━━━━━━━━━━━━━━━━━ ⚙️ SERVER SETTINGS ⚡ XP 800x / SP 800x / Adena 800x 🎒 Unique Auto Farm system ⏳ Buff duration: 3 Hours 🎉 Automatic Events (TVT, CTF, DM, RACE, DUNGEONS & HIGHRATE) 👥 Maximum 3 Clients per PC 🎯 Max 28 buffs (including dances & songs) 💰 Auto Loot for monsters / Manual Loot for Raid Bosses 🧬 Custom Rebirth & PvP Skills 👑 Custom Noblesse & subclass System 📜 Customized Community Board (ALT+B) ━━━━━━━━━━━━━━━━━━ 🎭 Enchant System 🛡️ Max Enchant on armor is +12 and safe is +3 ⚔️ Max Enchant on weapons is +21 and safe is +3 ⚡ Normal Enchant Scrolls Chance is 65% ⚡ Blessed Enchant scrolls Chance is 75%) ⚡ Ancient Enchant scroll Chance is 85% (If the enchant fails, the enchant value remains unchanged)     ━━━━━━━━━━━━━━━━━━ 🎯 Implemented PvP Name & Title Color 🎨 Your name will glow based on your strenght.   ━━━━━━━━━━━━━━━━━━ 🏰 NEW MAIN TOWN – SUMMER GIRAN CASTLE TOWN All characters spawn in the new Summer Giran Castle Town. Fully prepared for battle from the start. ✅ All NPCs located in Main Town ✅ AIO Buffer (3-hour buffs, free) ✅ Global Gatekeeper (free teleport) ✅ Class Changer – Carola ✅ Event Shop – Dianne (Event Medals rewards) ✅ Free consumables – Misc Shop Harvana ✅ A/S Non-Custom Weapons, Armors, Shields & Jewelry – Mantra Mannager ✅ Apella, Elegia armors & Vesper, Dusk Weapons - Custom Shop Start fast. No wasted time. ━━━━━━━━━━━━━━━━━━ 💎 CUSTOM PROGRESSION SYSTEM 🛡️ ARMOR REFINING SYSTEM On L2CLASSIC.GLOBAL, refining gives you a real PvP advantage. You start with S Grade armor at 100% available on shop. Upgrade Path: S Grade → Apella → Elegia ✔ No failure chance when refining ✔ Enchant remains after refine ✔ Entire set must be refined equally to activate Set Bonus ✔ Materials dropped from Raid Bosses Refinement increases your PvP power significantly.   ━━━━━━━━━━━━━━━━━━ ⚔️ WEAPON TIERS 🔹 Vesper Weapons – Tier 1 🔹 Dusk Weapons – Tier 2 – Upgraded Vesper (materials from Raid Bosses) 🔹 Dusk Weapons & Shields – also from Raid Boss drops Dusk weapons include additional bonus stats.  -  ━━━━━━━━━━━━━━━━━━ 👑 CUSTOM NOBLESSE SYSTEM To become Noblesse, collect items from the raid bosses (Each raid drop 2 to 3 crowns): • Death Lord Hallate / Kernon / Longhorn Golkonda / Shilen's Messenger Cabrio ( 2h respawn time) Noblesse Manager: Eddy Wally (Main Town, near church entrance) ━━━━━━━━━━━━━━━━━━ 🧩 CUSTOM SUBCLASS SYSTEM To unlock Subclass, collect items from bosses: • Gariott Pudge / Death Prophet / Priest Slardar located in Elven Ruins ( 2h respawn time) Subclass Manager: Klaus (beside Noblesse Manager) ✔ Up to 3 subclasses ✔ 2nd and 3rd subclass are free ━━━━━━━━━━━━━━━━━━ 🧬 REBIRTH SYSTEM When you collect 50 PvP Runes, visit Rebirth Manager Selenor. ✔ Maximum 3 Rebirths ✔ 1 Book of Rebirth per chosen skill ✔ Additional unique PvP skills available   Available Rebirth Skills include: Rebirth Acumen                                 Rebirth Agility Rebirth Empower                               Rebirth Focus Rebirth Guidance                               Rebirth Haste Rebirth Heal                                       Rebirth Might Rebirth Magic Barrier                         Rebirth Mana PvP Resurrection                                PvP Medusa PvP Return                                          PvP Dash PvP Arcane Frenzy ━━━━━━━━━━━━━━━━━━ 👹 High Rate event & items No restrictions. The High Rate Event will take place in the catacombs twice per week. During this event,you will encounter monsters with drop rates 5times higher than in normal zones. You will also face two famous RaidBosses in the world of LINEAGE2: Anakim & Lilith. These bosses will drop a special tattoo called the Adennian Tatto. This tattoo accupies a separate slot, diferent from the regular tattoo slot. The Adennian Tattoo will be visibly displayed on your character's skin and will make a real diference in PvP. ━━━━━━━━━━━━━━━━━━ ⚡ The Adventurer's Bracelet The Adventurer's Bracelet has been added to our gameplay.(You can obtain it from Raid Bosses with a 25% chance drop rate. You will buy the Talismans from Harvana in the main town and they are consumable and will disappear when their mana runs out. ━━━━━━━━━━━━━━━━━━ 🏆 OLYMPIAD SYSTEM  & SPECIAL GLOW No restrictions. Best gear wins. And for the strongest competitors we have ✨ Unique “True Hero” Glow. Players who achieve Hero multiple times will receive exclusive visual glow. ━━━━━━━━━━━━━━━━━━ 🧨 CHAOTIC PvP ZONE A completely new chaotic zone: ⚔️ Free-for-all combat 👁️ No identity visibility 🔥 Everyone vs Everyone New Item: Chaos Fragment Obtained only through PvP inside Chaotic Zone & Used at Laena Buffer to obtain special buffs. You can choose: 3 Attack Buffs & 3 Defense Buffs (15 Chaos Fragments per buff) ⚠️ Only 1 Attack + 1 Defense buff active at the same time. ━━━━━━━━━━━━━━━━━━ 🌍 RAID BOSSES Many additional Raid Bosses added at original spawn locations. ✔ Only Lv 76+ Raid Bosses Including Ant Queen, Core, Orfen Raid Bosses drop: • Custom Jewelry • Gold Weapons • Refining Materials • Attribute Stones • Subclass & Noblesse Items   ━━━━━━━━━━━━━━━━━━ 🔥 ATTRIBUTE SYSTEM Six elements: 🔥 Fire /💧 Water /🌪 Wind /🌍 Earth /✨ Holy /🌑 Dark ✔ 50% chance success (cannot downgrade) ✔ Attack attribute +5 on weapon ✔ Defense attribute +6 on armor ✔ Max level 3 & Max 1 attack element + 3 defense elements Attribute Stones drop from: ⚔️ Raid Bosses 👹 Ancient Giants (Giants Cave 3) 👑 Baylor Monsters (random spawn hourly) When engaging Baylor → you become flagged. ━━━━━━━━━━━━━━━━━━ 🛠 ADDITIONAL SYSTEMS 📜 Community Board (ALT+B) includes: • PvP/PvE/Pk Ranking • Raid Points & Raid Status Ranking • Online Ranking & Fame Ranking • Clan & Premium + Advanced Drop Search 🎯 Daily Missions (retail-like + custom) & Attendance Check System ⚙️ .menu command: Disable/Enable animations, AutoPotions, Refusal Mode. 🩸 PK Manager – Redemption Sphere allows you to Remove PK's. 🎭 Custom Accessories: Hats, masks, agathions, pets, monsters — PvP unlock based. 🎨 Custom Appearance Costumes & Restore Stone available if removed.   ━━━━━━━━━━━━━━━━━━ ⚡ JOIN US NOW: BETA IS ANNOUNCED DAY 20FEB,2026. Fast progression / PvP-focused gameplay / No pointless grind /Real competition. Welcome to the new era of Lineage II : L2CLASSIC.GLOBAL     
    • 🚀 Client Optimization Sources — High Five (H5) — $3,500 After a long internal development cycle, my Client Optimization System for Lineage 2 High Five is ready. This is NOT a “config tweak” pack. This is a real performance + stability optimization system, delivered as FULL SOURCE CODE. ✅ What you get Full Sources (not a license, not binaries-only) Optimizations focused on FPS consistency, stutter reduction, and heavy PvP / crowded zones Real work done at the engine/client level (not placebo “ini magic”) Clean structure, ready to integrate into your own client-side project Documentation / notes included so you understand what you’re applying 🎯 Intended results (typical scenarios) Smoother gameplay in towns / sieges / mass PvP Reduced frame drops when many characters/effects are on screen More stable client behavior under heavy load 💼 Delivery model You receive full sources No license system (you own the code you receive) Private delivery + support for integration guidance (basic) 💲 Price ✅ High Five (H5) Sources: $3,500 USD 📩 DM me for details / proof / integration requirements. 🔥 Next Release — Client Optimization Sources — Classic 166EU — $3,500 The same optimization line is being adapted for Lineage 2 Classic 166EU. ✅ Release: Next week ✅ Full Sources ✅ Same goal: stability, FPS consistency, heavy-load performance 💲 Classic 166EU Sources: $3,500 USD Serious buyers only If you run a real project and you care about real client performance, message me and I’ll share what’s included, compatibility notes, and delivery terms. 📩 DM to buy / reserve your copy  
    • I didn't reply because I was sleeping... you should be more patient instead of posting the same thing on every forum... I also replied to you on Facebook...
    • ☞ We are available 24/7. ✔ Listen up: a truly clean transaction means cutting all ties to its past. The only way to eliminate that trail is to swap your tainted crypto for our clean reserves. That’s exactly why our mixer outperforms everyone else in the game. ✔ Attention! Be sure to follow the direct link on Telegram. The link is in the thread's first post. We do not have a channel, bot, etc. ⠀⠀⠀⠀⠀⠀⣀⣠⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣴⡿⠋⠉⠉⠻⢿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⠹⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠈⣿⡄⠀⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠸⣷⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⢀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⢻⣇⠀⠀⠀⠀⠀⢸⣿⣿⡿⠿⠿⠟⠛⠛⠻⢿⣿⣶⣄⠀⠀⠀ ⠀⠀⠀⠀⠀⢈⣿⠆⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣤⣤⣤⣤⠀⠈⠻⣿⣇⠀⠀ ⠀⠀⠀⠀⢀⣾⡏⠀⠀⠀⠀⠀⠀⠀⣴⡿⠋⠉⠀⠀⠀⠀⠀⠀⠀⢹⡿⠀⠀ ⠀⠀⣀⣤⣼⣿⠀⠀⠀⠀⠀⠀⠀⢸⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣷⣄⠀ ⢠⣾⠟⠋⠉⠋⠀⠀⠀⠀⠀⠀⠀⠈⣿⣦⣀⣀⣀⣤⣤⣶⣶⠿⠋⠁⢹⣿ ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡟⢉⣿⠋⠉⠉⠉⠁⠀⠀⠀⠀⢸⣿⠀ ⢸⣿⠀⠀⠀⠀⠀⢀⣀⣀⣤⣴⠿⠋⠀⠘⣷⡀⠀⠀⠀⠀⠀⠀⢀⣴⣿⠏⠀ ⢸⣿⡄⠀⠀⠀⠀⠈⠉⠉⠁⠀⠀⠀⠀⠀⣸⣿⢶⣤⣤⣴⡶⠿⠛⠙⣿⣆⠀ ⠈⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⣽⣿⠀ ⠀⠘⣿⣆⠀⠀⠀⠀⣠⣤⡀⠀⠀⠀⠀⠈⠻⣧⣀⡀⠀⠀⠀⣀⣠⣴⡿⠇⠀ ⠀⠀⠘⢿⣿⣦⣤⣴⡿⠻⠿⣷⣦⣤⣤⣤⣴⣾⣿⡿⠿⠿⠿⠟⠛⠉⠀⠀⠀ ⠀⠀⠀⠀⠀⠀  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..