Jump to content

Recommended Posts

Posted

i have one code but dont work in exilium giran and tp in dragon valley 

 

 

 

var
item: TL2Item;
 
function buffCheck: Boolean;
var buff: TL2Buff;
begin
    if not User.Buffs.ByID(4397, buff) then begin
        Result:=true;
        Print('Magic Support');
        Engine.MoveTo(81938,148298,-3468);
  Engine.SetTarget('Horadrim');
  delay(1000);
  Engine.DlgOpen;
  delay(1000);
  Engine.DlgSel('Default'); // notworking
  delay(1000); 
    end;
Result:=false;
end;
 
function deadCheck: Boolean;
begin
Result := false;
    if User.Dead then begin
        Result := true;
        Print('Dead. Pressing to village.');
        Delay(1000);
        Engine.FaceControl(0,false);
        Engine.GOHome(rtTown);  ///here change to town or other
        Delay(10000);
    end;
end;
 
begin
while true do begin
delay(150);
 
if User.inrange(86574,148326,-3470, 250, 150) then begin    // ch
        Engine.MoveTo(86780,-142217,-1320);
        Engine.MoveTo(87103,-142760,-1320);
        Engine.MoveTo(83406,147931,-3406);
    end;
    if user.inrange(81048,148326,-3470, 500) then begin
    end;    
    
    if user.inrange(83371,147921,-3406, 150) then begin
        Engine.SetTarget(31964);
        Engine.DlgOpen;
        Delay(700);
        Engine.DlgSel('Mystra');
        Delay(700);
        Engine.DlgSel('High Level Hunting Areas');
        Delay(10000);
        Engine.SetTarget('Mysta');
        Engine.DlgOpen;
        Delay(700);
        Engine.DlgSel('High Level Hunting Areas');
        Delay(700);
        Engine.DlgSel('Dragon Valley cave');
        Delay(1000);
    end;    
                          
    if user.inrange(149575,-112710,-2060, 500) then begin
        Print('cest parti');
      Engine.MoveTo(149606,-110577,-2298);
      Engine.MoveTo(149161,-109035,-2529);
      Engine.MoveTo(147956,-108811,-2836);
      Engine.MoveTo(145523,-109075,-3449);
      Engine.MoveTo(143923,-110626,-3597);
        Print('Yatta');
        Delay(500);
        Engine.FaceControl(0, true);
        while not deadCheck do delay(1000); //while not dead, do nothing and wait.
    end;
end;
end.
 
 
 
 
 
if you can help me pls
Posted (edited)

first of all about deadcheck

Engine.GOHome(rtTown);  ///here change to town or other

it make to town (not clan hall) so probably you spawn random in town,

 

second

if User.inrange(86574,148326,-3470, 250, 150) then begin    // ch
        Engine.MoveTo(86780,-142217,-1320);
        Engine.MoveTo(87103,-142760,-1320);
        Engine.MoveTo(83406,147931,-3406);
    end;

only this for all random spawns in town? :D

 

and

    if user.inrange(83371,147921,-3406, 150) then begin
        Engine.SetTarget(31964);
        Engine.DlgOpen;
        Delay(700);
        Engine.DlgSel('Mystra');
        Delay(700);
        Engine.DlgSel('High Level Hunting Areas');
        Delay(10000);
        Engine.SetTarget('Mysta');
        Engine.DlgOpen;
        Delay(700);
        Engine.DlgSel('High Level Hunting Areas');
        Delay(700);
        Engine.DlgSel('Dragon Valley cave');
        Delay(1000);
    end;  

if user.inrange(83371,147921,-3406, 150) then begin

 

must be ~same like last move point of town coordinates, that means when you be at certain point (near gatekeeper if no alt and b )  only then it will run this

Edited by adr.bot

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

    • just with this extender that I have shared it is not possible to start with c4 client, you have to make some changes to the extender and it works with c4 client perfectly. regarding the updates in this last revision   🔹dll is not packaged with vmprotect   New custom zone types have been added: 🔹 NO_NOBLESS begin MinX=84638 MaxX=92616 MinY=-87170 MaxY=-82018 MinZ=-6000 MaxZ=0 Type=NO_NOBLESS KickOutPos=83007/148057/-3464 end   ▶️ This zone checks if the character is noble. If it does not meet the condition, it will be automatically kicked to the indicated position (KickOutPos). 🔹 CUSTOM_SPAWN_ZONE begin MinX=77275 MaxX=85704 MinY=10122 MaxY=18066 MinZ=-8000 MaxZ=5000 Type=CUSTOM_SPAWN_ZONE OutPos=83007/148057/-3464 Spawns={{82984/18066/-5256}};{{79275/15147/-5248}};{{82922/14263/-5256}};{{83704/10122/-5288}} end ▶️ This zone allows characters, upon death, to respawn with full buff, CP, HP and MP if they press “Fixed”. They will only be able to revive in one of the positions defined in Spawns. 🔧 Both zones are fully configurable from territorydata.txt
    • Could you tell me what changed in this update?   more one question: Is it possible to log in through the c4 client instead of interlude? That would be great  
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email 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