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

    • More fluid combat, not 100% yet, but I think it's acceptable. I put the following logic in movetopawn, moveto, maybemovetopawn, validatelocation, movetolocation: If Config.GeoData is active, it applies the coordinates using geodata; if disabled, use setdistanceplansq to measure the distance of things! Fix for reflected damage (if the attacker is null, it will not be calculated). Minor improvements to the Day/Night item generation manager. Fix to not punish players who destroy items with a count = 0... Fix for when a player tried to use a resurrection scroll while seated, it disappeared without effect. Fix for when it was possible to equip armor while paralyzed. Cleanup of System message. Rework of PathNodes. Fixed the ia for mobs attack range when chasing the player (test) Fixed Pathnodes loading Added # ------------------------ #Show Red Name for Aggressive Mobs # ------------------------ ShowRedName = True Which was missing in the configs
    • ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚔️ L2JOmen High Five - SERVIDOR 100% RETAIL ⚔️ 📢 SOLICITAMOS APOYO PARA TESTING 📢 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ¡Saludos, comunidad de Lineage II! Estamos desarrollando un proyecto ambicioso y de calidad: L2JOmen High Five, un servidor  100% RETAIL que busca ofrecer la experiencia más auténtica de High Five.  Nos encontramos en la fase de desarrollo y testing, y necesitamos tu ayuda para hacerlo  grande. Si eres un amante del retail, disfrutas probar nuevas funciones y quieres formar  parte de un proyecto serio desde sus inicios, ¡tu apoyo es invaluable! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎮 CARACTERÍSTICAS PRINCIPALES 🎮 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✅ SERVIDOR 100% RETAIL    • Experiencia auténtica de High Five    • Geodata PTS Official    • Plataforma Premium 2025 ✅ SISTEMA DE RATES DINÁMICO (Progresión Retail x1 con ayuda x5 -> x1)    • XP: 1-20 (5.0x) | 21-40 (3.0x) | 41-60 (2.0x) | 61-75 (1.5x) | 76-85 (1.0x)    • SP: 1-20 (5.0x) | 21-40 (3.0x) | 41-60 (2.0x) | 61-75 (1.5x) | 76-85 (1.0x)    • Adena: x2.0 (Retail con pequeño ajuste)    • Drop y Spoil: x1.0 (Mobs, Raids y Epics) ✅ SISTEMA DE ENCANTAMIENTO PROFESIONAL    • Enchant Safe: +6 (100% seguro hasta +6)    • Enchant Máximo: +30    • Tasas de encantamiento balanceadas:      * 0-3: 100% | 4: 80% | 5: 75% | 6: 70% | 7: 65% | 8: 60%      * 9: 55% | 10: 50% | 11: 45% | 12: 40%      * 13: 10% | 14-25: 5-9% | 26-30: 1-4%    • Sistema Blessed Enchant habilitado ✅ INICIO DE PERSONAJE    • Dynasty Masterwork Set completo +12    • 1 Ticket para Weapon S +12    • Duración: 7 días ✅ CONFIGURACIÓN RETAIL    • Element Limit: Nivel 4    • Buffs: Duración de 1 hora    • Nobless: Obtenible mediante quest    • Subclass Máxima: 10 (Certificación para cada Subclass) ✅ SISTEMA DE FARM Y ECONOMÍA    • Múltiples monedas de farm (Adena, Ancient Adena, Coin of Luck, PC Bang Points, Farm Coins)    • Varias zonas de farm disponibles    • Zona de Party Farm (se habilita cada 3 horas por 1 hora)    • 4 Raids diarias programadas ✅ SISTEMA PC BANG POINTS    • Aproximadamente 10,000 puntos por 24 horas conectado    • Entrega cada 10 minutos    • Jugadores Normales: 60-72 puntos/intervalo    • Jugadores Premium: 96-116 puntos/intervalo    • 5% probabilidad de doble puntos ✅ SHOPS COMPLETOS    • Shop Normal (Adena y Farm Coins)    • Shop Donate (con opciones premium)    • Armaduras y Armas hasta Grado Dynasty, Moirai, S84    • Joyas completas, no incluye Epics    • Scrolls (Normales, Blessed, Divine, Ancient)    • Elementos hasta nivel 4-7    • Accesorios y consumibles ✅ SISTEMA VIP    • 5 niveles de VIP disponibles    • Bonificaciones progresivas de XP/SP/Drop    • Recompensas diarias exclusivas ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🤝 ¿QUÉ NECESITAMOS DE TI? 🤝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍 TESTERS ACTIVOS    • Jugadores que prueben todas las funciones del servidor    • Feedback constructivo sobre bugs, balance y mejoras    • Reporte de problemas encontrados 🎮 JUGADORES DEDICADOS    • Amantes del retail que valoren la experiencia auténtica    • Personas dispuestas a ayudar a mejorar el proyecto    • Comunidad comprometida con el crecimiento del servidor 📊 REPORTES DETALLADOS    • Bugs y errores encontrados    • Sugerencias de balance    • Opiniones sobre el gameplay    • Feedback sobre sistemas implementados ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💎 ¿POR QUÉ UNIRTE A L2JOmen? 💎 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌟 PROYECTO SERIO Y COMPROMETIDO    • Desarrollo constante y mejoras continuas    • Atención a la comunidad activa    • Transparencia en todas las decisiones 🎯 EXPERIENCIA 100% RETAIL    • Sin modificaciones que rompan el juego original    • Balance auténtico de High Five    • Gameplay puro y tradicional ⚡ TECNOLOGÍA DE VANGUARDIA    • Servidor optimizado y estable    • Geodata oficial de PTS    • Sistema robusto y sin lag    • Sistema Anticheat Premium 🎁 RECOMPENSAS PARA TESTERS    • Participación activa en el desarrollo    • Reconocimiento especial en el lanzamiento    • Beneficios exclusivos para early testers ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📞 CONTACTO E INFORMACIÓN 📞 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Si estás interesado en formar parte de este proyecto y ayudarnos a crear el mejor  servidor retail de High Five, contáctanos. Tu apoyo es fundamental para hacer realidad  este grandioso proyecto. 💬 Únete a nuestro grupo de testing 🌐 WhatsApp: https://chat.whatsapp.com/Km6uRtFsoUq2tNZZalo5HB?mode=wwt ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏆 ¡Juntos construimos el mejor servidor retail! 🏆 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  
    • any server used these files? if yes let me know in pm.
    • L2Net is an in-game (IG) bot. I already have Adrenaline for that. I'm looking for an out-of-game (OOG) bot - one that doesn’t require the Lineage 2 client to run.
  • 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