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...
Posted

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 😞

  • 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...
  • 5 months later...
Posted

Hi all, i need script for 2 SK/BD chars that hit each other non stop with /attackforce to can charge Pain of Shilen. I use Adrenaline but can't set it to fight each other. I can set them to use Pain of Shilen in 60 sek non stop and when its charged on 3 to use SOS but i have problem to make them to hit themselfs... pls help

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

    • A question: I’ve had two servers that were downgraded from C6 to C4, and both would lag for players when they changed subclass, and almost every time the L2 server would crash. They say it’s a problem with the C5 skills that were added. Has anyone experienced this issue? The server would run fine without errors until people started changing classes. Has anyone gone through this and knows the solution to the problem?
    • L2jBayev Chronicle 3: Rise of Darkness – AiEngine Edition In short: this is a C3 build with a full-fledged AI engine, live mercenaries, a built-in quiz, a “personal account” in the Community Board, and server logic neatly distributed across thread pools. The project is about a living world without lags : bots farm, communicate, gather parties, teleport along routes, and the server remains cold and stable.   What's inside (the most delicious) 1) Full-fledged AI engine for characters Behavior types: farming ( FarmAI ), combat ( CombatAI ), party logic ( PartyAI ), trading/walking ( TraderAI / WalkerAI ), support roles (healer, etc.). Class profiles: for mages/archers/daggers, etc., “smart” skill rotations, distance control, sleep/save skills, healing, loot pickup, etc. are implemented (see examples of classes like SpellSingerAI , NecromancerAI , etc.). Self-healing and teleports: when dying, the bot goes through a sequence of steps without sleep()- via AITaskSequence + AITeleportToLocTask , searches for the nearest gatekeeper and teleports via TeleportationManager with routes depending on the level. Auto-support: auto-nipples, arrows/bones, smart auto-proceduring of buffs and auto-banks CP/HP/MP with thresholds - all sewn into the auxiliary EtcPlayersAi . Chat context: ChatManagerAi processes mentions, makes responses with delays (anti-flood), supports party chat and “human” reaction. Understanding: ChatManagerAi system  processes the dialogue, bots remember your aggression and insults, they start to respond less often to modern users, stop accepting or inviting to a group (party) and when it goes beyond the peak they will simply merge you, and every time they see you on the PC, there is an opportunity to measure more often, communicate respectfully and beautifully, in general, a “human” reaction. Why a player/admin needs this: bots actually “live”, farm and interact, and don’t just stand on macros. This is a great background for online and PvE action.   2) Mercenaries (Mercenary system) Full-fledged companion character : L2MercenaryInstance with its own MercenaryAI (movement, attack, support, consumables, shots). Behavior modes: DEFENDER / SUPPORT / PASSIVE - switchable to suit your playing style. Progress and trust: the mercenary's trust/exp/level grows , skills are learned according to the MercenarySkillTree (conditions are based on the trust or level of the owner). Templates and equipment: via MercenaryTemplateTable and spawner - model/weapon/type are selected. Social: MercenarySpeechManager - a set of speeches; the mercenary "comes to life" in the chat. Premium Link: Premium account owners give the mercenary additional trust (faster progress). Why: This is not a dummy pet, but a playful companion with modes, training and “character”.   3) Quiz (event viktorina ) Rounds according to schedule: pre-launch with announcements (minutes/seconds before start), registration .reg, auto-opening of the window. Multiple choice questions: question + set of answer buttons; fair processing, timings, question change. Tops and history: results table, statistics, neat UI via HTML assembly. Flexible control: you can start immediately or set a delayed start (notification package 5/2/1 min, etc.). Why: regular activity for players, “social entertainment” module right in the build.   4) Personal account in Community Board KB managers: buff cabinet, teleports, clans/forums/mail/friends, tops (PK/PvP/wealth/players), character repair, viewing skill trees , etc. Premium logic: some services/mail are limited by premium; premium also affects the visual (nickname color) and bonuses (see effect on mercenary). Single sign-on: all in one place, no team chaos. Why: conveniently manage your character and services without going into the console or installing third-party mods.   Why is the system technically valuable? Minimum load and stability Separated thread pools: AI logic, hunting, teleports, chat - on separate onesScheduledExecutorService ( AI_THREAD_POOL , MONSTER_HUNT_POOL , TELEPORT_POOL , CHAT_POOL ). No "freezing": task sequencers (teleport/recovery) work through the scheduler, not Thread.sleep(). Bot limitation: protection against overload via thresholds/counters - “extra” bots do not start. One bot - one sequence: AITaskManager ensures that the character does not have parallel conflicting tasks. Smoothing out peaks: starting tasks with offsets so that there are no simultaneous “ticks” of hundreds of bots. Monitoring/logs: own loggers (separate files for info/errors/processes/chats), CPU load monitoring. Bottom line: the build is designed for “thick online” and mass activities without TPS failures .   Additional Features Auto-alliances for farming: party logic invites suitable players (checking level/equipment/clan flags), there are “human” responses to requests. Sub/class management: out of the box helpers for changing class/subclass, auto-learning of necessary skills and selection of equipment by level. Security/protection: secondary PIN/picture password support (used in KB/voiced commands; optional). Premium accounts: privileges in KB/mail/visual and synergy with mercenary progress. Ready-made services: tops, auctions/mail, teleports from KB, buff rooms, repairs, viewing skill trees, etc.   Who is this build for? Freeshare/project admins who want a living world “from the pack”: bots and mercenaries provide a constant background of activity. Players who value convenience: personal account, premium services, events and a mercenary companion. Developers who want a clean, predictable backend with thread pools and a neat task model without “magic”.   How it differs from standard assemblies Not macros - AI profiles with “brains”: rotations, positioning, healing, decision making. Not a decoration pet - a mercenary with his own modes, progress, skill tree and lines. Not a faceless gamemod - an event quiz with UI, schedule, tops. No chaos in flows - strict pools, planning and task managers designed for online and growth. No separate scripts - a single personal account in KB for most activities.   TL;DR (one paragraph for the project card) AiEngine C3 is a build with live AI, smart bots, mercenaries (modes/progress/skills), built-in quiz, premium logic and a convenient personal account in KB. Under the hood are distributed thread pools and task managers without sleep(), so even with a dense online the server remains stable and responsive.   Additionally add - there is still a lot of interesting things command .assassin or shift+target (order murder), shift+target for admins on AI characters for control, admin panel is completely rewritten, many additional functions, mercenaries change their appearance depending on trust, deepseek and chatGPT system is connected for communication of characters like real players, GPT - for newer java, there is still a very large list of fixes after the last versions, a lot has been fixed, including height coordinates (Z) geo-Squares, pathfinding, visibility through obstacles, fix pet summons, trade packages, shop packages, many effects, quests (including the original ones like nipples, etc.), Ai behavior of NPC and RB monsters, absolutely all epics have been transferred to AiLoader no longer in python scripts. Attention! The server is suitable for both classic mode and PvP format, as well as with various mods. Absolutely everything is configured in the configurations to suit your taste and purposes of use. It is recommended to launch the server through L2ServerControl (simplifies management and control of processes). Download Servers: Chronicle 3 Server Chronicle 4 Test Upgraded Server Full Desc & screens: Post & Screens c3 Post & Desc c4    
  • 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