-
Posts
269 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ThelwHelpRePaidia
-
Request accur on level up
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
can i edit it some how not to gain + stats after 80+ levels? -
Request accur on level up
ThelwHelpRePaidia posted a question in Request Server Development Help [L2J]
Does anyone know how can i reduce the accuracy per level? because on my char i removed all buffs/skills (actives-passives) and it gains +3 pre level hi5 -
Source L2jSunrise Source 2017-10
ThelwHelpRePaidia replied to proGenitor's topic in Server Shares & Files [L2J]
Links dead -
Code 1000pvps from item l2jacis
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
-
Code 1000pvps from item l2jacis
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
No i addapted it from other client. -
Code 1000pvps from item l2jacis
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
? -
package net.sf.l2j.gameserver.handler.itemhandlers; Pvpitem.java package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.actor.Playable; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.model.item.instance.ItemInstance; import net.sf.l2j.gameserver.model.olympiad.OlympiadManager; import net.sf.l2j.gameserver.network.SystemMessageId; public class Pvpitem implements IItemHandler { @Override public void useItem(Playable playable, ItemInstance item, boolean forceUse) { if (!(playable instanceof Player)) return; Player player = (Player) playable; if (player.isInCombat()) { player.sendMessage("You can't use this item because you are in combat"); return; } if (player.getKarma() > 0) { player.sendMessage("You can't use this item if you have karma."); return; } if (player.isCursedWeaponEquipped()) { player.sendMessage("You can't use this item with a cursed weapon."); return; } if (player.isDead()) { player.sendMessage("You can't use this item while you are dead."); return; } if (player.getActiveTradeList() != null || player.getActiveEnchantItem() != null) { player.sendMessage("Cannot use while trading/enchanting"); return; } else if (player.isInOlympiadMode() || OlympiadManager.getInstance().isRegisteredInComp(player)) { player.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT); return; } final int pvps = player.getPvpKills() + 1000; player.setPvpKills(pvps); player.broadcastUserInfo(); player.sendMessage("Your PVP count is now " + pvps); playable.destroyItem("Consume", item.getObjectId(), 1, null, false); } } package net.sf.l2j.gameserver.handler; ItemHandler.java registerItemHandler(new ClanItem()); registerItemHandler(new ExpAndSpItem()); registerItemHandler(new CleanKarma()); + registerItemHandler(new Pvpitem()); } public void registerItemHandler(IItemHandler handler) { _datatable.put(handler.getClass().getSimpleName().intern().hashCode(), handler); }
-
Help l2jacis mage problem
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
oxi den exw valei kapoia customs kai otan paei na loggarei enas mage vgazei ayto sto gs den mporei na kounithi kai eksafanizete k olas kai aytos vlepei olous na kouniounte klp alla einai kolhmenos oute restart oute exit game mono me ctrl alt del vgenei...Client [Character: Name- Account: Name- IP: x.x.x.x] - Disconnected, too many queue overflows. -
Help l2jacis mage problem
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
[gr] htan mia xara to mc to exw valei 2.5 alla oxi mc kanoun 10k me amc +0 klp se oso mdef kai na valw kai se 10k mdef -
Help l2jacis mage problem
ThelwHelpRePaidia posted a question in Request Server Development Help [L2J]
hello i have a problem with mages they are doing from 500 dmg they are doing 10k in 3k mdef it was running normal and that happend just like that w/o reason -
Help Monument of heroes gs error
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [Greek]
akuro lock it eixa kanei vlakeia sta tables. -
Help Monument of heroes gs error
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [Greek]
Exception in a Runnable execution:java.lang.IllegalArgumentException: StatsSet : Long value required, but found: null for key: TimeOfHero. ειναι κομπλε μιλαει απλα οταν πηρα το hero πεταει με σπαμ αυτο..δεν πειραξα τιποτα απο hero και μου φαινεται παραξενο -
Help acis karma gs error
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
Thanks merlon only the second without editing the first it worked! :) -
Help acis karma gs error
ThelwHelpRePaidia posted a question in Request Server Development Help [L2J]
When i'm more than 80+ level when i get a pk and try to "burn" my karma im getting this error http://prntscr.com/ijs3b2 and the mobs stuck dead they dont spawn if i kill them when im with karma -
ΠΟΥ ΤΗΝ ΕΙΔΕΣ ΤΗΝ ΜΑΚΕΔΟΝΙΑ ΑΛΒΑΝΙΚΗ; ΑΝΙΣΤΟΡΗΤΟΙ ΜΟΝΟ ΓΙΑ ΟΙΚΟΔΟΜΗ ΕΙΣΑΣΤΕ..ΜΗ ΜΕ ΝΕΥΡΙΑΖΕΙΣ! ΜΑΚΕΔΟΝΙΑ, ΚΩΝΣΤΑΝΤΙΝΟΥΠΟΛΗ ΚΑΙ ΚΥΠΡΟΣ ΕΙΝΑΙ ΕΛΛΗΝΙΚΕΣ
-
Help Monument of heroes gs error
ThelwHelpRePaidia posted a question in Request Server Development Help [Greek]
Καλησπερα παιδια σημερα ειδα ενα ερρορ κατα τυχη γιατι δεν ετυχε να πειραξω τιποτα στην Olympiada αυτο εδω http://prntscr.com/ij465r δεν μπορω να καταλαβω απο που ειναι αυτο το ερρο και οταν παω να μιλησω σε αυτον τον τυπα της ολυμπιαδας για να δω της καταταξης με τα classes παλι το ιδιο μου πεταει ενω οταν παω να δω την καταταξη με τα classes στο community board μου τα διχνει μια χαρα http://prntscr.com/ij4752 acis pack -
Code 2+ healers in party decrease heal
ThelwHelpRePaidia posted a topic in Server Shares & Files [L2J]
When 2 or more cardinals or other healers in one party the heal gets nerfed net.sf.l2j.gameserver.handler.skillhandlers.heal.java public void useSkill(Creature activeChar, L2Skill skill, WorldObject[] targets) { +int healers = 0; +int minus = 2; + + if (activeChar.getParty() != null) +{ + for (Player player : activeChar.getParty().getMembers()) + { + if (player != null && player.getClassId().getId() == 97) + { + healers++; + + if (minus != 2 && (player.getPvpFlag() != 0 || player.getKarma() > 0)) + minus = 2; + } + } +} //go here hp = power; hp *= target.calcStat(Stats.HEAL_EFFECTIVNESS, 100, null, null) / 100; } //and paste this too +if (healers >= 2) // 2 or more healers in party +{ + int nerfValue = (2 + (healers - minus)); + hp /= nerfValue; + } // If you have full HP and you get HP buff, u will receive 0HP restored message -
Help Assist reward pvp system
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
@melron it's working like this but im getting something that it seems weird i dont get +1 pvp i get the pvps that my party mate has if he has 551 and me 0 if he gets pvp i will go 552 Party party = getParty(); if (party != null) { for (Player partymate : party.getMembers()) { if (partymate == null) continue; if (partymate.getClassId().getId() == 97 && partymate.isInCombat() && partymate.getPvpFlag() > 0) { if (partymate.isInsideRadius(this, 1100, false, false)) { if (Rnd.nextInt(100) < 100) { partymate.setPvpKills(partymate.getPvpKills() + 1); break; } } } } } // Add PvP point to attacker. setPvpKills(getPvpKills() + 1); -
Help Shadow Items Modifying.
ThelwHelpRePaidia replied to raF's question in Request Server Development Help [L2J]
@igregz why would you use frozen? -
Help Acis party drops
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
all good thanks. you cna lock it -
Help Acis party drops
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
ok i made it working with the message you have earned but it doesnt broadcast to the other members what the player 1 picked to player 2 -
Help Acis party drops
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
@Evie Frye this was the first 2 things iv tried but they didnt worked -
Help Acis party drops
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
i had to change all this because i was getting an error in party.java when i added new distrubeditem..here is what i did and got this message when i tried to loot from the monster the drops are working fine and thanks for the help but i dont know how to solve this message @melron pcinventory.java public static final int COIN_ID = 6577; public static final int ADENA_ID = 57; public static final int ANCIENT_ADENA_ID = 5575; private final Player _owner; private ItemInstance _coin; private ItemInstance _adena; public int getCoin() { return _coin != null ? _coun.getCount() : 0; } public ItemInstance getCoinInstance() { return _count; } public void addCoin(String process, int count, Player actor, WorldObject reference) { if (count > 0) addItem(process, COIN_ID, count, actor, reference); } public ItemInstance addItem(String process, ItemInstance item, Player actor, WorldObject reference) { item = super.addItem(process, item, actor, reference); if (item == null) return null; if (item.getItemId() == COIN_ID && !item.equals(_coin)) _coin = item; if (item.getItemId() == ADENA_ID && !item.equals(_adena)) _adena = item; public ItemInstance addItem(String process, int itemId, int count, Player actor, WorldObject reference) { ItemInstance item = super.addItem(process, itemId, count, actor, reference); if (item == null) return null; if (item.getItemId() == COIN_ID && !item.equals(_coin)) _coin = item; if (item.getItemId() == ADENA_ID && !item.equals(_adena)) _adena = item; public ItemInstance transferItem(String process, int objectId, int count, ItemContainer target, Player actor, WorldObject reference) { ItemInstance item = super.transferItem(process, objectId, count, target, actor, reference); if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) _coin = null; if (_adena != null && (_adena.getCount() <= 0 || _adena.getOwnerId() != getOwnerId())) _adena = null; public ItemInstance dropItem(String process, ItemInstance item, Player actor, WorldObject reference) { item = super.dropItem(process, item, actor, reference); if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) _coin = null; public ItemInstance dropItem(String process, int objectId, int count, Player actor, WorldObject reference) { ItemInstance item = super.dropItem(process, objectId, count, actor, reference); if (_coin != null && (_coin.getCount() <= 0 || _coin.getOwnerId() != getOwnerId())) _coin = null; if (_adena != null && (_adena.getCount() <= 0 || _adena.getOwnerId() != getOwnerId())) _adena = null; if (item.getItemId() == COIN_ID) _coin = null; if (item.getItemId() == ADENA_ID) _adena = null; public void restore() { super.restore(); _coin = getItemByItemId(COIN_ID); _adena = getItemByItemId(ADENA_ID); systemmessageid.java public static final SystemMessageId EARNED_S1_COIN; EARNED_S1_COIN = new SystemMessageId(2032); player.java public int getCoin() { return _inventory.getCoin(); } public void addCoin(String process, int count, WorldObject reference, boolean sendMessage) { if (sendMessage) sendPacket(SystemMessage.getSystemMessage(SystemMessageId.EARNED_S1_COIN).addNumber(count)); if (count > 0) { _inventory.addCoin(process, count, this, reference); InventoryUpdate iu = new InventoryUpdate(); if (_inventory.getCoinInstance() != null) iu.addModifiedItem(_inventory.getCoinInstance()); else iu.addItem(_inventory.getCoinInstance()); sendPacket(iu); } } public void doAutoLoot(Attackable target, IntIntHolder item) { if (isInParty()) getParty().distributeItem(this, item, false, target); else if (item.getId() == 57) addAdena("Loot", item.getValue(), target, true); else if (item.getId() == 6577) addCoin("Loot", item.getValue(), target, true); else addItem("Loot", item.getId(), item.getValue(), target, true); } // Check if a Party is in progress if (isInParty()) getParty().distributeItem(this, item); // Target is adena else if (item.getItemId() == 57 && getInventory().getAdenaInstance() != null) { addAdena("Pickup", item.getCount(), null, true); ItemTable.getInstance().destroyItem("Pickup", item, this, null); } else if (item.getItemId() == 6577 && getInventory().getCoinInstance() != null) { addCoin("Pickup", item.getCount(), null, true); ItemTable.getInstance().destroyItem("Pickup", item, this, null); } // Target is regular item party.java public void distributeItem(Player player, IntIntHolder item, boolean spoil, Attackable target) { if (item == null) return; if (item.getId() == 57) { distributeAdena(player, item.getValue(), target); return; } if (item.getId() == 6577) { distributeCoin(player, item.getValue(), target); return; } public void distributeCoin(Player player, int Coin, Creature target) { List<Player> toReward = new ArrayList<>(_members.size()); for (Player member : _members) { if (!MathUtil.checkIfInRange(Config.PARTY_RANGE, target, member, true) || member.getCoin() == Integer.MAX_VALUE) continue; // Pass the check so will be rewarded. toReward.add(member); } // After all playes checked we got them in the list // Avoid divisions by 0. if (toReward.isEmpty()) return; // Calculation for drop in example of 1kk adena's. 1kk / 4 = 250k final int count = Coin / toReward.size(); // 250k // Adding 250k for each player for (Player member : toReward) member.addCoin("Party", count, player, true); } if (item.getItemId() == 6577) { distributeCoin(player, item.getCount(), player); ItemTable.getInstance().destroyItem("Party", item, player, null); return; } -
Help Acis party drops
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
i made every step and i get this when im trying to loot http://prntscr.com/igfw8o