Jump to content
  • 0

Castle Siege and augment


Question

9 answers to this question

Recommended Posts

  • 0
Posted
13 minutes ago, SweeTs said:

Keep only giran on castle table.

Find the sql / xml file with augmentation data and remove all chance augments. 

 

ERROR Error while loading zones.
java.lang.NullPointerException
        at com.l2jfrozen.gameserver.model.zone.type.L2CastleZone.setParameter(L2
CastleZone.java:62)
        at com.l2jfrozen.gameserver.datatables.xml.ZoneData.load(ZoneData.java:5
00)
        at com.l2jfrozen.gameserver.datatables.xml.ZoneData.<init>(ZoneData.java
:107)
        at com.l2jfrozen.gameserver.datatables.xml.ZoneData.getInstance(ZoneData
.java:92)
        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:342)

 

62 line in L2CastleZone.java

 

	public void setParameter(final String name, final String value)
	{
		switch (name)
		{
			case "castleId":
				_castleId = Integer.parseInt(value);
				
				// Register self to the correct castle
				_castle = CastleManager.getInstance().getCastleById(_castleId);
				This is 62 Line : _castle.setZone(this);
				break;

 

  • 0
Posted

Maybe there is something else in frozen to do. That frozen. Add a null check if (_castle != null) before the 62th line and check. castleId may be null there as well? Dunno how it's parsed, basically you should not get there. 

  • 0
Posted
3 minutes ago, SweeTs said:

Maybe there is something else in frozen to do. That frozen. Add a null check if (_castle != null) before the 62th line and check. 

 

A lot of error in gs :D after if (_castle != null) before the 62th line

  • 0
Posted

Can't say how frozen works, but if you removed the castle info from the table, it should be enough. Else it has some more info (already stored) which it reads and throw npe as you removed it. You should see how, where it's parsed.

Eventually use clean database and try again removing the castle table. If you again get npe, God's know why, you have to see how it feed the data. 

  • 0
Posted
6 minutes ago, SweeTs said:

Can't say how frozen works, but if you removed the castle info from the table, it should be enough. Else it has some more info (already stored) which it reads and throw npe as you removed it. You should see how, where it's parsed.

Eventually use clean database and try again removing the castle table. If you again get npe, God's know why, you have to see how it feed the data. 

 

Anyway thanks for your time. I will try to do something. ;/

  • 0
Posted
19 minutes ago, SweeTs said:

Can't say how frozen works, but if you removed the castle info from the table, it should be enough. Else it has some more info (already stored) which it reads and throw npe as you removed it. You should see how, where it's parsed.

Eventually use clean database and try again removing the castle table. If you again get npe, God's know why, you have to see how it feed the data. 

 

Maybe is another way to turn off others castles?

  • -1
Posted
3 minutes ago, l2fire said:

Hello, how to make only Giran castle siege and how to remove Chance Augment skills leave just passive/active?

1. Iš navicat 'castle' table ištrink visass pilis tik palik savo norimą.

2. iš gameserver/data/stats/skills/ xml failų ištrink nereikalingus augmentus pagal id.

Guest
This topic is now closed to further replies.


  • Posts

    • Add some share links, would be nice for people that still looking for them!
    • Please do not insult anybody and respect other works. Do not have hateful behaviour, last warning.
    • You cant add cloaks on interlude packs, is possible to find ones but will never work correct on character.
    • Hello everyone, want to sell some of my custom features in my server, someone might be interested. Collections: (50euro) - you need ingredients (min/max) - can you choose enchant level  - reward : custom skills Enemy Inventory and stats checker: (25euro) - you can check what is your enemy wearing - how much is it enchanted - you can see his detailed info about stats - pvp/pk/rebirth/pve dmg etc anything can be added Gamble (random craft item) - (50 euro)  - by using command .gamble - windown will pop up  - name of the item / chances / % of your points / maximum you can have shows  - you can buy instantly points / or item can be made for that  - each pack can have different prices/items  - refresh give another 5 random items. Custom Enchant System: (20euro)  - target all grades - one scroll can be used for any grade  - increaseEnchantby / decreaseEnchantBy Custom Rotated Farm Zone: (50euro)  - players will be automaticly flagged when enter / unflagged when leave  - you can make any zone like that  - you can add any restriction you want or dont.  - Rotation will be announced in Global  Chat  - in zone drop will be increased by 30% - or you can modify by config  - maybe you want zone where they need lets say 10x Enter to enter can be done - i can give you code, or i can also implement for you - if you want some other custom code, and im able to do it you can ask me discord:expllo#8222 or just expllo - if you won't find, message me here.  
  • 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..