Jump to content

Recommended Posts

Posted

Hey guys,

I would like to ask you a question regarding to script. I play on L2warland (retarded l2j with security). I want to make tts script and I found problem:

When I reach NPC, I can not delivery egg. 

 

this is working, so bypasstoserver is working correctly

engine.bypasstoserver('_bbshome');

this is dialogue

<html><body>Naff:<br>
Oh, that feels great! If only I had some boiled eggs to go with it!<br>
<a action="bypass -h Quest 621_EggDelivery 31544-1.htm">I have some boiled eggs for you!</a>
</body></html>

so I used

engine.bypasstoserver('bypass -h Quest 621_EggDelivery 31544-1.htm');

tried _bypass, without bypass but nothing happend. I tried also

Engine.DlgOpen('I have some boiled eggs for you!');

not working

 

 

Do you have any idea? thanks!

Posted

Hey guys,

I would like to ask you a question regarding to script. I play on L2warland (retarded l2j with security). I want to make tts script and I found problem:

When I reach NPC, I can not delivery egg. 

 

this is working, so bypasstoserver is working correctly

engine.bypasstoserver('_bbshome');

this is dialogue

<html><body>Naff:<br>
Oh, that feels great! If only I had some boiled eggs to go with it!<br>
<a action="bypass -h Quest 621_EggDelivery 31544-1.htm">I have some boiled eggs for you!</a>
</body></html>

so I used

engine.bypasstoserver('bypass -h Quest 621_EggDelivery 31544-1.htm');

tried _bypass, without bypass but nothing happend. I tried also

Engine.DlgOpen('I have some boiled eggs for you!');

not working

 

 

Do you have any idea? thanks!

bypass string you need use without "bypass -h" example 

engine.bypasstoserver('Quest 621_EggDelivery 31544-1.htm');
Posted

check for bypass string like u did before

sorry, I do not understand. I used script and HxD to get dialogue from Naff and same for alt+b buff. I do not know how to findout engine.bypasstoserver, I made just try/fail method.

Posted

sorry, I do not understand. I used script and HxD to get dialogue from Naff and same for alt+b buff. I do not know how to findout engine.bypasstoserver, I made just try/fail method.

on most of servers bypass needed only for accept quest, to press "Quest", "Egg Delivery" i guess u can use engine.dlgsel and only on accept quest use engine.bypasstoserver with bypass string, ofc dont forget little bit delay before bypasstoserver

Posted

on most of servers bypass needed only for accept quest, to press "Quest", "Egg Delivery" i guess u can use engine.dlgsel and only on accept quest use engine.bypasstoserver with bypass string, ofc dont forget little bit delay before bypasstoserver

this is exactly what I tested and I can not make last step. As you said proably engine.bypasstoserver is not working with this dialogue (but with engone.bypasstoserver _bbshome is working). And at the moment I do not know how to contunie. Is it possible that bypasstoserver is different only for dialogues? 

Posted

this is exactly what I tested and I can not make last step. As you said proably engine.bypasstoserver is not working with this dialogue (but with engone.bypasstoserver _bbshome is working). And at the moment I do not know how to contunie. Is it possible that bypasstoserver is different only for dialogues? 

well no idea what u try there but probably cant be easier

begin
engine.settarget('naff');
engine.dlgopen; delay(555);
engine.dlgsel('Quest');delay(555);
engine.bypasstoserver('Quest 621_EggDelivery 31544-1.htm');delay(555);
end.
Posted

 

well no idea what u try there but probably cant be easier

begin
engine.settarget('naff');
engine.dlgopen; delay(555);
engine.dlgsel('Quest');delay(555);
engine.bypasstoserver('Quest 621_EggDelivery 31544-1.htm');delay(555);
end.

well,its working, Iam looks like an idiot. The delay on the end is important?

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