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

    • If you're looking for high-performance residential proxies, try MoMoProxy—it's a reliable and top-tier solution in the proxy market. 📌 Need help or want to test? 💬 Live Support: https://t.me/momoproxy_com 📧 Email Us: support@momoproxy.com
    • interlude: l2acis uber alles
    • New Dragon-Network Server – Vote Now!   We’re launching a new Dragon-Network (Multiskill) server under a new domain, created by the original Classic-Interlude team. We no longer have access to the old domain, but this is the official continuation — not a scam, just a new home. The new domain will host: A main migrated server (nothing lost – all chars/items kept) Plus seasonal servers (voted by players) All seasonal progress will be merged into the main realm Help shape the new server – vote now: https://dragon-network.eu/   Let’s build the future of DN – together.
    • Hello there, Im beyond confused and dont know what path to take. I want to start working on a L2 server, changing some stuff here and there and finally in the future if  im happy with the results, to launch the server, but... L2j or L2off? After all this years, is there a Interlude L2j close to off?   Ive spent some time lookin over this forum, searching what would be better and what files to take but I ain't near to a clear answer.  Most of the time everyone is trowing stones at everyone, "your filles are trash, my filles are good" and viceversa. Therefore, Im reaching out to a knowledge guy, hopefully from a neutral position to all this drama, that can pin point me in a direction.    To explain what I want for a base start is an Interlude with a classic interface (features), low rate. Mostly what this guy TravorJ is describing in his post TravorJ post , and to do some reworks on it, ex: mobs drop, rethink the augment system/interface, rethink learning skills/enchant skills, create some custom potions/buff effects, siege mechanics... Is that possible on off files? or is better to go with L2j? I also want to mention that I have little to none L2 dev experince (13-15yrs ago I had an L2j server running  for a month where I made some basics changes), but I have coding background so Im used to that and more than willing to learn.   So in conclusion, I dont want to get some free shared files without any support, that I need to wrap my head around and fix stuff for long time to make them work, stuff thats already fixed buy someone else. Instead im looking to buy something thats more updated and start working from there. Question is what and from whom? Kinda sux when you go and buy something and u dont know what the hell are you buying (need some guidance here)   Is L2j Orion a good choice? I saw that is regularly updated. Lucera2 I dont think is something that I want cuz they dont sell soruce, prefer to have control and not to be dependent on someone to much...   Big thanks in advance!   
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock