Anarchy Posted June 25, 2010 Posted June 25, 2010 Download Me In reference to this topic I am sharing this extender which will enable you to create a custom NPC to handle all castle siege information, rather than having to use 10 different NPCs in your main town. All you need to do is create a new NPC, and an HTML for said NPC, and then use the following bypass command. bypass -h castleinfo_1 1 is the Castle ID from castledata.txt, so this command would display the castle siege information window for Gludio Castle. This extender is for dvampire, and will work with Depmax64. For attachment instructions see my other topic -> http://www.maxcheaters.com/forum/index.php?topic=154347.0
Anarchy Posted June 25, 2010 Author Posted June 25, 2010 Example HTML <html> <head> <body> <center> Which castle do you require siege information for?<br><br> <a action="bypass castleinfo_1">Gludio Castle</a> <a action="bypass castleinfo_2">Dion Castle</a> <a action="bypass castleinfo_3">Giran Castle</a> <a action="bypass castleinfo_4">Oren Castle</a> <a action="bypass castleinfo_5">Aden Castle</a> <a action="bypass castleinfo_6">Innadril Castle</a> <a action="bypass castleinfo_7">Goddard Castle</a> <a action="bypass castleinfo_8">Rune Castle</a> <a action="bypass castleinfo_9">Schuttgart Castle</a> </body> </html> This ext only supports castle IDs 1-9.
Anarchy Posted June 25, 2010 Author Posted June 25, 2010 Anarchy, may you include the source code ;) The source is in your help topic :p I'll think about including full source, but there doesn't seem to be much interest in extenders on this forum, most people just want the finished product to plug-and-play, there aren't many like you who are actually interested in learning for themselves.
GoodT Posted June 25, 2010 Posted June 25, 2010 Good share, but better will be if you share source code of this dll. ;)
Sunrays Posted June 25, 2010 Posted June 25, 2010 Download Me In reference to this topic I am sharing this extender which will enable you to create a custom NPC to handle all castle siege information, rather than having to use 10 different NPCs in your main town. All you need to do is create a new NPC, and an HTML for said NPC, and then use the following bypass command. bypass -h castleinfo_1 1 is the Castle ID from castledata.txt, so this command would display the castle siege information window for Gludio Castle. This extender is for dvampire, and will work with Depmax64. For attachment instructions see my other topic -> http://www.maxcheaters.com/forum/index.php?topic=154347.0 One question, You made your own packet handler and check 0x21 ( bypass ) and parse from here? gook job Anarcy This was funny "prostitute job Anarcy", "published 1893 defines "gook" as "a low prostitute."
Anarchy Posted June 25, 2010 Author Posted June 25, 2010 One question, You made your own packet handler and check 0x21 ( bypass ) and parse from here? This was funny "prostitute job Anarcy", "published 1893 defines "gook" as "a low prostitute." No, I hook at the very end of the L2Server's HTML Bypass handler, that way the L2Server does all of the talk channel verification for me and Depmax does its bypass verification too. If you use a packet handler then you will have to do verifications yourself to make sure its a valid link, such as distance from npc and current talk target etc.
Moon2PL Posted June 25, 2010 Posted June 25, 2010 Great work! He will certainly be useful use to the l2OFF Interlude collection! Great thanks!
Sunrays Posted June 26, 2010 Posted June 26, 2010 No, I hook at the very end of the L2Server's HTML Bypass handler, that way the L2Server does all of the talk channel verification for me and Depmax does its bypass verification too. If you use a packet handler then you will have to do verifications yourself to make sure its a valid link, such as distance from npc and current talk target etc. Good, That is the best way. Keep your work up.
Recommended Posts