Jump to content

Recommended Posts

Posted

HI

 

Im looking for script for low lvl Quests.  (im playing on c1-c2 server)

Elf
Collector’s Dream  -  I super need this one

Dark Elf
Trade with the Ivory Tower     -  I super need this one

Sweetest Venom  (i found this one here already)
Scent of Death 

Bones Tell the Future 

Dwarf
Dreaming of the Skies
Tarantula’s Spider Silk

Orc
Skirmish with the Werewolves
Wrath of Ancestors
Dark Winged Spies
Totem of the Hestui

Human
Rancher's Plea
Collect Arrowheads

  • 1 month later...
Posted

Hi

i need help with FindPath (function FindPath(StartX, StartY, EndX, EndY: integer; PathList: TList): boolean;
StartX, StartY - start point coordinates
EndX, EndY - end point coordinates
PathList - list where path will be written

 

I want my char to go to specyfic location (x,y) using combat zone map to avoid obstacles.

the script should check current loc using getloc put startx and starty from it, endx endy are constant

Any help ?

  • 2 weeks later...
Posted

Is there any way to send text to server without using Engine.EnterText('Text') ?? Because I want to send periodical manual commands like #Text (for party) or /nick blabla or something like that. If i am sending Engine.EnterText('Text') each second, if i press alt for other task, game change to full screen, and all client start doing weird things.

 

 

Posted
On 1/19/2023 at 11:59 AM, Dawhol said:

Is there any way to send text to server without using Engine.EnterText('Text') ?? Because I want to send periodical manual commands like #Text (for party) or /nick blabla or something like that. If i am sending Engine.EnterText('Text') each second, if i press alt for other task, game change to full screen, and all client start doing weird things.

 

 

I have find the packet, for example, to send /nick text. The problem is engine.SendToServer('Packet') is not working for me.

It gives me an error. "Undeclared identifier "SendToServer" I have seen a lot of examples using SendToServer but i dont know what's the problem.

 

Code is:

And i have tried with SendToServer, sendtoserver, trying to check if it is CAP problems.

 

uses SysUtils;

begin
  engine.sendtoserver('32 48 36 . . . . more packet. ');
end.

 

  • 2 weeks later...
  • 1 month later...
Posted (edited)
On 1/7/2023 at 4:22 PM, cookie19 said:

i need help with FindPath (function FindPath(StartX, StartY, EndX, EndY: integer; PathList: TList): boolean;

but there is code example on site, why not use it?) https://adrenalinebot.com/en/api/adrenaline/Classes/TL2Control#FindPath
 

uses Classes;
var
  Path: TList;
  i: integer;
  
begin
  Path:= TList.Create;
  Engine.FindPath(User.X, User.Y, User.Target.X, User.Target.Y, Path);
  print(Path.count);
  for i:= 0 to Path.count - 1 do
  begin
    Engine.MoveTo(Integer(Path(i)), Integer(Path(i + 1)), User.Z);  
    inc(i, 1);
  end;
  Path.Free;
end.

 

 

On 1/20/2023 at 2:41 PM, Dawhol said:

I have find the packet, for example, to send /nick text. The problem is engine.SendToServer('Packet') is not working for me.

Probably you try to use this method on cracked "very old" version of adrenaline bot. You will need to use actual version for work with packets. Also you can try Packet Scanner plugin for analyze packets

 

 

On 2/2/2023 at 12:00 PM, thomasthekiler said:

is there any way to auto quest ? its a custom quest on this server though

Only using scripts, you can try to make script order on our site 

Edited by AdrenalineBot
  • 2 weeks later...
Posted
On 12/20/2015 at 10:06 AM, 0tavi0 said:
  var obj: TL2NPC;

 

obj2: TL2Effect; 

 

 

begin

 

 

if user.inrange(111021, 219010, -3547, 500)  then begin

 

 

        Engine.SetTarget('zSnow');

 

 

        Engine.DlgOpen;

 

 

        Delay(500);

 

 

        Engine.BypassToServer('4');

 

 

        Delay(1000);  

 

 

      end; 

 

 

 

 

 

end.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

my SO THIS.

 

what the mean 4? in Engine.BypassToServer('4');

On 4/8/2015 at 4:53 AM, adr.bot said:

just use dialog viewer and you see all codes

How I get dialog viewer?

On 10/15/2018 at 8:26 PM, AchYlek said:

if you need for h5  destiny / liona files, then yea

 

http://www.mediafire.com/file/w9bs6pcbg1l8znn/Auto_Nobless_dragon.rar

Engine.bypasstoserver('_bbshome'); delay(1000);
Engine.bypasstoserver('_bbsgetfav'); delay(1000);
Engine.bypasstoserver('00'); delay(1000);
Engine.bypasstoserver('01a'); delay(1000);
Engine.bypasstoserver('03'); delay(1000);
end;

 

 

How u get by passtoserver number "00" "01a" and "03" ??

On 6/17/2018 at 11:32 PM, adr.bot said:
procedure OnPacket(ID, ID2: Cardinal; Data: Pointer; Size: Word);
begin
 print(ID);
 print(MemToHex(Data^, Size));
end;
begin
  delay(-1);
end.

this receive packets from server to client if i not wrong, "OnCliPacket" from client to server

to send packet

engine.sendtoserver('');

engine.sendtoclient('');

 

why ur script is stopping i have no idea

Engine.bypasstoserver('_bbshome'); delay(1000);
Engine.bypasstoserver('_bbsgetfav'); delay(1000);
Engine.bypasstoserver('00'); delay(1000);
Engine.bypasstoserver('01a'); delay(1000);
Engine.bypasstoserver('03'); delay(1000);
end;

 

How i get number "00", "01a" and "03" ?

Posted
On 4/10/2019 at 12:05 AM, xCarroza said:

Hi @adr.bot can u help me? 😄 Or some 1

 

I'm making a script to autofarm but when I die I can sometimes respawn in giran and another 1 in gludio, how can I make it move to one place or another depending on the city where i respawn?
 
Im trying with this:
 
 
 
    if not User.Buffs.ByID(1413, buff) and user.inrange(81153, 148677, -3464, 3500) then begin
	            Engine.MoveTo(82015, 147986, -3495);
	                    delay(1000);
	    Engine.MoveTo(83176, 148352, -3432); //buffer giran
	   if not User.Buffs.ByID(1413, buff) and user.inrange(-14404, 123473, -3112, 4000) then begin
	   Engine.MoveTo(-14210, 123813, -3112);     //buffer gludio				
 
 
But it does not move in either of the two cities.
Sorry if it's something obvious I'm starting and I'm saturated in some things with so much information of scripts and such.
 
Thanks.
 
I alrdy fixed it, thanks anywais 😄

Can u tell me how to solved script?

  • 4 weeks later...
  • 1 month later...
Posted
On 3/18/2023 at 1:44 PM, z3renity said:

Can u tell me how to solved script?

There are ready solution, script called Hunter (https://adrenalinebot.com/en/script/hunter/)
It uses GPS maps for movements, so u can once make all needed routes between towns (there are many ready for different chronicles) and bot will be able to return to spot from any town

 

On 4/15/2023 at 1:25 AM, cookie19 said:

Im making simple cap script. Its working only with bypass but doesn’t close cap window. Is there any posibility to close dlgtext window ? Sending key esc doesnt work either 😞

Adrenaline have no built in methods for that, only if u make ur own solution (packets will not help, need to call game client methods)

  • 4 months later...
Posted

somebody could please check why this script is not working? Thanks:

uses Base;

begin
print(Engine.QuestStatus(419));
Engine.LoadConfig('Leveller-lvl25.xml');
//print(Engine.DlgText);

// <html><head><body>Question:<br>Which of the following do <font color="LEVEL">not</font> describe the life of a wolf?<br><fstring>1110058</fstring><fstring>1110057</fstring><fstring>1110056</fstring><fstring>1110059</fstring><fstring>1110060</fstring></body></html>

  • 8 months later...

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.


×
×
  • Create New...