Ver código fonte

BETA: Ported '''Seven Signs Series of Doubt''' (192) from Jython to Java, also fixed olympiad quests items.
Patch by: '''Tavo22'''

Adry_85 12 anos atrás
pai
commit
ae5c2a90db
31 arquivos alterados com 308 adições e 139 exclusões
  1. 0 125
      L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/__init__.py
  2. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-01.html
  3. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-02.html
  4. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-03.html
  5. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-01.html
  6. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-02.html
  7. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-03.html
  8. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-04.html
  9. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-01.html
  10. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-02.html
  11. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-03.html
  12. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-04.html
  13. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-05.html
  14. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-00.htm
  15. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-01.htm
  16. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-02.htm
  17. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-03.htm
  18. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-04.html
  19. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-05.html
  20. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-06.html
  21. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-07.html
  22. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-08.html
  23. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-09.html
  24. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-10.html
  25. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-11.html
  26. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-12.html
  27. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-13.html
  28. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/32568-01.html
  29. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/32568-02.html
  30. 231 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/Q192_SevenSignSeriesOfDoubt.java
  31. 63 0
      L2J_DataPack_BETA/dist/game/data/stats/items/17200-17299.xml

+ 0 - 125
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/__init__.py

@@ -1,125 +0,0 @@
-#Created by Bloodshed
-import sys
-
-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
-from com.l2jserver.gameserver.network.serverpackets	import ExStartScenePlayer
-
-qn = "192_SevenSignSeriesOfDoubt"
-
-#NPCs
-CROOP	= 30676
-HECTOR	= 30197
-STAN	= 30200
-CORPSE	= 32568
-HOLLINT	= 30191
-
-#ITEMS
-CROOP_INTRO		= 13813
-JACOB_NECK		= 13814
-CROOP_LETTER	= 13815
-
-class Quest (JQuest) :
-
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [CROOP_INTRO, JACOB_NECK, CROOP_LETTER]
-
-	def onAdvEvent (self,event,npc,player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "30676-03.htm" :
-			st.set("cond","1")
-			st.setState(State.STARTED)
-			st.playSound("ItemSound.quest_accept")
-		elif event.isdigit() :
-			if int(event) == 8 :
-				st.set("cond","2")
-				st.playSound("ItemSound.quest_middle")
-				player.showQuestMovie(int(event))
-				return ""
-		elif event == "30197-03.htm" :
-			st.set("cond","4")
-			st.takeItems(CROOP_INTRO,1)
-			st.playSound("ItemSound.quest_middle")
-		elif event == "30200-04.htm" :
-			st.set("cond","5")
-			st.playSound("ItemSound.quest_middle")
-		elif event == "32568-02.htm" :
-			st.set("cond","6")
-			st.giveItems(JACOB_NECK,1)
-			st.playSound("ItemSound.quest_middle")
-		elif event == "30676-12.htm" :
-			st.set("cond","7")
-			st.takeItems(JACOB_NECK,1)
-			st.giveItems(CROOP_LETTER,1)
-			st.playSound("ItemSound.quest_middle")
-		elif event == "30191-03.htm" :
-			if player.getLevel() < 79 :
-				htmltext = "<html><body>Only characters who are <font color=\"LEVEL\">level 79</font> or higher may complete this quest.</body></html>"
-			else :
-				st.takeItems(CROOP_LETTER,1)
-				st.addExpAndSp(52518015,5817677)
-				st.unset("cond")
-				st.setState(State.COMPLETED)
-				st.exitQuest(False)
-				st.playSound("ItemSound.quest_finish")
-		return htmltext
-
-	def onTalk (self,npc,player) :
-		htmltext = Quest.getNoQuestMsg(player) 
-		st = player.getQuestState(qn) 
-		if not st : return htmltext
-
-		npcId = npc.getNpcId()
-		cond = st.getInt("cond")
-		id = st.getState()
-		if npcId == CROOP :
-			if id == State.CREATED and player.getLevel() >= 79 :
-				htmltext = "30676-01.htm"
-			elif cond == 1 :
-				htmltext = "30676-04.htm"
-			elif cond == 2 :
-				htmltext = "30676-05.htm"
-				st.set("cond","3")
-				st.playSound("ItemSound.quest_middle")
-				st.giveItems(CROOP_INTRO,1)
-			elif cond >= 3 and cond <= 5 :
-				htmltext = "30676-06.htm"
-			elif cond == 6 :
-				htmltext = "30676-07.htm"
-			elif id == State.COMPLETED :
-				htmltext = "30676-13.htm"
-			elif player.getLevel() < 79 :
-				htmltext = "30676-00.htm"
-				st.exitQuest(True)
-		elif npcId == HECTOR :
-			if cond == 3 :
-				htmltext = "30197-01.htm"
-			if cond >= 4 and cond <= 7 :
-				htmltext = "30197-04.htm"
-		elif npcId == STAN :
-			if cond == 4 :
-				htmltext = "30200-01.htm"
-			if cond >= 5 and cond <= 7 :
-				htmltext = "30200-05.htm"
-		elif npcId == CORPSE :
-			if cond == 5 :
-				htmltext = "32568-01.htm"
-		elif npcId == HOLLINT :
-			if cond == 7 :
-				htmltext = "30191-01.htm"
-		return htmltext
-
-QUEST	= Quest(192,qn,"Seven Sign Series of Doubt")
-
-QUEST.addStartNpc(CROOP)
-
-QUEST.addTalkId(CROOP)
-QUEST.addTalkId(HECTOR)
-QUEST.addTalkId(STAN)
-QUEST.addTalkId(CORPSE)
-QUEST.addTalkId(HOLLINT)

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30191-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-01.html

@@ -1,5 +1,5 @@
 <html><body>High Priest Hollint:<br>
 Einhasad's blessings to you, my child. The days are getting shorter, and the nights colder--our God's comforting embrace is more important now than it ever was before.<br>
 What brings you to me today?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30191-02.htm">"Croop has asked me to organize a service for his cousin. Here's his letter."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30191-02.html">"Croop has asked me to organize a service for his cousin. Here's his letter."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30191-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-02.html

@@ -1,5 +1,5 @@
 <html><body>High Priest Hollint:<br>
 Hmm... young Jacob has been killed? This is grave news indeed. Something needs to be done before the spreading fear becomes even more tangible.<br>
 Of course, I'll set about preparing the Temple as per Croop's instructions. There was also a matter of prize reward I believe Croop had me set aside for you?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30191-03.htm">"Yes, thank you."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30191-03.html">"Yes, thank you."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30191-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30191-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30197-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-01.html

@@ -3,5 +3,5 @@ Here about the murderer aren't you?<br>
 Can't blame you--I'm sure there's quite some bounty on his head, but I ain't here to aid the fear mongering that's been going on, no sir.<br>
 Besides, stay within Oren's walls and you'll be safe as houses. What's outside that pulls so many out, anyway? I swear... the folk in these parts have their heads in the clouds. They're all crusade this, save the world that....<br>
 Now, look at me. I'm happy, I'm content. Keep people safe, and sleep sound as a bear in Winter.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30197-02.htm">"This is different. I've this letter for you."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30197-02.html">"This is different. I've this letter for you."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30197-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-02.html

@@ -3,5 +3,5 @@ A letter? Pass it here then....<br>
 (He silently reads the letter.)<br>
 Ah, Croop. Well, this is different then. All right, I'll unstitch these lips, but if word reaches me that you've been fillin' the taverns with this I'll come straight after you.<br>
 The rumors are true enough--there is someone... something out there offing folk. Old Stan even saw it with his own two eyes. Said it moves fast, hides in the shadows. Sneaky thing, he said. Old Stan th...<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30197-03.htm">"So you don't know anything yourself? Where's Stan?"</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30197-03.html">"So you don't know anything yourself? Where's Stan?"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30197-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30197-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30197-04.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30200-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-01.html

@@ -2,5 +2,5 @@
 ARGH!<br>
 What are you playing at? There's something sneaking round the castle, people are going missing, everyone's on edge, and you still think the best idea is to sneak up on old Stan and scare the stuffing out of him?!<br>
 What's wrong with you? And what do you want?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-02.htm">"Hector sent me. I'm here about the thing you saw."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-02.html">"Hector sent me. I'm here about the thing you saw."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30200-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-02.html

@@ -2,5 +2,5 @@
 Ha, did Hector tell you to be that vague, too? He's jumpier than a cat in a thunderstorm these days, looking for things that ain't there, and jamming two coincidences together to make conspiracies.<br>
 Yeah, maybe I saw something, and maybe it was a bit odd. Maybe I felt a pervading sense of evil shortly before seeing whatever it was, and maybe it made an unholy chattering sound as it shot off into the shadows.<br>
 But you know what? Maybe it was nothing. Thought about that?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-03.htm">"Well, no actually. What exactly did you see?"</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-03.html">"Well, no actually. What exactly did you see?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30200-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-03.html

@@ -3,5 +3,5 @@ I was out walking through the <font color="LEVEL">Oren Castle</font> grounds a c
 Anyway, there I was, when it a chill creeps up my spine and everything goes deathly quiet. Suddenly this thing appears in front of me, makes some weird old sound, and... I could feel its eyes looking... looking INTO me.<br>
 Then, quick as a click, it was gone.<br>
 See... told you. It was nothing.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-04.htm">"If you say so. Where was this exactly?"</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30200-04.html">"If you say so. Where was this exactly?"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30200-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-04.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30200-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30200-05.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-03.htm


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-04.html

@@ -1,5 +1,5 @@
 <html><body>Warehouse Chief Croop:<br>
 Thanks! You've agreed to help, so I'll tell you everything I know. But I don't want anyone else to hear this, okay?<br>
 Something strange is going on--I hear rumors of some <font color="LEVEL">suspicious character killing off Dwarven contractors</font>...<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 8">"Okay..."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt showmovie">"Okay..."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-05.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-06.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-07.html

@@ -1,5 +1,5 @@
 <html><body>Warehouse Chief Croop:<br>
 Ach! There you are! I was about ready to send someone off after YOU!<br>
 Well, you've news I assume, and by the looks of it, it's nae good. Well, out with it. Words are no good unless spoken.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-08.htm">"Jacob's dead, Croop. I'm sorry."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-08.html">"Jacob's dead, Croop. I'm sorry."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-08.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-08.html

@@ -2,5 +2,5 @@
 Aye... I thought that'd be the way of things. Poor boy... he wasn't ready to go.<br>
 Ach. You see people slipping off the coil all the time, but still... harder to cope with when it's blood.<br>
 Where's the body then?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-09.htm">"East of Oren Castle. It's in bad shape."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-09.html">"East of Oren Castle. It's in bad shape."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-09.html

@@ -1,5 +1,5 @@
 <html><body>Warehouse Chief Croop:<br>
 Bad shape? What do ye mean? Mutilated?<br>
 Hang on a wee moment now--I never even told you what Jacob looked like! How can you be sure it was him? And how can you be so sure that it was him when, as you put it, the body's in "bad shape"? Eh?<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-10.htm">"Here. This is his right?"</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-10.html">"Here. This is his right?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-10.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-10.html

@@ -2,5 +2,5 @@
 Oh. Aye... aye it is. And this is his blood too, I suppose.<br>
 I bought this for him when he started working for me, you know. Was my way of bringing him closer to the family, but look what happened....<br>
 Ach. I'm not one for softness. I have another job for you to do now, if ye'll take it.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-11.htm">"What's the job?"</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-11.html">"What's the job?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-11.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-11.html

@@ -2,5 +2,5 @@
 I want you to prepare a memorial service for m'cousin. It's a simple enough thing, and <font color="LEVEL">High Priest Hollint</font> will be there to help you out.<br>
 Dwarves need to put into the ground fast, aye? Return their bodies to the soil, give our children's children nutrients for the farming and ore for the smelting.<br>
 So, will ye do it? I'll be busy getting his body back here, and need a hand... if you're offering yours.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-12.htm">"I'd be glad to help."</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 30676-12.html">"I'd be glad to help."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-12.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-12.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/30676-13.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/30676-13.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/32568-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/32568-01.html

@@ -1,5 +1,5 @@
 <html><body>Unidentifiable Body:<br>
 You search the body in an attempt to find out who the person was, but come up empty.<br>
 Hmm, the right hand looks clenched. Maybe there's something in its grip worth noting.<br>
-<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 32568-02.htm">Prise the fingers open.</a>
+<a action="bypass -h Quest 192_SevenSignSeriesOfDoubt 32568-02.html">Prise the fingers open.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/192_SevenSignSeriesOfDoubt/32568-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/32568-02.html


+ 231 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q192_SevenSignSeriesOfDoubt/Q192_SevenSignSeriesOfDoubt.java

@@ -0,0 +1,231 @@
+/*
+ * 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 quests.Q192_SevenSignSeriesOfDoubt;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Seven Signs, Series of Doubt (192).
+ * @author Tavo22
+ */
+public class Q192_SevenSignSeriesOfDoubt extends Quest
+{
+	private static final String qn = "192_SevenSignSeriesOfDoubt";
+	// NPC
+	private static final int CROOP = 30676;
+	private static final int HECTOR = 30197;
+	private static final int STAN = 30200;
+	private static final int CORPSE = 32568;
+	private static final int HOLLINT = 30191;
+	// ITEMS
+	private static final int CROOP_INTRO = 13813;
+	private static final int JACOB_NECK = 13814;
+	private static final int CROOP_LETTER = 13815;
+	
+	public Q192_SevenSignSeriesOfDoubt(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(CROOP);
+		addTalkId(CROOP, HECTOR, STAN, CORPSE, HOLLINT);
+		
+		questItemIds = new int[]
+		{
+			CROOP_INTRO,
+			JACOB_NECK,
+			CROOP_LETTER
+		};
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return getNoQuestMsg(player);
+		}
+		switch (event)
+		{
+			case "30676-03.htm":
+			{
+				st.startQuest();
+				break;
+			}
+			case "showmovie":
+			{
+				st.setCond(2, true);
+				player.showQuestMovie(8);
+				startQuestTimer("teleportback", 32000, npc, player);
+				return "";
+			}
+			case "teleportback":
+			{
+				player.teleToLocation(81654, 54851, -1513);
+				return "";
+			}
+			case "30197-03.html":
+			{
+				if (st.hasQuestItems(CROOP_INTRO))
+				{
+					st.setCond(4, true);
+					st.takeItems(CROOP_INTRO, -1);
+				}
+				break;
+			}
+			case "30200-04.html":
+			{
+				st.setCond(5, true);
+				break;
+			}
+			case "32568-02.html":
+			{
+				st.setCond(6, true);
+				st.giveItems(JACOB_NECK, 1);
+				break;
+			}
+			case "30676-12.html":
+			{
+				if (st.hasQuestItems(JACOB_NECK))
+				{
+					st.setCond(7, true);
+					st.takeItems(JACOB_NECK, -1);
+					st.giveItems(CROOP_LETTER, 1);
+				}
+				break;
+			}
+			case "30191-03.html":
+			{
+				if (player.getLevel() < 79)
+				{
+					return "30676-00.htm";
+				}
+				
+				if (st.hasQuestItems(CROOP_LETTER))
+				{
+					st.takeItems(CROOP_LETTER, -1);
+					st.addExpAndSp(25000000, 2500000);
+					st.exitQuest(false, true);
+				}
+				break;
+			}
+		}
+		return event;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (npc.getNpcId())
+		{
+			case CROOP:
+				switch (st.getState())
+				{
+					case State.CREATED:
+						htmltext = player.getLevel() < 79 ? "30676-00.htm" : "30676-01.htm";
+						break;
+					case State.STARTED:
+						switch (st.getInt("cond"))
+						{
+							case 1:
+								htmltext = "30676-04.html";
+								break;
+							case 2:
+								st.setCond(3, true);
+								htmltext = "30676-05.html";
+								st.giveItems(CROOP_INTRO, 1);
+								break;
+							case 3:
+							case 4:
+							case 5:
+								htmltext = "30676-06.html";
+								break;
+							case 6:
+								htmltext = "30676-07.html";
+								break;
+						}
+						break;
+					case State.COMPLETED:
+						htmltext = "30676-13.html";
+						break;
+				}
+				break;
+			case HECTOR:
+			{
+				switch (st.getInt("cond"))
+				{
+					case 3:
+						htmltext = "30197-01.html";
+						break;
+					case 4:
+					case 5:
+					case 6:
+					case 7:
+						htmltext = "30197-04.html";
+						break;
+				}
+				break;
+			}
+			case STAN:
+			{
+				switch (st.getInt("cond"))
+				{
+					case 4:
+						htmltext = "30200-01.html";
+						break;
+					case 5:
+					case 6:
+					case 7:
+						htmltext = "30200-05.html";
+						break;
+				}
+				break;
+			}
+			case CORPSE:
+			{
+				if (st.isCond(5))
+				{
+					htmltext = "32568-01.html";
+				}
+				break;
+			}
+			case HOLLINT:
+			{
+				if (st.isCond(7))
+				{
+					htmltext = "30191-01.html";
+				}
+				break;
+			}
+		}
+		return htmltext;
+	}
+	
+	public static void main(String args[])
+	{
+		new Q192_SevenSignSeriesOfDoubt(192, qn, "Seven Sign Series Of Doubt");
+	}
+}

+ 63 - 0
L2J_DataPack_BETA/dist/game/data/stats/items/17200-17299.xml

@@ -279,46 +279,109 @@
 		<!-- Description: Document that proves participation in the Olympiad Match 3. Take this document to the Olympiad Operator to receive the minimum reward. -->
 		<set name="icon" val="icon.mercenary_certification_i00" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17239" type="EtcItem" name="Olympiad Match 5 Participation Certificate">
 		<!-- Description: Document that proves participation in the Olympiad Match 5. Take this document to the Olympiad Operator to receive an incomplete reward. -->
 		<set name="icon" val="icon.mercenary_certification_i01" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17240" type="EtcItem" name="Olympiad Match 10 Participation Certificate">
 		<!-- Description: Document that proves participation in the Olympiad Match 10. Take this document to the Olympiad Operator to receive a whole reward. -->
 		<set name="icon" val="icon.mercenary_certification_i02" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17241" type="EtcItem" name="Olympiad Team Event Certificate">
 		<!-- Description: Certificate that proves participation in the Olympiad team event 5 matches. Take the certificate to the Olympiad Operator. If you take it with the class-free and class battle certificates, you can expect a greater reward. -->
 		<set name="icon" val="icon.scroll_of_verification_i01" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17242" type="EtcItem" name="Olympiad Class-Free Battle Certificate">
 		<!-- Description: Certificate that proves participation in the Olympiad class-free battle 5 matches. Take the certificate to the Olympiad Operator. If you take it with the team event and class battle certificates, you can expect a greater reward. -->
 		<set name="icon" val="icon.scroll_of_verification_i03" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17243" type="EtcItem" name="Olympiad Class Battle Certificate">
 		<!-- Description: Certificate that proves participation in the Olympiad class battle 5 matches. Take the certificate to the Olympiad Operator. If you take it with the team event and class-free battle certificates, you can expect a greater reward. -->
 		<set name="icon" val="icon.scroll_of_verification_i00" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17244" type="EtcItem" name="Olympiad 2 Consecutive Wins Confirmation">
 		<!-- Description: Document needed to confirm 2 consecutive wins in the Olympiad. Take this confirmation to the Olympiad Operator to receive the minimum reward. -->
 		<set name="icon" val="icon.etc_charm_of_courage_i01" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17245" type="EtcItem" name="Olympiad 5 Consecutive Wins Confirmation">
 		<!-- Description: Document needed to confirm 5 consecutive wins in the Olympiad. Take this document to the Olympiad Operator to receive an incomplete reward. -->
 		<set name="icon" val="icon.etc_charm_of_courage_i02" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17246" type="EtcItem" name="Olympiad 10 Consecutive Wins Confirmation">
 		<!-- Description: Document needed to confirm 10 consecutive wins in the Olympiad. Take this document to the Olympiad Operator to receive a whole reward. -->
 		<set name="icon" val="icon.etc_charm_of_courage_i03" />
 		<set name="material" val="paper" />
+		<set name="is_tradable" val="false" />
+		<set name="is_dropable" val="false" />
+		<set name="is_sellable" val="false" />
+		<set name="is_depositable" val="false" />
+		<set name="is_freightable" val="false" />
+		<set name="is_stackable" val="true" />
+		<set name="is_questitem" val="true" />
 	</item>
 	<item id="17247" type="EtcItem" name="Party Vitality Herb">
 		<!-- Description: Herb that brings Vitality to stage 4 for 10 minutes upon use. Effect works for all party members. -->