Jump to content

alexisp

Members
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by alexisp

  1. ok koth event running done.. i have a problems o a question after 20 min event mountain defender mountain.. i talk to npc and him say me dont have nothing for me? for wat i have a correct html o i want configure py? to change the reward } self.Teams = [] self.Event = [] self.True = True self.False = False self.Group = [] self.EventManager1 = [] self.EventManager = [] self.Registration = [] self.numberPlayers = [] self.One = 1 self.Team1 = [] self.Team2 = [] self.numberOfTeams = [] self.Trigger = 1 self.Count = 2 self.Add = 1 self.Full = False self.TopNpc = [] and other question how to make a ramdom event
  2. OMG!! no ppl help me here?
  3. the farm zone GK not is custom u need edit html and teleport for u zone u want
  4. hi. i make a custom quest and i have this problems this is my code # # Quest generated by L2J Jython Quest generator V 0.43 Beta # print "importing quests: GoldDragon" 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 # variable definition part MITHRIL_ALLOY = 1890 GHOST_OF_A_GATEKEEPER = 21799 MITHRIL_ALLOY_DROP = 1000000 GOLD_DRAGON = 3481 EVERT = 30633 # Count Code part def getCount_1890(st) : return st.getQuestItemsCount(MITHRIL_ALLOY) # Complete code part def completed(st) : st.setState(COMPLETED) st.clearQuestDrops() st.takeItems(MITHRIL_ALLOY,-1) st.giveItems(GOLD_DRAGON,250) st.exitQuest(False) return def check(st) : if getCount_1890(st) >= 1000 : completed(st) return "<HTML><BODY>You''ve got all items, here is your reward</BODY></HTML>" return "<HTML><BODY>You don''t have enough item, continue your quest</BODY></HTML>" # Condition check for the Quest def st_check(st) : if st.getPlayer().getLevel() < 1 : st.exitQuest(True) return "<HTML><BODY>Sorry, your level is too low for this quest</BODY></HTML>" return "Start.htm" # Main Quest Code class Quest (JQuest): def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st): id = st.getState() if id == CREATED : if event == "agree" : st.setState(STARTED) st.set("cnt","0") return "<HTML><BODY>Quest initialized</BODY></HTML>" return st_check(st) elif id == COMPLETED: pass elif id == STARTED : return check(st) return def onTalk (self,npcid,st): if npcid == EVERT : if st.getQuestItemsCount(MITHRIL_ALLOY) >= 1000 : st.takeItems(MITHRIL_ALLOY,-1) st.giveItems(GOLD_DRAGON,250) return # Quest class and state definition QUEST = Quest(100000,"GoldDragon", "GoldDragon") CREATED = State('Start', QUEST) STARTED = State('Started', QUEST) COMPLETED = State('Completed', QUEST) # Quest initialization QUEST.setInitialState(CREATED) # Quest NPC starter initialization QUEST.addStartNpc(30633) # Quest Item Drop initialization STARTED.addQuestDrop(GHOST_OF_A_GATEKEEPER,MITHRIL_ALLOY,MITHRIL_ALLOY_DROP) # Quest mob initialization STARTED.addKillId(GHOST_OF_A_GATEKEEPER) # Quest NPC initialization STARTED.addTalkId(30633) # # L2J Jython Quest generator V 0.43 Beta created by LightofLife # and this is my error TypeError: com.l2jserver.gameserver.model.quest.State(): expected 0 args; got 2 any can help me fix it? i used l2jserver epilogue
  5. hi.. i put all sql and make new npc from koth and event not start for wat? http://www.maxcheaters.com/forum/index.php?topic=38204.30 is .py or .java firs code? and in wat folder put? my english bad can help me please? i used l2jserver 7440
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..