-
Start Location Character
Hi. Where i can change a start location character of all class? I know how change location after death but start loc no ;x Thanks for help.
-
Random Skill in XML
I know . I know all language but no java ;x And i dont know how i can make function random in this handler (in java)
-
Random Skill in XML
So, How i can change it (dice) for the skill random and add to skill players? I change it, change and not worked ; / package handlers.itemhandlers; import com.l2jserver.gameserver.handler.IItemHandler; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.item.instance.L2ItemInstance; import com.l2jserver.gameserver.network.SystemMessageId; import com.l2jserver.gameserver.network.serverpackets.Dice; import com.l2jserver.gameserver.network.serverpackets.SystemMessage; import com.l2jserver.gameserver.util.Broadcast; import com.l2jserver.util.Rnd; /** * This class ... * * @version $Revision: 1.1.4.2 $ $Date: 2005/03/27 15:30:07 $ */ public class RollingDice implements IItemHandler { /** * * @see com.l2jserver.gameserver.handler.IItemHandler#useItem(com.l2jserver.gameserver.model.actor.L2Playable, com.l2jserver.gameserver.model.item.instance.L2ItemInstance, boolean) */ @Override public void useItem(L2Playable playable, L2ItemInstance item, boolean forceUse) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance) playable; int itemId = item.getItemId(); if (activeChar.isInOlympiadMode()) { activeChar.sendPacket(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT); return; } if (itemId == 4625 || itemId == 4626 || itemId == 4627 || itemId == 4628) { int number = rollDice(activeChar); if (number == 0) { activeChar.sendPacket(SystemMessageId.YOU_MAY_NOT_THROW_THE_DICE_AT_THIS_TIME_TRY_AGAIN_LATER); return; } Broadcast.toSelfAndKnownPlayers(activeChar, new Dice(activeChar.getObjectId(), item.getItemId(), number, activeChar.getX() - 30, activeChar.getY() - 30, activeChar.getZ())); SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_ROLLED_S2); sm.addString(activeChar.getName()); sm.addNumber(number); activeChar.sendPacket(sm); if (activeChar.isInsideZone(L2Character.ZONE_PEACE)) Broadcast.toKnownPlayers(activeChar, sm); else if (activeChar.isInParty()) activeChar.getParty().broadcastToPartyMembers(activeChar, sm); } } /** * * @param player * @return */ private int rollDice(L2PcInstance player) { // Check if the dice is ready if (!player.getFloodProtectors().getRollDice(). tryPerformAction("roll dice")) { return 0; } return Rnd.get(1, 6); } }
-
Random Skill in XML
thanks I'll try ;)
-
Random Skill in XML
Hi. I want to little modifications in L2j server. I need a something for randomize skill. generally... I need a for example book, which can random skill and add this for player. eq. I use book and i get to my skills,skill: PowerStrike. I use same book and i get eq. Acumen skill. HOw i can make it? This option randomize item, but i want change it for skill. <skill id="26075" levels="3" name="Book Skill"> <!-- Confirmed CT2.5 --> <table name="#extractableItems"> 1049,2,30;1401,2,30;1042,1,20;1043,1,20 1044,2,10;1098,2,20;1090,1,35;1396,1,35 4930,1,20;1943,2,20;7661,2,20;7651,1,40 </table> <set name="capsuled_items_skill" val="#extractableItems" /> <set name="itemConsumeCount" val="1" /> <set name="operateType" val="OP_ACTIVE" /> <set name="skillType" val="EXTRACTABLE" /> <set name="target" val="TARGET_SELF" /> <cond msgId="129"> <and> <player invSize="10" /> <player weight="80" /> </and> </cond> </skill> Thanks for any help.
-
Streange Bug
Hi. I need little help. Can you tell me what is this bug? Sometimes will be spam bug and server will crashed ;x Please help if you know what meaby is it ;) or
-
L2j and current DV
Hi. I have H5 server files. All skills and other thinks its from H5 but i cant see a chasnce in Dragon Valley and Antharas Lair mobs. I can see a mobs in 50lvl+ but in H5 must be mobs in 80lvl+ too and quest for vesper weapon. Why i cant have it? I can downlaod only obs/quest? how, where? Thanks for help
-
L2j H5
Hi. I looking for server files version h5. On l2jserver.com/nightly is only Freya. The best will be server filesd with modification, npcs :P. Without it its too good. Thanks a lot. Please help. Ty :)
-
NPC Name bug?
Hi. I have downloaded from http://www.l2jserver.com/nightly/ a server h5. I install all and i start add new npc. I add GM shop. Add do files and sql and after rr i spawn this npc. What strange? Npc have name and tittle, but in game I can see his name and title. Where is mistake?
-
[Npc Creater]
thx
-
[L2J]L2 Race Wars (Interlude) - Back to the roots of Linege 2
Server L2 RaceWars _________________ Exp x15 Adena x15 Drop x10 SP x20 ________________ We offer you classic style play in Lineage 2. Good atmosphere / Lot of Event / Lot of New NPC. We don't like servers with overloaded donations! The current servers aren't like the good, old lineage 2! We have focused on the good atmosphere, enjoyable game, new, powerful NPC and other nice script. Our Events: ________________ - Dice event - Paint (with adena) - Quiz Test - FindAndWin - TVT/CTF - Event for all Christmass - HardSay - LastPro - Other (details events later ;) Contests with real PRICES! (T-shirt, Cup with your character of game, and other good prices!) Nice fun on our server ! L2 RaceWars regards! l2racewars.sytes.net
-
L2 Race Wars - Back to the roots of Linege 2
Server L2 RaceWars _________________ Exp x15 Adena x15 Drop x10 SP x20 ________________ We offer you classic style play in Lineage 2. Good atmosphere / Lot of Event / Lot of New NPC. We don't like servers with overloaded donations! The current servers aren't like the good, old lineage 2! We have focused on the good atmosphere, enjoyable game, new, powerful NPC and other nice script. Our Events: ________________ - Dice event - Paint (with adena) - Quiz Test - FindAndWin - TVT/CTF - Event for all Christmass - HardSay - LastPro - Other (details events later ;) Contests with real PRICES! (T-shirt, Cup with your character of game, and other good prices!) Nice fun on our server ! L2 RaceWars regards! l2racewars.sytes.net
-
offline Shop java - ask
Thanks, i'm need a easy ask where i must get this java text script.This guide dont say about it ;P. I need general answer xD but ok. Thx
-
offline Shop java - ask
http://l2topzone.com/forum/l2-java-projects/%28share%29-offline-shop-craft/ How i can use this on server? I think sql and to server.prop but this java code, where i must this get? I'm new with it ; p I ask becouse i serach for Offline Shop system (for Interlude) Pls answer. Thanks:)
-
Offline shop - ask
http://l2topzone.com/forum/l2-java-projects/%28share%29-offline-shop-craft/ How i can use this on server? I think sql and to server.prop but this java code, where i must this get? WHERE IS Gameserver.java? i can find it ;x I ask becouse i serach for Offline Shop system (for Interlude) Pls answer. Thanks:)