Jump to content

tomaszow

Members
  • Posts

    12
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About tomaszow

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

tomaszow's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Hello i have 2 problems with l2j frozen files. 1. Skill icons reuse - when i use skill's like a Freanzy, Zealot, Rage and next i switch weapon skill's are still in REUSE, but icons will be reused o.O so i have "ready to use skills icons" but i cant use it. Where is the file responsible for changing weapons? or how to fix it? 2. Antharas minions will be spawn with Antharas (when have 100% HP). Retail if i good remember them must spawn when antharas have 50% hp. Someone can tell me how to do fix it? Here is minions code: // Do spawn Behemoth or Bomber. private class MobsSpawn implements Runnable { public MobsSpawn() { } @Override public void run() { L2NpcTemplate template1; L2Spawn tempSpawn; final boolean isBehemoth = Rnd.get(100) < FWA_PERCENTOFBEHEMOTH; try { final int mobNumber = (isBehemoth ? 2 : 3); // Set spawn. for (int i = 0; i < mobNumber; i++) { if (_monsters.size() >= FWA_MAXMOBS) break; int npcId; if (isBehemoth) npcId = 29069; else npcId = Rnd.get(29070, 29076); template1 = NpcTable.getInstance().getTemplate(npcId); tempSpawn = new L2Spawn(template1); // allocates it at random in the lair of Antharas. int tried = 0; boolean notFound = true; int x = 175000; int y = 112400; int dt = (_antharas.getX() - x) * (_antharas.getX() - x) + (_antharas.getY() - y) * (_antharas.getY() - y); while (tried++ < 25 && notFound) { final int rx = Rnd.get(175000, 179900); final int ry = Rnd.get(112400, 116000); final int rdt = (_antharas.getX() - rx) * (_antharas.getX() - rx) + (_antharas.getY() - ry) * (_antharas.getY() - ry); if (GeoData.getInstance().canSeeTarget(_antharas.getX(), _antharas.getY(), -7704, rx, ry, -7704)) if (rdt < dt) { x = rx; y = ry; dt = rdt; if (rdt <= 900000) notFound = false; } } tempSpawn.setLocx(x); tempSpawn.setLocy(y); tempSpawn.setLocz(-7704); tempSpawn.setHeading(0); tempSpawn.setAmount(1); tempSpawn.setRespawnDelay(FWA_ACTIVITYTIMEOFANTHARAS * 2); SpawnTable.getInstance().addNewSpawn(tempSpawn, false); // Do spawn. _monsters.add(tempSpawn.doSpawn()); } } catch (final Exception e) { LOGGER.warn(e.getMessage()); } } }
  2. You were right, but I compared hennagrp.dat with the henna.cvs file in gameserver and corrected the server side settings. thanks
  3. If i make dye +4-5 i see in stats +4-5 but in inventory +4-6....
  4. Hello. I using Latest L2jFrozen package, and have little problem with Henna's When i make Dye +4 -5 i see in my inventory +4 -6 o.O nvm what is it STR, DEX, CON still this same problem... When i make Dye +1 -1 i see in inventory +4 -5.... again wtf....
  5. if you know how to do this maybe you want help me? ofc not for free.
  6. good luck
  7. Hello. I need create Item like H5 Rune of Exp/SP, but on interlude server with L2jFrozen Files. Item must give exp/sp/adena/Drop +100%, Exp and SP is not problem because Frozen have: EXPSP_RATE("rExp"), so when i add it to any skill/item like that: <mul order="0x30" stat="rExp" val="2.0"/> i recive efect what i want. but problem is when i want add Drop and Adena rate, because frozen dont have this stats. Anyone know how to add Drop rate and Adena Rate to Stats.java? I can pay for help, the issue of getting along, but i need it fast. (PM) This is oryginal Stats.java /* * L2jFrozen Project - www.l2jfrozen.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package com.l2jfrozen.gameserver.skills; import java.util.NoSuchElementException; /** * Enum of basic stats. * @author mkizub */ public enum Stats { // // Base stats, for each in Calculator a slot is allocated // // HP & MP MAX_HP("maxHp"), MAX_MP("maxMp"), MAX_CP("maxCp"), REGENERATE_HP_RATE("regHp"), REGENERATE_CP_RATE("regCp"), REGENERATE_MP_RATE("regMp"), RECHARGE_MP_RATE("gainMp"), HEAL_EFFECTIVNESS("gainHp"), // Atk & Def POWER_DEFENCE("pDef"), MAGIC_DEFENCE("mDef"), POWER_ATTACK("pAtk"), MAGIC_ATTACK("mAtk"), POWER_ATTACK_SPEED("pAtkSpd"), MAGIC_ATTACK_SPEED("mAtkSpd"), // how fast a spell is casted (including animation) MAGIC_REUSE_RATE("mReuse"), // how fast spells becomes ready to reuse SHIELD_DEFENCE("sDef"), CRITICAL_DAMAGE("cAtk"), CRITICAL_DAMAGE_ADD("cAtkAdd"), PVP_PHYSICAL_DMG("pvpPhysDmg"), PVP_MAGICAL_DMG("pvpMagicalDmg"), PVP_PHYS_SKILL_DMG("pvpPhysSkillsDmg"), // Atk & Def rates EVASION_RATE("rEvas"), P_SKILL_EVASION("pSkillEvas"), SHIELD_RATE("rShld"), SHIELD_ANGLE("shldAngle"), CRITICAL_RATE("rCrit"), BLOW_RATE("blowRate"), LETHAL_RATE("lethalRate"), MCRITICAL_RATE("mCritRate"), EXPSP_RATE("rExp"), ATTACK_CANCEL("cancel"), // Accuracy and range ACCURACY_COMBAT("accCombat"), POWER_ATTACK_RANGE("pAtkRange"), MAGIC_ATTACK_RANGE("mAtkRange"), POWER_ATTACK_ANGLE("pAtkAngle"), ATTACK_COUNT_MAX("atkCountMax"), // Run speed, // walk & escape speed are calculated proportionally, // magic speed is a buff RUN_SPEED("runSpd"), WALK_SPEED("walkSpd"), // // Player-only stats // STAT_STR("STR"), STAT_CON("CON"), STAT_DEX("DEX"), STAT_INT("INT"), STAT_WIT("WIT"), STAT_MEN("MEN"), // // Special stats, share one slot in Calculator // // stats of various abilities BREATH("breath"), FALL("fall"), // AGGRESSION("aggression"), // locks a mob on tank caster BLEED("bleed"), // by daggers, like poison POISON("poison"), // by magic, hp dmg over time STUN("stun"), // disable move/ATTACK for a period of time ROOT("root"), // disable movement, but not ATTACK MOVEMENT("movement"), // slowdown movement, debuff CONFUSION("confusion"), // mob changes target, opposite to aggression/hate SLEEP("sleep"), // sleep (don't move/ATTACK) until attacked FIRE("fire"), WIND("wind"), WATER("water"), EARTH("earth"), HOLY("holy"), DARK("dark"), // AGGRESSION_VULN("aggressionVuln"), BLEED_VULN("bleedVuln"), POISON_VULN("poisonVuln"), STUN_VULN("stunVuln"), PARALYZE_VULN("paralyzeVuln"), ROOT_VULN("rootVuln"), SLEEP_VULN("sleepVuln"), CONFUSION_VULN("confusionVuln"), MOVEMENT_VULN("movementVuln"), FIRE_VULN("fireVuln"), WIND_VULN("windVuln"), WATER_VULN("waterVuln"), EARTH_VULN("earthVuln"), HOLY_VULN("holyVuln"), DARK_VULN("darkVuln"), CANCEL_VULN("cancelVuln"), // Resistance for cancel type skills DERANGEMENT_VULN("derangementVuln"), DEBUFF_VULN("debuffVuln"), BUFF_VULN("buffVuln"), FALL_VULN("fallVuln"), CAST_INTERRUPT("concentration"), CRIT_VULN("critVuln"), // Resistence to Crit DMG. DEBUFF_IMMUNITY("debuffImmunity"), NONE_WPN_VULN("noneWpnVuln"), // Shields!!! SWORD_WPN_VULN("swordWpnVuln"), BLUNT_WPN_VULN("bluntWpnVuln"), DAGGER_WPN_VULN("daggerWpnVuln"), BOW_WPN_VULN("bowWpnVuln"), POLE_WPN_VULN("poleWpnVuln"), ETC_WPN_VULN("etcWpnVuln"), FIST_WPN_VULN("fistWpnVuln"), DUAL_WPN_VULN("dualWpnVuln"), DUALFIST_WPN_VULN("dualFistWpnVuln"), POLE_TARGERT_COUNT("poleTargetCount"), BIGSWORD_WPN_VULN("bigSwordWpnVuln"), BIGBLUNT_WPN_VULN("bigBluntWpnVuln"), REFLECT_DAMAGE_PERCENT("reflectDam"), REFLECT_SKILL_MAGIC("reflectSkillMagic"), REFLECT_SKILL_PHYSIC("reflectSkillPhysic"), VENGEANCE_SKILL_PHYSICAL_DAMAGE("vengeanceSkillPhysic"), ABSORB_DAMAGE_PERCENT("absorbDam"), TRANSFER_DAMAGE_PERCENT("transDam"), MAX_LOAD("maxLoad"), WEIGHT_PENALTY("weightPenalty"), PATK_PLANTS("pAtk-plants"), PATK_INSECTS("pAtk-insects"), PATK_ANIMALS("pAtk-animals"), PATK_MONSTERS("pAtk-monsters"), PATK_DRAGONS("pAtk-dragons"), PATK_UNDEAD("pAtk-undead"), PATK_ANGELS("pAtk-angels"), PATK_GIANTS("pAtk-giants"), PATK_MCREATURES("pAtk-magicCreature"), PDEF_GIANTS("pDef-giants"), PDEF_MCREATURES("pDef-magicCreature"), PDEF_UNDEAD("pDef-undead"), PDEF_PLANTS("pDef-plants"), PDEF_INSECTS("pDef-insects"), PDEF_ANIMALS("pDef-animals"), PDEF_MONSTERS("pDef-monsters"), PDEF_DRAGONS("pDef-dragons"), PDEF_ANGELS("pDef-angels"), ATK_REUSE("atkReuse"), P_REUSE("pReuse"), // ExSkill :) INV_LIM("inventoryLimit"), WH_LIM("whLimit"), FREIGHT_LIM("FreightLimit"), P_SELL_LIM("PrivateSellLimit"), P_BUY_LIM("PrivateBuyLimit"), REC_D_LIM("DwarfRecipeLimit"), REC_C_LIM("CommonRecipeLimit"), // C4 Stats PHYSICAL_MP_CONSUME_RATE("PhysicalMpConsumeRate"), MAGICAL_MP_CONSUME_RATE("MagicalMpConsumeRate"), DANCE_MP_CONSUME_RATE("DanceMpConsumeRate"), HP_CONSUME_RATE("HpConsumeRate"), MP_CONSUME("MpConsume"), SOULSHOT_COUNT("soulShotCount"), // Skill mastery SKILL_MASTERY("skillMastery"); public static final int NUM_STATS = values().length; private String _value; public String getValue() { return _value; } private Stats(final String s) { _value = s; } public static Stats valueOfXml(String name) { name = name.intern(); for (final Stats s : values()) { if (s.getValue().equals(name)) return s; } throw new NoSuchElementException("Unknown name '" + name + "' for enum BaseStats"); } }
  8. I would like a more professional solution
  9. Ok, but How to dissable oly for 2 weeks? Because i want open first oly 1-2weeks after server start.
  10. Hello I have Interlude server on filles L2j Frozen rev.1132 and i have big problem with olympiad configuration... So i want open server lets say that on 20.09.2017 but i want open first olympiad on 30.09.2017, how to configure it? Additionally i want to make new heroes every 2weeks, and w/o Validation Period (AltOlyVPeriod = 1 its ok???) I searching everywhere and nothing... My olympiad.propertis #=======================================================# # Oly Settings # #=======================================================# # Pack: l2jfrozen Site: www.l2jfrozen.com # #=======================================================# # Olympiad Start Time in Military hours Default 6pm (18) # Default: 18 AltOlyStartTime = 18 # Olympiad Start Time for Min's, Default 00 so at the start of the hour. # Default: 00 AltOlyMin = 00 # Olympiad Competition Period, Default 6 hours. # (If set different, should be increment by 10mins) # Default: 21600000 AltOlyCPeriod = 21600000 # Olympiad Battle Period, Default 6 minutes. # Default: 360000 AltOlyBattle = 360000 # Olympiad Weekly Period, Default 1 week # Used for adding points to nobles # Default: 604800000 AltOlyWPeriod = 604800000 # Olympiad Validation Period, Default 24 Hours. # Default: 86400000 AltOlyVPeriod = 1 # Required number of participants for Classed and Non-Classed matches, Default 5 & 9 AltOlyClassedParticipants = 5 AltOlyNonClassedParticipants = 5 # Olympiad battle winner reward for class and non-class games.. # Default: 6651 (Gate Pass) AltOlyBattleRewItem = 6651 # Reward for class battle Default: 50 AltOlyClassedRewItemCount = 50 # Reward for non-class battle Default: 50 AltOlyNonClassedRewItemCount = 30 # Rewards for battle # Minimum points for exchanges "nobless gate pass", default is 50 AltOlyMinPointForExchange = 50 # ID prizes, 6651 (Gate Pass) AltOlyCompRewItem = 6651 # Rate to exchange points to reward item. AltOlyGPPerPoint = 1000 # Noblesse points awarded to Heros. # Like L2OFF is 100 AltOlyHeroPoints = 100 # Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350) AltOlyRestrictedItems = 0 # Allow events during Olympiad period AllowEventsDuringOly = True # Recharge skills before match starts and after match ends # Default: False AltOlyRechargeSkills = False # Remove all cubics from the player that enter on Olympiad stadium # C4 patch note: Summons/Cubics do not disappear but are moved to the tournament arena together with their masters. # Default: False RemoveCubicOlympiad = False # Olympiad Managers announce each start of fight. # Like L2OFF is False AltOlyAnnounceGames = true # Active Olympiad log AlyOlyLogFights = False # Allow on Olympiad the use of the Augment # Like L2OFF is True AltOlyAugmentAllow = True # The winners are updated only after the end of the Olympiad period # Like L2OFF is True AltOlyShowMonthlyWinners = True # Set the number of hero for each class # Retail = 1 AltOlyNumberHerosEachClass = 1 # Disable skills during Olympiad # Retail = 0 AltOlyRestrictedSkills = 0 # Move player to arena countdown # Like L2OFF is 120 AltOlyTeleportCountDown = 120 # You can decide if enable custom period setting feature. Once enabled, # Alt Oly period: MONTH/DAY/WEEK # es. 2weeks-->AltOlyPeriod=WEEK and AltOlyPeriodMultiplier=2 AltOlyUseCustomPeriodSettings= true AltOlyPeriod = WEEK AltOlyPeriodMultiplier = 2 And olympiad.cfg (For what is it?!) #Olympiad Properties #Fri Sep 01 00:00:24 CEST 2017 CurrentCycle=4 NextWeeklyChange_DateFormat=Sep 5, 2017 12\:44\:08 PM NextWeeklyChange=1504608248688 OlympiadEnd=1504260000721 OlympiadEnd_DateFormat=Sep 1, 2017 12\:00\:00 PM Period=0 ValdationEnd=1501668000675
×
×
  • 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