is check for pvps , but i dont know how to add the second,
i m unskiled for java and i m searching for hours to find solution but i cant ...
as u see in code have check for pvp count,
>=20
i need also 1 check about time to able this quest to be done every 24hours
can u some write me check for time & pvp ?
def onTalk (self,npc,player):
htmltext = "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html>"
st = player.getQuestState(qn)
if not st : return htmltext
npcId = npc.getNpcId()
id = st.getState()
Pvp = player.getPvpKills()
cond = st.getInt("cond")
if id == CREATED :
if Pvp>=20 :
htmltext = "30078-01.htm"
else:
htmltext = "<html><body>This quest can only be taken by characters PvP count is more than 200 and higher!</body></html>"
st.exitQuest(1)
Powerful Features for Digital Excellence
Experience the difference with our carefully crafted digital products designed to elevate your workflow.
Hey everyone 👋
If you're looking to build your own MMORPG site, forum, or even a fully customized web solution, I've got something you'll want to check out.
I'm teaming up with Modello, a top-tier platform offering professionally designed templates and managed hosting. Whether you're starting a gaming community, a forum hub, or need a sleek custom-built site, Modello has you covered.
🌟 Grab 30% OFF all products and plans using promo code BARRYMANE
👉 Valid on everything—from templates to hosted solutions
Here are two standout options:
🎮 MMORPG Site Template – Eldoria
Build an immersive game showcase or fan portal.
➡️ Preview Eldoria
💬 Feature-Packed Forum Hub
Start your community with ease—modern design, robust features.
➡️ Preview Forum Hub
🛠️ Modello also offers custom websites tailored to your needs, with complete design, hosting, and support included.
Let me know if you need help choosing the right template or want tips on getting started. Happy to share insights and support your project!
Question
GsL
Hello there!!
I try to edit one quest and i need 2 check ,
1 check is working fine
is check for pvps , but i dont know how to add the second,
i m unskiled for java and i m searching for hours to find solution but i cant ...
as u see in code have check for pvp count,
i need also 1 check about time to able this quest to be done every 24hours
can u some write me check for time & pvp ?
26 answers to this question
Recommended Posts