Jump to content
  • 0

Question

5 answers to this question

Recommended Posts

  • 0
Posted

but how i can't make like in photo...

#
# Created by DraX on 2005.08.12
# minor fixes by DrLecter 2005.09.10

import sys

from com.l2jfrozen.gameserver.model.quest        import State
from com.l2jfrozen.gameserver.model.quest        import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest

qn = "9000_clan"
#print "9000. Clan"
NPC=[30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,30175,30176,30187,30191,30195,30288,30289,30290,30297,30358,30373,30462,30474,30498,30499,30500,30503,30504,30505,30508,30511,30512,30513,30520,30525,30565,30594,30595,30676,30677,30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,30854,30857,30862,30865,30894,30897,30900,30905,30910,30913,31269,31272,31276,31279,31285,31288,31314,31317,31321,31324,31326,31328,31331,31334,31755,31958,31961,31965,31968,31974,31977,31996,32092,32093,32094,32095,32096,32097,32098]

class Quest (JQuest) :

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

def onAdvEvent (self,event,npc, player) :
   htmltext = event
   if event == "9000-03.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-03-no.htm"
   elif event == "9000-04.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-04-no.htm"
   elif event == "9000-05.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-05-no.htm"
   elif event == "9000-07.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-06a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-12a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-12b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-13a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-13b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-14a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-14b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-15.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   return htmltext

def onTalk (Self,npc,player):
   st = player.getQuestState(qn)
   npcId = npc.getNpcId()
   if npcId in NPC:
     st.set("cond","0")
     st.setState(STARTED)
     return "9000-01.htm"

QUEST       = Quest(9000,qn,"village_master")
CREATED     = State('Start',     QUEST)
STARTED     = State('Started',   QUEST)
COMPLETED   = State('Completed', QUEST)

QUEST.setInitialState(CREATED)


for item in NPC:
### Quest NPC starter initialization
   QUEST.addStartNpc(item)
### Quest NPC initialization
   QUEST.addTalkId(item)

  • 0
Posted

Index: com/l2jfrozen/gameserver/model/L2Clan.java
===================================================================
--- com/l2jfrozen/gameserver/model/L2Clan.java	(revision 948)
+++ com/l2jfrozen/gameserver/model/L2Clan.java	(working copy)
@@ -2514,13 +2514,13 @@
			case 0:
			{
				// upgrade to 1
-				if(player.getSp() >= 30000 && player.getAdena() >= 650000)
+				if(player.getSp() >= 20000 && player.getAdena() >= 650000)
				{
					if(player.reduceAdena("ClanLvl", 650000, player.getTarget(), true))
					{
-						player.setSp(player.getSp() - 30000);
+						player.setSp(player.getSp() - 20000);
						SystemMessage sp = new SystemMessage(SystemMessageId.SP_DECREASED_S1);
-						sp.addNumber(30000);
+						sp.addNumber(20000);
						player.sendPacket(sp);
						sp = null;
						increaseClanLevel = true;
@@ -2622,11 +2622,11 @@
				break;
			}
			case 5:
-				if(getReputationScore() >= 10000 && getMembersCount() >= 30)
+				if(getReputationScore() >= 2500 && getMembersCount() >= 10)
				{
-					setReputationScore(getReputationScore() - 10000, true);
+					setReputationScore(getReputationScore() - 2500, true);
					SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
-					cr.addNumber(10000);
+					cr.addNumber(25000);
					player.sendPacket(cr);
					cr = null;

@@ -2635,11 +2635,11 @@
				break;

			case 6:
-				if(getReputationScore() >= 20000 && getMembersCount() >= 80)
+				if(getReputationScore() >= 5000 && getMembersCount() >= 12)
				{
-					setReputationScore(getReputationScore() - 20000, true);
+					setReputationScore(getReputationScore() - 5000, true);
					SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
-					cr.addNumber(20000);
+					cr.addNumber(5000);
					player.sendPacket(cr);
					cr = null;

@@ -2647,11 +2647,11 @@
				}
				break;
			case 7:
-				if(getReputationScore() >= 40000 && getMembersCount() >= 120)
+				if(getReputationScore() >= 10000 && getMembersCount() >= 15)
				{
-					setReputationScore(getReputationScore() - 40000, true);
+					setReputationScore(getReputationScore() - 10000, true);
					SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
-					cr.addNumber(40000);
+					cr.addNumber(10000);
					player.sendPacket(cr);
					cr = null;

 

DP

Index: village_master/9000_clan/9000-03.htm
===================================================================
--- village_master/9000_clan/9000-03.htm	(revision 946)
+++ village_master/9000_clan/9000-03.htm	(working copy)
@@ -1,22 +1,14 @@
<html><body>
Clan level can be raised. To do so requires the following:<br>
-Level 1: 20,000 SP, 650,000 Adena<br>
-Level 2: 100,000 SP, 2,500,000 Adena<br>
-Level 3: 350,000 SP, Evidence of Blood<br>
-Level 4: 1,000,000 SP, Evidence of Determination<br>
-Level 5: 2,500,000 SP, Evidence of Aspiration<br>
-Level 6: 10,000 Clan Fame points, more than 30 clan members<br>
-Level 7: 20,000 Clan Fame points, more than 80 clan members<br>
-Level 8: 40,000 Clan Fame points, more than 120 clan members<br>
-Level 9: 40,000 Clan Fame points, more than 120 clan members, 150 Blood Oaths<br>
-Level 10: 40,000 Clan Fame points, more than 140 clan members, 5 Blood Alliances<br>
-Level 11: 75,000 Clan Fame points, more than 170 clan members, Territory Owner<br>
-You can get Evidence of Blood when you catch Bloody Queen in Dragon Valley.<br>
-To obtain Evidence of Determination, meet Sir Christopher Rodemai in Giran Castle Town. <br>
-To obtain Evidence of Aspiration, see Sir Gustav Athebaldt in the Town of Oren. <br>
-To obtain the Blood Oath, you must capture and hold a fortress and demonstrate protection of your territory.<br>
-To get the Determination of Blood, you must capture and hold a castle and demonstrate protection of your territory and care for your subjects.<br>
-<a action="bypass -h Quest 9000_clan 9000-16.htm">See how to obtain Clan Fame points.</a><br>
+Level 1: 30,000 SP, 650,000 Adena<br>
+Level 2: 150,000 SP, 2,500,000 Adena<br>
+Level 3: 500,000 SP, Evidence of Blood<br>
+Level 4: 1,400,000 SP, Evidence of Determination<br>
+Level 5: 3,500,000 SP, Evidence of Aspiration<br>
+Level 6: 2,500 Clan Reputation, more than 10 clan members<br>
+Level 7: 5,000 Clan Reputation, more than 12 clan members<br>
+Level 8: 10,000 Clan Reputation, more than 15 clan members<br>
+<a action="bypass -h Quest 9000_clan 9000-16.htm">Gaining Clan Reputation.</a><br>
<button value="Level Up" action="bypass -h npc_%objectId%_increase_clan_level" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
<button value="Cancel" action="bypass -h Quest 9000_clan 9000-01.htm" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</body></html>
\ No newline at end of file

 

But you should disable lvl 9&10&11 gaining that i don't remember

Guest
This topic is now closed to further replies.


  • Posts

    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • +8? Isnt +5 max per one stat?
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock