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.


  • Posts

    • @FixerRay the problem is that my dev will not be available for a while so if you could help that will be great 
    • Hello! I need help with the file lineageeffect.u (Interlude client) I need to remove ForcedLifeTime from the following skills:   Battle Heal Greater Major Heal Hurricane Solar Flare Hydro Blast Aura Bolt Aura Flare Aura Flash   Thank you in advance for your help!
    • Used to have the same issue managing all my masked files from different edits. What really helped me stay organized was this list: https://www.blueberry-ai.com/blog/12-best-digital-asset-management-software-for-photographers. Found a couple of tools there that make sorting, tagging, and finding assets way easier, especially when working on multiple projects or sharing with clients. Took a massive load off my workflow and saved me a lot of time digging through folders.
    • IBServer for L2OFF GF-H5-GD-Classic I’m excited to share IBServer, a fully standalone authentication and billing server designed for Lineage II Official (L2OFF) Generations Supporting Gracia Final (GF), High Five (H5), Glory Days (GD), and Classic Year(2018-2020).   Key features: 🔌 Real IB Communication: Integrates directly with the L2OFF client protocol for in‑band packet handling. ⚙️ Zero Client/Server Modification: No changes required to L2Server.exe, no extenders, no hooks — plug and play. 🛠️ ODBC SQL Server Support: Built‑in DBManager C++ class for handling premium points, purchases, and account data via stored procedures. 📦 Complete Packet API: Full implementation of RequestCheckVersion, GetPremiumItems, GetGamePoint, AddGamePoint, BuyItem, DeleteItem, etc. 🚀 Ready to Deploy: Simple config.txt for port and connection string, runs as a native Windows service or console app.   Price: $150 USD (one‑time payment, no licensing restrictions — use on as many PCs as you want)   How to purchase & support: Please reply here or send me a private message on MaxCheaters. I’ll provide a compiled binary along with installation instructions.
  • Topics

×
×
  • Create New...