Jump to content

Teilor111

Members
  • Posts

    33
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Teilor111

  1. 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.
  2. 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)
  3. 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); } }
  4. thanks I'll try ;)
  5. 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.
  6. 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
  7. 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
  8. 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 :)
  9. 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?
  10. 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
  11. 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
  12. 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
  13. 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:)
  14. 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:)
  15. Hi. I'm need a Moficication Client for Lineage 2 Freya. I need a editions of the Armors Set. eq. C Grade Armor i would to edit for new looking. Eq. Sets gold, with effect water etc. I look here for a share modifications. Thanks a lot!
  16. Where i can download L2j server and database files for L2 Freya? I looking for links :P Thanks
  17. arning: include_once(includes/db.php) [function.include-once]: failed to open stream: No such file or directory in W:\www\castle\castles.php on line 2 Warning: include_once() [function.include]: Failed opening 'includes/db.php' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\castle\castles.php on line 2 Warning: include_once(header.php) [function.include-once]: failed to open stream: No such file or directory in W:\www\castle\castles.php on line 3 Warning: include_once() [function.include]: Failed opening 'header.php' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\castle\castles.php on line 3 Castle Control Updated every 5 minutes Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in W:\www\castle\castles.php on line 15 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in W:\www\castle\castles.php on line 15 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in W:\www\castle\castles.php on line 30 No records in the database.
  18. Hi! Where i can hosting my server l2j. 100-300players. Please link to shell or hosting place. ; )
  19. ok i find. pls topic delete
  20. Where i can change autocreate account to register on my website? i have l2j (final)
  21. I want start server l2j.I have a page server in DISKW. WebSite work on my localhost. How and where do I change the IP to show you are on the external IP. ?
  22. I'm looking for system for L2 Gracia Final with file : l2fe... Please link :> thanks :)
  23. Server ONNLINE! dont see this status, this old system. L2j
  24. L2DarknessDay this is New Technology Server Lineage 2! :cool: Server on Chronicle: ~Hellbound~ Server Rate: Exp x10 Adena x10 SP x10 Drop/Spoil x7 NEW EVANTs: - FIRST PERSON HAVING 40 LVL - GIVED C GRADE(set) FOR GM :) - FIRST PERSON HAVING 78 LVL - GIVED A GRADE(set) FOR GM :) -Dice Evant -Race! -Say Evant! -Pickuping! -Adena Art -PVP/soon: TVT/CTF -VIDEO Evant (soon!) - and etc nice evants only in L2DD! NEW ETCETERAS! - New Town Textures! - For seasons in Server! - New text system - Soon: Server TeamSpeak and Server RADIO! - You want know more? Join to Server! AND... - 0 Rolls Back! - 100% Nice Fun! - ADMIN equipment EXTREME SEX PARTY =D Server Website in building. At this time server website is: http://lineage.awardspace.biz/ See you in Server =) =HA=Darkness :D
×
×
  • Create New...