Jump to content

remigas

Members
  • Posts

    133
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by remigas

  1. Hello, i have an streange idea maybe some of you can help me, im using acis pack  for c6 and i want to make that people who are using teleport will dissapear slowly not instant. Maybe someone know what code and where need to add to java to have this effect?

    thanks a lot for those who help me solve this 🙂
     

    hope so understand what i mean 

  2. il fixed bogs all good, but now have problem with them and other items like example. Crowns, if i try put them in clan wh, i need to add them one by one idk why, if i try put them together after i press ok they stays in inventor. will attach pics.

     

    this how i see items in inventor

     

    eb31f5630cfa653e6231880d0bc4ad5294.jpg

     

    This how i see them in WH

     

    b3a413072333ad5d78ba83d6948696f2239.jpg

     

    and after i try press ok they dont go in wh, stays in inventor, 

     

    My Question, how to make them separate in WH also?

    Crown code : 
        <item id="9212" type="EtcItem" name="Red Crown">
            <!-- Noblesse Manager -->
            <set name="material" val="STEEL" />
            <set name="is_tradable" val="true" />
            <set name="is_dropable" val="true" />
            <set name="is_sellable" val="false" />
            <set name="is_depositable" val="true" />
            <set name="is_stackable" val="false" />
        </item>
     

    Bog Code 

     

        <item id="6622" type="EtcItem" name="Secret Book of Giants">
            <set name="default_action" val="capsule" />
            <set name="material" val="PAPER" />
            <set name="weight" val="100" />
            <set name="is_stackable" val="false" />
            <set name="handler" val="BookofGiants" />
        </item>

     

     

     

     

     

     


     

  3. Hi, can anyone share or sell proper Vote Manager for Acis pack?

    I need auto votes every hour from 10-30 votecoins and additional votecoins for actual vote 🙂 it can be manager or .vote command 🙂

    best will be Hopzone and Topzone 

     

    I try some free managers which i found in forum, but i got many problems with adapt.

     

    thanks 🙂

  4. as i understand i need to remove smth from here, or add some lines, SweeTs can you give me help with it?

     

     

    package net.sf.l2j.gameserver.scripting.scripts.teleports;

    import java.util.List;

    import net.sf.l2j.commons.math.MathUtil;
    import net.sf.l2j.commons.random.Rnd;

    import net.sf.l2j.Config;
    import net.sf.l2j.gameserver.data.DoorTable;
    import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
    import net.sf.l2j.gameserver.instancemanager.ZoneManager;
    import net.sf.l2j.gameserver.model.Location;
    import net.sf.l2j.gameserver.model.actor.Npc;
    import net.sf.l2j.gameserver.model.actor.instance.Player;
    import net.sf.l2j.gameserver.model.zone.type.L2BossZone;
    import net.sf.l2j.gameserver.scripting.Quest;
    import net.sf.l2j.gameserver.scripting.QuestState;
    import net.sf.l2j.gameserver.scripting.ScriptManager;
    import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Antharas;
    import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Baium;
    import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Sailren;
    import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Valakas;

    /**
     * This script leads behavior of multiple bosses teleporters.
     * <ul>
     * <li>13001, Heart of Warding : Teleport into Lair of Antharas</li>
     * <li>29055, Teleportation Cubic : Teleport out of Baium zone</li>
     * <li>31859, Teleportation Cubic : Teleport out of Lair of Antharas</li>
     * <li>31384, Gatekeeper of Fire Dragon : Opening some doors</li>
     * <li>31385, Heart of Volcano : Teleport into Lair of Valakas</li>
     * <li>31540, Watcher of Valakas Klein : Teleport into Hall of Flames</li>
     * <li>31686, Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano</li>
     * <li>31687, Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano</li>
     * <li>31759, Teleportation Cubic : Teleport out of Lair of Valakas</li>
     * <li>31862, Angelic Vortex : Baium Teleport (3 different HTMs according of situation)</li>
     * <li>32107, Teleportation Cubic : Teleport out of Sailren Nest</li>
     * <li>32109, Shilen's Stone Statue : Teleport to Sailren Nest</li>
     * </ul>
     * @author Plim, original python script by Emperorc
     */
    public class GrandBossTeleporters extends Quest
    {
        private static final String qn = "GrandBossTeleporters";
        
        private static final Location BAIUM_IN = new Location(113100, 14500, 10077);
        private static final Location[] BAIUM_OUT =
        {
            new Location(108784, 16000, -4928),
            new Location(113824, 10448, -5164),
            new Location(115488, 22096, -5168)
        };
        
        private static final Location SAILREN_IN = new Location(27333, -6835, -1970);
        private static final Location[] SAILREN_OUT =
        {
            new Location(10610, -24035, -3676),
            new Location(10703, -24041, -3673),
            new Location(10769, -24107, -3672)
        };
        
        private static int _valakasPlayersCount = 0;
        
        public GrandBossTeleporters()
        {
            super(-1, "teleports");
            
            addFirstTalkId(29055, 31862);
            addStartNpc(13001, 29055, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32107, 32109);
            addTalkId(13001, 29055, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32107, 32109);
        }
        
        @Override
        public String onAdvEvent(String event, Npc npc, Player player)
        {
            String htmltext = "";
            QuestState st = player.getQuestState(qn);
            if (st == null)
                st = newQuestState(player);
            
            st.setState(STATE_STARTED);
            
            if (event.equalsIgnoreCase("baium"))
            {
                // Player is mounted on a wyvern, cancel it.
                if (player.isFlying())
                    htmltext = "31862-05.htm";
                // Player hasn't blooded fabric, cancel it.
                else if (!st.hasQuestItems(4295))
                    htmltext = "31862-03.htm";
                // All is ok, take the item and teleport the player inside.
                else
                {
                    st.takeItems(4295, 1);
                    
                    // allow entry for the player for the next 30 secs.
                    ZoneManager.getInstance().getZoneById(110002, L2BossZone.class).allowPlayerEntry(player, 30);
                    player.teleToLocation(BAIUM_IN, 0);
                }
            }
            else if (event.equalsIgnoreCase("baium_story"))
                htmltext = "31862-02.htm";
            else if (event.equalsIgnoreCase("baium_exit"))
                player.teleToLocation(Rnd.get(BAIUM_OUT), 100);
            else if (event.equalsIgnoreCase("31540"))
            {
                if (st.hasQuestItems(7267))
                {
                    st.takeItems(7267, 1);
                    player.teleToLocation(183813, -115157, -3303, 0);
                    st.set("allowEnter", "1");
                }
                else
                    htmltext = "31540-06.htm";
            }
            return htmltext;
        }
        
        @Override
        public String onFirstTalk(Npc npc, Player player)
        {
            String htmltext = "";
            QuestState st = player.getQuestState(qn);
            if (st == null)
                st = newQuestState(player);
            
            st.setState(STATE_STARTED);
            
            switch (npc.getNpcId())
            {
                case 29055:
                    htmltext = "29055-01.htm";
                    break;
                
                case 31862:
                    final int status = GrandBossManager.getInstance().getBossStatus(29020);
                    if (status == Baium.AWAKE)
                        htmltext = "31862-01.htm";
                    else if (status == Baium.DEAD)
                        htmltext = "31862-04.htm";
                    else
                        htmltext = "31862-00.htm";
                    break;
            }
            
            return htmltext;
        }
        
        @Override
        public String onTalk(Npc npc, Player player)
        {
            String htmltext = "";
            QuestState st = player.getQuestState(getName());
            if (st == null)
                return null;
            
            st.setState(STATE_STARTED);
            
            int status;
            switch (npc.getNpcId())
            {
                case 13001:
                    status = GrandBossManager.getInstance().getBossStatus(Antharas.ANTHARAS);
                    if (status == Antharas.FIGHTING)
                        htmltext = "13001-02.htm";
                    else if (status == Antharas.DEAD)
                        htmltext = "13001-01.htm";
                    else if (status == Antharas.DORMANT || status == Antharas.WAITING)
                    {
                        if (st.hasQuestItems(3865))
                        {
                            st.takeItems(3865, 1);
                            ZoneManager.getInstance().getZoneById(110001, L2BossZone.class).allowPlayerEntry(player, 30);
                            
                            player.teleToLocation(175300 + Rnd.get(-350, 350), 115180 + Rnd.get(-1000, 1000), -7709, 0);
                            
                            if (status == Antharas.DORMANT)
                            {
                                GrandBossManager.getInstance().setBossStatus(Antharas.ANTHARAS, Antharas.WAITING);
                                ScriptManager.getInstance().getQuest("Antharas").startQuestTimer("beginning", Config.WAIT_TIME_ANTHARAS, null, null, false);
                            }
                        }
                        else
                            htmltext = "13001-03.htm";
                    }
                    break;
                
                case 31859:
                    player.teleToLocation(79800 + Rnd.get(600), 151200 + Rnd.get(1100), -3534, 0);
                    break;
                
                case 31385:
                    status = GrandBossManager.getInstance().getBossStatus(Valakas.VALAKAS);
                    if (status == 0 || status == 1)
                    {
                        if (_valakasPlayersCount >= 200)
                            htmltext = "31385-03.htm";
                        else if (st.getInt("allowEnter") == 1)
                        {
                            st.unset("allowEnter");
                            ZoneManager.getInstance().getZoneById(110010, L2BossZone.class).allowPlayerEntry(player, 30);
                            
                            player.teleToLocation(204328, -111874, 70, 300);
                            
                            _valakasPlayersCount++;
                            
                            if (status == Valakas.DORMANT)
                            {
                                GrandBossManager.getInstance().setBossStatus(Valakas.VALAKAS, Valakas.WAITING);
                                ScriptManager.getInstance().getQuest("Valakas").startQuestTimer("beginning", Config.WAIT_TIME_VALAKAS, null, null, false);
                            }
                        }
                        else
                            htmltext = "31385-04.htm";
                    }
                    else if (status == 2)
                        htmltext = "31385-02.htm";
                    else
                        htmltext = "31385-01.htm";
                    break;
                
                case 31384:
                    DoorTable.getInstance().getDoor(24210004).openMe();
                    break;
                
                case 31686:
                    DoorTable.getInstance().getDoor(24210006).openMe();
                    break;
                
                case 31687:
                    DoorTable.getInstance().getDoor(24210005).openMe();
                    break;
                
                case 31540:
                    if (_valakasPlayersCount < 50)
                        htmltext = "31540-01.htm";
                    else if (_valakasPlayersCount < 100)
                        htmltext = "31540-02.htm";
                    else if (_valakasPlayersCount < 150)
                        htmltext = "31540-03.htm";
                    else if (_valakasPlayersCount < 200)
                        htmltext = "31540-04.htm";
                    else
                        htmltext = "31540-05.htm";
                    break;
                
                case 31759:
                    player.teleToLocation(150037, -57720, -2976, 250);
                    break;
                
                case 32107:
                    player.teleToLocation(Rnd.get(SAILREN_OUT), 100);
                    break;
                
                case 32109:
                    if (!player.isInParty())
                        htmltext = "32109-03.htm";
                    else if (!player.getParty().isLeader(player))
                        htmltext = "32109-01.htm";
                    else
                    {
                        if (st.hasQuestItems(8784))
                        {
                            status = GrandBossManager.getInstance().getBossStatus(Sailren.SAILREN);
                            if (status == Sailren.DORMANT)
                            {
                                final List<Player> party = player.getParty().getMembers();
                                
                                // Check players conditions.
                                for (Player member : party)
                                {
                                    if (member.getLevel() < 70)
                                        return "32109-06.htm";
                                    
                                    if (!MathUtil.checkIfInRange(1000, player, member, true))
                                        return "32109-07.htm";
                                }
                                
                                // Take item from party leader.
                                st.takeItems(8784, 1);
                                
                                final L2BossZone nest = ZoneManager.getInstance().getZoneById(110015, L2BossZone.class);
                                
                                // Teleport players.
                                for (Player member : party)
                                {
                                    if (nest != null)
                                    {
                                        nest.allowPlayerEntry(member, 30);
                                        member.teleToLocation(SAILREN_IN, 100);
                                    }
                                }
                                GrandBossManager.getInstance().setBossStatus(Sailren.SAILREN, Sailren.FIGHTING);
                                ScriptManager.getInstance().getQuest("Sailren").startQuestTimer("beginning", 60000, null, null, false);
                            }
                            else if (status == Sailren.DEAD)
                                htmltext = "32109-04.htm";
                            else
                                htmltext = "32109-05.htm";
                        }
                        else
                            htmltext = "32109-02.htm";
                    }
                    break;
            }
            
            return htmltext;
        }
    }

  5. !!! L2WyvernWars!!!

    Brand new Lineage 2 private server with lot's of Modifications.

    We are already open!!!

    Website http://l2wyvernwars.net/

    Facebook https://www.facebook.com/l2wyvernwars

     

     

    Rates : 

    XP - 45x

    SP- 45x 

     

    Modifications :


    Custom ClanHalls (Kill RB for ClanHall)

    Castle Seages with Guards

    Auto Event (High Rate Event + more in later game)

    Custom Armors (Apella)

    Custom Weapons (Gold Retail, Halisha LF ect..)

           Custom Juvels (Gold Retail, Naga,Ipos ect..)

     Custom NPC (Gold Retail)

    Custom Raid Bosses (Gold Retail + Added new ones)

     Custom Buffers (AIO+ Scheme)

     Custom Zones ( Elven Fortess, Elven Ruins, GC and many more)

    Custom Remaked Coliseum ( Like Original Gold )

     

    Other Stuff :

    Remaked Geodata

    Remaked and Balanced all skills

    Remaked and Balanced all classes

    And many more...

     

     

  6. Hello, want to buy full php website with mysql connection and included stuff  or smth similar.


    Server Login,

    Stats : pk/pvp/hero/castle/rb

    Acp or cpanel

    Donate system best only paypal,

    website protections 

     

     

    Please pm me with prices i will try respond as soon as possible (best if you type your skype)

     

  7. Hello guys, sorry if i post is wrong section, but i need help with web coding, i upload to my web LIVE RAID MAP, i use ACIS, i make new SQL for raid names so i have names on map, but all Grand Bosses map shows DEAD. Can anyone give me advice how to fix this please. 

    I upload code below : 

     

    Quote

     

    <html>
    <head>
    <body bgcolor="#000000" text="lime" link="#009933" vlink="#009933" padding="0" leftmargin="0">
    <font size="2"> 
    <TITLE>Live Raid Boss Map</TITLE>

    <script>
    <!--
    //enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
    var limit="5:00"

    if (document.images){
    var parselimit=limit.split(":")
    parselimit=parselimit[0]*60+parselimit[1]*1
    }
    function beginrefresh(){
    if (!document.images)
    return
    if (parselimit==1)
    window.location.reload()
    else{ 
    parselimit-=1
    curmin=Math.floor(parselimit/60)
    cursec=parselimit%60
    if (curmin!=0)
    curtime=curmin+" minutes "+cursec+" seconds to automatic refresh!"
    else
    curtime=cursec+" seconds to automatic refresh!"
    window.status=curtime
    setTimeout("beginrefresh()",1000)
    }
    }

    window.onload=beginrefresh
    //-->
    </script>

    </head>
    <?php
    include"connection.php";
    ?>
    <?php
    $query_raidbosses=mysql_query("SELECT boss_id,loc_x,loc_y,loc_z,respawn_time FROM raidboss_spawnlist");
    $query_grandboss=mysql_query("SELECT boss_id,loc_x,loc_y,loc_z,respawn_time FROM grandboss_data");
    $online= mysql_num_rows($query_raidbosses);
    $online2= mysql_num_rows($query_grandboss);
    echo "<div style=position:absolute;top:0px;left:0px><img src=IL.jpg></div>";
    while ($res=mysql_fetch_array($query_raidbosses))
      {
        $id=$res['boss_id'];
        $valx=$res['loc_x'];
        $valy=$res['loc_y'];
        $valz=$res['loc_z'];
        $respawn=$res['respawn_time'];
        $boss_name=mysql_query("SELECT boss_name FROM bossmap WHERE id='$id'");
        $name = mysql_fetch_row( $boss_name );
        $boss_level=mysql_query("SELECT boss_level FROM bossmap WHERE id='$id'");
        $level = mysql_fetch_row( $boss_level );
        
      $x=116+($valx+107823)/200;
      $y=2580+($valy-255420 )/200;
      
    if($respawn == "0")
        echo "<div style=\"position:absolute;top:".$y."px;left:".$x."px\"><img src=3.png title=\"(RaidBoss) $name[0] $level[0]lvl Alive!\"></div><center>";
    else         
        echo "<div style=\"position:absolute;top:".$y."px;left:".$x."px\"><img src=0.png title=\"(RaidBoss) $name[0] $level[0]lvl Dead!\"></div><center>";
        }
    while ($res=mysql_fetch_array($query_grandboss))
      {
        $id=$res['boss_id'];
        $valx=$res['loc_x'];
        $valy=$res['loc_y'];
        $valz=$res['loc_z'];
        $respawn=$res['respawn_time'];
        $boss_name=mysql_query("SELECT boss_name FROM bossmap WHERE id='$id'");
        $name = mysql_fetch_row( $boss_name );
        $boss_level=mysql_query("SELECT boss_level FROM bossmap WHERE id='$id'");
        $level = mysql_fetch_row( $boss_level );
        
      $x=116+($valx+107823)/200;
      $y=2580+($valy-255420 )/200;
      
    if($respawn == "0")
        echo "<div style=\"position:absolute;top:".$y."px;left:".$x."px\"><img src=3.png title=\"(GrandBoss) $name[0] $level[0]lvl Alive!\"></div><center>";
    else         
        echo "<div style=\"position:absolute;top:".$y."px;left:".$x."px\"><img src=0.png title=\"(GrandBoss) $name[0] $level[0]lvl Dead!\"></div><center>";
        }    
    mysql_close();
    ?>

     

     

  8. Hi guys i try to add rb status in website, but when i add all server info i got blank page in website below is the code, maybe i do smth wrong..


     

    //Script de Status Raid boss
    $db['servidor'] = "000.000.000.000";//Nome do servidor 
    $db['usuario_mysql'] = "root";// Usuario do mysql
    $db['senha_mysql'] = "pass";//Senha do mysql
    $db['banco_de_dados'] = "l2jdb";//Nome d banco de dados
    $connect = @mysql_connect($db['servidor'], $db['usuario_mysql'], $db['senha_mysql']);
    @mysql_select_db($db['banco_de_dados'], $connect);

    if(!$connect)
    else
    {
    $raidspawn = mysql_query("SELECT boss_id,respawn_time FROM grandboss_data where boss_id = 25512 or boss_id = 29001 or boss_id = 29006 or boss_id = 29014 or boss_id = 29019 or boss_id = 29020 or boss_id = 29022 or boss_id = 29028 or boss_id = 29045 or boss_id = 29046 or boss_id = 29047 or boss_id = 29065 order by boss_id desc");
    while(list($boss_id,$respawn_time) = mysql_fetch_row($raidspawn))
    {
        $raidboss = mysql_query("SELECT name,level FROM npc WHERE id = $boss_id");
        $text = '<font color="#090">is alive</font>';
        $respawn = 'Spawn';
        if($respawn_time > 0)
        {
            $respawntime = @date('r',($respawn_time / 1000));
            $text = '<font color="#FF0000">is dead</font>';
            $respawn = "Respawn time: $respawntime";
        }
     

  9. Hi, i have few questions

     

    1) how to make lower  chance to mage mcrit, this command is only for damage..  so its dont work

     

    formulas.java          

     

    else if (mcrit)
                damage *= 2;

     

     

    2) How to make bigger chance from hero weapons skills, example :  Infinity Stinger have Silence skill, to mobs its 80% change to ppl is 5% how to increace chance to ppl?

    i tryed no buffs no juvels no armor, still chance around 5%...

    Skill : 

     

        <skill id="3590" levels="1" name="Silence">
          <!-- Infinity Stinger Skill -->
             <set name="target" val="TARGET_ONE" />
              <set name="skillType" val="MUTE" />
              <set name="operateType" val="OP_ACTIVE" />
              <set name="magicLvl" val="80" />
             <set name="power" val="80" />
              <set name="isDebuff" val="true" />
              <set name="lvlDepend" val="1" />
          <for>
               <effect count="1" name="Mute" time="30" val="0" stackOrder="1" stackType="silence"/>  
        </for>
        </skill>

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