Jump to content

Castle Info Extender


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...