Jump to content

L2 Adrenaline Scripts.


Recommended Posts

var
Item: TL2Item;
SetCursorPos: TPoint;

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 ($2, 0, 0, 0, 0);   
delay (_delay);   
mouse_event (4, 0, 0, 0, 0); 
end; 

procedure mouseDown (x, y, _delay: integer ); 
begin   
SetCursorPos (x, y);   
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
end; 

procedure mouseUp ( x, y, _delay: integer); 
begin   
SetCursorPos (x, y);   
// mouse_event ($ 2, 0, 0, 0, 0);   
// delay (_delay);   
mouse_event ($4, 0, 0, 0, 0 );
end;


begin

while true do begin
delay(500);
 
if inventory.user.byid(15593, item) and not (Item.EnchantLevel > 21 ) then begin
Delay(500);
Engine.UseItem (960);//'scroll: enchant armor s grade'
Delay(100);
mouseDown (1104, 294, 1000);
delay (300);      
mouseUp (707, 426, 1000); 
delay (300);      
mouseClick (628, 541, 500);
Delay(3000);
end;
end;
end.

 in my opinion i got the same just in 3 steps, but it's dont drag item, when i manualy press left mouse button it's work correcly. Any ideas? :)

 

i use this for augment script, and works fine

Link to comment
Share on other sites

any captcha script for l2stars? or any hint to create my own captcha?  http://prntscr.com/8zwo6t

 

this captcha come in toturial window i guess, bigest problem that dont detect with "engine.dlgtext", i already solved tales captcha, its same but that come in dialog window, sure not 100% but when i tested it works pretty good

Link to comment
Share on other sites

this captcha come in toturial window i guess, bigest problem that dont detect with "engine.dlgtext", i already solved tales captcha, its same but that come in dialog window, sure not 100% but when i tested it works pretty good

:O link for tales captcha?

Link to comment
Share on other sites

:o link for tales captcha?

no link its only for me xd

 

edit: but idea, wait captcha, capture scree, remove colors, send to tesseract

Edited by adr.bot
Link to comment
Share on other sites

hi; i need help.

 

 

begin
if user.inrange(86724, 85922, -3144, 500)  then begin
        Engine.SetTarget(32742);
        Engine.DlgOpen;
        Delay(500);
        Engine.DlgSel(1);
        Delay(1000);
        Engine.DlgSel('Recipe and ingredients of Icarus Spitter.');
    end;    
end.
 
29x910k.jpg
 
 
dont work in the second dialoge    Engine.DlgSel('Recipe and ingredients of Icarus Spitter.');
 
i try Engine.DlgSel(1); but dont work
Edited by joekarras
Link to comment
Share on other sites

 

hi; i need help.

 

 

begin
if user.inrange(86724, 85922, -3144, 500)  then begin
        Engine.SetTarget(32742);
        Engine.DlgOpen;
        Delay(500);
        Engine.DlgSel(1);
        Delay(1000);
        Engine.DlgSel('Recipe and ingredients of Icarus Spitter.');
    end;    
end.
 
29x910k.jpg
 
 
dont work in the second dialoge    Engine.DlgSel('Recipe and ingredients of Icarus Spitter.');
 
i try Engine.DlgSel(1); but dont work

 

then use bypasstoserver

Link to comment
Share on other sites

 Engine.ByPassToServer('Recipe and ingredients of Icarus Spitter');

nothing

you need get that string bypass with this script, its save txt file with your dialog 

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.
Link to comment
Share on other sites

hey malaka ;) you have script for rebuf in l2stars???

 

L2stars dont have alt+b, so just need target npc and buff.

Just use

        Engine.SetTarget(NPChere);
        Engine.DlgOpen;

For target/open buffer dialog, and this for take buffs:

 Engine.BypassToServer('bypasshere'); 

You can see this string bypass in the post above

Edited by Anitah
Link to comment
Share on other sites

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

    • A message from Faytas, the player who got banned for revealing the "petition" screenshot:   So week ago i posted picture in discord of player Arab talking with Lithuanian admin Tony aka Mindaugas Cekavičius the main head of server l2Damage.com i saved picture it wasnt mine made so i posted it in discord just to let people realise that some players is under admins back i’ll post that picture and here it was an interesting picture player FatherOfDamage aka Arab was crying to admin to boost his classes in olympiad and admin was easily doing that and still doing till this day… after i posted that picture admin banned me in discord and two accounts ingame, dc-ingame nick was Faytas, then someone of my discord friends made more posts about corrupted admin Mindaugas Cekavičius at more forums/sites and guess what i instantly got ss in discord chat that player Arab saying that was me that posting more shit on other sites like maxcheaters,l2j i got also the screenshots of all that guy posts he did but i”ll not post his name couse he may get banned too couse he said truth as i did, then in about 2-3 days i took friends acc and named it iFaytas and clan member made a joke in hero voice “ban Faytas” so immidiatly i got banned again! ban says im banned couse i pretend as other player then he changed it that i used illigal software, after that i logged box to talk with him why i got banned he was standing in town so i asked him and he was ignoring me and all other people who asked why he banned me, and guess what? once again i got banned so in total i got banned 4 accounts for no reason just couse i posted picture of illigal things that admin doing and helping other players, by the way a month ago i was spamming that player arab like i always do just to make fun of him and that guy ciuldn’t handle the spam so he asked Tony to jail me and he jailed me for 120min being in jail i asked why and he unjailed me instantly xD i dont care anymore about this server and won’t play there couse he is helping other people/boosting theyr classes in olympiad lol im posting that special picture bellow… after 4 free bans i could’t do nothing just to post it everywhere couse that pissed me off that people getting bans for telling the truth!   https://ibb.co/GsMFfwx   https://ibb.co/nfsPwZP https://ibb.co/zRNH0yd
    • Looking for a developer to collaborate on a project with experience in server management, specifically downgrading from C6 to C4 configurations. Open to discussing pricing based on skill level.  PM
    • I am looking to buy an acp with registration and donations for L2OFF IL files. Whos still selling out there?
    • Any ones use these guys that can make recommendation of service?
  • Topics

×
×
  • Create New...