Jump to content

L2 Supra

Banned
  • Posts

    57
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by L2 Supra

  1.         if (Config.L2JMOD_CHAMPION_ENABLE && _activeChar.getLevel() > 60)
            {
                writeC(_activeChar.isChampion() ? 1 : 0);
            }
            else if(Config.L2JMOD_CHAMPION_ENABLE && _activeChar.getLevel() < 60)
            {
                writeC(_activeChar.isChampion() ? 2 : 0);
            }
            else
            {
            writeC(0);
            }

  2. hello guys after 7 years its come time to stop l2 and i sell my last

    pack + source + geodata + patch

    server is have run to linux and windows with 600 players

    Server is under beta mode and u can check for any bugs!

    --------------------------------------------------------------------------

                 I do not remember all fix is two match tongue.png

    --------------------------------------------------------------------------

     

    Base: L2jFrozen last rev with many fix

     

    ----------------------

    Price: 60 euro

    Skype: typerakos

    ----------------------

    features:

     

    1) Newbie tuporial camera in game : with config

    2) vote manager : with config

    3) custom login messager : with config

    4) FakePlayers : with config

    5) AnnounceClanLeader : with config

    6) Custom Clan Rep Item : with config

    7) show status and item panel : with config

    8) Show Status HP/CP screen : with config

    9) Restore skill after restart or login : with config

    10) Custom Rec Item and Point : with config

    11) Custom Npc Clan Level up : with config

    12) Olympiad Partipation Count pvp/pk/none : with config

    13) MinPlayerTele special code for teleport rb zone : with config

    14) AntiBot system captcha with change and : with config

    15) farm event engine like l2oldschool : with config

    16) MaxAccurasyRate : with config

    17) MaxEvasionRate : with config

    18) Scroll/LS/BOG is Stackable : with config

    19) blessedEnchantMin/blessedEnchantMax : with config

    20) restone skill after match in olympiad : with config

     

    Other Features:

     

    fixed 53+/- debuff skills

    fixed 76+/- debuff change

    fixed 143+/- skill time

    fixed all class skills

    fixed dupe/phx/enchant hack : tnx ScAreFaCe

    added two anti-dupe from l2jscoria pack

    added flood for enchant

    added flood for life stone/book of giants

    Balance passive Class

    fixed titan with bow

    fixed tyrnat with all weapons

     

    custom Commands:

     

    .menu : Show info server

    .castle : register castle

    .change : change password

    .donate : use peysafe

    .repair : Repair same account character

    .exit : exit from solo zone

     

    autoVoteSystem:

     

    VotesSiteHopZoneUrl

    VotesSiteTopZoneUrl

    VotesSiteL2NetworkUrl

     

    custom Admin Commands:

     

    //setlevel

    //augment

    //addspawn

     

    special npc:

     

    AIO Buffer (with effect)

    pvp/pk manager (auto reload 5 sec)

    RaidBoss manager (with announce dead/alive rb)

    PK/PVP manager (special teleport flag/pk)

    custom gatekeeper grandboss system

     

    Damage Features:

     

    archer vs fighter

     

    1) elf = 1.2k critical

    2) sagi = 1.6k critical

    3) gost = 1.8k critical

     

    archer vs mage

     

    1) elf = 1.3k critical

    2) sagi = 1.5k critical

    3) gost = 1.7k critical

     

    dagger vs fighter

     

    1) elf = 1.8k critical

    2) human = 1.6k critical

    3) dark elf = 2k critical

     

    dagger vs mage

     

    1) elf = 1.7k critical

    2) human = 1.8k critical

    3) dark elf = 2.1k critical

     

    duelist vs fighter

     

    min damage 1.3k critical

    max damage 1.7k critical

     

    duelist vs mage

     

    min damage 1.5k critical

    max damage 1.8k critical

     

    tyrant vs fighter

     

    min damage 1.3k critical

    max damage 1.7k critical

     

    tyrant vs mage

     

    min damage 1.5k critical

    max damage 1.8k critical

     

    mage vs fighter/mage

     

    give 100% 1024 dmg with sur+volt

    and 2k magic critical

  3. this community is from l2nerosty and here is a smile code from community

    and next time sell your job not another job...

    <html>
    <title>CommunityBoard ~ L2nerosty ~
    <body scroll="no">
    <table border=0 cellpadding=0 cellspacing=0 width=800 height=515 background="L2UI_CT1.SlideShow_DF_Credit_01">
    <tr><td valign="top" align="center">
    	<table border=0 cellpadding=0 cellspacing=0>
    		<tr><td width=0 height=35 background="L2UI_CT1.SlideShow_DF_Credit_01"></td></tr>
    	</table>
    	<br>
    	<table width="630" border="1" bgcolor=404040>
        <tr>
    	<td><center><font color="996633"><br><br>LINEAGE II NEROSTY<br><br></font></center></td>
    </tr>
    </table>
    
  4. gia sas exo afto edo to npc ston server mou kai den doulebi prospa8isa na to ftiakso

    alla mou leei in game "You don't have a clan." alaksa ligo ton kodika kai den mou perni

    to item. Ebala pano mou to item me count 1 kai bugare to npc dld mporousa na kano tin

    clan level up i na paro point i na paro skill xoris na exo ta aparetita item pou 8elei. Telos

    panton an mporei kapios as me boi8isi efxaristo poli

     

    edo einai o kodikas xoris piragma

    (ton kodika ton brika edo sto maxcheaters)

    /*
     * 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 <http://www.gnu.org/licenses/>.
     */
    package net.sf.l2j.gameserver.model.actor.instance;
    
    import net.sf.l2j.gameserver.datatables.SkillTable;
    import net.sf.l2j.gameserver.model.L2Skill;
    import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
    import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
    import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate;
    
    /**
     * @author Devlin
     *
     */
    public class L2ClanManagerInstance extends L2NpcInstance
    {
           public L2ClanManagerInstance(int objectId, L2NpcTemplate template)
           {
                   super(objectId, template);
           }
          
        @Override
        public void showChatWindow(L2PcInstance player, int val)
        {
            player.sendPacket(ActionFailed.STATIC_PACKET);
            String filename = "data/html/mods/clanManager.htm";
            NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
            html.setFile(filename);
            html.replace("%objectId%", String.valueOf(getObjectId()));
            player.sendPacket(html);
        }
          
           public int itemId = 9800;
           public int itemCountLevelUp = 15;
           public int itemCountReputationPoints = 15;
           public int itemCountClanSkills = 20;
           public int clanLevel = 8;
           public int clanReputationScore = 1000;
          
           public int[] clanSkills = { 370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391 };
          
           @Override
           public void onBypassFeedback(L2PcInstance player, String command)
           {
                   if (command.equals("clanLevelUp"))
                   {
                           if (player.getClan() == null)
                           {
                                   player.sendMessage("You don't have a clan.");
                                   return;
                           }
                          
                           if (!player.isClanLeader())
                           {
                                   player.sendMessage("You aren't the leader of your clan.");
                                   return;
                           }
                          
                           if (player.getInventory().getItemByItemId(itemId).getCount() > itemCountLevelUp)
                           {
                                   player.sendMessage("You don't have enough items.");
                                   return;
                           }
                          
                           player.getClan().changeLevel(player.getClan().getLevel() + clanLevel);
                           player.getClan().broadcastClanStatus();
                           player.getInventory().destroyItemByItemId("Init.", itemId, itemCountLevelUp, player, player);
                           player.sendMessage("Your clan's level has been changed to "+player.getClan().getLevel());
                   }
                  
                   else if (command.equals("clanReputationPoints"))
                   {
                           if (player.getClan() == null)
                           {
                                   player.sendMessage("You don't have a clan.");
                                   return;
                           }
                          
                           if (!player.isClanLeader())
                           {
                                   player.sendMessage("You aren't the leader of your clan.");
                                   return;
                           }
                          
                           if (player.getInventory().getItemByItemId(itemId).getCount() > itemCountReputationPoints)
                           {
                                   player.sendMessage("You don't have enough items.");
                                   return;
                           }
                          
                           player.getClan().addReputationScore(clanReputationScore);
                           player.getClan().broadcastClanStatus();
                           player.getInventory().destroyItemByItemId("Init.", itemId, itemCountReputationPoints, player, player);
                           player.sendMessage("Your clan's reputation score has been changed to "+player.getClan().getReputationScore());
                   }
                  
                   else if (command.equals("clanSkills"))
                   {
                           if (player.getClan() == null)
                           {
                                   player.sendMessage("You don't have a clan.");
                                   return;
                           }
                          
                           if (!player.isClanLeader())
                           {
                                   player.sendMessage("You aren't the leader of your clan.");
                                   return;
                           }
                          
                           if (player.getInventory().getItemByItemId(itemId).getCount() > itemCountClanSkills)
                           {
                                   player.sendMessage("You don't have enough items.");
                                   return;
                           }
                          
                           for (int s : clanSkills)
                           {
                                   L2Skill clanSkill = SkillTable.getInstance().getInfo(s, SkillTable.getInstance().getMaxLevel(s));
                                   player.getClan().addNewSkill(clanSkill);
                                   player.getClan().broadcastClanStatus();
                                   player.getInventory().destroyItemByItemId("Init.", itemId, itemCountClanSkills, player, player);
                                   player.sendMessage("Your clan has learned all clan skills.");
                           }
                   }
           }
    }
    
  5. [GR] sorry alla den ksero kala aglika kai giafto 8a ta grapso sta elinika.

    Exo ftiaksi ena npc na sindeete me to communityboard kai na anigi to main top

    doulebi mia xara den exo kanena problima alla otan alazo tab p.x. apo to top pao sto favorite

    kliso to para8iro tou community kai to anikso pali den me paei sto arxiko alla me paei sto favorite

     

    telos panton ego 8elo na ftiakso 2/3 npc oste na anigoun katef8ian tin buffer apo to community

    kai to main kai mporei na xrisimopieiso kai GM Shop.. an o kodikas einai arketa megalos prosfero

    kai poso gia to code. efxaristo!

  6. kalispera se olous

    aftos einai enas kodikas sto l2jfrozen alla exo bali merika code parapano gia na douleboune

    sto community board oste na min xriazete na pigeni kapios stin poli gia na agorasi kati

    alla distixos den doulebi to multisell den ksero ti einai epsaksa 5 meres na do ti simbeni

    kai gt den doulebi alla den ta katafera oso kai na alaksa ton kodika.. sto html pigenei kanonika

    kai sta alla para8ira doulebi kanonika alla otan balo na agoraso den doulebi

    dld gia na pas se ena alo html einai aftos o codikas bypass -h custom_doShop Chat 0

    kai doulebi an balo afto bypass -h custom_doShop multisell 55370

    mou anigi to para8iro dialego to item pou 8elo kai ekei den to pernei kolaei

    stin consola den bgazei errors. an mporei kapios kai exei tin kalosini na me boi8isi

    na telioso afto 8a anebaso ena oreo community gia l2jfrozen low rate kala protimisi

     

    efxaristo!!

     

    edo einai o kodikas pou exo kai ta simia me kokino einai afta pou exo addari extra

    -------------------------------------------------------------------------------------------------------------------------------------------------

    /*
    * 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.powerpak.gmshop;

    import com.l2jfrozen.Config;
    import com.l2jfrozen.gameserver.cache.HtmCache;
    import com.l2jfrozen.gameserver.communitybbs.Manager.BaseBBSManager;
    import com.l2jfrozen.gameserver.controllers.GameTimeController;
    import com.l2jfrozen.gameserver.handler.IBBSHandler;
    import com.l2jfrozen.gameserver.handler.ICustomByPassHandler;
    import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler;
    import com.l2jfrozen.gameserver.model.L2Character;
    import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance;
    import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
    import com.l2jfrozen.gameserver.model.entity.event.CTF;
    import com.l2jfrozen.gameserver.model.entity.event.DM;
    import com.l2jfrozen.gameserver.model.entity.event.TvT;
    import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad;
    import com.l2jfrozen.gameserver.model.multisell.L2Multisell;
    import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
    import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
    import com.l2jfrozen.gameserver.powerpak.PowerPakConfig;
    import com.l2jfrozen.gameserver.taskmanager.AttackStanceTaskManager;
    import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
    import com.l2jfrozen.gameserver.util.Broadcast;

    /**
    * @author L2JFrozen
    */
    public class GMShop implements IVoicedCommandHandler, ICustomByPassHandler, IBBSHandler
    {

        @Override
        public String[] getVoicedCommandList()
        {
            
            return new String[] {PowerPakConfig.GMSHOP_COMMAND};
        }

        private boolean checkAllowed(L2PcInstance activeChar)
        {
            String msg = null;
            if(activeChar.isSitting())
                msg = "GMShop is not available when you sit";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("ALL"))
                msg = "GMShop is not available in this area";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("CURSED") && activeChar.isCursedWeaponEquiped())
                msg = "GMShop is not available with the cursed sword";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("ATTACK") && AttackStanceTaskManager.getInstance().getAttackStanceTask(activeChar))
                msg = "GMShop is not available during the battle";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("DUNGEON") && activeChar.isIn7sDungeon())
                msg = "GMShop is not available in the catacombs and necropolis";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("RB") && activeChar.isInsideZone(L2Character.ZONE_NOSUMMONFRIEND))
                    msg = "GMShop is not available in this area";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("PVP") && activeChar.isInsideZone(L2Character.ZONE_PVP))
                msg = "GMShop is not available in this area";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("PEACE") && activeChar.isInsideZone(L2Character.ZONE_PEACE))
                msg = "GMShop is not available in this area";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("SIEGE") && activeChar.isInsideZone(L2Character.ZONE_SIEGE))
                msg = "GMShop is not available in this area";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("OLYMPIAD") && (activeChar.isInOlympiadMode() ||
                    activeChar.isInsideZone(L2Character.ZONE_OLY) || Olympiad.getInstance().isRegistered(activeChar) ||
                    Olympiad.getInstance().isRegisteredInComp(activeChar)))
                msg = "GMShop is not available at Olympiad";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("EVENT") &&
                    (activeChar._inEvent))
                msg = "GMShop is not available at the opening event";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("TVT") &&
                    activeChar._inEventTvT && TvT.is_started() )
                msg = "GMShop is not available in TVT";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("CTF") &&
                    activeChar._inEventCTF && CTF.is_started() )
                msg = "GMShop is not available in CTF";
            else if(PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("DM") &&
                    activeChar._inEventDM && DM.is_started() )
                msg = "GMShop is not available in DM";
            
            if(msg!=null)
                activeChar.sendMessage(msg);

            return msg==null;
        }

        @Override
        public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params)
        {
            if(activeChar==null)
                return false;
            if(!checkAllowed(activeChar))
                return false;
            
             if(command.compareTo(PowerPakConfig.GMSHOP_COMMAND)==0)
                {
                    NpcHtmlMessage htm = new NpcHtmlMessage(activeChar.getLastQuestNpcObject());
                    String text = HtmCache.getInstance().getHtm("data/html/gmshop/gmshop.htm");
                    htm.setHtml(text);
                    activeChar.sendPacket(htm);
                }
                
                return false;
            }


            @Override
            public String[] getByPassCommands()
            {
                // TODO Auto-generated method stub
                return new String [] {"doShop" };
            }

        
        @Override
        public void handleCommand(String command, L2PcInstance player, String parameters)
        {
            if(player==null)
                return;
             if(parameters ==null || parameters.length()==0)
                 return;
             if(!checkAllowed(player))
                 return;
             
             if(!PowerPakConfig.GMSHOP_USEBBS && !PowerPakConfig.GMSHOP_USECOMMAND){
                
                L2NpcInstance gmshopnpc = null;
                
                if(player.getTarget()!=null)
                    if(player.getTarget() instanceof L2NpcInstance)
                    {
                        gmshopnpc = (L2NpcInstance)player.getTarget();
                        if(gmshopnpc.getTemplate().getNpcId()!=PowerPakConfig.GMSHOP_NPC)
                            gmshopnpc=null;
                    }
                
                //Possible fix to Buffer - 1
                if (gmshopnpc == null)
                    return;

                //Possible fix to Buffer - 2
                if (!player.isInsideRadius(gmshopnpc, L2NpcInstance.INTERACTION_DISTANCE, false, false))
                    return;
                
            }//else (voice and bbs)

             if(parameters.startsWith("multisell"))
             {
                 try
                 {
                     L2Multisell.getInstance().SeparateAndSend(Integer.parseInt(parameters.substring(9).trim()), player, false, 0);
                 }
                 catch(Exception e)
                 {
                     if(Config.ENABLE_ALL_EXCEPTIONS)
                        e.printStackTrace();
                     
                     player.sendMessage("This list does not exist");
                 }
             }
             
         String htm = "gmshop";    
         if(parameters.startsWith("Chat"))
        {
            htm = htm + "-" + parameters.substring(parameters.indexOf(" ") + 1).trim();
        }

        if(htm.contains("-0"))
            htm = "gmshop";
        String text = HtmCache.getInstance().getHtm("data/html/gmshop/" + htm + ".htm");

        if(command.startsWith("bbs"))
        {
            text = text.replace("-h custom_do", "bbs_bbs");
            BaseBBSManager.separateAndSend(text, player);
        }
        else
            player.sendPacket(new NpcHtmlMessage(5,text));
        return;
        
    }


    @Override
    public String[] getBBSCommands()
    {
        return new String [] {"bbsShop" };
    }


    }

  7. Fat guy , show us your skills only bla blablablalblabla .i. go eat it and shut up  or i report your fucking fat face!

    GR: από το να σχολιαζεις την δουλειά μου γιατί δεν μαθαίνεις καλύτερα εσύ από photoshop και αν δεν ξέρεις καλύτερα να μην σχολιάζεις και την ικόνες δεν της αδεγραψα όταν φτιάχνεις ένα site απλά αυτοσχεδιαζής και βάζεις της ιδέες που σου αρέσουνε. γιαυτό καλύτερα να μην κρήνης αν δεν μπορείς να καταλάβεις μια πως είναι μια φωτογραφία έτοιμη και μια copy..

    sorry i don't know good english and i speak greek.

×
×
  • 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