Jump to content

Recommended Posts

Posted (edited)

So its a Minicode to make some balance in clans, so you wont have all the server in one clan ;p

 

so configs.java

 

find these lines

	public static boolean ALLOW_HERO_SUBSKILL;
	public static int HERO_COUNT;

and below add these

	public static int MAX_CLAN_MEMBERS;
	public static int MAX_CLAN_MEMBERS_ROYALS;
	public static int MAX_CLAN_MEMBERS_KNIGHTS;

find these

			ALLOW_HERO_SUBSKILL = Boolean.parseBoolean(L2JFrozenSettings.getProperty("CustomHeroSubSkill", "False"));
			HERO_COUNT = Integer.parseInt(L2JFrozenSettings.getProperty("HeroCount", "1"));

below add 

			MAX_CLAN_MEMBERS = Integer.parseInt(L2JFrozenSettings.getProperty("MaxMembersMain", "80"));
			MAX_CLAN_MEMBERS_ROYALS = Integer.parseInt(L2JFrozenSettings.getProperty("MaxMembersForRoyals", "80"));
			MAX_CLAN_MEMBERS_KNIGHTS = Integer.parseInt(L2JFrozenSettings.getProperty("MaxMembersForKnights", "80"));

now in L2Clan.java

	public int getMaxNrOfMembers(int pledgetype)
	{
		int limit = 0;

		switch(pledgetype)
		{
			case 0:
				switch(getLevel())
				{
	-				case 4:
	-					limit = 40;
	-					break;
	-				case 3:
	-					limit = 30;
        -
	-					break;
	-				case 2:
	-					limit = 20;
	-					break;
	-				case 1:
	-					limit = 15;
	-					break;
	-				case 0:
	-					limit = 10;
	-					break;
					default:
	-					limit = 40;
        +                                       limit = Config.MAX_CLAN_MEMBERS;
						break;
				}
				break;
			case -1:
			case 100:
			case 200:
	-			limit = 20;
        +                       limit = Config.MAX_CLAN_MEMBERS_ROYALS;
				break;
			case 1001:
			case 1002:
			case 2001:
			case 2002:
	-			limit = 10;
        +                       limit = Config.MAX_CLAN_MEMBERS_KNIGHTS;
				break;
			default:
				break;
		}

		return limit;
	}

so where MAX_CLAN_MEMBERS = the players amount that can have in the main

MAX_CLAN_MEMBERS_ROYALS = The players amount that can have in royals

MAX_CLAN_MEMBERS_KNIGHTS = The players amount that can have in Knights.

 

config/function/L2Jfrozen.properties

+# Maximum members for a clan
+MaxMembersMain = 10
+MaxMembersForRoyals = 5
+MaxMembersForKnights = 2
Edited by te0x
Posted (edited)

Why post shit like this? Omg... its like i say

Minicode message

activeChar.sendMessage("Hello, " + activeChar.getName());

 

P.S. Now I need share this shit to all community?

Edited by numl0ckas
Posted

Why post shit like this? Omg... its like i say

 

Minicode message

activeChar.sendMessage("Hello, " + activeChar.getName());

 

P.S. Now I need share this shit to all community?

with this sh1t actually you can make a nice balance. also it can help newbies so please stfu :)

Posted

with this sh1t actually you can make a nice balance. also it can help newbies so please stfu :)

Balance ?

Lol dude, so if your server has an amount of 1000 players and more than 60-70 ppl want to be on the same clan what do you do ?

(Don't tell me an ally, cause someone might have disable the ally system in his server.)

Posted

Balance ?

Lol dude, so if your server has an amount of 1000 players and more than 60-70 ppl want to be on the same clan what do you do ?

(Don't tell me an ally, cause someone might have disable the ally system in his server.)

Ye its useless for servers with high community, but in the small server's 70-100 ppl you can actually use it to avoid the "All the server is in your clan, taking all the rb's, pvp zones, its a gm clan etc".

Posted

Ye its useless for servers with high community, but in the small server's 70-100 ppl you can actually use it to avoid the "All the server is in your clan, taking all the rb's, pvp zones, its a gm clan etc".

Well, i would prefer something like 3 big clans fighting each other rather than 10 small.

 

Anyway, thanks for sharing it with us.

Someone may use it.

Posted

Well, i would prefer something like 3 big clans fighting each other rather than 10 small.

well you would prefer it only if you wanted the server to stay on the 100 ppl ;p

anyways :)

  • 1 month later...
Posted

i think is helpfull code but that will not "bug" the (Clan Level Increase) ?

lower in l2clan u have this IncreaseClanLevel with cases getMembersCount  >= x just change it

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • L2 Runestone Interlude C6 · 5x · Open since 10 August 2026 · No wipe, ever l2runestone.com · Discord Most servers die the same way. They sell power, the market dries up, and the people who actually play leave. This one is built not to do that, and everything below is the actual configuration rather than a wishlist.   Rates Experience 5x · Skill points 5x Party experience and SP 6x Drop 5x · Spoil 5x · Quest reward 5x Adena 7x Raid boss, Grand boss and epic jewels: 1x, untouched Special herbs 1x Adena sits above item drop on purpose, so shots stay affordable without flooding the economy. Epics are deliberately not multiplied: the strongest gear in the game should be the hardest to hold.   Enchant Safe to +3 (+4 full body). +1 per scroll, and a failed scroll destroys the item. Scrolls are not sold by any NPC.   Normal Blessed Crystal +4 96% 97% 98% +6 88% 91% 94% +8 80% 85% 90% +10 72% 79% 86% +12 64% 73% 82% +15 52% 64% 76%     Not retail 66% flat. It is gentler than retail early and harsher late, which is a choice, not an accident. Max +15 weapons and armor, +12 jewellery.   What is not here No autofarm. No command, no macro engine, nothing plays for you. Adena auto-loots; items do not. No gear above D grade from NPCs. Starter equipment is sold as it is at retail. Everything from C grade up drops, is crafted, or is traded between players. The dwarf is the heart of the economy, not a side character. Nothing that matters for sale. Power is never purchasable. Convenience and cosmetics are the only things that will ever be. No wipe. Ever. If a bug is found we fix the bug and remove what it produced, instead of resetting the world because that is easier.   Retail where it counts Pure retail class balance. Casts keep a real interrupt window, crowd control never exceeds 90% Olympiad weekly, starting 18:00, six hour competition period Sieges and epic bosses on retail mechanics Buff slots 24 · Subclass to 81 · First and second class change at NPC, third class is earned Offline trade and craft, including in peace zones, restored across restarts   Technical The client is patched by one byte to protocol 748, so a client that has not been through our launcher is refused at the door Full geodata, 163 regions, with pathfinding enabled. No walking through walls, no mobs pulled through geometry Anti-bot with an in-game check, and anti-advertising covering chat, whispers, private store titles and character names InnoDB with binary logging, verified daily backups kept in two places, and a weekly restore test that actually restores   Honest part It opened on 10 August 2026 and it is small. There is no countdown, no launch event, no fake population counter, and nobody is going to hand you gear. If you log in tonight you will find a quiet world. That is the trade: you are early, and everything you build from here stays yours.   Getting in You need a Lineage II Interlude (Chronicle 6) client already on your PC. The launcher downloads and repairs the system folder on its own and verifies every file before the game starts; it touches nothing else and will not patch Gracia or later. Launcher and account: l2runestone.com Discord: discord.gg/NJDeffApmc  
    • Although I don't know how to use it, thank you for sharing
    • Did you try run as extender to any version where Source no needed? Coz not everyone use Mobius 😃
    • Very nice progress. At some point you will need the bots to travel long distances. Geodata and A* path finding on it won't be suitable. They will exhaust budget and memory/cpu. I think the human bot was hitting this ceiling that's why it couldn't find the bridge. aCis has recently made a low granularity geo Pathfinder that can help.  One approach I did successfully and you can do is to replace geodata with 3D nav mesh for bots and use the Detour algorithm for pathfinding. This will give you very cheap long distance path finding. 
  • 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..