else { LOGGER.warn("No teleport destination with id:" + val); } player.sendPacket(ActionFailed.STATIC_PACKET); list = null; }
+@SuppressWarnings("unused") +private void doPartyTeleport(final L2PcInstance player, final int val) +{ + if (player.getParty() == null) + { + player.sendMessage("You must be in party of 5-9 members to use the teleport!"); + return; + } + + if (player.getObjectId() != player.getParty().getPartyLeaderOID()) + { + player.sendMessage("You must be party leader to use the teleport!"); + return; + } + + int NumberPartyMembers = 0; + for (final L2PcInstance temp : player.getParty().getPartyMembers()) + { + NumberPartyMembers++; + } + + if(NumberPartyMembers < 5 && NumberPartyMembers > 9) + { + player.sendMessage("You must be in party of 5-9 members to use the teleport!"); + return; + } + + L2TeleportLocation list = TeleportLocationTable.getInstance().getTemplate(val); + // Teleport ID must be 99999 + if (list.getTeleId() == 99999) + { + for (final L2PcInstance temp : player.getParty().getPartyMembers()) + { + temp.teleToLocation(list.getLocX(), list.getLocY(), list.getLocZ(), true); + } + } +}
/** * Validate condition. * @param player the player * @return the int */ private int validateCondition(final L2PcInstance player) { if (CastleManager.getInstance().getCastleIndex(this) < 0) // Teleporter isn't on castle ground
And I also created the html: with the id 919192 as it writes:
But it doesnt working it teleportes me even if I am alone (I tester it with a single character no GM) Also Plz tell me how to add an item in order to let someone teleport. Happy Chrismtass!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello everyone,
Im Looking for a database wich was used on a live server.
If anyone has one Laying around, it would be nice if you could share it with me.
Ofcourse you can delete the User Mail Adresses. Its just for Private purpose, im making a webinterface just for fun and wanted to have a database wich is "filled" with Real data. If anyone is intrested, i could share the webinterface later for free when i Finished the Project.
Thanks
Interlude, At the moment I'm already able to compile and decompile, now I just need to make the files connect, that's all I need, inside my Skill.usk I couldn't see anything that's inside my LineageEffect.u, that's all I need, can you help me?
**INTERLUDE REMASTERED**
Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon.
I'm selling my items or even the account with full auguments for duelist/archer/mage due to not having much time to play anymore.
I'm selling only for $$$ OR CS2 skins. Not going to disclose my nickname in the server, but here are some of the items:
Lvl 5 equipment for both mage and fighter, +100 mage pvp set, 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion.
1k + col(donate coins), VIP cosmetics for armor, agathion and weapons(duals + mage wep)
I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
comment your contact details and I will get in touch with you.
up
Question
alextoti13
hello I have this code:
And I also created the html: with the id 919192 as it writes:
(just to test it)
But it doesnt working it teleportes me even if I am alone (I tester it with a single character no GM) Also Plz tell me how to add an item in order to let someone teleport. Happy Chrismtass!
27 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.