Jump to content

Recommended Posts

Posted

Ty guys, i use the simple way that adr.bot give, but i do this for knowledge... nothing more than learning and having fun.. if i got any problem again, i 'll ask you ! Have a nice day!

Posted

 

Is what Engine.Facecontrol stand for ? which means when it is set to true, your character begins his routine setting from the main Menu ?

 

'Engine.Facecontrol' is the buttons you see on your config interface. Ei. 'Engine.Facecontrol(0, true)' enables bot (and false disables), 'Engine.Facecontrol(1, true)' enables attacking, 'Engine.Facecontrol(2, true)' enables the 'Heal' option.

Posted (edited)

Hello again. So anyone could write a script working in party for every character to when buffs fades to use server alt + b and rebuff out of combat?- but of course also doing things properly in party. Skill rebuff time about 20 min- probably better than waiting to buffs fade, but dunno- would be nice to know yours opinion; to avoid going bots to often out of combat when they are needed (for example healer healing).

Big THX in advance.

 

 

I use this script written by adr.bot for warrior's classes- it works perfect for one character (with noone else in party), but when I use this sript for every warrior class in party and use also a script for healer rebuff, then characters simpy dont follow, dont assist, goes randomly etc.

 

var buff:tl2buff;
    buffID,seconds:cardinal;
begin
buffID:= 1388;  //change buff id
seconds:= 30;   //buff end time seconds
while true do begin
if not user.buffs.byid(buffID, buff) or (buff.endtime < seconds*1000) then begin
if (user.target.dead) or (user.target = nil) then begin
engine.facecontrol(0,false);
while user.incombat do delay(1000);
engine.bypasstoserver('_bbshome'); 
  //use alt and b change for your server
delay(1000);
engine.bypasstoserver('_bbsgetfav');
delay(1000);
engine.bypasstoserver('04');
delay(1000);
engine.bypasstoserver('02');
delay(1000);
engine.facecontrol(0,true);
end;
end;
end;
end.
 
 
Also I don't know where is rebuff timer (and condition) for doing rebuff in this script? When buffs fades till 30 s or every 1000 s? Pls help.
Should I put here mine parameter??? :
 
(buff.endtime < seconds*1000) 
Edited by palanch0
Posted

Ty guys, i use the simple way that adr.bot give, but i do this for knowledge... nothing more than learning and having fun.. if i got any problem again, i 'll ask you ! Have a nice day!

 
i was using this 
 
procedure SendMoney(const receiver: string);
var adena: Integer;
begin
   adena := CheckItem(ADENAID) - 1100;
   
   if adena > 100000 then begin          // если больше 100к отсылаем.
      Engine.SendMail(receiver, 'AchYle, '', [ADENAID, adena]); 
      Engine.MSG('MAIL', 'Sent: ' + adena.toString + ' adena.', 32768);
   end;
end;
 
begin
 
   SendMoney('AchYle');
 
end;
Posted

 

I use this script written by adr.bot for warrior's classes- it works perfect for one character (with noone else in party), but when I use this sript for every warrior class in party and use also a script for healer rebuff, then characters simpy dont follow, dont assist, goes randomly etc.

 

Double check your settings in bot interface. Sounds like you have not set that up properly.

Posted (edited)

Guys anyone could help me to understand conditions and parameters here?:

 

 

seconds:= 30;   //buff end time seconds   trying to rebuff when buffs are on fade from 30 s? ??????
while true do begin
if not user.buffs.byid(buffID, buff)  I understand this one: no buffs= starts to rebuff
or (buff.endtime < seconds*1000) then begin completely don't understand this one condition; when there is less than 30 s tries to rebuff? ???? or when there is less than 30 s x 1000= 30000s? 
 
Pls help this is urgent.
Edited by palanch0
Posted (edited)

Any time you declare is in ms.

Let's say we put 'time = 30'.

In which case: 'Delay(time)' = 30ms delay and 'Delay(time*1000)' = 30s delay.

Thx for responce! :)

So according to this rebuff script, when it goes to try to rebuff?:

1. first conditition when buffs are tottally of

2. second condition? ???? ???

 

I checked all bot setup and everything is ok, so this script seems to not work properly and I'm trying to know why.

So the second condition is:

 

buff tries to rebuff when there is less than 30s on buff timer?----- trying this script on solo character seems not couse it rebuffs randomly even when there is 1h to buffs to fade.

 

 

SO WHEN I WANT SCRIPT TO REBUFF WHEN BUFFS ARE 5 MIN (300s) TO FADE I SHOULD PUT:

300000 HERE:

or (buff.endtime < seconds*1000)

=

or (buff.endtime < 300000)

=

or (buff.endtime < 300*1000)

 

?????

Edited by palanch0
Posted

 

 
i was using this 
 
procedure SendMoney(const receiver: string);
var adena: Integer;
begin
   adena := CheckItem(ADENAID) - 1100;
   
   if adena > 100000 then begin          // если больше 100к отсылаем.
      Engine.SendMail(receiver, 'AchYle, '', [ADENAID, adena]); 
      Engine.MSG('MAIL', 'Sent: ' + adena.toString + ' adena.', 32768);
   end;
end;
 
begin
 
   SendMoney('AchYle');
 
end;

 

This is the way i use it now. But thank you... i believe this is the best way to farm with a bot char and sending adena or farm items to your main w/o risking your main char get banned xD ;)

Posted

Thx for responce! :)

So accordi....

 

 

O WHEN I WANT SCRIPT TO REBUFF WHEN BUFFS ARE 5 MIN (300s) TO FADE I SHOULD PUT:

300000 HERE:

or (buff.endtime < seconds*1000)

=

or (buff.endtime < 300000)

=

or (buff.endtime < 300*1000)

 

?????

 

Conditions should be pretty straight forward granted you know what '<' means.

 

Last part: yes. 300s = 5mins = 300000ms.

 

The script looks fine to me but then again maybe I'm missing something.

Posted (edited)

Conditions should be pretty straight forward granted you know what '<' means.

 

Last part: yes. 300s = 5mins = 300000ms.

 

The script looks fine to me but then again maybe I'm missing something.

 

THX mate.

Now its running gr8 in solo botting gonna test it now in pt.

Final version:

 

var buff:tl2buff;
    buffID,seconds:cardinal;
begin
buffID:= 1388;  //change buff id
seconds:= 300;   //buff end time seconds
while true do begin
if not user.buffs.byid(buffID, buff) or (buff.endtime < 300*1000) then begin
if (user.target.dead) or (user.target = nil) then begin
engine.facecontrol(0,false);
while user.incombat do delay(1000);
engine.bypasstoserver('_bbshome'); 
  //use alt and b change for your server
delay(1000);
engine.bypasstoserver('_bbsgetfav');
delay(1000);
engine.bypasstoserver('04');
delay(1000);
engine.bypasstoserver('02');
delay(1000);
engine.facecontrol(0,true);
end;
end;
end;
end.
 
 
So I checked it in pt and it does not work properly. After 10- 15 min of normall playing scripts makes bot to walk randomly, targets- retargets, stops attacking, using skills, stops healing; stops assist, stops follow; from time to time comes back to normall boting but again goes crazy. Don't know what makes that.
In solo botting script works really good.
Edited by palanch0
Posted (edited)

Hello guys,

 

I'm currently developing my own 1-40 auto level script and it's going pretty smooth, eventhough my scripting knowledge is very narrow and dumb.

 

Anyway, what I'm doing is setting functions that have prerequisites to trigger, such as: position, check level, check items, check buffs, and if everything is ok they start. It's not the best way, but it's working and I'm pretty excited about it.

 

The main problem I'm facing atm is that after I get to my designated spot of leveling, I wanna keep checking 3 conditions to stay there:

 

1) Level restriction (user.level>=32)

2) Buffs ended User.Buffs.ByID(4326, buff)

3) Dead (User.Dead)

 

I have set those 3 functions written properly, but I dont know how to keep checking them in the previous function to be triggered. I managed to set one of them at a time, by using this:

while not level32check do Delay(1000); // while not level >31, keep leveling

But if I die, my script will be stuck in this loop, same if I ran out of buffs, it will probably die and do nothing. I tried to do something like this code below with "while not" at the end of the spot function, but it failed to work because it only considers the first if:

function spot3check: Boolean;
          var buff: TL2Buff;
          begin
          if User.Dead then begin
          deadcheck;             
          end else User.Buffs.ByID(4326, buff) then begin
          soe;
          end else (user.level>=32) then begin
          level32check

The point is that after it get to the spot, keep checking buff,level and dead. If any of them, begin that function and end the previous one. Glad if you can help me, Im breaking my head for 4h already.

 

Some bonus questions: :D

 

1) How can I set a function to keep checking if my char is standing (not moving, not sitting, not dead, not fighting) for more than xx seconds and if true, use SOE (stuck check)

2) How can I check a specific skill from my character and check if he doenst have it. Same if he has it, then check it's level?

Edited by fahir1
Posted (edited)

Hello guys,

 

I'm currently developing my own 1-40 auto level script and it's going pretty smooth, eventhough my scripting knowledge is very narrow and dumb.

 

Anyway, what I'm doing is setting functions that have prerequisites to trigger, such as: position, check level, check items, check buffs, and if everything is ok they start. It's not the best way, but it's working and I'm pretty excited about it.

 

The main problem I'm facing atm is that after I get to my designated spot of leveling, I wanna keep checking 3 conditions to stay there:

 

1) Level restriction (user.level>=32)

2) Buffs ended User.Buffs.ByID(4326, buff)

3) Dead (User.Dead)

 

I have set those 3 functions written properly, but I dont know how to keep checking them in the previous function to be triggered. I managed to set one of them at a time, by using this:

while not level32check do Delay(1000); // while not level >31, keep leveling

But if I die, my script will be stuck in this loop, same if I ran out of buffs, it will probably die and do nothing. I tried to do something like this code below with "while not" at the end of the spot function, but it failed to work because it only considers the first if:

function spot3check: Boolean;
          var buff: TL2Buff;
          begin
          if User.Dead then begin
          deadcheck;             
          end else User.Buffs.ByID(4326, buff) then begin
          soe;
          end else (user.level>=32) then begin
          level32check

The point is that after it get to the spot, keep checking buff,level and dead. If any of them, begin that function and end the previous one. Glad if you can help me, Im breaking my head for 4h already.

 

Some bonus questions: :D

 

1) How can I set a function to keep checking if my char is standing (not moving, not sitting, not dead, not fighting) for more than xx seconds and if true, use SOE (stuck check)

2) How can I check a specific skill from my character and check if he doenst have it. Same if he has it, then check it's level?

here is example maybe it help  http://rghost.net/74jH9rxPg  http://rghost.net/7fQCRgpLH

Edited by adr.bot
Posted (edited)

hi,where i fail ? buffer work good.but script for "to village" and teleport to exp place not work and captcha alarm too,i have function captcha:boolean redlide :X.where i fail ? thx fow answer.sry for my english.

 

var buff:tl2buff;
    buffID,seconds:cardinal;
begin
buffID:= 1085;  //change buff id
seconds:= 300;   //buff end time seconds
while true do begin
if not user.buffs.byid(buffID, buff) or (buff.endtime < 300*1000) then begin
if (user.target.dead) or (user.target = nil) then begin
engine.facecontrol(0,false);
while user.incombat do delay(1000);
engine.bypasstoserver('_bbshome'); 
  delay(1000);
   Engine.bypasstoserver('02');
   delay(1000);
   Engine.bypasstoserver('0b');
  delay(1000);
   Engine.bypasstoserver('0f');
  delay(1000);
  Engine.bypasstoserver('_bbsgetfav');
  delay(1000);
  engine.facecontrol(0,true);
 end;
end;
end;
 
 
 
 
 
  function captcha:boolean; begin
             if engine.dlgtext.contains('Refresh') or
             engine.dlgtext.contains('Captcha') or
             engine.dlgtext.contains('60 seconds') or
             engine.dlgtext.contains('Bot')   then begin
       SetForegroundWindow(Engine.GameWindow);             
      PlaySound(exepath+'\sounds\'+'PlayerAlarm'+'.wav');
      delay(500);  
      StopSound;
          end;   
  end;
begin
  while true do begin
  delay(300);
   captcha();
   
end;
end;
 
 
begin
engine.bypasstoserver('_bbshome'); 
  delay(1000);
   Engine.bypasstoserver('02');
   delay(1000);
   Engine.bypasstoserver('0a');
  delay(1000);
   Engine.bypasstoserver('033');
  delay(1000);
  Engine.bypasstoserver('0f');
  delay(1000);
  Engine.MoveTo(-18824,13544,-4880)
end;
end.
Edited by lynxik

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

    • TELEGRAM SEO TRAINING (Bot Ranking in Search) I teach a complete system for ranking Telegram bots at the top of search results by keywords and countries. The method works for services, shops, crypto projects, and any type of Telegram bot. You can also direct the traffic to your groups, channels, websites, or sales funnels. ⸻  Countries I work with USA, Israel, Russia, India, Turkey, China, Ukraine, Uzbekistan. If you need another country — message me, we’ll find a solution. ⸻ ️ Results First search results appear in 2–3 days. ⸻  What’s included in the training • how the Telegram search algorithm works and key ranking factors • keyword research for your country and niche • bot optimization: description, settings, greeting text • fixing and maintaining positions • specific promotion nuances for different countries ⸻  What you will receive • a complete system for ranking bots in search • understanding how to work with keywords, traffic, and positions • a skill you can use to promote your own projects or earn from clients ⸻  Who this training is for • beginners with zero experience — I explain everything from scratch • those who don’t have a bot — I provide a ready one for practice • anyone who wants to learn promotion and earn from this service ⸻  Why learn from me • doing Telegram SEO since 2021 • over 1000 successful orders • my own panel SMMTG.PRO and private databases • experience working with markets of Russia, Uzbekistan, Ukraine, Israel, USA, Turkey, China, India, Vietnam, Europe, and more ⸻  For pricing — message me t.me/smmtg_link
    • Hey everyone, I was wondering if anyone knows where the client loads all the .dat files. Is there some kind of manifest or list you can specify which dat files the client loads?
    • 🔥 Welcome to Lineage 2 Haruna x3 – True Classic Interlude Experience 🔥 At Haruna x3, we’re bringing back the true essence of Interlude – slow, meaningful progression where every level matters, every item has value, and PvP is real. We’re not about fast servers, pay-to-win advantages, or fake populations. Our goal is simple: create a fair, stable, and long-term server where players can enjoy real competition, strategic clan warfare, and the thrill of open-world PvP. 💎 What Makes Haruna x3 Special? x3 Rates – Perfect for steady, rewarding progression Classic Interlude Mechanics – Relive the nostalgia of Interlude Stable & Lag-Free Gameplay – Optimized for thousands of players online Fair & Balanced – No pay-to-win, every victory is earned PvP & Clan Warfare Focused – Every battle counts 🌟 Quality of Life Features to Enhance Your Experience We keep the classic feel while adding features that make the game more convenient and enjoyable, including: Shift + Click to view monster droplists Free item mail and buy/sell via Adena Daily login rewards & Stream Rewards ALT+K Skill Panel & Alt+Click buffs removal Offline shop system Captcha for security Donate Coins currency (cannot be traded, dropped, or destroyed) Classic P110 client – no custom interface 🏰 Our Philosophy We believe Lineage 2 is about the journey, not just the destination. Haruna x3 is designed for months and years of growth, not weeks. We provide a community-driven environment where honest gameplay, fair competition, and strategic teamwork are at the forefront. 🌍 Join Our Community Whether you’re a veteran of Interlude or a returning player seeking a true classic experience, Haruna x3 offers a place to fight, trade, and grow alongside dedicated players. Step into the world of Haruna x3 – where every decision matters, every fight counts, and every victory is yours to earn. Discord: https://discord.gg/7DDC9Dsxnh Website : www.l2haruna.com
    • No, the real purpose is cheating and custom  development for games.  I'm building a custom AI moderator specially for checking illegal activity and flag current topica.
  • 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