Jump to content

Recommended Posts

Posted

Hello guys, i tried to do adr.bot script but i couldnt do it.First i wanna ask how can we read our actions.in l2tower we can record our actions? can i record in l2adrenaline too?

And second i cant stop script when i started.Its in while loop always.is there a shortcut to stop script?

And third adr.bot can you make script like the video works?Thx all =)

 

https://www.youtube.com/watch?v=8DEeOBikeFI

 

Edit: Server is l2sp.eu also video is from l2sp.eu i guess.everything same.

yeah that server be l2sp.eu when i test xd i recomend use this guy script http://www.maxcheaters.com/topic/195002-adrenaline-scripts-free/ , becouse my old (in that time when i test) script is bugged and deleted xd

Posted

yeah that server be l2sp.eu when i test xd i recomend use this guy script http://www.maxcheaters.com/topic/195002-adrenaline-scripts-free/ , becouse my old (in that time when i test) script is bugged and deleted xd

I already tried this too.But it gives me error.i tried to fix it but again i failed. =( and is there a hotkey to stop script?

Posted
procedure SuspendScript;
 begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

and if you play l2sp then why dont use phx?xd becouse when last time i checked in that server all works xd

Posted

i couldnt bypass with phx. i tried clean system. but when i try to login it gives me dc. =( but i need adrenaline working script for another servers too.i cant find it and i cant fix it all augment scripts for adrenaline.

Posted

adrenaline use "mouse move/clicks" for augment, so mostly you need add desktop coordinates what press and etc to make it work, if you use only mouse move and check when get augment and stop manualy then i recommend use simple mouse recorder for that :D

  • 2 months later...
Posted (edited)
function keybd_event(bVk,bScan:byte;dwFlags,dwExtraInfo: integer): integer;  stdcall; external 'user32.dll';
function SetCursorPos(x, y : integer): boolean; stdcall; external 'user32.dll';
function mouse_event(dwFlags, dx, dy, dwData: byte; dwExtraInfo: integer): void; stdcall; external 'user32.dll';

procedure pressKey(hexCode: BYTE);
begin
  keybd_event(hexCode, 45, 1, 0 );
  delay(200);
end;

procedure mouseClick(x, y, _delay : integer); 
begin
SetCursorPos(x, y);
mouse_event($0002, 0, 0, 0, 0);
delay(_delay);
mouse_event($0004, 0, 0, 0, 0);
end;

procedure augments;
var obj: TL2Effect;
begin
while 
(SkillList.ByID(3124, obj)) or
(SkillList.ByID(3259, obj)) do delay(3000);
end;

begin
while Engine.Status = lsOnline do begin
delay(100);
mouseClick(403,726,400);	///mouse click
SetCursorPos(133, 339);		///mouse move
pressKey($62);			///press key 2
pressKey($65);			///press key 5 for add gemstone count
delay(500);
augments;			///and check procedure augments for skill detect
end;
end.

Not sure what i need edit any can help me pls? And if this script use mouse, how i can stop script? with keyboard?

Edited by Adri555
Posted
function keybd_event(bVk,bScan:byte;dwFlags,dwExtraInfo: integer): integer;  stdcall; external 'user32.dll';
function SetCursorPos(x, y : integer): boolean; stdcall; external 'user32.dll';
function mouse_event(dwFlags, dx, dy, dwData: byte; dwExtraInfo: integer): void; stdcall; external 'user32.dll';

procedure pressKey(hexCode: BYTE);
begin
  keybd_event(hexCode, 45, 1, 0 );
  delay(200);
end;

procedure mouseClick(x, y, _delay : integer); 
begin
SetCursorPos(x, y);
mouse_event($0002, 0, 0, 0, 0);
delay(_delay);
mouse_event($0004, 0, 0, 0, 0);
end;

procedure augments;
var obj: TL2Effect;
begin
while 
(SkillList.ByID(3124, obj)) or
(SkillList.ByID(3259, obj)) do delay(3000);
end;

begin
while Engine.Status = lsOnline do begin
delay(100);
mouseClick(403,726,400);	///mouse click
SetCursorPos(133, 339);		///mouse move
pressKey($62);			///press key 2
pressKey($65);			///press key 5 for add gemstone count
delay(500);
augments;			///and check procedure augments for skill detect
end;
end.

Not sure what i need edit any can help me pls? And if this script use mouse, how i can stop script? with keyboard?

 

you need edit augments procedure, to add more skill when whant stop when get that skill, and you need edit "mouseClick" and etc, suspend script just look litle bit up and you see example

Posted (edited)

you need edit augments procedure, to add more skill when whant stop when get that skill, and you need edit "mouseClick" and etc, suspend script just look litle bit up and you see example

 

Ok, i found arguments ids in this post for if any need: http://www.maxcheaters.com/topic/136087-shareaugment-skills-ids/

But how can i know what is me monitor coordinates if is 1920x1080?

Edited by Adri555
Posted

Ok, i found arguments ids in this post for if any need: http://www.maxcheaters.com/topic/136087-shareaugment-skills-ids/

But how can i know what is me monitor coordinates if is 1920x1080?

uses sysutils,classes;
function GetCursorPos(var lpPoint: TPoint): integer; stdcall; external 'user32.dll';
var 
 P: TPoint;
 KeyCode, i: integer;
begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $31)  then begin   //key 1
  GetCursorPos(P);
    print('X: '+IntToStr(P.x))+'. Y: '+IntToStr(P.y);
   end;
  end;
end.
Posted (edited)
uses sysutils,classes;
function GetCursorPos(var lpPoint: TPoint): integer; stdcall; external 'user32.dll';
var 
 P: TPoint;
 KeyCode, i: integer;
begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $31)  then begin   //key 1
  GetCursorPos(P);
    print('X: '+IntToStr(P.x))+'. Y: '+IntToStr(P.y);
   end;
  end;
end.

 

Who know how work this wtfxD I used this but no happens nothing

Edited by Adri555
Posted

Who know how work this wtfxD I used this but no happens nothing

in l2 move mouse where you whant and press "1" then it print in bot message window your mouse position

Posted

in l2 move mouse where you whant and press "1" then it print in bot message window your mouse position

 

Hmm this is hard as fuck xDDD

I now trying add this key script for stop script but like this:

function keybd_event(bVk,bScan:byte;dwFlags,dwExtraInfo: integer): integer;  stdcall; external 'user32.dll';
function SetCursorPos(x, y : integer): boolean; stdcall; external 'user32.dll';
function mouse_event(dwFlags, dx, dy, dwData: byte; dwExtraInfo: integer): void; stdcall; external 'user32.dll';

procedure SuspendScript;
 begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

procedure pressKey(hexCode: BYTE);
begin
  keybd_event(hexCode, 45, 1, 0 );
  delay(200);
end;

procedure mouseClick(x, y, _delay : integer); 
begin
SetCursorPos(x, y);
mouse_event($0002, 0, 0, 0, 0);
delay(_delay);
mouse_event($0004, 0, 0, 0, 0);
end;

procedure augments;
var obj: TL2Effect;
begin
while 
(SkillList.ByID(3124, obj)) or
(SkillList.ByID(3259, obj)) do delay(3000);
end;

begin
while Engine.Status = lsOnline do begin
delay(100);
mouseClick(403,726,400);	///mouse click
SetCursorPos(133, 339);		///mouse move
pressKey($62);			///press key 2
pressKey($65);			///press key 5 for add gemstone count
delay(500);
augments;			///and check procedure augments for skill detect
end;
end.

But got red error in this part: Engine.WaitAction([lakey], KeyCode, i);

Posted

Hmm this is hard as fuck xDDD

I now trying add this key script for stop script but like this:

function keybd_event(bVk,bScan:byte;dwFlags,dwExtraInfo: integer): integer;  stdcall; external 'user32.dll';
function SetCursorPos(x, y : integer): boolean; stdcall; external 'user32.dll';
function mouse_event(dwFlags, dx, dy, dwData: byte; dwExtraInfo: integer): void; stdcall; external 'user32.dll';

procedure SuspendScript;
 begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

procedure pressKey(hexCode: BYTE);
begin
  keybd_event(hexCode, 45, 1, 0 );
  delay(200);
end;

procedure mouseClick(x, y, _delay : integer); 
begin
SetCursorPos(x, y);
mouse_event($0002, 0, 0, 0, 0);
delay(_delay);
mouse_event($0004, 0, 0, 0, 0);
end;

procedure augments;
var obj: TL2Effect;
begin
while 
(SkillList.ByID(3124, obj)) or
(SkillList.ByID(3259, obj)) do delay(3000);
end;

begin
while Engine.Status = lsOnline do begin
delay(100);
mouseClick(403,726,400);	///mouse click
SetCursorPos(133, 339);		///mouse move
pressKey($62);			///press key 2
pressKey($65);			///press key 5 for add gemstone count
delay(500);
augments;			///and check procedure augments for skill detect
end;
end.

But got red error in this part: Engine.WaitAction([lakey], KeyCode, i);

put var keycode,i:integer;

also this not work becouse you dont "link" to run that procedure, you need add last step in to procedure example

 

 

procedure AugmentScriptMain;
begin
while Engine.Status = lsOnline do begin
delay(100);
mouseClick(403,726,400);	///mouse click
SetCursorPos(133, 339);		///mouse move
pressKey($62);			///press key 2
pressKey($65);			///press key 5 for add gemstone count
delay(500);
augments;			///and check procedure augments for skill detect
end;
end;

and then in last link run that augment script and that suspend scripts example

begin
Script.NewThread(@SuspendScript);
Script.NewThread(@AugmentScriptMain);
end.
Posted

I'm now like this xddd: stress5.gif

 

Not sure if im just retarded, or its cause is me first time with this program/scripts, but i dont understand never xd

I added what you say : 

procedure SuspendScript;
begin
while true do begin
delay(150);
var keycode,i:integer;
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

And now have red error in var keycode,i:integer; , and this script.newthread we need add at last end; of script? So fucking hard make auto argument xd

Posted

I'm now like this xddd: stress5.gif

 

Not sure if im just retarded, or its cause is me first time with this program/scripts, but i dont understand never xd

I added what you say : 

procedure SuspendScript;
begin
while true do begin
delay(150);
var keycode,i:integer;
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

And now have red error in var keycode,i:integer; , and this script.newthread we need add at last end; of script? So fucking hard make auto argument xd

variables cant be inside script

procedure SuspendScript;
var keycode,i:integer;
begin
while true do begin
delay(150);
Engine.WaitAction([lakey], KeyCode, i);
  if (KeyCode = $7B) then begin
  script.Suspend;
  end;
  end;
end;

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

    • 🌍 https://l2origins.org/ 🛡️ LINEAGE II ORIGINS — SEASON 1 🛡️ 🌑 High Five Classic | True Old-School Experience 🌑 ⚠️ Opening on March 6th at 16:00 Welcome back to the origins of Lineage II. ⚔️ ABOUT THE SERVER Lineage2 Origins is built for players who miss the true retail feeling. Classic progression, real challenges, fair competition — enhanced only with carefully selected QoL features, never breaking the original gameplay. 🌿 PHASED GEAR PROGRESSION 🟢 Month 1: Vesper max 🟢 Month 2: Vorpal unlocked 🟢 Month 3+: Top-grade & Elegia released 🚫 NO AUTO-FARM ✔️ External auto-clicker allowed (1 per client, download page only) ❌ Bots & illegal automation forbidden 🛡️ Strong anti-bot + captcha system ⚠️ AFK players will be punished — stay active or logout 📊 RATES & CORE SETTINGS 🔹 Adena: x5 🔹 Drop / Spoil: x5 🔹 Skill EXP: x15 🔹 Max Windows: 2 per PC 🔹 Subclass: Lv 85 (no quest required) 🔹 Party Level Diff: 30 (55–85) 🔹 No custom items (armors / weapons / jewelry) 🔥 FEATURES ✨ Global & Raid Teleport ✨ NPC Buffer (34 buffs) ✨ Auto Events & PvP Zones ✨ Ranking & Clan Progression ✨ GM Shop & Premium System ✨ All-In-One Community Board ✨ Party & Solo Instances ✨ Siege & Territory War Rewards ✨ RaidBoss Kill Rewards ✨ Lucky Creature Event ✨ Daily Login Rewards ✨ Advanced DDoS Protection & Backups ⚔️ ENCHANTMENTS 🔸 Safe: +3 🔸 Max: +12 (Month 2: +14 | Month 3: +16) 🔸 Blessed: 50% (Premium 65%) 🔸 Normal: 45% (Premium 60%) 🏟️ OLYMPIAD 🔹 Max Enchant: +6 🔹 Start Players: 4 🔹 Period: 1st & 15th 🏰 SIEGE & TW 🔹 Siege Time: 16:00 & 20:00 🔹 Territory War: 20:00 🔹 Max Wards: 3 per Castle 🌌 Lineage2 Origins Fair. Competitive. Nostalgic. A true return to the origins of Lineage II.
    • Bastante confiable, ya trabaje en varios proyectos con el y la verdad te da confianza que hoy en dia poca gente hay asi lo  recomiendo 100%  Gracias por todo amigo ! seguiremos trabajando juntos segurisimamente! 
    • Arcana Mace Acumen +6 : 200 Euro    Leave a message here or better on Discord : grandmaster1991   Discord : GrandMaster#1689  
    • overbooked till 3 of march!! Not accepting more works for now, everything after 3 of match!
  • 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..