Jump to content
  • 0

[HELP] baium,aq,etc...respawn time


Question

Posted

hi all!

i need help,i need to change baium,aq,antharas,valakas,etc...respawn time. how can i do this?

in my db i see only this

21678786.jpg

 

maybe from gameserver or...pfff i don't know,if anyone know plix answer me...i realy need it. thx

7 answers to this question

Recommended Posts

  • 0
Posted

bullshit all epic raid spawn time handled in a script!(acripts/ai/individual)

you need to edit the script(the sql edit dont work because the script handle the boss)

  • 0
Posted

yeah here script for baium,but what i need to change? :/

 

# version 0.1

# by Fulminus

# L2J_JP EDIT SANDMAN

 

import sys

from net.sf.l2j.gameserver.model.quest import State

from net.sf.l2j.gameserver.model.quest import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

from net.sf.l2j.gameserver.instancemanager import BaiumManager

 

# Boss: Baium

class baium (JQuest):

 

  def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

  def onTalk (self,npc,player):

    st = player.getQuestState("baium")

    if not st : return "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html>"

    npcId = npc.getNpcId()

    if npcId == 29025 :

      if st.getInt("ok"):

        if not npc.isBusy():

          npc.onBypassFeedback(player,"wake_baium")

          npc.setBusy(True)

          npc.setBusyMessage("Attending another player's request")

      else:

        st.exitQuest(1)

        return "Conditions are not right to wake up Baium"

    elif npcId == 31862 :

      if st.getQuestItemsCount(4295) : # bloody fabric

        st.takeItems(4295,1)

        player.teleToLocation(113100,14500,10077)

        BaiumManager.getInstance().addPlayerToLair(player)

        st.set("ok","1")

      else :

        return '<html><body>Angelic Vortex:<br>You do not have enough items</body></html>'

    return

 

  def onKill(self,npc,player,isPet):

    st = player.getQuestState("baium")

    BaiumManager.getInstance().setCubeSpawn()

    if not st: return

    st.exitQuest(1)

 

# Quest class and state definition

QUEST      = baium(-1, "baium", "ai")

CREATED    = State('Start', QUEST)

 

# Quest initialization

QUEST.setInitialState(CREATED)

# Quest NPC starter initialization

QUEST.addStartNpc(29025)

QUEST.addStartNpc(31862)

QUEST.addTalkId(29025)

QUEST.addTalkId(31862)

QUEST.addKillId(29020)

  • 0
Posted

hmmm....some one know normal respawn for this bosses: baium,queen ant,atharas,valakas,zaken,core,orfen ?

P.S. for ant queen i can change in spawnlist (lul) but for anather .....-.-

  • 0
Posted

no, u gota change it in scripts/ai/individual/baium.java

 

Look for

        // "lock" baium for 5 days and 1 to 8 hours [i.e. 432,000,000 +  1*3,600,000 + random-less-than(8*3,600,000) millisecs]
        long respawnTime = ((121 + Rnd.get(8)) * 3600000);

 

around line 350+, edit that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...