Jump to content

Recommended Posts

Posted

Hi, I spent half day for looking forums answers and it's hard to get any infos.

Someone can help correct my Exp > Die > Back Exp Script?

 

begin
Engine.MoveTo(11240, 17537, -4592);
Engine.MoveTo(10723, 17133, -4584);
Engine.MoveTo(10749, 17257, -4584);
Engine.MoveTo(10738, 17132, -4592);
Engine.MoveTo(10672, 17100, -4584);
Engine.MoveTo(10663, 17055, -4584);
  Engine.SetTarget(70045); // NPC ID 
  Engine.DlgOpen;
  delay(1000);
  Engine.DlgSel('Magic Set'); // notworking
  delay(1000);
  Engine.DlgSel('Magnus'); // notworking
  delay(1000);
  Engine.DlgSel('HP/CP/MP'); // notworking
  delay(1000);
  Engine.MoveTo(10167, 16873, -4584);
  Engine.MoveTo(10108, 16665, -4568);
  Engine.MoveTo(9953, 16270, -4568);
  Engine.MoveTo(9722, 15628, -4568);
  Engine.MoveTo(9673, 15581, -4568);
  delay(1000);
  Engine.SetTarget(30134); // NPC ID
  Engine.DlgOpen;
  delay(1000);
  Engine.DlgSel('Necropolis and Catacombs'); // notworking
  delay(1000);
  Engine.DlgSel('Catacomb of Dark Omen's'); // notworking                    << There is Problem with ' in Omen's word.
  
begin                                                                                                        
while true do begin
if user.inrange(10663, 17055, -4584, 1500) // 1500 needed while you checking
then begin                                                                                          
end;
end.       <<<< RED,  if true begin (36): "end" expected but "я" found
 
 
Someone can help me FIX it?
I was trying to make: Go exp > Die (Bot autotown) > Pause Bot > Use script (rbf npc, go gk) > TP Loc > Go spot > Resume bot
Posted

 

Hi, I spent half day for looking forums answers and it's hard to get any infos.

Someone can help correct my Exp > Die > Back Exp Script?

 

begin
Engine.MoveTo(11240, 17537, -4592);
Engine.MoveTo(10723, 17133, -4584);
Engine.MoveTo(10749, 17257, -4584);
Engine.MoveTo(10738, 17132, -4592);
Engine.MoveTo(10672, 17100, -4584);
Engine.MoveTo(10663, 17055, -4584);
  Engine.SetTarget(70045); // NPC ID 
  Engine.DlgOpen;
  delay(1000);
  Engine.DlgSel('Magic Set'); // notworking
  delay(1000);
  Engine.DlgSel('Magnus'); // notworking
  delay(1000);
  Engine.DlgSel('HP/CP/MP'); // notworking
  delay(1000);
  Engine.MoveTo(10167, 16873, -4584);
  Engine.MoveTo(10108, 16665, -4568);
  Engine.MoveTo(9953, 16270, -4568);
  Engine.MoveTo(9722, 15628, -4568);
  Engine.MoveTo(9673, 15581, -4568);
  delay(1000);
  Engine.SetTarget(30134); // NPC ID
  Engine.DlgOpen;
  delay(1000);
  Engine.DlgSel('Necropolis and Catacombs'); // notworking
  delay(1000);
  Engine.DlgSel('Catacomb of Dark Omen's'); // notworking                    << There is Problem with ' in Omen's word.
  
begin                                                                                                        
while true do begin
if user.inrange(10663, 17055, -4584, 1500) // 1500 needed while you checking
then begin                                                                                          
end;
end.       <<<< RED,  if true begin (36): "end" expected but "я" found
 
 
Someone can help me FIX it?
I was trying to make: Go exp > Die (Bot autotown) > Pause Bot > Use script (rbf npc, go gk) > TP Loc > Go spot > Resume bot

 

well first of all script not looks good xd

Engine.DlgSel('Catacomb of Dark Omen's'); // notworking                    << There is Problem with ' in Omen's word.

correct must be like 

Engine.DlgSel('Catacomb of Dark Omen''s'); // notworking                    << There is Problem with ' in Omen's word.

if still doesnt work u can try use 

engine.dlgsel(1); // 1 index of button in this case it will press first button if works

if still not work then u can try check bypass string and use 

engine.bypasstoserver('string');

if bypass strings change every time at open dialog, then u can try check for ready functions to send bypass in real, time

also simple back to spot should be like

function isDead:boolean;
begin
result:= false;
if user.dead then begin
result:= true;
engine.facecontrol(0, false);
delay(555);
engine.gohome;
delay(5555); // some delay for properly teleport to town after death
script.replace; // restart script
end;
end;

begin
while delay(1111) do begin
// teleport
delay(5555); // 5sec delay to properly teleport
// engine.moveto to ur spot
engine.facecontrol(0, true); // turn on bot
while not isDead do delay(1111);// wait until u dead
end;
end.

should be enough for h5 server with alt b

if server interlude then ofc need town locations

gl!

Posted
New problem with HS script. Server la2mega.net

I tried all ways from forums to click "I'm here to deliver some liqour"

 

79708551780253560676.jpg

 

Can you help me?

 

begin

   Engine.MoveTo(147528, -113249, -2128);

   Engine.MoveTo(147522, -113282, -2128);

   delay(1000);

   Engine.SetTarget(31547);                                    /////beolin

   Engine.DlgOpen;

   Engine.DlgSel('Quest');

   Delay(500);

   Engine.DlgSel('Specialty Liquor Delivery');

   Delay(500);

   Engine.DlgSel('I''m here to deliver some liquor');        <<< Not Working

   Delay(500);

   Engine.DlgSel('"I''m here to deliver some liquor"');       <<< Not Working

   Delay(500);

   engine.bypasstoserver('Quest 622_DeliveryOfSpecialLiquor 31547-1.htm');  <<< Not Working

   Delay(500);

   engine.dlgsel(1); // 1 index of button in this case it will press first button if works    <<< Not Working

   delay(1000);
Posted

 

New problem with HS script. Server la2mega.net
I tried all ways from forums to click "I'm here to deliver some liqour"
 
79708551780253560676.jpg
 
Can you help me?
 
begin
   Engine.MoveTo(147528, -113249, -2128);
   Engine.MoveTo(147522, -113282, -2128);
   delay(1000);
   Engine.SetTarget(31547);                                    /////beolin
   Engine.DlgOpen;
   Engine.DlgSel('Quest');
   Delay(500);
   Engine.DlgSel('Specialty Liquor Delivery');
   Delay(500);
   Engine.DlgSel('I''m here to deliver some liquor');        <<< Not Working
   Delay(500);
   Engine.DlgSel('"I''m here to deliver some liquor"');       <<< Not Working
   Delay(500);
   engine.bypasstoserver('Quest 622_DeliveryOfSpecialLiquor 31547-1.htm');  <<< Not Working
   Delay(500);
   engine.dlgsel(1); // 1 index of button in this case it will press first button if works    <<< Not Working
   delay(1000);

 

procedure getbypass;
var InpStr, TxtOut : string;
begin
  InpStr := engine.DlgText;
  TxtOut:= Copy(InpStr,pos('-h',InpStr),290) ;
  TxtOut:= Copy(TxtOut,4,pos('"',TxtOut)-4);
  engine.bypasstoserver(TxtOut);
end;

simple procedure to send bypass on last quest step, usage

 

procedure getbypass;
var InpStr, TxtOut : string;
begin
  InpStr := engine.DlgText;
  TxtOut:= Copy(InpStr,pos('-h',InpStr),290) ;
  TxtOut:= Copy(TxtOut,4,pos('"',TxtOut)-4);
  engine.bypasstoserver(TxtOut);
end;

begin
   Engine.SetTarget(31547);                                    /////beolin
   Engine.DlgOpen;
   Engine.DlgSel('Quest');
   Delay(500);
   Engine.DlgSel('Specialty Liquor Delivery');
   delay(1111);
   getbypass;
end.

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

    • What’s DatForge? Well… it’s a website I built initially to edit .dat files for Lineage 2… but not only that. Now it also handles: .dat, .ini, .htm, and .l2r files basically most Lineage 2 client data file types across 33+ chronicles. https://datforge.pages.dev/   Support / Reports / Anything Discord: https://discord.gg/5YwhBr5Dhx (use it for support, bug reports, or anything related to the project) Does it work for every version? No idea. I haven’t tested every single one… unless you want to volunteer. Do I plan to support every version? Yes. That’s the dream. Will that dream become reality? idk man, can’t promise shit. What’s coming next? (aka things I plan to do before I disappear) xdat editor .u editor / compiler / decompiler Let me sell you a dream real quick I will maintain this forever… probably… maybe… don’t quote me on that. Before you even start First requirement to use anything I build: you gotta be able to think. I won’t spend time drawing. Also… whoever said “there’s no such thing as a stupid question” was lying to make stupid people feel better. If you ask a stupid question, I will ignore it. PERIOD. Extra FAQ (since people will ask anyway) Am I looking for other pseudo AI coders/devs to join? Not really… unless you can actually add real value. Am I looking for people to manage a Discord server? Probably yes. I hate that crap. Will we be friends if you sign up? Not really. Will I do any changes on your L2J server if you sign up? No. Will I teach you how to code? No. How do you know if I’m legit? You don’t. FAQ (before you ask) What makes us different? There is no us. It’s just me. What makes me different? idk, you tell me. Why should you buy it? You probably shouldn’t. But if you want to… go ahead. How do I try it? Click the link. That’s it. Will the free account have everything? Read the pricing page. Don’t ask questions you can answer yourself. What if I find issues? I’m not your father, I won’t teach you how to use it. But if something is actually broken, post it and I’ll fix it. Why is it taking so long? Because you’re buying a tool, not hiring an employee. I work on it when I have time. If you want to pay my salary… we can talk (no promises). Am I an asshole like I sound? Not really. But people seem to like it, so I’m leaning into it. Will you share the source? Yes. Wait and see. If you're still here Congrats. Feel free to ask questions or suggest features. Just don’t come with crazy ideas, and remember: suggestions ≠ implementation. Bug reports If you report issues, they’ll most likely be fixed within a few hours… worst case a few days. Security issues / bypasses If you find something interesting, send me a PM with steps to reproduce. If it’s legit, you might get rewarded. “But if I don’t report it I can exploit it forever” …until I fix it myself and now you got nothing. Your call. Release dates When is xdat editor coming out? Soon. What day? Soon. What about .u files? Soon. Why no dates? Because this is not my full-time job. Pricing Do I need to pay to try it? No. There’s a free tier. If you want more, you can pay and unlock everything. Final note (before the “ooh but…” starts) This tool was built for me. I just decided to share it. I’m not a company. I’m not trying to live off this. But if you want a tool and don’t want to build it yourself… well… I already did 
    • report: scammer @nickathan he was a customer of me and this time i trusted him to send the files before i get paid .. he said in 1 hour he will give the money, i gave him space for 2 weeks , but he vanished! Proofs can be transmitted to @Celestine 
    • If they ask you to write something, you should ask for the full context. We had a private chat between the administrators of mxc and gx ext. He was allowed back on the forum on the condition that he did not spam unnecessary posts. As far as I'm concerned, it shouldn't be allowed because it involves multiple scams. We want and aim for a stronger community. He's not only doing this with this account, but with several, since this user has multiple accounts. As for what one user or another contributes, that's irrelevant; I often provide support to the community and I don't need to make it public. But I repeat, if they ask you to write a comment, just ask for the full context, nothing more than that. Or if you want a direct answer from me, feel free to message me privately so we can avoid spamming a post about an extender. That's the problem with second chances 
    • I currently have a working custom quest, but the problem is that I can't see it in the game's quest log. I've added it to questname-e.dat, but I still don't see it. I think there's another file where I need to add it, but I can't find it. For the items and skills I've added, I've always put it in the name and grp fields, but there's nothing related to questgrp.dat in the quest log. Could you tell me where I can add it?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..