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?

  • 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

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

    • I’m looking for screenshots of the mini-games that used in web panels. I found images the Lucky Wheel and its almost finished.  I remember there was a dice game and another one with levels/TOI Floors etc that ive seen on different sites, but i cant find them now. If anyone’s willing to help, please share a screenshot of the game.       
    • Hi, can you update the geodata link? Thanks
    • any public server using mobius epilogue files?
    • 新品上线! 提供高级订阅账号,支持热门AI服务:Gemini Pro 和 Perplexity AI。 ➡ Gemini Pro 订阅 + 2TB 谷歌云存储(绑定您的 Google 账号,有效期1年)| 需要访问您的 Google 账号 | 价格:6美元起 ➡ Perplexity AI Pro 订阅(绑定您的账号,有效期1年)| 需要访问您的账号 | 价格:6美元起 欢迎通过我们的网站或 Telegram 机器人购买! 有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 其他服务: 购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账号。 以下是我们平台最新的促销与特别优惠列表: 1. 促销码 OCTOBER2025(8% 折扣),适用于十月期间在我们的网站或机器人中购物!首次购买可使用促销码 SOCNET(15% 折扣)。 2. 获取1美元余额或10–20%折扣 —— 注册后在我们网站的论坛帖子中留言,格式为:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板即可获得1美元奖励 —— 只需在我们网站(支持中心)提交主题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和购买 Stars 的机器人中赠送 Telegram Stars! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop✅ ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord 服务器:https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram:https://t.me/socnet_support✅ ➡ WhatsApp:https://wa.me/79051904467✅ ➡ Discord:socnet_support ✅ ➡ ✉ 邮箱:solomonbog@socnet.store ✅
    • 新品上线! 提供高级订阅账号,支持热门AI服务:Gemini Pro 和 Perplexity AI。 ➡ Gemini Pro 订阅 + 2TB 谷歌云存储(绑定您的 Google 账号,有效期1年)| 需要访问您的 Google 账号 | 价格:6美元起 ➡ Perplexity AI Pro 订阅(绑定您的账号,有效期1年)| 需要访问您的账号 | 价格:6美元起 欢迎通过我们的网站或 Telegram 机器人购买! 有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 其他服务: 购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账号。 以下是我们平台最新的促销与特别优惠列表: 1. 促销码 OCTOBER2025(8% 折扣),适用于十月期间在我们的网站或机器人中购物!首次购买可使用促销码 SOCNET(15% 折扣)。 2. 获取1美元余额或10–20%折扣 —— 注册后在我们网站的论坛帖子中留言,格式为:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板即可获得1美元奖励 —— 只需在我们网站(支持中心)提交主题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和购买 Stars 的机器人中赠送 Telegram Stars! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop✅ ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord 服务器:https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram:https://t.me/socnet_support✅ ➡ WhatsApp:https://wa.me/79051904467✅ ➡ Discord:socnet_support ✅ ➡ ✉ 邮箱:solomonbog@socnet.store ✅
  • 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