Jump to content

paulibvro

Members
  • Posts

    8
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About paulibvro

Profile Information

  • Gender
    Not Telling

paulibvro's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. I didn't find the hellbound quests i was looking for:-Hellbound Caravan (Start from npc:Hude) -Suspicious Request (Start from npc :Matras) Oh and here are the errors i recieve from Hude:
  2. Where can I get the Hellbound Quests and Instances for l2j epilogue?? the quest that you recieve from Hude but it doesn't work right:(( import sys from java.lang import System from com.l2jserver import L2DatabaseFactory from com.l2jserver.gameserver.instancemanager import HellboundManager 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 HudeNpc = 32298 class Hude (JQuest): def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) def onFirstTalk (self, npc, player): id = npc.getNpcId() st = player.getQuestState("Hude") if not st: st = self.newQuestState(player) hellboundLevel = HellboundManager.getInstance().getLevel() if hellboundLevel >= 4 and st.getQuestItemsCount(9850) >= 1 and st.getQuestItemsCount(9851) < 1: return "32298.htm" if hellboundLevel < 7 and hellboundLevel > 3 and st.getQuestItemsCount(9851) >= 1: return "32298-1.htm" if hellboundLevel >= 7 and st.getQuestItemsCount(9851) >= 1: return "32298-2.htm" if hellboundLevel >= 7 and st.getQuestItemsCount(9852) >= 1: return "32298-3.htm" return "<html><body>Hude:<br>I've never seen them before, but they're dressed in really awful clothes.</body></html>" def onAdvEvent (self, event, npc, player): if player: st = player.getQuestState("Hude") if event == "scertif": if st.getQuestItemsCount(10012) < 60 or st.getQuestItemsCount(9676) < 30: return "<html><body>Hude:<br>I do not see them! Do not try to deceive me!</body></html>" st.takeItems(9676, 30) st.takeItems(10012, 60) st.takeItems(9850, 1) st.giveItems(9851, 1) return "<html><body>Hude:<br>Remarkably! You pleasantly surprised me.</body></html>" if event == "pcertif": if st.getQuestItemsCount(9681) < 56 or st.getQuestItemsCount(9682) < 14: return "<html><body>Hude:<br>I know, whatever you would begin to cheat me, but in behalf of our business relations I think that was better, if you give me proofs...</body></html>" st.takeItems(9681, 56) st.takeItems(9682, 14) st.takeItems(9851, 1) st.giveItems(9852, 1) st.giveItems(9994, 1) return "<html><body>Hude:<br>Fine! With such high-quality materials, as these, I will be able well to begin to work. Take this map which was found by a Caravan's near Hellbound. I hope, it will be useful for you.</body></html>" QUEST = Hude(-1, "Hude", "custom") QUEST.addStartNpc(HudeNpc) QUEST.addTalkId(HudeNpc) QUEST.addFirstTalkId(HudeNpc) It gives me an error when I talk to Hude. Can anyone help me pls.
  3. The first link was the right one. Thanks a lot, it worked perfectly.
  4. i fixed the imports and now I get another error:(( Snapshot: 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)
  5. It doesn't work it says error on line -1 row -1;((
  6. 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. I mentioned in my previous post that the "StoreRecipeShopList" in my Characters.properties file is set to true. Is there another config i should check?
  8. I have a L2J server running and I don't know why my offline crafting/trading isn't working. Any advice would be appreciated. P.S: I do have the "StoreRecipeShopList=True" in my Characters.properties file.
×
×
  • 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