MairHost

VIP Member
  • Content Count

    21
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

4 Neutral

About MairHost

  • Rank
    Vassal

Contact Methods

  • Skype
    Skype : DownOst

Profile Information

  • Gender
    Male
  • Country
    Albania

Recent Profile Visitors

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

  1. l2.int file edit and edit h name and save 111 [General] Start=Lineage II (Starting) Exit=Lineage II (Exiting) Run=Lineage II (Running) Product=Lineage
  2. ena login tha exis 2 database sto gameserver 7777 kai 7778 kai eisai koble
  3. Caused by: java.sql.SQLException: Access denied for user 'root '@'localhost' (using password: YES) kitakse ligo sta config exis bali password sto mysql ?? an oxi bgale to password apo to config
  4. is for acis https://pastebin.com/Cy2PWqX0
  5. <stat name='classes' val='97,105,112' /> #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/datatables/xml/ZoneData.java =================================================================== --- head-src/com/l2jfrozen/gameserver/datatables/xml/ZoneData.java (revision 1132) +++ head-src/com/l2jfrozen/gameserver/datatables/xml/ZoneData.java (working copy) @@ -56,6 +56,7 @@ import com.l2jfrozen.gameserver.model.zone.type.L2DerbyTrackZone; import com.l2jfrozen.gameserver.model.zone.type.L2EffectZone; import com.l2jfrozen.gameserver.model.zone.type.L2FishingZone; +import com.l2jfrozen.gameserver.model.zone.type.L2FlagZone; import com.l2jfrozen.gameserver.model.zone.type.L2FortZone; import com.l2jfrozen.gameserver.model.zone.type.L2JailZone; import com.l2jfrozen.gameserver.model.zone.type.L2MotherTreeZone; @@ -268,6 +269,8 @@ case "SwampZone": temp = new L2SwampZone(zoneId); break; + case "FlagZone": + temp = new L2FlagZone(zoneId); } // Check for unknown type Index: head-src/com/l2jfrozen/gameserver/model/zone/type/L2FlagZone.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/zone/type/L2FlagZone.java (nonexistent) +++ head-src/com/l2jfrozen/gameserver/model/zone/type/L2FlagZone.java (working copy) @@ -0,0 +1,258 @@ +/* + * 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 3 of the License, 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, see <[url="http://www.gnu.org/licenses/>."]http://www.gnu.org/licenses/>.[/url] + */ +package com.l2jfrozen.gameserver.model.zone.type; + +import java.util.List; +import java.util.concurrent.Future; + +import javolution.util.FastList; + +import com.l2jfrozen.gameserver.datatables.SkillTable; +import com.l2jfrozen.gameserver.model.L2Character; +import com.l2jfrozen.gameserver.model.L2Skill; +import com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance; +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; +import com.l2jfrozen.gameserver.model.zone.L2ZoneType; +import com.l2jfrozen.gameserver.thread.ThreadPoolManager; +import com.l2jfrozen.util.random.Rnd; + +/** + * @author Strato + * @author Elfocrash (for the correction) + */ +public class L2FlagZone extends L2ZoneType +{ + int _skillId, _skillLvl; + private int _chance; + private int _initialDelay; + private int _reuse; + private boolean _enabled; + private String _target; + private Future<?> _task; + private static List<Integer> _forbiddenClasses = new FastList<>(); + + public L2FlagZone(int id) + { + super(id); + _skillId = 1323; + _skillLvl = 1; + _chance = 100; + _initialDelay = 0; + _reuse = 30000; + _enabled = true; + _target = "pc"; + } + + @Override + public void setParameter(String name, String value) + { + if (name.equals("skillId")) + { + _skillId = Integer.parseInt(value); + } + else if (name.equals("skillLvl")) + { + _skillLvl = Integer.parseInt(value); + } + else if (name.equals("chance")) + { + _chance = Integer.parseInt(value); + } + else if (name.equals("initialDelay")) + { + _initialDelay = Integer.parseInt(value); + } + else if (name.equals("default_enabled")) + { + _enabled = Boolean.parseBoolean(value); + } + else if (name.equals("target")) + { + _target = String.valueOf(value); + } + else if (name.equals("reuse")) + { + _reuse = Integer.parseInt(value); + } + else if (name.equals("classes")) + { + String[] propertySplit = value.split(","); + for (String classId : propertySplit) + { + int classes = Integer.parseInt(classId); + _forbiddenClasses.add(classes); + } + } + else + { + super.setParameter(name, value); + } + } + + @Override + protected void onEnter(L2Character character) + { + if (character instanceof L2PcInstance) + { + character.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, true); + character.setInsideZone(L2Character.ZONE_NO_HEALER, true); + if (isForbiddenClass(((L2PcInstance) character))) + { + for (L2Skill skill : character.getAllSkills()) + { + switch (skill.getSkillType()) + { + case HEAL: + case HEAL_PERCENT: + case BALANCE_LIFE: + case RESURRECT: + ((L2PcInstance) character).disableSkill(skill); + ((L2PcInstance) character).sendSkillList(); + break; + } + } + } + + // Set pvp flag + ((L2PcInstance) character).setPvpFlag(1); + ((L2PcInstance) character).sendMessage("Entrando em Zona Flag!!!"); + ((L2PcInstance) character).broadcastUserInfo(); + if ((character instanceof L2PlayableInstance && _target.equalsIgnoreCase("pc") || character instanceof L2PcInstance && _target.equalsIgnoreCase("pc_only") || character instanceof L2MonsterInstance && _target.equalsIgnoreCase("npc")) && _task == null) + { + _task = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new ApplySkill(/* this */), _initialDelay, _reuse); + } + } + } + + @Override + protected void onExit(L2Character character) + { + if (character instanceof L2PcInstance) + { + character.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, false); + character.setInsideZone(L2Character.ZONE_NO_HEALER, false); + if (isForbiddenClass(((L2PcInstance) character))) + { + for (L2Skill skill : character.getAllSkills()) + { + switch (skill.getSkillType()) + { + case HEAL: + case HEAL_PERCENT: + case BALANCE_LIFE: + case RESURRECT: + ((L2PcInstance) character).enableSkill(skill); + ((L2PcInstance) character).sendSkillList(); + break; + } + } + } + + ((L2PcInstance) character).setPvpFlag(0); + ((L2PcInstance) character).sendMessage("Saindo da Zona de Flag!!"); + ((L2PcInstance) character).broadcastUserInfo(); + } + if (_characterList.isEmpty() && _task != null) + { + _task.cancel(true); + _task = null; + } + } + + public L2Skill getSkill() + { + return SkillTable.getInstance().getInfo(_skillId, _skillLvl); + } + + public String getTargetType() + { + return _target; + } + + public boolean isEnabled() + { + return _enabled; + } + + public int getChance() + { + return _chance; + } + + public void setZoneEnabled(boolean val) + { + _enabled = val; + } + + class ApplySkill implements Runnable + { + @Override + public void run() + { + if (isEnabled()) + { + for (L2Character temp : _characterList.values()) + { + if (temp != null && !temp.isDead()) + { + if ((temp instanceof L2PlayableInstance && getTargetType().equalsIgnoreCase("pc") || temp instanceof L2PcInstance && getTargetType().equalsIgnoreCase("pc_only") || temp instanceof L2MonsterInstance && getTargetType().equalsIgnoreCase("npc")) && Rnd.get(100) < getChance()) + { + L2Skill skill = null; + if ((skill = getSkill()) == null) + { + System.out.println("ATTENTION: error on zone with id " + getId()); + System.out.println("Skill " + _skillId + "," + _skillLvl + " not present between skills"); + } + else + skill.getEffects(temp, temp); + } + } + } + } + } + } + + public static boolean isForbiddenClass(L2PcInstance player) + { + if (player.isGM()) + return false; + + if (_forbiddenClasses == null) + return false; + + if (_forbiddenClasses.contains(player.getClassId().getId())) + return true; + + return false; + } + + public static List<Integer> getForbiddenClasses() + { + return _forbiddenClasses; + } + + @Override + public void onDieInside(L2Character character) + { + + } + + @Override + public void onReviveInside(L2Character character) + { + onEnter(character); + } +} \ No newline at end of file Index: head-src/com/l2jfrozen/gameserver/model/L2Character.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/L2Character.java (revision 1132) +++ head-src/com/l2jfrozen/gameserver/model/L2Character.java (working copy) @@ -322,8 +322,8 @@ /** The Constant ZONE_CLANHALL. */ public static final int ZONE_CLANHALL = 16; - /** The Constant ZONE_UNUSED. */ - public static final int ZONE_UNUSED = 32; + /** The Constant ZONE_NO_HEALER. */ + public static final int ZONE_NO_HEALER = 32; /** The Constant ZONE_NOLANDING. */ public static final int ZONE_NOLANDING = 64; DATAPACK ### Eclipse Workspace Patch 1.0 #P L2jFrozen_DataPack Index: data/zones/zone.xml =================================================================== --- data/zones/zone.xml (revision 1132) +++ data/zones/zone.xml (working copy) @@ -275,11 +275,13 @@ <spawn X='17577' Y='170128' Z='-3534'/> <spawn X='19737' Y='170976' Z='-3583'/> </zone> -<zone id='11037' type='Town' shape='Cuboid' minZ='-3500' maxZ='-3400'> +<!-- <zone id='11037' type='Town' shape='Cuboid' minZ='-3500' maxZ='-3400'> --> + <zone id='11037' type='FlagZone' shape='Cuboid' minZ='-3800' maxZ='-3100'> <stat name='name' val='Primeval Isle'/> <stat name='townId' val='19'/> <stat name='taxById' val='8'/> <stat name='noPeace' val='true'/> + <stat name='classes' val='97,105,112' /> <spawn X='10468' Y='-24569' Z='-3645'/> <spawn X='10928' Y='-24641' Z='-3643'/> <spawn X='8480' Y='-23706' Z='-3727'/>
  6. Good luck with your project Dimis! Over the years your server's prooved that you're worthy. L2Mafia is a very good and stable PvP server with promising features.
  7. Update You are able to join in our test server, and search around
  8. Character Creation A new character will spawn in the basement of Ivory Tower. There you can buff yourself up and you're good to go! The new character will start with all the needed items. You will be able to use Shout after you reach 40 level. All the low level zones up to 60 level are protected by our low level zone guards. These guards kill red players in order to give new and low level players a fair chance to train up to a decent level. Boosted Characters in order to give buffer classes such as prophets, bladedancers and swordsingers a fair chance to participate in pvp action, they have been given a special boost. All these classes will receive higher level skills whitch they can buff on themself only. For example: A prophet will get might3, shield3, windwalk3, haste3, etc. Third class As soon as your character is 76 level or above, you are able to do the 3rd occupation change that can be done at the NPC job changer "Carola" who stands next to the church entrance in Aden Castle Town.  Rebirth System Once a player becomes 78 level, he can choose to rebirth at the Rebirth Manager in Aden. Your char will become level 1 and you will get a rebirth book but you will not lose your occupation. Each player can get a maximum of 3 rebirths and because of sub class and olympiad, you can change them anytime you want.  Noblesse System L2g-Hybrid has its own noblesse system based on Gold style. Once you have completed 3x rebirths, 78 level and sub class you need to collect various items from the following raid bosses in order to become Noblesse. Death Lord Hallate Kernon Longhorn Golkonda Shilen's Messenger Cabrio Once you have collected all the items and your character is 78 level, you can go to the Noblesse Manager "Eddy Wally" who is located on the stairs at Aden Town and become Noblesse.  Subclass You are free to make subclass anytime you want. Weapons and Special Abilities To obtain an A and S grade weapon with special ability, you need to farm some mantras and enrias. Then talk to Mantra Manager "Wilbrand". You need 300 Fire Mantras, 200 Wind Mantras, 100 Water Mantras, 5 Enrias and some adena for S grade weapons. You can put lifestones also from the same NPC.  S Grade Armors and Dynasty In L2g-Hybrid you can find a great way of powering up your armor and jewels. Refining is the custom system with witch you have the chance to increase the defence of your S grade armors and Jewels or even transform your armor into Dynasty! Collecting materials and increasing the % of your armor and jewels is easyer if you farm in groups at the special zone of Monastery of Silence or Primeval Island where monsters with Boosted drops and stats can be found. Dynasty armors has passive noblesse from 55%. Some things you need to know before you start to refine your armor: -Refining of armor or jewels can not fail. -As soon as 1 part of your armor set has a different % than the rest, you will lose your set bonus. -You will not lose enchants on the armor or jewels if you refine it. -Keep in mind that Dynasty armor has one more part, you need to buy that extra part from npc "Rex" with 75 Enria. Custom Boss Jewels There exist some special jewels that can be collected only by killing the Raid Bosses that owns them! For example: Earring of Garacsia can be droped only by Cherub Galaxia. 1) Earring of Garacsia: MP +31, +10% bow resistance and +7 speed. 2) Earring of Ipos: MP +31, +10% dagger resistance and +7 speed. 3) Earring of Vermilion: MP +31, +20% fire resistance and +7 speed. 4) Earring of Von Helman: MP +31, +20% dark resistance and +7 speed. 5) Earring of Kandra: MP +31, +20% wind resistance and +7 speed. 6) Earring of Falston: MP +31, +20% water resistance and +7 speed. 7) Ring of Tayr: MP +21 and +100 bow range. 8) Ring of Mos: MP +21 and +10% M.Def. 9) Ring of Shadith: MP +21 and 500% faster hp regen. 10) Ring of Horuth: MP +21 and +10% P.Def 11) Necklace of Naga: MP +42 and +15% HP 12) Necklace of Brakki: MP +42 and +60% resistance to most of the debuffs. 1) Necklace of Hekaton: MP +42 and +15% CP. PK Manager When a player gets more than 5 PK Points he risks loosing his items. To prevent that from happening use the PK Manager standing in front of Aden Warehouse to erase your pks by offering him a few materials. Other System / Info Offline shop system, 3 Clients max per pc, 2 Clans per ally, No clan penalties, Max lvl8 clan, No need eggs for clan skills just reputation points.  Automatic Events Team VS Team, Soon: ( DeathMatch, Korean Style, Capture The Flag, High Rate Event ) Augumentation System You can farm Lifestones at Primeval Island from T-Rex. 1 active 1 passive alowed. Sell files and source pm me Skype Downost Update Feel free to join our test server and search around! Patch upload: https://www.mediafire.com/file/0a4x0aa88qc8v48/L2G-Hybrid+Patch.zip
  9. sou bgazi kanena erorr stile foto apo consola