kajamajin
-
Posts
30 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by kajamajin
-
-
not work some files...
Itemname, grps and questname...
-
nice man!
thank you!!
-
-
wow. thanks a lot!
-
What is this?
-
Thanks man.
It's very cute!
-
yes. html_freya.rar file is locked.
what's the password??
-
Not enter the game. :(
-
Thank you man~
-
-beep-ing KOREA.
They always get the best first!
because Lineage, Lineage II, AION is made in Korea. The NCSoft.
you understand?
chap chap~
-
Thank you man! ^^
-
Hope this works T.T
I made this for l2jfreya....
### Eclipse Workspace Patch 1.0 #P L2J_DataPackUpdate14-03-2011 Index: data/scripts/handlers/itemhandlers/balloni.java =================================================================== --- data/scripts/handlers/itemhandlers/balloni.java (revision 0) +++ data/scripts/handlers/itemhandlers/balloni.java (revision 0) @@ -0,0 +1,46 @@ +package handlers.itemhandlers; + +import com.l2jserver.gameserver.cache.HtmCache; +import com.l2jserver.gameserver.handler.IItemHandler; +import com.l2jserver.gameserver.model.L2ItemInstance; +import com.l2jserver.gameserver.model.actor.L2Playable; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; + + + + +/** + * @author Cobra + * + */ +public class balloni implements IItemHandler +{ + private static final int[] ITEM_IDS = { 10639 }; + + public void useItem(L2Playable playable, L2ItemInstance item,boolean forceUse) + { + if (!(playable instanceof L2PcInstance)) + return; + L2PcInstance activeChar = (L2PcInstance)playable; + int itemId = item.getItemId(); + + if (itemId == 10639) + { + String htmFile = "data/html/Teleport/Balloni.htm"; + String htmContent = HtmCache.getInstance().getHtm(htmFile); + + NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); + infoHtml.setHtml(htmContent); + activeChar.sendPacket(infoHtml); + } + } + + + + + public int[] getItemIds() + { + return ITEM_IDS; + } +} Index: data/scripts/handlers/MasterHandler.java =================================================================== --- data/scripts/handlers/MasterHandler.java (revision 7827) +++ data/scripts/handlers/MasterHandler.java (working copy) @@ -154,6 +154,7 @@ import handlers.itemhandlers.BeastSpiritShot; import handlers.itemhandlers.BlessedSpiritShot; import handlers.itemhandlers.Book; +import handlers.itemhandlers.balloni; import handlers.itemhandlers.Disguise; import handlers.itemhandlers.Elixir; import handlers.itemhandlers.EnchantAttribute; @@ -447,6 +448,7 @@ ItemHandler.getInstance().registerItemHandler(new EnchantScrolls()); ItemHandler.getInstance().registerItemHandler(new ExtractableItems()); ItemHandler.getInstance().registerItemHandler(new Book()); + ItemHandler.getInstance().registerItemHandler(new balloni()); ItemHandler.getInstance().registerItemHandler(new SevenSignsRecord()); ItemHandler.getInstance().registerItemHandler(new ItemSkills()); ItemHandler.getInstance().registerItemHandler(new ItemSkillsTemplate());
Thank you Cobra.
Looking for balloni.htm file.
How to make this htm file?
Thanks again^^ And I'm Korean Too.
-
-
-
Thx man^^*
-
Oh! good.
Thanks man^^
-
You dont need, you use the config.java Enable or Disable a command.
For example:
PvpNameColor=True or False
I don't have BLOW_FRONT_RATE, BLOW_SIDE_RATE, BLOW_BACK_RATE in my Config.java
Why don't need?
thanks man~
-
Thanks.
And Config.java code????
-
WOW.
ok. Thanks for your S.S
Looks very good.
B.B!!!!
-
Oops!
Thanks man!!!!!!
:)
-
Oh. GOD!
very nice share. thank you man!
-
Hello B.B
I don't understand this.
please show me Screen Shots.
Exactly what is this?
PK player reward?
-
Thank you man!
But link is dead. :'(
-
wow!
it's nice man~ thanks!!
[share]Custom NPC: auto-enchant
in Server Development Discussion [L2J]
Posted
Link is dead