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

    • Mate your server used to play with full of bots, from where you find that revenue? 
    • IAM one of customers of this project. Have anti cheat, have user panel everything is working. Blocking adrenaline trashy plans without any problems.  So just GL for all lin2 project. I get support every time I need it. 
    • Convert package formats from Old to New in one click Create new packages of any format Lineage2Ver121 encryption (included in the package) Safe editing: work in a copy, full undo history (Ctrl+Z / Ctrl+Shift+Z), single "Save" button System integration Open .utx / .ugx files with a single click in Explorer (associations are registered during installation) One example: open a file and add its tab to an existing window Multilingual interface (EN, RU, UK, ES, PT, EL, KO, VI, ZH) — the language is picked up from the system Supported formats Packages: UTX, UGX Textures: RGBA8, DXT1, DXT3, DXT5, G16, P8 Resources: GFX (Scaleform) Requirements Windows. Java is not required—it's included in the build. Installation Run La2Tools-3.0.2.exe—the installer will create shortcuts and register related files. Alternatively, use the portable version. https://la2.tools/files/La2Tools_3.0.3_setup.exe   https://la2.tools/files/La2Tools_3.0.3_portable.zip  - Portable version  
    • WHEN SAYING “YES” IS A MISTAKE Not every project is worth taking on, even if the client is ready to pay. Sometimes refusing isn’t about losing money — it’s about protecting your reputation and time. Over the years, we’ve learned to quickly spot the cases that are almost guaranteed to turn into problems. Here are the most common situations where we turn down work: ▪ The client wants it “like everyone else’s,” but with lots of custom changes and on a minimal budget ▪ There are no proper source materials, yet the deadlines are already burning and everything is needed “yesterday” ▪ Constant changes to requirements after the work has already started ▪ A task with a very low chance of success, but very high expectations ▪ The client isn’t willing to discuss the process and sees us as just an executor - A good result almost always starts when both sides have an honest understanding of the risks and real possibilities of the project. If you’re currently discussing a project and unsure whether to move forward — write to us. We’ll honestly and directly tell you whether it’s worth taking on or if it’s better to look for another solution. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #drawing #photoshop #refuse #cases
    • The price reflects the value of the project, not just the source files. This is a complete, production-ready server that has already proven itself over the course of a full year, with a loyal player base and no major issues requiring ongoing development. To put it into perspective, the asking price is approximately what the server generated in one year. You're not buying an unfinished pack that still needs months of work, you're buying a polished, fully tested, revenue-proven project that's ready to go online. Considering that, I believe €35000 is a fair price.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..