Jump to content

melron

Legendary Member
  • Posts

    1,405
  • Joined

  • Last visited

  • Days Won

    32
  • Feedback

    0%

Everything posted by melron

  1. u can play with checks ... in doAttack() method you should check if the attacker is gonna hit your boss and then control the mobs you want , send attack take an example: if (this instanceof L2PcInstance && target instanceof L2MonsterInstance) { L2MonsterInstance boss = (L2MonsterInstance) target; if (boss.getNpcId() == your boss id) { for (L2Character mob : boss.getKnownList().getKnownCharactersInRadius(your radius)) { if (mob instanceof L2MonsterInstance && !((L2MonsterInstance)mob).isRaid()) { ((L2MonsterInstance)mob).getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); } } } }
  2. Just add a check in drop method of your pack. make a list or with one while loop of the items you want and when the retail drop is under dropping just add your drop there. example with a random item: // Check if the autoLoot mode is active if ((isRaid() && Config.AUTO_LOOT_RAID) || (!isRaid() && Config.AUTO_LOOT)) player.doAutoLoot(this, item); // Give this or these Item(s) to the L2PcInstance that has killed the L2Attackable else dropItem(player, item); // drop the item on the ground + int itemId = Rnd.get(1,9000); + ItemInstance extraItem = ItemTable.getInstance().createItem("Extra Item", itemId, 1, player, null); + + while (extraItem == null) + { + itemId = Rnd.get(1,9000); + extraItem = ItemTable.getInstance().createItem("Extra Item", itemId, 1, player, null); + } + + IntIntHolder specialItem = new IntIntHolder(extraItem.getItemId(),1); + //finally + if (your config) + player.doAutoLoot(this, specialItem); + else + dropItem(player, specialItem);
  3. Φιλε joker, Οι Ελληνες ειναι μαλακισμενα η τα τυπακια σαν εσενα που μιλας για μνημονια σε ολους που δεν εχουν τον βαθμο της γνωσης σου? Both xdem,elfo εχουν αποδειξει τις γνωσεις τους (Και δεν δουλευουν στην Microsoft Hellas) Και πραγματικα σε βαθμο αξιολογησης τους εχουν ξεπερασει τον δικο σου κατα πολυ με βαση οχι μονο τα λεγομενα σου, αλλα και τα update σου. Τα λεφτα που παιρνεις ειναι μια τριχα :) Μαθε οτι υπαρχουν παιδακια ηλικιας 12..17 που δουλευουν σε αρχιδατες εταιριες με μισθο ανω των 2 χιλιαδων και ομως δεν το λενε στο mxc. Finally, Μπορω να σου γραψω ενα βιογραφικο που θα κανω c/p απο το google (3 λεπτα θα μου παρει) και θα ονομαστω 'επαγγελματιας'...
  4. by your words knowlist seems working fine ... your problem could be in setRegion after teleport..
  5. if im not wrong you can resize the effect from weapongrp ...
  6. Run as administrator το file edit διότι μπορεί υο l2 να βρίσκεται σε χώρο που απαιτεί άδεια ....
  7. you are trying to add 2nd parameter when the sql needs 1. Check again your last custom changes
  8. just make your life easier.. Create new function at the end of the file newFunction(L2Effect,Character) find the line with the effect.exit() after that add a ThreadPool.schedule( () -> newFunction(effect,activeChar), ConfigData.CUSTOM_CANCEL_SECONDS * 1000); done.
  9. You will not find anyone my friend, if a dev will work the whole project and take 30% of the money ull get then, 2 questions are taking place here.. why this dev dont open his own server with 100% profit?... you worth 70% of this situation? think it smarter and invest for income. 90% or more of develepers working with instant payment and not with percentages
  10. This official section bro, go to Request Server Development Help [L2J] and post there...
  11. i had bs too when i was trying to play far cry 3. I played like 10 other games and i hadn't problem
  12. SELECT id FROM npc WHERE level < x use this to store somewhere all raids and make an exception when spawnlist is loading
  13. I solved this problem when i changed one of my 4 rams...
  14. alright... and your project is private?
  15. sigoura.. aplws milaw gia tous ellhnes twra ti skopo eixan , exoun kai tha exoun
  16. ena megalo meros pou to l2 pethane einai h oikonomikh krish ths elladas. oloi hthelan server gia lefta me apotelesma na klhnei se 2 evdomades gia FRESH START with UNIQUE MODS!
  17. Yea why not... Fgames when safe\max was 25\50 ;)
  18. Only closed servers.... Fgames,Extreme (c4),TheGame
  19. systemmsg-e.dat 35 1 You hit for $s1 damage. 3 55 FF 0 FF 3 0 1 1 0 [ $s1 ] damage Screen position Time(in seconds) (Boolean logic) 1 = enable, 0 disable The message In this case the message is your damages. Screen positions:
  20. use type casting (char)161
  21. Can you give an example or tell us how this one will help this problem? This guy didnt want to cancel the proccess when one more token found , contrary he want the unexpected tokens as one string with spaces inside. i believe trim is useless, correct me if im wrong
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock