Dear friends!
There will be one more event on our server.
Any clan that has these specs will get a reward.
Minimum Clan members: 15.
Each clan must consist of unique players.
Members of your clan must successfully attain level 76+.
Website: https://l2metawars.com
Discord: https://discord.gg/23XVfPZB6Z
DISCORD :
utchiha_market
telegram
https://t.me/utchiha_market
SELLIX STORE :
https://utchiha-market.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihamkt
Hello,
When I try to run L2Server i get the error "m_QueueItems is NULL". This only happens inside virtual machine. Tried on host and worked fine.
Does anyone know what's that error?
Ty
Question
DnR
Paidia prospa8isa na ftiaksw ena diko mou custom npc gia na ginesai noblesse amesws.
Omws otan pataw de ginetai tpt....
Mou bgazei mono ayto:You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.
To A------ einai to item,apla de 8elw na to deite :P
# Made by parizakis
import sys
from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from net.sf.l2j.gameserver.datatables import SkillTable
from net.sf.l2j import L2DatabaseFactory
from net.sf.l2j.gameserver.model.actor.appearance import PcAppearance
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.actor.appearance import PcAppearance
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
qn = "60000_NoblesseMaster"
NPC=[60000]
A------= -----
QuestId = 60000
QuestName = "NoblesseMaster"
QuestDesc = "custom"
InitialHtml = "60000-0.htm"
print "INFO Loaded: Possessor Of Noblesse"
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
def onEvent(self,event,st):
htmltext = event
if st.getPlayer().getLevel() < 80 :
htmltext = "60000-2.htm"
elif st.getPlayer().isNoble() == 1 :
htmltext = "60000-3.htm"
elif st.getPlayer().getLevel() < 80 :
htmltext = "60000-2.htm"
else:
st.getPlayer().setTarget(st.getPlayer())
if event == "2":
st.getPlayer().setNoble(True)
st.giveItems(A-----,1)
st.playSound("ItemSound.quest_finish")
st.setState(State.COMPLETED)
return "60000-1.htm"
st.exitQuest(1)
if htmltext != event:
st.setState(State.COMPLETED)
st.exitQuest(1)
return htmltext
def onTalk (self,npc,player):
st = player.getQuestState(qn)
htmltext = "<html><body>You don't meet this NPC's minimum requirements.</body></html>"
st.setState(State.STARTED)
return InitialHtml
QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)
Link to comment
Share on other sites
5 answers to this question
Recommended Posts