garfild Posted March 12, 2017 Share Posted March 12, 2017 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! Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 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'); Quote Link to comment Share on other sites More sharing options...
garfild Posted March 12, 2017 Author Share Posted March 12, 2017 kicked for illegal action and disconnected... Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 kicked for illegal action and disconnected... then looks like u use wrong bypass Quote Link to comment Share on other sites More sharing options...
garfild Posted March 12, 2017 Author Share Posted March 12, 2017 then looks like u use wrong bypass so why it is working with _bbshome? is there any way how to findout correct bypass? Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 so why it is working with _bbshome? is there any way how to findout correct bypass? check for bypass string like u did before Quote Link to comment Share on other sites More sharing options...
garfild Posted March 12, 2017 Author Share Posted March 12, 2017 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. Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 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 Quote Link to comment Share on other sites More sharing options...
garfild Posted March 12, 2017 Author Share Posted March 12, 2017 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? Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 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. Quote Link to comment Share on other sites More sharing options...
garfild Posted March 12, 2017 Author Share Posted March 12, 2017 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? Quote Link to comment Share on other sites More sharing options...
adr.bot Posted March 12, 2017 Share Posted March 12, 2017 no xd i just forget delete it, anyways as i said it works xd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.