Jump to content
  • 0

Castle Siege and augment


Question

9 answers to this question

Recommended Posts

  • 1
Posted

Keep only giran on castle table.

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

  • 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.


×
×
  • Create New...