Skip to content

Featured Replies

Hi everyone ,mby somebody can tell my ,where i can edit clan lvl price ,to chance it from 650k to 650adena in java?

 

clan 1.jpg

For aCis html locates

aCis_datapack / data / html / scripts / village_master / Clan / 9000-03.htm

 

The handler locates in

gameserver/model/actor/instance/VillageMaster.java

 

Section

		else if (actualCommand.equalsIgnoreCase("increase_clan_level"))
		{
			if (player.getClan().levelUpClan(player))
				player.broadcastPacket(new MagicSkillUse(player, player, 5103, 1, 0, 0));
		}

 

  • Author

Rootware i do not understand, what i need change in valagemaster. Java ur marked section place? 

 

Edited by bras1las

On 4/14/2019 at 3:46 AM, bras1las said:

Rootware i do not understand, what i need change in valagemaster. Java ur marked section place? 

 

net.sf.l2j.gameserver.model.pledge.Clan#levelUpClan(Player player)

  • Author

Thx StinkyMadness ;) (Y)

 

  • Author

Look mate mby i do something wrong? case 0: // upgrade to 1
                if (player.getSp() >= 30000 && player.reduceAdena("ClanLvl", 150, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 30000);
                    increaseClanLevel = true;
                }
                break;
            
            case 1: // upgrade to 2
                if (player.getSp() >= 150000 && player.reduceAdena("ClanLvl", 250, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 150000);
                    increaseClanLevel = true;
                }
                break;
            
            case 2:// upgrade to 3
                if (player.getSp() >= 500000 && player.destroyItemByItemId("ClanLvl", 57, 1000, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 500000);
                    increaseClanLevel = true;
                }
                break;
            
            case 3: // upgrade to 4
                if (player.getSp() >= 1400000 && player.destroyItemByItemId("ClanLvl", 57, 1500, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 1400000);
                    increaseClanLevel = true;

  • Author

I change like that ,but in game price same ...

  • Author

Ops my bad ,all good ,thx again. ;)

  • SweeTs locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.