Jump to content

Search the Community

Showing results for tags 'npc'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News
  • General
    • Suggestions & Feedback
    • General Chat
    • GFX
    • VFX
  • MMO Hub
    • Gamer's Lounge
    • Member's Lounge
    • Developer Lounge
  • MMO Corner
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Host Listing
    • Server Listing
    • Server Recruitment
    • Server Reviews
    • The Underground
  • User Hub
    • Support
    • Report
    • Contact Staff
  • Merchant Corner
    • Marketplace
  • General Development Releases
    • Applications
  • Tutorials
    • Programming
    • Web Development
  • Wasteland

Categories

  • Creative Corner
    • GFX Releases
    • VFX Releases
    • Resources
  • MMO and MMORPG
    • World of Warcraft
    • Lineage 2
    • Minecraft
  • Webmasters
    • Content Management Systems
    • Addons
    • Scripts
    • Designs
    • Proxies
    • HTML
  • Applications
  • Gaming
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Emulation
    • Nulled Distributions
  • Marketplace
    • Marsh Designs
    • iDarts

Product Groups

  • Membership
  • Advertise
  • Promote

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Interests


How Did You Find Us?


Contributor


Discord

Found 19 results

  1. Description: If you click on the rebirth manager and choose to rebirth then your character will be reset to level 1, with this you will also lose your normal skills (not your gained rebirth skills). When you have done a rebirth, you will receive a Book of Rebirth. To gain a rebirth skill you must visit your skill trainer witch can be found in most towns. The skill trainer will take 1 Rebirth Book per chosen skill. Be careful when choosing your rebirth skills because once chosen they cannot be changed! You can only rebirth 3 times! Downloads: [hide] Core Patch via pastebin Datapack patch via pastebin Client Side via zippyshare [/hide] All credits goes to: Trance
  2. Hello members of LordCraft, here is a custom NPC Template for Interlude Clients. Preview: Download link: [hide] [/hide] Credits: Herpy
  3. Hello members of LordCraft, here is a custom NPC Template for H5 Clients. Preview: Download link: [hide] [/hide] Credits: Asuki
  4. Hello members of LordCraft, here is a custom NPC created by me. Images preview: Download: [hide] [/hide] Rar Passowrd: byPsyancy Download contains: Client Side files Server Side files (Inside xml folder you will find xml for the NPC for aCis projects and inside sql folder you will find sql for the NPC for L2JFrozen projects) Credits: Psyancy (My name on another forum)
  5. Hello members of LordCraft, here is a code for time load like L2OFF for aCis. Code: [hide] ### Eclipse Workspace Patch 1.0 Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 1) +++ java/net/sf/l2j/Config.java (working copy) @@ -650,6 +650,8 @@ public static int ZONE_TOWN; public static boolean DISABLE_TUTORIAL; + public static long NPC_SERVER_DELAY; + // -------------------------------------------------- // Those "hidden" settings haven't configs to avoid admins to **** their server // You still can experiment changing values here. But don't say I didn't warn you. @@ -1258,6 +1260,8 @@ ZONE_TOWN = server.getProperty("ZoneTown", 0); SERVER_NEWS = server.getProperty("ShowServerNews", false); DISABLE_TUTORIAL = server.getProperty("DisableTutorial", false); + + NPC_SERVER_DELAY = npcs.getProperty("npcServerDelay", 1); } else if (Server.serverMode == Server.MODE_LOGINSERVER) { Index: java/net/sf/l2j/gameserver/datatables/SpawnTable.java =================================================================== --- java/net/sf/l2j/gameserver/datatables/SpawnTable.java (revision 1) +++ java/net/sf/l2j/gameserver/datatables/SpawnTable.java (working copy) @@ -23,6 +23,7 @@ import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.instancemanager.DayNightSpawnManager; import net.sf.l2j.gameserver.model.L2Spawn; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; @@ -44,7 +45,7 @@ protected SpawnTable() { if (!Config.ALT_DEV_NO_SPAWNS) - fillSpawnTable(); + ThreadPoolManager.getInstance().scheduleGeneral(new NPCServerTask(), Config.NPC_SERVER_DELAY * 1000); } public Set<L2Spawn> getSpawnTable() @@ -188,6 +189,17 @@ fillSpawnTable(); } + class NPCServerTask implements Runnable + { + @SuppressWarnings("synthetic-access") + @Override + public void run() + { + fillSpawnTable(); + _log.info("NPC Server: Task initialization..."); + } + } + private static class SingletonHolder { protected static final SpawnTable _instance = new SpawnTable(); +++ config/server.properties (working copy) +# Enable Npc Server Delay +npcServerDelay = 1 [/hide] Credits: masone
  6. Description: Once you have completed 3 rebirths you need to collect various items from the following raid bosses in order to become a Noblesse. Death Lord Hallate Kernon Longhorn Golkonda Shilen's Messenger Cabrio Once you've collected all the items and your character is lvl78, you can go to the Noblesse NPC ''Eddy Wally'' who's located on the stairs in Aden Town, and become a Noblesse. Screenshots: Downloads: [hide] Core Patch via pastebin Datapack Patch via pastebin Client Side via zippyshare [/hide] Notice: You can find Trance's Rebirth Manager here. All credits goes to: Trance
  7. Hello members of LordCraft, here is a tutorial about editing html windows for High Five Lineage 2 Client. Basics: <html><body>Content of the page</body></html> I don't think it's ever required, but i always add that so i am not sure. ► NoScrollBar Default: No Scroll Bar:No Scroll Bar: <html noscrollbar> ► Title <title>Text</text> ► BR (aka spaces) Text Line 1<br1> Text Line 2<br> Text Line 3 Changing Text ► You can change the color <font color="882323">Red Text</font> Number 882323 is Html Color Code, you can use this web to get them: http://html-color-codes.info/ ► You can change the font <font name="hs16">Big Text</font> List of all possible fonts in H5: ► You can change both <font name="__SystemEditBoxFont" color="666666">Text</font> Buttons and Action: ► Normal Bypass <a action="bypass -h npc_%objectId%_Chat 1">Normal</a> <font color="b31a1a"><a action="bypass -h npc_%objectId%_Chat 1">Colored</a></font> ► Bypass to Website <a action="url !2265">Go to Web</a> Note: 2265 is Id in sysstring-e.dat containing Web Page that will open. Just Ids 2265, 2266 and 2267 are available ► Buttons <button value="Button Name" action="bypass -h npc_%objectId%_Chat 1" width=100 height=30 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"> fore - Image of the button that shows up when mouse cursor is away back - Image that shows when player clicks on the button What about image that shows when cursor is on image, but it's not clicked? Game Client is taking content of fore and adds "_over" at the end. For example "L2UI_CT1.Button_DF_Over". It's NOT possible to change that path. Adding "over="blabla"" will not work. Simple Image: <img src="L2UI_CH3.map_Moon" width=32 height=32> Tables: <table width=300> <tr> <td width=100> Text 1 </td> <td width=100> Text 2 </td> <td width=100> Text 3 </td> </tr> <tr> <td width=100> Text 4 </td> <td width=100> Text 5 </td> <td width=100> Text 6 </td> </tr> </table> <tr> - New Line <td> - New Column ► Sizes Width Fixwidth - Simple text will not resize the table in width Height ► Bgcolor(uses Html Color Code) <table bgcolor=b31a1a> <tr> <td> Some text </td> </tr> </table> ► Background(uses image from the Game Client) <table cellspacing=0 cellpadding=0 background="icon.skill0226"> <tr> <td> <button value="" action="bypass -h npc_%objectId%_Chat 1" width=34 height=34 back="L2UI_CH3.menu_outline_Down" fore="L2UI_CH3.menu_outline"> </td> </tr> </table> ► Align <td width=100 align=right> Text 1 </td> <td width=100 align=left> Text 2 </td> <td width=100> <center> Text 3 </center> </td> ► Cellspacing(it is set to "2" by default) <table cellspacing=10 bgcolor=ffffff> ► Cellpadding(it is set to "1" by default) <table cellpadding=10 bgcolor=ffffff> ► Border("0" by default) <table border=3> Window Sizes: ► NpcHtmlWindow width=294 height=359 ► Community Board Size without <br> at the beginning: width=773 height=506 Note: Always 10 first pixels of Community Board Height are hidden. <br> will lower everything by 9 pixels, so you should always use it at the beginning of the Community Board Html. Size with <br> at the beginning: width=773 height=496 ► Tutorial Window width=294 height=316 - Example: <table border=0 cellpadding=0 cellspacing=0 width=294 height=359 background="L2UI_CH3.refinewnd_back_Pattern"> <tr> <td height=359> <br> <br> <center> Some Text </center> </td> </tr> </table> Useful Features: ► Combobox <edit width=80 var="comboList" list="Choice 1;Choice 2;Choice 3"> ► Edit(You can't press enter on it, to skip to new line) <edit width=80 var="comboList" list="Choice 1;Choice 2;Choice 3"> <edit width=80 var="editName2" type="password"> <edit width=80 var="editName3" type="number"> ► Multiedit(Scrollbar Up and Down arrows are always present) <multiedit width=80 height=80 var="multiEditName"> - What is var="multiEditName" for? So you can use it in bypass, example: <a action="bypass -h npc_%objectId%_PetitionContentBypass $multiEditName">Send Petition</a> $multiEditName will be replaced by content of the Multiedit(same for Edit, Combobox) Nice Examples: <button value="" action="bypass -h npc_%objectId%_Chat 1" width=32 height=32 back="L2UI_CT1.MiniMap_DF_PlusBtn_Red_Down" fore="L2UI_CT1.MiniMap_DF_PlusBtn_Red"> <table border=0 cellspacing=0 cellpadding=0 width=32 height=32 background="icon.accessary_phoenixs_ring_i00"><tr><td> <table cellspacing=0 cellpadding=0 width=34 height=34 background="L2UI.item_click"> <tr><td><br></td><td height=16><br></td></tr> <tr> <td width=16><br></td> <td width=18> <table height=17 cellspacing=0 cellpadding=0 background="L2UI_CT1.Windows_DF_TooltipBG"> <tr> <td height=17 width=17 align=center> <font color="FFFFFF">A</font> </td> </tr> </table> </td></tr></table></td></tr></table> <table cellspacing=0 cellpadding=0 width=130 height=124 background="L2UI_CH3.refinegrade2_03"> <tr> <td width=170 align=center> <img src="icon.skill5762" width=32 height=32> </td> </tr> </table> <button value="" action="bypass -h npc_%objectId%_Chat 1" width=15 height=15 back="L2UI.CheckBox_checked" fore="L2UI.CheckBox_checked"> <button value="" action="bypass -h npc_%objectId%_Chat 1" width=15 height=15 back="L2UI.CheckBox" fore="L2UI.CheckBox"> <table cellspacing=0 cellpadding=0 width=250 height=50 background="L2UI_CT1.Windows_DF_Drawer_Bg"> <tr> <td width=8><br></td> <td width=35> <table cellspacing=0 cellpadding=0><tr> <td height=14><br></td> </tr><tr> <td height=36> <img src="icon.skill0268" width=32 height=32> </td> </tr></table> </td> <td width=159> <table cellspacing=4 cellpadding=0 width=159> <tr> <td height=20> <font name="hs16" color="B71800">Song of Wind</font> </td> </tr> <tr> <td height=20> <font color="C15D15">Speed + 20</font> </td> </tr> </table> </td> <td width=35> <table cellspacing=0 cellpadding=0><tr> <td height=14><br></td> </tr><tr> <td height=36> <button value="" action="bypass -h npc_%objectId%_Chat 1" width=33 height=32 back="L2UI_CH3.PremiumItemBtn" fore="L2UI_CH3.PremiumItemBtn"> </td> </tr></table> </td> <td width=8> <br> </td> </tr> </table> Edit Box that cannot be edited: <table> <tr><td> <table height=21> <tr><td width=40> Fee: </td></tr> </table> </td><td> <table width=125 height=21 background="L2UI_CT1.CharacterPassword_DF_EditBox"> <tr> <td fixwidth=121 align=right> 123 </td><td width=4> <br1> </td></tr> </table> </td></tr> </table> My Clan Crest:<br1> <table cellpadding=0 cellspacing=0 width=16 height=16 background="Crest.crest_%serverId%_%clanCrestId%"> <tr> <td width=16 height=4> <img src="L2.NonEdistingImage" width=16 height=5>//For getting non Transparent Black Color </td> </tr><tr> <td width=16 height=12> <br> </td> </tr> </table> Note: %serverId% and %clanCrestId% should be replaced in Java Files by real values. Server Id will be most likely 1, Clan Crest can be 2033832109 for example Download H5 Icons: [hide] [/hide] Credits for the tutorial: vampir
  8. Psyancy

    Npc Instance

    Creating new Npc Instance Hello, someone sent me request via pm, thats why I decided to post this Guide. I will show you, and explain few simple steps about how to create own Npc Instance, how does it work etc. It may be useful for someone who would like to create new kinds of L2 Npc Types. Of course, for single/simple tasks handling, it would be better to make quest bassed Npc instead of new Instance. Hope you know how to compile/use eclipse generaly because I won't explain basic steps here. Guide created with latest Freya clean L2JServer source. 1. Firstly, it would be good to analyze code: L2Npc class at least, available functions etc. 2. Create new class: (com/l2jserver/gameserver/model/actor/instance package) You will have to add "Instance" word at the end of class name Sample: L2TestNpcInstance.java 3. Class body, at begining: package com.l2jserver.gameserver.model.actor.instance; public class L2TestNpcInstance { } 4. Select extender of your new Npc Instance: You will have to select proper extender - superclass. A Java superclass is a class which gives a method or methods to a Java subclass. A Java class may be either a subclass, a superclass, both, or neither. Lets say you want to create some kind of Monster Npc type, so you should choose L2Attackable for example. For educational purposes, we will extend basic Npc Type class - L2Npc (by using extends L2Npc) package com.l2jserver.gameserver.model.actor.instance; import com.l2jserver.gameserver.model.actor.L2Npc; public class L2TestNpcInstance extends L2Npc { } Now you will have to add constructor: package com.l2jserver.gameserver.model.actor.instance; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.templates.chars.L2NpcTemplate; public class L2TestNpcInstance extends L2Npc { public L2TestNpcInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } } Even now you would be able to use this Npc Instance (it would work as a standard L2Npc type, nothing changed, nothing new) Its up to you, to choice what exactly this NPC should do, for example handle some kind of event etc. Since you extended L2Npc class, you may use functions/booleans etc from this class. Most important: onSpawn() - actions after NPC ingame spawn onBypassFeedback() - handling html bypass functions showChatWindow - handle showing chat window onAction() - determinate what exactly should happen while clicking at Npc, for example show chat/attack etc doDie() - handle NPC death, for example what should happen after npc death Of course, there are plenty of useful codes (...) simply check L2Npc class. Now, I will show few example, about how to use those things from extended class. 5. Handling NPC spawn: Lets say, we will create npc, which will say something after his spawn, for example "Hello World!" You will have to use and Override onSpawn() function by adding @Override addannotation. And use proper code to broadcast NPC say packet. Take a look at code: package com.l2jserver.gameserver.model.actor.instance; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.network.serverpackets.NpcSay; import com.l2jserver.gameserver.templates.chars.L2NpcTemplate; public class L2TestNpcInstance extends L2Npc { public L2TestNpcInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onSpawn() { super.onSpawn(); // Broadcast new Npc Say Packet this.broadcastPacket(new NpcSay(this.getObjectId(), 0, this.getNpcId(),"Hello World!")); } } 6. Bypass Handling: Its important, when for example you want to handle bypass actions from npc html window. Lets say, you want to add new button in npc chat, and after pressing it, player will receive short message. @Override public void onBypassFeedback(L2PcInstance player, String command) { if (player == null || player.getLastFolkNPC() == null || player.getLastFolkNPC().getObjectId() != this.getObjectId()) { return; } if (command.startsWith("showMessage")) { player.sendMessage("Hello " + player.getName()); } } By adding this code (guess its self explanatory), you may use button bypass with bypass "etiquette" - showMessage You will receive message after pressing button with this bypass (of course, while using this NPC type) bypass -h npc_objectId_mainWindow Of course, you can easily add new bypasses by using else if (command.startsWith("blabla") 7. Showing Chat Window: First of all, since you extended L2Npc class, you really don't have to create any methods to show npc html window. Why? Because this code already exist in L2Npc class (which is our extender in this sample) But lets say, you would like to modify it a little bit (for example using html generated with java instead of showing htm file from DP) It may be pointless sample, but its just to explain about how does it work. You will have to Override showChatWindow() method. @Override public void showChatWindow(L2PcInstance player, int val) { TextBuilder tb = new TextBuilder(); tb.append("<html><title>Test Npc</title><body><center><br>"); if (player.getLevel() > 60) tb.append("Hello " + player.getName() + "! How are you?"); else tb.append("Sorry " + player.getName() + "! You need level 60 or above!"); NpcHtmlMessage msg = new NpcHtmlMessage(this.getObjectId()); msg.setHtml(tb.toString()); msg.replace("%objectId%", String.valueOf(this.getObjectId())); player.sendPacket(msg); } While using this sample code, after talking with NPC, there will be window, and If player is level 60 or above, he will see this: Hello 'playerNameHere'! How are you? And if player is level > 60 Sorry 'playerNameHere'! ! You need level 60 or above! 8. How to use new Npc Instance: Lets say to made it, and you already compiled it. Now you will have to create new Npc (new npc in database) With proper NPC type, its simple, since our class name is: L2TestNpcInstance so type is L2TestNpc Its like L2Npc, L2Buffer, L2Merchant, L2Teleporter etc. Credits for the Guide: Matim
  9. Psyancy

    Donate NPC

    View File Donate NPC Here is a Custom Merchant (Its for L2jfrozen) Features: Donate List: Weapons/Armors/Rings of your choice with enchantment of your choice too, is configurable Armors/Jewels set +16 , configurable Character Improve: Gain Noblesse (by checking) Transfer Augmentation skill & attributes from one weapon to other! (Item must have skill) Transfer enchant from one weapon/armor/jewel to other! Change Name / Color Name / Color Title (by checking) Enchanter : Accepting 3 types (Weapon/Armor/Jewel) and plus 1 enchant! All the features need Donate Coin Fixes: Removed useless ids in Donate List & added correct Ids Augment transfer many checks Added noblesse check Enchant transfer max limit Name/Colors ids of colors Finally all html dialogs Have also Clan Improve system but i deleted this because had many bugs and i have no idea how to fix them all (but im trying :D). The currency donate item is adena for all features. (Configurable) Submitter Psyancy Submitted 01/12/2017 Category Developer Resources  
  10. Version 1.0.0

    11 downloads

    Item Market NPC is an npc where you can add an item for sell in the market like interlude + chronicles Fixes: All html dialogs Removed adena,goldbars,Q-items ++ as items for sell Fixed same items can be added to list from other players Added custom htmls files for easy edit Reminder (message) to the item owner when the item sold Fixed many bugs i found (should have more) also not suggested for live servers without check .

    Free

  11. Psyancy

    Item Market NPC

    View File Item Market NPC Item Market NPC is an npc where you can add an item for sell in the market like interlude + chronicles Fixes: All html dialogs Removed adena,goldbars,Q-items ++ as items for sell Fixed same items can be added to list from other players Added custom htmls files for easy edit Reminder (message) to the item owner when the item sold Fixed many bugs i found (should have more) also not suggested for live servers without check . Submitter Psyancy Submitted 01/12/2017 Category Developer Resources  
  12. Version 1.0.0

    11 downloads

    Here is a Custom Merchant (Its for L2jfrozen) Features: Donate List: Weapons/Armors/Rings of your choice with enchantment of your choice too, is configurable Armors/Jewels set +16 , configurable Character Improve: Gain Noblesse (by checking) Transfer Augmentation skill & attributes from one weapon to other! (Item must have skill) Transfer enchant from one weapon/armor/jewel to other! Change Name / Color Name / Color Title (by checking) Enchanter : Accepting 3 types (Weapon/Armor/Jewel) and plus 1 enchant! All the features need Donate Coin Fixes: Removed useless ids in Donate List & added correct Ids Augment transfer many checks Added noblesse check Enchant transfer max limit Name/Colors ids of colors Finally all html dialogs Have also Clan Improve system but i deleted this because had many bugs and i have no idea how to fix them all (but im trying :D). The currency donate item is adena for all features. (Configurable)

    Free

  13. Hello Members of LordCraft, here is a custom NPC Template for Interlude. Image Preview: Download: [hide] [/hide] Credits: TheVainglorious
  14. Pajak21

    [C++] Donor NPC

    Hello Guys ! Well i was re-searching on the internet and i can not find any script for donor npc .. well then i was searching on my computer and i find cascade wow source then when i open it i found the donornpc.cpp .. I've seen thath on this forum there is no donornpc c++ script so i wanted to post it .. Well i didnt made this script and i dont know who made it,but its verry good and useful .. Hope you guys like it and sorry for my English ! --> http://pastebin.com/rBc3dc8z /PasteBin/ --> https://mega.nz/#!nBk1hDRR /Download/ Hope you guys use it ! Thanks !
  15. Hello I have been searching on how to set special tokens on vendors as a price. I found this but this post Is old tutorial that does not work? that's why I am asking does anyone know how do I do it?
  16. why error in spawn "aplication information is incorrect " ?
  17. HI ALL NEED ONE NPC RANK PVP Y PK FOR L2JACIS REV 315 PLIS
  18. Hello members of LordCraft, here is a custom NPC Template for Interlude Client made my SHEV. Video Preview: Download: [hide] [/hide] Passowrd: bySHEV Credits: SHEV
  19. Hello members of LordCraft, here are some custom NPC templates for interlude client made by SHEV. Video Preview: Download: [hide] [/hide] Password: bySHEV Credits: SHEV
×
×
  • Create New...