Jump to content

Recommended Posts

Posted

    var Figth_Flag:boolean;
     Item: TL2Item;
     Npc: TL2Npc;
     Obj: TL2Buff;
     IdBuff: integer;
     Buffs:TL2Buff;
var L2Skill: TL2Skill;

 

  
procedure toVillage;
begin
  Delay(100);
    if (User.HP=0) then
      begin
       Delay(2000);
       Engine.GoHome;
       Engine.Facecontrol(0,False);
       Buff;
      end;
end;

 

    //REBUFF
procedure buff;
begin
    Delay (2000);
    Engine.BypassToServer('_bbshome');
    delay(1500);
    Engine.BypassToServer('_bbs_buffer');
    delay(1500);
    Engine.BypassToServer('_bbs_buffer_scheme;use; Player ; PvP');
    delay(1500);
    Engine.BypassToServer('_bbs_buffer_action;use;1; Player');
   RunTo;
end;

 

    //TELEPORT
procedure RunTo;
begin
     Engine.BypassToServer('_bbshome');
     delay(1500);
     Engine.BypassToServer('_bbs_link;gk/teleport.htm');
     delay(1500);
     Engine.BypassToServer('_bbs_link;gk/townarea/aden.htm');
     delay(1500);
     Engine.BypassToServer('_bbs_goto;376');
     delay(1500);
     Fight;
end;

 

    //CHECK
procedure toBuff;
  begin
  IdBuff:= 268 ; //Check BUFF
   while not User.Buffs.ById(IdBuff,obj) do begin
        Print('Song of Wind');
        Engine.UseItem(736);  //Scroll Escape
        Delay(20000);
        Engine.Facecontrol(0,False);
        buff;
   end;
end;

 

    //SPOT
procedure Fight;
   begin
   Print('Fight zone');
    Engine.MoveTo(171472, 56201, -5504);
    delay(1000);
    Engine.MoveTo(172042, 56543, -5680);
    delay(1000);
    Engine.MoveTo(172860, 56696, -5865);
    delay(1000);
    Engine.MoveTo(174000, 56768, -5920);
    delay(1000);
    Engine.LoadConfig('Player');
    Engine.LoadZone('sv.zmap');
    Print('Done');
    toVillage;
    Engine.Facecontrol(0,True);
end;


//-----------------------------------------------------------------------------
begin    //REPEAT
Print('repeat again');
  repeat
   toBuff;
   toVillage;
  until Engine.Status = lsOffline;
  Delay(5000);
end.

 

 

this is my script check/rebuff, back on spot... i want to add refill for soushot and mana potions  help please

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

    • Hello friends, good morning, good afternoon or good evening, depending on the time you are seeing this! I have been trying to decompile and compile again with only the classes that I want LineageEffect.u for a few days now, but I have not been successful. Could someone help me by clearing up some doubts about how I can do this work and be successful?!
    • **INTERLUDE REMASTERED** Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon. I'm selling my items or even the account due to not having much time to play anymore. I'm selling only for $$$. Not going to disclose my nickname in the server, but here are some of the items: Lvl 5 equipment for both mage and fighter +100 mage pvp set 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion. 1k + col, VIP cosmetics for armor, agathion and weapons(duals + mage wep)   I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
    • ➡ Discount for your purchase: MAY2025 (10% 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: MAY2025 (10% 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...