Jump to content
  • 0

Jude's Request--missing


Question

Posted

Does anyone know where I could get the script for the "Jude's Request" quest for L2j.

If the l2j site wouldn't be closed I would have it already.. :-\

The only thing i know that its the quest nr. 690_JudesRequest.

 

My l2j version:3933

My l2jdb version :7079

7 answers to this question

Recommended Posts

  • 0
Posted

Does anyone know where I could get the script for the "Jude's Request" quest for L2j.

If the l2j site wouldn't be closed I would have it already.. :-\

The only thing i know that its the quest nr. 690_JudesRequest.

 

My l2j version:3933

My l2jdb version :7079

 

if i understand you pack missing 690_JudesRequest. and you want it yes?

 

http://trac6.assembla.com/l2jrt/browser/DataPack/data/scripts/quests/690_JudesRequest?rev=336

  • 0
Posted

i fixed the imports and now I get another error:((

 

Snapshot:judeerror.jpg

 

BTW this is my _init_.py

import sys
from com.l2jserver import Config
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

qn = "690_JudesRequest"

# Npc
JUDE = 32356

# Quest Item
EVIL_WEAPON = 10327

# Mobs
MOBS = [22398,22399]

DROP_CHANCE = 60

class Quest (JQuest) :

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

def onEvent (self,event,st) :
   htmltext = event
   if event == "32356-02.htm" :
     st.set("cond","1")
     st.playSound("ItemSound.quest_accept")
   elif event == "32356-06.htm" :
     st.playSound("ItemSound.quest_finish")
     st.exitQuest(1)
   return htmltext

def onTalk (self,npc,player) :
   htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>"
   st = player.getQuestState(qn)
   if not st : return htmltext

   id = st.getState()
   cond = st.getInt("cond")
   if player.getLevel() > 78 :
     if state == State.CREATED :
       htmltext = "32356-01.htm"
       st.setState(State.STARTED)
     elif id == State.STARTED and st.getQuestItemsCount(EVIL_WEAPON) > 5 and  st.getQuestItemsCount(EVIL_WEAPON) < 200 :
       htmltext = "32356-03a.htm"
     elif id == State.STARTED and st.getQuestItemsCount(EVIL_WEAPON) >= 200 :
       htmltext = "32356-03.htm"
     elif id == State.STARTED and st.getQuestItemsCount(EVIL_WEAPON) < 5 :
       htmltext = "32356-04.htm"
   else :
     htmltext = "32356-01a.htm"
     st.exitQuest(1)
   return htmltext

def onKill(self,npc,player,isPet):
   st = player.getQuestState(qn)
   if not st : return

   if st.getState() != State.STARTED : return
   npcId = npc.getNpcId()
   if npcId in MOBS:
     if st.getRandom(100) < DROP_CHANCE:
       st.giveItems(EVIL_WEAPON,1)
       st.playSound("ItemSound.quest_itemget")
   return

QUEST       = Quest(690,qn,"Jude's Request")

QUEST.addStartNpc(JUDE)

QUEST.addTalkId(JUDE)

for mobId in MOBS:
  QUEST.addKillId(mobId)

Guest
This topic is now closed to further replies.


×
×
  • Create New...