Jump to content

HARDECORE

Members
  • Posts

    100
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by HARDECORE

  1. Here in mine, I found nothing. show me what yours is like? in which file, like this etc ..
  2. Even putting a reuse time of 2 seconds in the potions and autopotion, players using custom interface can take advantage of this bug and regenerate their CP absurdly watch the video Is there a way to put something like a protection that if using the item too fast the player takes kick or jail? XML <item id="5591" type="EtcItem" name="CP Potion"> <set name="icon" val="icon.etc_cp_potion_i00" /> <set name="default_action" val="SKILL_REDUCE" /> <set name="etcitem_type" val="POTION" /> <set name="immediate_effect" val="true" /> <set name="material" val="LIQUID" /> <set name="weight" val="25" /> <set name="price" val="200" /> <set name="reuse_delay" val="1000" /> <set name="is_stackable" val="true" /> <set name="is_oly_restricted" val="true" /> <set name="handler" val="SoulShots" /> <set name="item_skill" val="2166-1" /> </item> <item id="5592" type="EtcItem" name="Greater CP Potion"> <set name="icon" val="icon.etc_cp_potion_i01" /> <set name="default_action" val="SKILL_REDUCE" /> <set name="etcitem_type" val="POTION" /> <set name="immediate_effect" val="true" /> <set name="material" val="LIQUID" /> <set name="weight" val="100" /> <set name="price" val="500" /> <set name="reuse_delay" val="1000" /> <set name="is_stackable" val="true" /> <set name="is_oly_restricted" val="true" /> <set name="handler" val="SoulShots" /> <set name="item_skill" val="2166-2" /> </item> AutoPotion: /** Configuration */ private final static int MP_MINIMUM_PERCENTAGE = 80; // Example MP pot will be activated if MP is lower than 75% private final static int HP_MINIMUM_PERCENTAGE = 95; // Example MP pot will be activated if HP is lower than 75% private final static int CP_MINIMUM_PERCENTAGE = 95; // Example MP pot will be activated if CP is lower than 90% private final static int POT_TRIGGER = 2000; i use l2jsunrise (H5)
  3. ok Here it is: https://pastebin.com/3RKSvWca
  4. all right. but can you show for the player that will be sold for 1 adena? why the modification works. but "player" will think it will sell for the price that is shown and is not. see the video: https://www.youtube.com/watch?v=kqQXrmU82ao
  5. Hello. first of all thank you so much for helping me. In my SellList.java there is no such line that you have replaced. take a look look at the print.
  6. All my items are in XML.
  7. did not work :(
  8. how do i get a player to sell anything in npc for 1 adena? Note: There is the option to go item by item and set the price to 1. but that would bring me a lot of work, in the code there is an easier way? long totalPrice = 0; // Proceed the sell for (UniqueItemHolder i : _items) { L2ItemInstance item = player.checkItemManipulation(i.getObjectId(), i.getCount(), "sell"); if ((item == null) || (!item.isSellable())) { continue; } long price = item.getReferencePrice() / 100; totalPrice += price * i.getCount(); if (((MAX_ADENA / i.getCount()) < price) || (totalPrice > MAX_ADENA)) { Util.handleIllegalPlayerAction(player, "Warning!! Character " + player.getName() + " of account " + player.getAccountName() + " tried to purchase over " + MAX_ADENA + " adena worth of goods.", Config.DEFAULT_PUNISH); return; } if (Config.ALLOW_REFUND) { item = player.getInventory().transferItem("Sell", i.getObjectId(), i.getCount(), player.getRefund(), player, merchant); } else { item = player.getInventory().destroyItem("Sell", i.getObjectId(), i.getCount(), player, merchant); } } player.addAdena("Sell", totalPrice, merchant, false); // Update current load as well StatusUpdate su = player.makeStatusUpdate(StatusUpdate.CUR_LOAD); player.sendPacket(su); player.sendPacket(new ExBuySellList(player, taxRate, true)); }
  9. Can someone please help me? One of l2jsunrise (high five) updates was to modify its premium system. Before: premium only improved the monster drop. Now have custom drop for Raid and GrandBoss as well. Does anyone know how to make this modification or has the diff?
  10. Yes! I want to add a different skil to each class that only works within oly.
  11. What exactly does this code do?
  12. I'm trying to limit to being able to only 3 wards per castle in TerritoryWar. So I went to TerritoryWarManager.java in the following line: public Territory(int castleId) { _castleId = castleId; _territoryId = castleId + 80; _territoryWardSpawnPlaces = new TerritoryNPCSpawn[9]; _questDone = new int[2]; } so I changed from 9 to 3. public Territory(int castleId) { _castleId = castleId; _territoryId = castleId + 80; _territoryWardSpawnPlaces = new TerritoryNPCSpawn[3]; _questDone = new int[2]; } so I compiled and went for the test. and all goes well. but when I summon the 4th ward, she simply disappears, neither goes to me, nor goes back to her origin castle. GameServer: In Game: can someone please help me fix this? I want if the player already has 3 ward in his castle, when summoning the fourth, he can not or she returns to his origin castle Please !! I use L2JSunrise chronicle: High Five
  13. Is there any way to balance classes only within olympiad? Outside of oly everything is fine. but within the olympiad there are some classes that are very strong, such as: ghost hunter, adventurer, wind rider etc .. I thought of adding a passive skil in certain classes to balance, but this skil has to activate only within the olympiad. A code that adds a passive skil to a certain class when it enters olympiad and deactivates when it exits. Can someone help me please? chronicle: high five pack: l2jsunrise
  14. sorted out. Please, moderators, can close the topido. melron thank you very much!
  15. remembering that this error is happening in and out of olympiad. did you ask that?
  16. can you correct?
  17. I need help with this error there now
  18. I added, compiled, had no error. Now the buffs are not coming back on olympiad, but I'm getting this error on the game server
  19. excuse me. I am not a dev. Where can I find the code you asked for? this is it?
  20. help me with this?
  21. This is my cancellation return buffs. Can anyone help me add a restriction so it doesn't work at the Olympiads?
  22. does anyone have geodata files for h5 with correction in the arena of the olympiad? I already use the latest l2jserver geodata files and everywhere there is no problem. but at the Olympiad players sink and lose the game.
  23. I don't wanna undo my flagzone. I just want to block some skils in there. and this is yours too for l2jfrozen
×
×
  • 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