-
Posts
476 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by BloodRav3N
-
Lineage II Elon FRIST Season starts on: 30 MARCH 2018 at 18:00 GMT +2 Website: http://l2elon.net/ Server Platform: L2J - Java Interlude Classic PVP Server Timezone: Time (GMT +2) » Experience: x500 » Skill Points: x500 » Adena: x500 » Party Exp: 2x » Party Sp: 2x » Drop Items: 10x » Safe Enchant: +4 » Max Enchant: +16 » Normal Scrolls: 70% » Blessed Scrolls: 80% (Max +14) » Crystal Scrolls: 40% (Max +16) » Retail olympiad game. » Competition period [1] week. » Olympiad start time [18:00] end [00:00]. Grand Bosses » Valakas : 48 Hours » Antharas : 48 Hours » Baium : 40 Hours » Zaken : 24 Hours » Ant Queen : 24 Hours » Core : 24 Hours Raid Bosses » Commander Tayr : 3 Hours » Chief Brakki : 3 Hours » Heckaton : 3 Hours » Horus : 3 Hours » Shadith : 3 Hours » Commander Mos : 3 Hours » Uruka : 3 Hours » Ember : 3 Hours » Galaxia : 3 Hours » Barakiel : 3 Hours » Main town - Giran. » Normal Farm Zones : Cave of Trials, Mithril Mines [ Drops: Elon Coin, Raid Stone ] » LS Farm Zone : Hot Springs [ Drops: High/Top Grade Life Stones ] » Party Farm Zone (Flag Zone) : Under Ivory Tower [ Drops: High/Top Grade Life Stones, BOGS, Elon Coin, Raid Stone ] » Elon Coins are shared to all party members like adena. » Raid Boss Jewels in GM Shop for Raid Stones » Working all Castle sieges. » Events every hour. » Stackable scrolls, lifestones, book of giants. » 6 Grand Bosses & 10 Raidbosses » Nobless by Killing Barakiel or Nobless Item from GM Shop » Unique PVP Color system. » B-Grade items for free. » Shops till top S grade. » Unique tattoos. » Max count of buffs - 24+4. » Max subclasses - 3. » Free and no quest Class change. » Free and no quest Subclass. » No weight limit. » Unique monsters. » Offline trade system. » Interlude retail skills. » Server up-time [24/7] [99]%. » Perfect class balance. » No custom items! » VIP Ticket : Grands you with VIP Status [ x2 Drops and .dressme Command ] » .menu Panel
-
Request Any Item like Adena
BloodRav3N replied to BloodRav3N's question in Request Server Development Help [L2J]
If anyone wants to do it here is what I did: PcInventory.java public static final int ADENA_ID = 57; +public static final int COIN_ID = 9404; public static final int ANCIENT_ADENA_ID = 5575; private final L2PcInstance _owner; private L2ItemInstance _adena; +private L2ItemInstance _coin; private L2ItemInstance _ancientAdena; -------------------------------------------- public L2ItemInstance getAdenaInstance() { return _adena; } +public L2ItemInstance getCoinInstance() +{ + return _coin; +} @Override public int getAdena() { return _adena != null ? _adena.getCount() : 0; } +public int getCoin() +{ + return _coin != null ? _coin.getCount() : 0; +} --------------------------------------------- public void addAdena(final String process, final int count, final L2PcInstance actor, final L2Object reference) { if (count > 0) { addItem(process, ADENA_ID, count, actor, reference); } } +public void addCoin(final String process, final int count, final L2PcInstance actor, final L2Object reference) +{ + if (count > 0) + { + addItem(process, COIN_ID, count, actor, reference); + } +} ----------------------------------------------------- public L2ItemInstance addItem(final String process, L2ItemInstance item, final L2PcInstance actor, final L2Object reference) { item = super.addItem(process, item, actor, reference); if (item != null && item.getItemId() == ADENA_ID && !item.equals(_adena)) { _adena = item; } +if (item != null && item.getItemId() == COIN_ID && !item.equals(_coin)) +{ + _coin = item; +} -------------------------------------------------------- public L2ItemInstance transferItem(final String process, final int objectId, final int count, final ItemContainer target, final L2PcInstance actor, final L2Object reference) { final L2ItemInstance item = super.transferItem(process, objectId, count, target, actor, reference); if (_adena != null && (_adena.getCount() <= 0 || _adena.getOwnerId() != getOwnerId())) { _adena = null; } +if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) +{ + _coin = null; +} ------------------------------------------------------ public L2ItemInstance dropItem(final String process, L2ItemInstance item, final L2PcInstance actor, final L2Object reference) { item = super.dropItem(process, item, actor, reference); if (_adena != null && (_adena.getCount() <= 0 || _adena.getOwnerId() != getOwnerId())) { _adena = null; } +if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) +{ + _coin = null; +} ---------------------------------------------------- public L2ItemInstance dropItem(final String process, final int objectId, final int count, final L2PcInstance actor, final L2Object reference) { final L2ItemInstance item = super.dropItem(process, objectId, count, actor, reference); if (_adena != null && (_adena.getCount() <= 0 || _adena.getOwnerId() != getOwnerId())) { _adena = null; } +if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) +{ + _coin = null; +} -------------------------------------------------------------- protected void removeItem(final L2ItemInstance item) { // Removes any reference to the item from Shortcut bar getOwner().removeItemFromShortCut(item.getObjectId()); // Removes active Enchant Scroll if (item.equals(getOwner().getActiveEnchantItem())) { getOwner().setActiveEnchantItem(null); } if (item.getItemId() == ADENA_ID) { _adena = null; } +else if (item.getItemId() == COIN_ID) +{ + _coin = null; +} ---------------------------------------------------------- public void restore() { super.restore(); _adena = getItemByItemId(ADENA_ID); + _coin = getItemByItemId(COIN_ID); _ancientAdena = getItemByItemId(ANCIENT_ADENA_ID); } ---------------------------------------------------------- L2PcInstance.java public int getAdena() { return _inventory.getAdena(); } +public int getCoin() +{ + return _inventory.getCoin(); +} -------------------------------------------------------- +public void addCoin(final String process, int count, final L2Object reference, final boolean sendMessage) +{ + if (count > 0) + { + if (_inventory.getCoin() == Integer.MAX_VALUE) + { + return; + } + else if (_inventory.getCoin() >= Integer.MAX_VALUE - count) + { + count = Integer.MAX_VALUE - _inventory.getCoin(); + _inventory.addCoin(process, count, this, reference); + } + else if (_inventory.getCoin() < Integer.MAX_VALUE - count) + { + _inventory.addCoin(process, count, this, reference); + } + if (sendMessage) + { + SystemMessage sm = new SystemMessage(SystemMessageId.EARNED_S2_S1_S); + sm.addItemName(PcInventory.COIN_ID); + sm.addNumber(count); + sendPacket(sm); + sm = null; + } + + // Send update packet + if (!Config.FORCE_INVENTORY_UPDATE) + { + InventoryUpdate iu = new InventoryUpdate(); + iu.addItem(_inventory.getAdenaInstance()); + sendPacket(iu); + iu = null; + } + else + { + sendPacket(new ItemList(this, false)); + } + } +} ---------------------------------------------------------------------------- else if (item.getItemId() == 57) { addAdena("AutoLoot", item.getCount(), target, true); } +else if (item.getItemId() == 9404) +{ + addCoin("AutoLoot", item.getCount(), target, true); +} ---------------------------------------------------------------------------- else if (target.getItemId() == 57 && getInventory().getAdenaInstance() != null) { addAdena("Pickup", target.getCount(), null, true); ItemTable.getInstance().destroyItem("Pickup", target, this, null); } + else if (target.getItemId() == 9404 && getInventory().getCoinInstance() != null) + { + addCoin("Pickup", target.getCount(), null, true); + ItemTable.getInstance().destroyItem("Pickup", target, this, null); + } L2Party.java public void distributeItem(final L2PcInstance player, final L2ItemInstance item) { if (item.getItemId() == 57) { distributeAdena(player, item.getCount(), player); ItemTable.getInstance().destroyItem("Party", item, player, null); return; } +if (item.getItemId() == 9404) +{ + distributeCoin(player, item.getCount(), player); + ItemTable.getInstance().destroyItem("Party", item, player, null); + return; +} ------------------------------------------------------------------- public void distributeItem(final L2PcInstance player, final L2Attackable.RewardItem item, final boolean spoil, final L2Attackable target) { if (item == null) return; if (item.getItemId() == 57) { distributeAdena(player, item.getCount(), target); return; } +if (item.getItemId() == 9404) +{ + distributeCoin(player, item.getCount(), target); + return; +} ------------------------------------------------------------------------ Search for public void distributeAdena and paste this under: + public void distributeCoin(final L2PcInstance player, final int coin, final L2Character target) + { + // Get all the party members + final List<L2PcInstance> membersList = getPartyMembers(); + + // Check the number of party members that must be rewarded + // (The party member must be in range to receive its reward) + final List<L2PcInstance> ToReward = FastList.newInstance(); + + for (final L2PcInstance member : membersList) + { + if (!Util.checkIfInRange(Config.ALT_PARTY_RANGE2, target, member, true)) + { + continue; + } + ToReward.add(member); + } + + // Avoid null exceptions, if any + if (ToReward.isEmpty()) + return; + + // Now we can actually distribute the adena reward + // (Total adena split by the number of party members that are in range and must be rewarded) + final int count = coin / ToReward.size(); + + for (final L2PcInstance member : ToReward) + { + member.addCoin("Party", count, player, true); + } + FastList.recycle((FastList<?>) ToReward); + } Thanks again for the replies (even if it took 1 months for a reply :P ) you can lock this topic :) -
Request Any Item like Adena
BloodRav3N replied to BloodRav3N's question in Request Server Development Help [L2J]
Thanks a lot for the replies! I will try my best and post my results :) -
decrease #power and #ench1Power!?
-
Hello MxC, I have a question. How can I make any etcitem to be dropped like Adena? So if I'm in a party the amount will be shared with all party members like Adena. Edit: Could anyone give me the idea where to search? Or is it really hard to do? I'm using L2jFrozen btw.
-
WTS V Interface [Interlude] (Updated)
BloodRav3N replied to La2V's topic in Marketplace [L2Packs & Files]
Great Interface, just bought it. Trusted person and great support :) -
Help html Teleport Confirm Window in Buttons
BloodRav3N replied to BloodRav3N's question in Request Server Development Help [L2J]
Oh okay... I thought it works because I think I saw it in other servers... anyway it's not that important for me. Thanks for the reply :) -
Help html Teleport Confirm Window in Buttons
BloodRav3N posted a question in Request Server Development Help [L2J]
Hello MxC, I have a problem with adding the teleport confirm window into buttons. Teleport Window: If the html code is like this: <a action="bypass -h npc_%objectId%_goto 50016" msg="811;Farm Zone 1"><font color="80F0FF">Farm Zone 1</font></a> It works... But if I want to add it to a button like this: <a action="bypass -h npc_%objectId%_goto 80000" msg="811;Farm Zone 1"><button value="Farm Zone (1)" width="134" height="21" back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></a> or like this: <button value="Farm Zone (1)" action="bypass -h npc_%objectId%_goto 80000" msg="811;Farm Zone 1 width="134" height="21" back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"> Nothing happens... Who knows how to fix this? -
Request PvP Flag When leaving a chaotic zone
BloodRav3N replied to tiguz's question in Request Server Development Help [L2J]
I'm glad I could help :) -
Request PvP Flag When leaving a chaotic zone
BloodRav3N replied to tiguz's question in Request Server Development Help [L2J]
add this onEnter : if (character instanceof L2PcInstance) { // Set pvp flag if (((L2PcInstance) character).getPvpFlag() == 0) { ((L2PcInstance) character).updatePvPFlag(1); } if (((L2PcInstance) character).getPvpFlag() != 0) { ((L2PcInstance) character).stopPvPFlag(); ((L2PcInstance) character).updatePvPFlag(1); } } Works for me :) Edit: If your pvp points doesnt count then you have to do this: -character.setInsideZone(ZoneId.MULTI_FUNCTION, true); +character.setInsideZone(ZoneId.MULTI_FUNCTION, false); Im just saying cause i had this problem :) -
Request PvP Flag When leaving a chaotic zone
BloodRav3N replied to tiguz's question in Request Server Development Help [L2J]
+import com.l2jfrozen.Config; if (character instanceof L2PcInstance) { ((L2PcInstance) character).sendPacket(new SystemMessage(SystemMessageId.LEFT_COMBAT_ZONE)); // Set pvp flag if (((L2PcInstance) character).getPvpFlag() != 0) { ((L2PcInstance) character).setPvpFlagLasts(System.currentTimeMillis() + Config.PVP_NORMAL_TIME); ((L2PcInstance) character).startPvPFlag(); } } I had the same problem yesterday but after some time of trying different stuff, I fixed it :) tell me if that works for you :) -
RaidBoss Info L2jFrozen
BloodRav3N replied to BloodRav3N's question in Request Server Development Help [L2J]
i found it! i just had to enable that: # Do you want enable powerpack? PowerPakEnabled = True Lock it :) -
RaidBoss Info L2jFrozen
BloodRav3N replied to BloodRav3N's question in Request Server Development Help [L2J]
The problem is that if i talk to the npc the html is opening and then when i press the button to see the info nothing is happening... Well i cant find anything so easily with the new search engine from maxcheaters and the only RaidBoss info npc's that i found are for aCis... -
Hello, In L2jFrozen there is an existing RaidBoss Info npc, but in my case, it doesn't work. Does anyone know how to fix it? Or do you have another npc that you can share with me? Regards
-
Everything is working perfect!! Im using L2jFrozen... But i have only 1 small problem: I've blocked the bishop class but when i try to go there with bishop im getting teleported to multifunctionzone and back to the town. I stuck in the town and cant move and i dont see any npcs etc, so i have to exit game an relog.. if someone can fix that it will be awesome! Regards
-
Code Automatic Potions Free Code For All L2J Packs!
BloodRav3N replied to numl0ckas's topic in Server Shares & Files [L2J]
Where in L2PcInstance should i add this code? im using l2jfrozen. @@ -4321,6 +4339,22 @@ teleToLocation(184351, 20318, -3174, 0); } + if (isAutoPot(728)) + { + sendPacket(new ExAutoSoulShot(728, 0)); + setAutoPot(728, null, false); + } + if (isAutoPot(1539)) + { + sendPacket(new ExAutoSoulShot(1539, 0)); + setAutoPot(1539, null, false); + } + if (isAutoPot(5592)) + { + sendPacket(new ExAutoSoulShot(5592, 0)); + setAutoPot(5592, null, false); + } + return true; } -
Share Blessed Epic Jewels Interlude
BloodRav3N replied to Reborn12's topic in Client Development Discussion
Ive tried those rings and all works fine except Antharas! i get a black icon :/ ps: its interlude Frozen ive adapted it! does any one have the same problem? Edit: Found it ive changed the id :P -
Thanks, Armor & Acessories are custom & ofc special.
-
Thanks m8!
-
JOIN US! L][West Basic Rates x5000 Information: - 100% Private Source platform Interlude - Fully authentic and correct gameplay. - Instances/Skills correctly reworked. - 1st/2nd/3rd Class Changer available. L][West High Rates x5000 GamePlay: - Special Vesper Items - Special Commands - Active GM 24/7 - Retail Lineage 2 Interlude Game Play! Feautures Server Rates XP: x5000 | SP: x5000 | Party XP/SP: x2 | Adena: x10 | Drop: x1 Enchant Rates Safe Enchant: +8 for Normal and +12 for Blessed Max Emchant: +16 with Blessed and +20 with Crystal You can use Crystal Scrolls to enchant your Item from +16 to +20 If your item brakes with Blessed Scrolls it goes back to +12 Normal: 60% | Blessed: 85% | Crystal: 100% Grand Olympiad Olympiad System: Retail Olympiad. Olympiad start 18:00 and end 00:00 Heroes every Week Additional info Npc buffer (3h buff time) 50 Buff slots. Class Master. Clan Manager. Noblesse Coin. Max Subclasses: 3 High Grade Life Stone Chance: 8% Top Grade Life Stone Chance: 18% 1 Active and 1 Passive Useful Server commands .menu .online .repair .tvtinfo .tvtjoin .tvtleave Playingon Lineage II West isn't a right, is a privilege! Community WebSite Forum Facebook E-mail: l2west@hotmail.com Skype: l2west
-
Hello MxC, I need an Avatar and a Signature for my Profile. Like this one that im using but i need a different name Profile Name: DeweLL with Luffy from one piece Regards, BloodRav3N
-
Thank you alot!!! You are the best it worked!!! Someone lock this topic
-
Sorry for double post but now i saw your post :P I will try it
-
i was worried about this!! but how can i remake them? decrypt/encrypt? If someone can explain me it would be very helpfull!!
-
Hello MxC, i have a problem with with my armor i whant to rename the utx file for example: MFighter_Hell_PvP_ru.utx rename it to MFighter_Hell_PvP_ru2.utx what do i have to change in the armorgrp.dat file to work? cause if i change them i get c.error when i equip or something like that Please Help me if you can! Regards, BloodRav3N 1 12085 0 3 10 4 0 DropItems-v.Cleo_Chaos_Master_drop_MFighter_m014_t94_u_m00 MFighter_Hell_PvP_ru.MFighter_m014_t211_u Icon_Hell_PvP_ru.armor_t94_u_i00 4294967295 7520 46 1 0 10 1 Fighter-v.Cleo_Chaos_Master_MFighter_m014_u 1 MFighter_Hell_PvP_ru.MFighter_m014_t211_u 1 1 1 Fighter-v.Cleo_Chaos_Master_FFighter_m014_u 1 FFighter_Hell_PvP_ru.FFighter_m014_t211_u 1 1 1 DarkElf-v.Cleo_Chaos_Master_MDarkElf_m012_u 1 MDarkElf_Hell_PvP_ru.MDarkElf_m012_t211_u 1 1 1 DarkElf-v.Cleo_Chaos_Master_FDarkElf_m012_u 1 FDarkElf_Hell_PvP_ru.FDarkElf_m012_t211_u 1 1 1 Dwarf-v.Cleo_Chaos_Master_MDwarf_m010_u 1 MDwarf_Hell_PvP_ru.MDwarf_m010_t211_u 1 1 1 Dwarf-v.Cleo_Chaos_Master_FDwarf_m010_u 1 FDwarf_Hell_PvP_ru.FDwarf_m010_t211_u 1 1 1 Elf-v.Cleo_Chaos_Master_MElf_m013_u 1 MElf_Hell_PvP_ru.MElf_m013_t211_u 1 1 1 Elf-v.Cleo_Chaos_Master_FElf_m013_u 1 FElf_Hell_PvP_ru.FElf_m013_t211_u 1 1 1 Magic-v.Cleo_Chaos_Master_MMagic_m015_u 1 MMagic_Hell_PvP_ru.MMagic_m015_t311_u 1 1 1 Magic-v.Cleo_Chaos_Master_FMagic_m015_u 1 FMagic_Hell_PvP_ru.FMagic_m015_t311_u 1 1 1 Orc-v.Cleo_Chaos_Master_MOrc_m009_u 1 MOrc_Hell_PvP_ru.MOrc_m009_t211_u 1 1 1 Orc-v.Cleo_Chaos_Master_FOrc_m009_u 1 FOrc_Hell_PvP_ru.FOrc_m009_t211_u 1 1 1 Shaman-v.Cleo_Chaos_Master_MShaman_m006_u 1 MShaman_Hell_PvP_ru.MShaman_m006_t311_u 1 1 1 Shaman-v.Cleo_Chaos_Master_FShaman_m006_u 1 FShaman_Hell_PvP_ru.FShaman_m006_t311_u 1 1 1 1 1 1 1 1 LineageEffect.p_u002_a 4 MonSound.Hit_Normal_10 MonSound.Hit_Bone_4 MonSound.Hit_normal_12 MonSound.Hit_normal_3 ItemSound.itemdrop_armor_cloth ItemSound.itemequip_armor_cloth 1 0 2 5 0 250 0 0