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)
While I respect every other admin who launches a server, including L2Gold, I can proudly say that we’ve built a community where each season brings significant changes and numerous updates. We had anywhere from a few hundred players to nearly one thousand unique players (season 2).
The server has already been rebuilt three times on different client protocols, each time introducing something fresh to the table. L2Gold Essence against most other servers; you’ll notice the difference immediately: no lag, no odd movement bugs, the best geodata (which we’ve continually improved), high FPS during mass PvP, and overall smooth gameplay. Just a single in-game click makes the contrast clear compared to servers that still feel stuck in 2007 in terms of innovation. There were times when things went very wrong due to major code reworks, refactors, and the lack of proper testing, but everything was eventually resolved.
Not only that, but we’ve also attracted CPs and clans that had never played L2Gold before. That’s one of the main reasons why we reached a higher player count than any gold-style server when compared to the original one back in the days.
100~ videos playlist:
Gmail account pricing has been updated - just 12 cents each, with discounts available for bulk purchases.
Our new Telegram channel for news, discounts, and updates - https://t.me/exfanet
New Numbers Available for Rent!
We’ve added USA Unlimited 30-day and Unlimited 7-day numbers.
📩 With these numbers, you can receive an unlimited number of messages from various services convenient and reliable!
Website link — https://vibe-sms.net/
Our Telegram channel — https://t.me/vibe_sms
sell adena
l2rebon signature x1 - 1kk = 1 dollars
l2reborn x10 - 500kk = 4 dollars
E-Global x Lu4 - 1kk = 2 dollars
BOHPTS - x20-x500 TOP PRICE
DISCORD - GODDARDSHOP
TELEGRAM - MMOPROMO
Also on sale are Epic jewelry, Clothes at a very good price
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