Jump to content

Πατουσιτσα

Members
  • Posts

    38
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Πατουσιτσα

  1. Thanks it doesnt give error when i attack but the wolf (pet) doesnt attack the attacker ... you sure that _actor refer to the attacker object? Cause maybe actor refer to the owner so wolf cant attack owner..
  2. and how could i write this? like the target's pet attack the attacker?
  3. I wanted make make something like target.getPet().doAttack(this); <--- this refer to actor who attacked target but doAttack doesnt accept AI
  4. public void doAttack(final L2Character target) { } i want in L2PcInstance to make a code when doAttack happens the problem is that im not sure how to get target attacker. Example if Player 1 attack Player 2 how to get Player 2 attacker? (which is player 1) target.getActingPlayer() ?
  5. Hello i'm trying to make a html that show the drops from the mob the problem is that it give error... here's the code final L2NpcTemplate mob = NpcTable.getInstance().getTemplateByName(name); final StringBuilder html = StringUtil.startAppend(6000, "<html><body><br><br>" + "<table border=0 width=610><tr><td width=10></td><td width=600 align=left>" + "<a action=\"bypass _bbshome\"></a> > " + "<a action=\"bypass _bbsclan_clanlist\"> MOB " + mob.getName() + " </a> > "+ "<a action=\"bypass _bbsclan_clanhome;", String.valueOf(5), "\"> &$802; </a>" + "</td></tr>" + "</table>"); html.append("<img src=\"L2UI.SquareBlank\" width=\"610\" height=\"2\">" + "<table cellpadding=0 cellspacing=2 border=0><tr><br><br><br>"); StringUtil.append(html, "<table border=0 width=610><tr><td width=10></td><td width=600 align=left>"); StringUtil.append(html, "<tr><td fixwidth=610> Monster Name: " + mob.getName() + "<br>"); StringUtil.append(html, "<tr><td fixwidth=610> Monster Level: " + mob.getLevel() + "<br>"); StringUtil.append(html, "<tr><td fixwidth=610> Monster Race: " + mob.getRace() + "<br><br>"); StringUtil.append(html, "<tr><td fixwidth=610> Drop List below:<br>"); try { for (L2DropData drop : mob.getAllDropData()) { final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (!item.isDestroyable()) { StringUtil.append(html, "Drop: " + drop); } } } catch (final Exception ex) { activeChar.sendMessage("Error."); }
  6. Xxdem come on, share them is 10 lines code (share it at private) else he will cry
  7. Hello, i made an npc (instance) that player can store an item from his inventory to an array and this item will be appear in the npc The question is how i can make the player choose item from inventory. So i want make a npc that when u press "add" it will open a window like normal trade and you choose 2-3 items and press ok and thsoe will be added in Array_ X e.t.c how to do this trade?
  8. is there any example in high5 source that i could see? (the code) to understand so i can modified? Thanks
  9. Hello i was wondering how to make a java file or something that things happen when player press C like on Shift or on C .. X things happen . thanks
  10. Hello, server seem working fine for some friends i made but i get many times warnings and i want ask if i have to worry or ignore them 1) 2015-05-18 20:14:19,150 WARN [AcceptReadWrite Dispatcher] gameserver.network.aion.AionPacketHandler [AionPacketHandler.java:119] Unknown packet recived from Aion client: 0x12C, state=IN_GAME 0000: 00 2) -05-18 21:28:34,487 INFO [pool-2-thread-23] gameserver.network.loginserver.LoginServerConnection [LoginServerConnection.java:171] sending packet: 0xFF SM_PING 2015-05-18 21:28:49,772 WARN [AcceptReadWrite Dispatcher] gameserver.network.aion.AionPacketHandler [AionPacketHandler.java:119] Unknown packet recived from Aion client: 0x10F, state=IN_GAME 0000: D4 00 00 00 01 05 03 01 D4 00 00 00 00 00 00 00 ................ 0010: 00 00 00 00 0E E3 EA 92 00 00 00 00 05 00 00 00 ................ 0020: 00 00 00 00 01 00 00 10 9C 00 00 00 01 00 00 00 ................ 0030: 01 00 00 00 30 75 00 00 01 00 00 10 01 00 00 00 ....0u.......... 0040: 41 00 49 00 4F 00 4E 00 2E 00 62 00 69 00 6E 00 A.I.O.N...b.i.n. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00B0: 00 00 00 00 00 00 00 00 01 00 00 00 03 00 00 00 ................ 00C0: 06 00 00 00 03 00 00 00 06 00 00 00 00 00 00 00 ................ 00D0: 00 00 00 00 00 00 00 00 ........ these 2 Thanks a lot! these 2
  11. You so sexy when you answer like this :$ i would love to lick your toes <3
  12. public static ArrayList<FastList> couplesList = new ArrayList<>(); public static final FastList<L2PcInstance> _players = new FastList<L2PcInstance>();final L2PcInstance partner = L2World.getInstance().getPlayer(player.getPartnerId()); else if (command.startsWith("remove")) { //================================================================= if (couplesList.contains(_players)) { couplesList.remove(_players); player.sendMessage("You removed your participation from event"); partner.sendMessage("Your partner removed the participation from event"); setCouples(getCouples() -1); } else if (command.startsWith("join")) { //================================================================= final L2PcInstance partner = L2World.getInstance().getPlayer(player.getPartnerId()); _players.add(player); _players.add(partner); couplesList.add(_players); _players.clear(); player.sendMessage("You are registered in the event with your partner"); partner.sendMessage("You are registered in the event with your partner"); setCouples(getCouples() + 1); Timer();
  13. Tryskell the send message window works.. i just dont know how to add 2 objects in 1 array and take them as 1 team 2 players (team1) 2 players (team2) 2 players (team3) this is what i want to do and before event start if 1 player click "unregister" it unregister his partner too
  14. Yeap yeap i know i already coded many events that use 1 object per time but this time is different.. we speak for 2 object rights? L2PcInstance player = null; (1 object) L2PcInstance partner = L2World.getInstance().getPlayer(player.getPartnerId()); _players.add(player); _players.add(partner); it works but i also want to make a 2nd map that add those _players into a new _playerList map and after add them _players.clear(); so its fresh clean again... the problem i face is i dont know how to handle _playerList map... there is nothing i can use exept a For to teleport them but inside the event there is nothing to control them like coupleId(1).doDie and kill both players if 1 of them die...
  15. I made an npc instance that when a player click "register" a window pop up to his/her parther (if partner exist and is in range of 500 aoe ) and ask if she/he want to join if she accept (join) the couple (those 2 players) are added in the event. A threadpool start and check 5 min if couples > 4 event start... i want do a couple war
  16. Hello i using this pack from here: http://dl.gameopc.com/2013/10/aion-free-download.html it work only with Aion 3.9 version or i can use the latest version? Thanks..
  17. the problem is more complicated i refer to arrays - fast list first as u saw in private..
  18. Ill send u the part of code i made cause i dont want share it and i work in java 7 (freya) so take a look in it (i send it now)thanks
  19. Hello i made a small event but i made it using FastList and 1 array and it add 2 objects and it currently no works so i wanted someone add me on skype and just see the code and suggest me how should i change it. Thanks! Skype: unst0ppabl32
  20. I give 20 euros paysafe account (i already added pin there) for 15 paypal euros.. thanks! add me on skype: unst0ppabl32
  21. Really i haven't seen more idiot person than you :3 I wish Xdem was here to laugh on you... you not only share bullshit but you are silly as well.. keep working :3
×
×
  • Create New...