L2J Chronicle 4
Posted: Thu Sep 09, 2010 2:32 am
Looking for a complete list of quests for c4, if someone has come across one, please link, or upload.
thank you
thank you

importing quests: 10: Into The World
importing quests: 19: Go To The Pastureland
No, __init__.py has the text at the last line, same as C4 quests.jurchiks wrote:maybe the c5 scripts don't log the "importing" text?
Code: Select all
QUEST.addStartNpc(7008)CREATED.addTalkId(7008)STARTED.addTalkId(7008)
Code: Select all
QUEST.addStartNpc(Cadmon)QUEST.addTalkId(Cadmon)QUEST.addTalkId(Leon)
Code: Select all
svn diff^ http://svn.l2jdp.com/branches/C4_Datapack/datapack_development/data/jscript/quests/101_SwordOfSolidarityQuest/__init__.py^ http://svn.l2jdp.com/branches/C5_Datapack/data/jscript/quests/101_SwordOfSolidarityQuest/__init__.py
Code: Select all
#made by Emperorcimport sysfrom net.sf.l2j.gameserver.model.quest import Statefrom net.sf.l2j.gameserver.model.quest import QuestStatefrom net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "11_SecretMeetingWithKetraOrcs" #NPCsCadmon = 8296Leon = 7040Wahkan = 8371 #ItemBox = 7231 class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) : htmltext = event if event == "8296-03.htm" : if st.getPlayer().getLevel() >= 74 : st.set("cond","1") htmltext = "8296-03.htm" st.setState(STARTED) st.playSound("ItemSound.quest_accept") else : htmltext = "8296-02.htm" st.exitQuest(1) elif event == "7040-02.htm" : st.set("cond","2") htmltext = "7040-02.htm" st.giveItems(Box,1) elif event == "8371-02.htm" : htmltext = "8371-02.htm" st.takeItems(Box,-1) st.addExpAndSp(22787,0) #Despite what stratics may say, this is the correct reward for this quest. st.set("cond","0") st.set("onlyone","1") st.setState(COMPLETED) st.playSound("ItemSound.quest_finish") return htmltext def onTalk (Self,npc,st): npcId = npc.getNpcId() htmltext = "<html><head><body>I have nothing to say to you.</body></html>" cond = st.getInt("cond") onlyone = st.getInt("onlyone") if st.getState() == CREATED : st.set("cond","0") st.set("onlyone","0") if onlyone == 0 : if npcId == Cadmon : if cond == 0 : htmltext = "8296-01.htm" elif cond == 1 : htmltext = "8296-04.htm" if npcId == Leon : if cond == 1 : htmltext = "7040-01.htm" elif cond == 2 : htmltext = "7040-03.htm" elif npcId == Wahkan and cond == 2 : htmltext = "8371-01.htm" return htmltext QUEST = Quest(11, qn, "Secret Meeting With Ketra Orcs")CREATED = State('Start', QUEST)STARTED = State('Started', QUEST)COMPLETED = State('Completed',QUEST) QUEST.setInitialState(CREATED)QUEST.addStartNpc(Cadmon) CREATED.addTalkId(Cadmon) STARTED.addTalkId(Cadmon)STARTED.addTalkId(Leon)STARTED.addTalkId(Wahkan) print "importing quests: 11: Secret Meeting With Ketra Orcs"