Jump to content

Recommended Posts

Posted

Hey. I am playing on http://l2adrenalin.com/ , it's a multicraft and I made my tts script, changed it cause all npcs are nearby. but my l2 crashes every time I run the script. (i'm 90% sure it's cause of bypasses (tried removing it from script - runs to npcs, but don't talk to them, as it supposed to do without bypass and does not crash)). Is there any way to solve this problem?

Posted (edited)

dont ย click I'll deliver you.....ย 

put dialog adrenaline and ย error ย line reedย 

Edited by valentin
  • 2 weeks later...
Posted (edited)

Hi,

im working on an enchant script and i try to equip an unenchanted item even if i have some already enchanted in my inventory.

How can i equip an unenchanted item instead of the first item in my inventory?

ย 

I tried this:

ย Engine.UseItem ('Elegia Leather Breastplate', Item.EnchantLevel=0);//if item is not equiped do equip unenchanted

but this does not work.

ย 

can someone help?

Edited by jorvus
Posted

Hi,

im working on an enchant script and i try to equip an unenchanted item even if i have some already enchanted in my inventory.

How can i equip an unenchanted item instead of the first item in my inventory?

ย 

I tried this:

ย Engine.UseItem ('Elegia Leather Breastplate', Item.EnchantLevel=0);//if item is not equiped do equip unenchanted

but this does not work.

ย 

can someone help?

maybe this help

if inventory.user.byid(123, item) and (item.enchantlevel = 0) then begin
  engine.useitem(item);
end;
Posted
ย 

ย 

maybe this help

if inventory.user.byid(123, item) and (item.enchantlevel = 0) then begin
engine.useitem(item);
end;

ย 

First thanks for your fast reply, your great!

The problem is, i do have enchanted items in my inventory and as i understand, this code checks if there are ANY enchanted items of the same ID and if yes then it does not use the item.

ย 

What i want is, to enchant lets say 20 items in a row to +7. If the first item is +7 then use an unenchanted item.

ย 

Any help is appreciated , meanwhile ill sleep over it, maybe that helps^^

Posted

ย 

ย 

First thanks for your fast reply, your great!

The problem is, i do have enchanted items in my inventory and as i understand, this code checks if there are ANY enchanted items of the same ID and if yes then it does not use the item.

ย 

What i want is, to enchant lets say 20 items in a row to +7. If the first item is +7 then use an unenchanted item.

ย 

Any help is appreciated , meanwhile ill sleep over it, maybe that helps^^

ย 

i checked that, and i dont know how use item with same id

Posted

Hello there, Im looking for macro ussage and/or player target using Adrenaline scripting language (Npc Buffer is Player type and doesn't have ID) any help? :D

engine.settarget('Npc Buffer');
engine.movetotarget;
delay(1000);
engine.attack;

probably must work

Posted (edited)

Hi, first of all, sorry for my English. I try to learn Delphi ... but my char looks like a headless chicken.

1) When my lvl up to 20 or 40 I can change my class in a "support dialogue," with the symbol "?". If this can be done with the scripts? I do not know how to open this dialog box.

2) What is the best way to know what city am I? I try to use 4 points, to a large area around the city and compare with my current position, but not working well.

3) if possible run scripts step by step? The same that โ€œf5โ€ and โ€œf8โ€ in VB.

4) if possible open mails and take all?

Ty for reading.

Edited by varrakuda
Posted

Hi, first of all, sorry for my English. I try to learn Delphi ... but my char looks like a headless chicken.

1) When my lvl up to 20 or 40 I can change my class in a "support dialogue," with the symbol "?". If this can be done with the scripts? I do not know how to open this dialog box.

2) What is the best way to know what city am I? I try to use 4 points, to a large area around the city and compare with my current position, but not working well.

3) if possible run scripts step by step? The same that โ€œf5โ€ and โ€œf8โ€ in VB.

4) if possible open mails and take all?

Ty for reading.

ย 

1: depends on what type of dialogue box it is. If it's tutorial window no. If dialogue box, yes. Engine.DlgSel('whatever')

2: You gotta have spawnpoints in all cities/the city you know you will be in. Eg. if you soe from somewhere near Giran you will end up in one of the n spawnpoints in Giran. See adr scripting guide for how to use 'inrange' command.

3: yes. Again, see scripting manual. Hint: QuestStatus

4: no

Posted (edited)

1: depends on what type of dialogue box it is. If it's tutorial window no. If dialogue box, yes. Engine.DlgSel('whatever')

2: You gotta have spawnpoints in all cities/the city you know you will be in. Eg. if you soe from somewhere near Giran you will end up in one of the n spawnpoints in Giran. See adr scripting guide for how to use 'inrange' command.

3: yes. Again, see scripting manual. Hint: QuestStatus

4: no

ย 

1: ok now i open the question but imposible select class :S

ย 

d6JLnw.jpg

    engine.openquestion;
    delay(500);
    engine.dlgsel('Orc Raider.');
    delay(500);
    engine.dlgsel('Orc Raider');
    delay(500);
    engine.dlgsel(1);
    delay(500);
    engine.bypasstoserver ('Orc Raider.');
    delay(500);
    engine.bypasstoserver ('bypass -h Orc Raider.');
    delay(500);      
    engine.bypasstoserver ('-h Orc Raider.');

orย https://imageshack.us/i/pad6JLnwj

ย 

2: ok

3: i don't understand :S

4: okย 

ย 

Ty a lot

Edited by varrakuda
Posted

1: ok now i open the question but imposible select class :S

ย 

d6JLnw.jpg

    engine.openquestion;
    delay(500);
    engine.dlgsel('Orc Raider.');
    delay(500);
    engine.dlgsel('Orc Raider');
    delay(500);
    engine.dlgsel(1);
    delay(500);
    engine.bypasstoserver ('Orc Raider.');
    delay(500);
    engine.bypasstoserver ('bypass -h Orc Raider.');
    delay(500);      
    engine.bypasstoserver ('-h Orc Raider.');

2: ok

3: i don't understand :S

4: okย 

ย 

Ty a lot

i dont see screen reupload

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

    • Welcome to L2EpicFail Server developed by gamers for gamers! ย OBT - 7thย Marchย 2024 at 18:00 GMT+0 GRAND OPENING - 14thย Marchย 2025 at 18:00 GMT+0 Website :ย https://l2epic.fail/ Discord :ย https://discord.gg/6hwhrkrHBG ย  ย  Server Features and Rates Xp โ€“ 15x Sp โ€“ 9x Adena โ€“ 6x Drop โ€“ 2x Spoil - 2x Seal Stones drop -ย  3x ย  Epic Raid Boss drop - 1x Regular RBs - EXP 5x, SP 5x, drop 4x ย  Quest drop - 1x (some quests customized to 3x) Quest reward - 1x, Adena 3x, EXP 3x, SP 3x ย  ย  Premium Account Xp +20% Sp +20% Adena +20% Drop +20% Spoil +20% Quest reward +20% ย  get by vote or donate World chat 20 times/day use ">" in chat. Buff Book outside of town. Applies to all accounts. ย  ย  Special Features Classic interface ActiveAnticheat Vote System Missions Attendance check And more in information below ย  ย  Noblesse There are 3 ways how to make noblesse 1 - Retail Quest with killing barakiel 2 - Modifed Quest, choose killing mobs for 100 items instead of barakiel 3 - Can be bought for Epic Coins ย  ย  Raid Rank Killing regular Raids gives points according to the level of the RB to the clan of the player who killed the boss. At the end of every month, there will be rewards for top clans. For more info, follow our Discord. ย  monthly period killing RB = points to clan according to RB level rewards up to Valakas Necklace (not the first month) current statistics can be checked online ย  ย  Epic Bosses & Respawns ย  Queen Ant 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 43 level) HP boosted drop chance 40% guards, nurses lvl 40 ย  Orfen 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 56 level) HP boosted drop chance 40% earring gives +1 WIT, +1 INT ย  Core 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 56 level) HP boosted drop chance 40% ring gives +1 STR, +1 DEX ย  Zaken 44 - 54 hours respawn window 1 hour always displayed in .epic auto PvP zone (max A grade) doors opened only 5 mins HP boosted ย  Baium Every Sunday 20:30 - 21:30 window 1 hour always displayed in .epic auto PvP zone (13 - 14th ToI level) regular HP ย  Frintezza Every Monday, Wednesday, Friday 20:00 - 21:00 window 1 hour always displayed in .epic auto PvP zone (all IT entrance) max 5 parties to entry max 500 range from NPC ย  Antharas Every two weeks on Saturday 21:00 - 22:00 window 1 hour always displayed in .epic auto PvP zone (bridge to heart) ย  Valakas Every two weeks on Saturday 21:00 - 22:00 window 1 hour always displayed in .epic auto PvP zone (Klein to heart) ย  every Epic RB drops Epic Medals equal to RB level x 10 ย  ย  Regular Bosses all regular RBs HP boosted M. def boosted a bit to give advantage to fighters all regular RBs respawn 24 - 30 hours every RB drops Epic Medals equal to RB level ย  ย  Added Skills Mass Sweep -ย All Bounty Hunters 40+ Block Buff -ย All Characters, toggle Escape: 20 seconds -ย All Characters, no more SoEs ย  Skills autolearn. Losing skills after 16 levels of delevel. Max buffs 24 + 4 with books (no autolearn) ย  ย  Augments NoGrade -ย 4% chance MidGrade -ย 5% chance HighGrade -ย 7% chance TopGrade -ย 6% chance ย  GM shop weapon/armor/jwl (max C grade) shots/spiritshots (max C grade) mana potions (500 MP, 5s) ย  ย  NPC buffer all buffs, songs, dances including 3rd prof + resists 1 hour duration all chars Buff Book in inventory ย  ย  Global Gatekeeper all towns including cata/necro ToI 3/5/7/10th ย  ย  Olympiad Thursday to Saturday 18:00 - 23:50 UTC+0 period 7 days no class participants min 5 base class participants min 10 max enchant +6 ย  ย  Class Transfer 1st class 50k adena 2nd class 500k adena 3rd class 20kk adena + 700 Halisha marks (tradeable) ย  ย  Noblesse Quest Quest retail like. Moonstone Shards, Demons Blood etc. quest drop boosted ย  ย  Subclass Quest To get the quest, you have to be 75+ on your main character (start Reorin in Giran) Bring item from Cabrio chest Bring items from Hallate, Kernon and Golkonda chests Bring this back to Reorin Bring 984 B-grade crystals and top B weapon to Reorin Get low A-grade weapon as reward Done , you can take subclass (up to 5) from any Master in town ย  ย  Clans all clan members get clan skills (no need for titles) max clan slots 65, max ppl in PvP zone 63 leave/dismiss penalty 0 hours max clans in ally 3 ย  ย  Others ย  max 3 windows per HWID (only one in PvP zone) protection after teleport for 20 seconds arrows and spellbooks drop turned off weight limit 10x, stackable enchants and LS champions blue (5x HP) min level for trade = 40, chat = 20 BoM/MoM spawned in towns Editedย November 1, 2024ย by NevesOma
    • Im searching to developer to help me ๐Ÿ™‚ย pm me ๐Ÿ™‚
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchiha.sellpass.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt ย 
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchiha.sellpass.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt ย 
    • ๐Ÿ”ฅ L2Gold.co x15 Interlude Server 2025 โ€“ Grand Opening! ๐Ÿ”ฅ Join us today and be part of the legendary L2Gold community! ๐ŸŽ‰ Grand Opening: 14 March 2025 ๐ŸŽ‰ โฐ Time: 21:00 GMT +2 ๐ŸŒ Server Type: EURO PTS/L2OFF ๐ŸŒŸ Why Play on L2Gold.co? ๐ŸŒŸ โœ… No Wipes โ€“ Keep Your Progress Forever! Your characters and progress are permanent. No resets! โœ… Balanced & Fun Gameplay! Experience x15 rates for a smooth and enjoyable progression. โœ… Solo or Party Play Use MP potions and NPC buffers for a great solo experience or team up with friends. โœ… Long-Term Stability Our server is built to last with no interruptions! ๐Ÿ“Š Server Rates & Details ๐Ÿ“Š Category Rate EXP/SP x15 (Official rate without rune or VIP) Adena x10 (Official rate without rune or VIP) Drop x10 (Official rate without rune or VIP) Spoil x10 (Official rate without rune or VIP) Raid Boss Drop x10 (Official rate without rune or VIP) ๐Ÿš€ Exciting New Features! ๐Ÿš€ ๐ŸŽŸ๏ธ ๐Ÿ’ฐ Weekly Lottery System! โ€“ Win rare items, in-game currency, and exclusive rewards! ๐ŸŽ More Events & Rewards! โ€“ Special in-game activities with exclusive items! ๐Ÿ“ˆ Real-Time Stats! โ€“ Track your progress, achievements, and rankings live! โš”๏ธ New Items Weekly! โ€“ Discover rare gear and unique items every week! ๐ŸŒ A Growing Global Community ๐ŸŒ Players from Greece ๐Ÿ‡ฌ๐Ÿ‡ท, Brazil ๐Ÿ‡ง๐Ÿ‡ท, Spain ๐Ÿ‡ช๐Ÿ‡ธ, and beyond! ๐Ÿ”— Stay Connected ๐Ÿ”— Follow us on social media to stay updated! ๐ŸŒŽ Website: L2Gold.co ๐ŸŽ™๏ธ Discord:ย Server ๐Ÿ“˜ Facebook: Page | Group ๐ŸŽฅ YouTube:ย ย  Watch Videos ๐ŸŽต TikTok:ย Follow Us ๐Ÿ”ฅ Prepare for Battle! ๐Ÿ”ฅ ๐Ÿ“… The adventure begins on 14 March 2025! Join L2Gold.co and Experience an Unforgettable Adventure! ๐ŸŽฎโœจ
  • Topics

ร—
ร—
  • Create New...