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)
Hi players ! Meet our project Lineage 2 Hiro Classic ! A low rate classic pvp oriented with many features.
No pay to win, RB/AoE, group clan pvp castle etc ...
Dynamic rates, RB Xp 4x and soon massive update with auto farm !
Join now !
https://www.lineage2hiro.com/
Can't wait to see you online !
🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server?
This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!
💼 What is it?
A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.
Photo Library: https://imgur.com/a/zLlUQbW
✅ Main Features:
🔹 Fixed-Price Listings Only:
Players list items at a set price. No bidding, no delays—just fast, clean trades.
🔹 Multi-Currency Support:
Works with Adena, event coins, custom currencies—fully configurable.
🔹 Dynamic Interface:
Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination.
🔹 Sell While Offline:
Post items and receive payments even if you're not online—true passive trading.
🔹 Safety First:
Full validation: no equipped/augmented/restricted items unless allowed.
Prevents scams, mispricing, and listing errors.
🔹 Expiration Timer (Optional):
Set listing time limits. Expired items go to warehouse/mail automatically.
🔹 Spam & Duplication Protection:
Prevents multiple listings of identical items and unnecessary database load.
🔹 Performance Optimized:
Clean, indexed SQL structure. No lag or bloating even with thousands of listings.
⚙️ Plug & Play
Clean Java code (compatible with aCis & derivatives).
Easy setup with full instructions and sample configurations.
Includes SQL, HTML files, and all Java classes – fully working out of the box.
💰 Pricing & Contact
📦 50 euro - One-time purchase with full support for setup & basic customization.
💬 Contact me here via PM or on Discord: @Luminous
🔐 Serious buyers only – source is clean, secure, and tested on live servers.
Give your server the next-level economy it deserves.
No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX!
Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
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