Jump to content

Search the Community

Showing results for tags 'spawn'.



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
    • Premium 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
  • Tutorials
  • 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 2 results

  1. Hello members of LordCraft, here is a custom code for spawn item. Code: [hide] package ru.catssoftware.gameserver.handler.itemhandler; import org.apache.log4j.Logger; import ru.catssoftware.gameserver.ThreadPoolManager; import ru.catssoftware.gameserver.datatables.NpcTable; import ru.catssoftware.gameserver.handler.IItemHandler; import ru.catssoftware.gameserver.idfactory.IdFactory; import ru.catssoftware.gameserver.model.L2ItemInstance; import ru.catssoftware.gameserver.model.actor.instance.L2NpcInstance; import ru.catssoftware.gameserver.model.actor.instance.L2PcInstance; import ru.catssoftware.gameserver.model.actor.instance.L2PlayableInstance; import ru.catssoftware.gameserver.network.SystemMessageId; import ru.catssoftware.gameserver.templates.chars.L2NpcTemplate; /** * Created by IntelliJ IDEA. * User: masone * Date: 02.07.15 * Time: 20:07 * To change this template use File | Settings | File Templates. */ public class spawnitem implements IItemHandler { protected static Logger _log = Logger.getLogger(spawnitem.class.getName()); private static final int[] ITEM_IDS = { 6673 }; public void useItem(L2PlayableInstance playable, L2ItemInstance item, boolean par){} public int[] getItemIds() { return ITEM_IDS; } public void useItem(L2PlayableInstance playable, L2ItemInstance item) { _log.info("use item" +item); L2PcInstance activeChar; activeChar = (L2PcInstance) playable; L2NpcTemplate template; template = NpcTable.getInstance().getTemplate(60000); if (activeChar.isInOlympiadMode()) { activeChar.sendPacket(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT); return; } //TODO flood protector L2NpcInstance npc = new L2NpcInstance(IdFactory.getInstance().getNextId(), template); npc.setInstanceId(activeChar.getInstanceId()); npc.setIsInvul(true); npc.setTitle(activeChar.getName()); npc.setName("masone"); npc.updateAbnormalEffect(); npc.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ()); ThreadPoolManager.getInstance().scheduleGeneral(new deleteNPC(npc), 60000); // activeChar.destroyItem("Summon", item.getObjectId(), 1, null, true); } public class deleteNPC implements Runnable { protected L2NpcInstance _npc; public void run() { _npc.deleteMe(); } deleteNPC(L2NpcInstance npc) { _npc = npc; } } } [/hide] Credtis: masone
  2. Hi. I'm running a trinitycore server currently. And I've set the spawning location of deathknights to my custom mall in SW, and set the starting level to 80. And now, whenever someone create a deathknight, they sure spawn the right location but they cant '' speak any languages '' and can't wear anything but mail, with more. Just in general bugged, what can I do to fix this?

About us

MMO-Society is the Forum former known as Lordcraft, MMO-Society offers various of Resources to help you evolve your knowledge within Emulation, In the process we make sure to form a strong community bond in-between each other and thus we are proud to can admit that MMO-Society is possibly the friendliest Community Forum to currently exist.

Useful Quick-Links

×
×
  • Create New...