Jump to content
  • 0

Error in gameserver [?]


Question

Posted (edited)

What's happend in my console? What's this? When i attack a mob which spawned another it is happend this. Help pls

Spoiler

RJks1xD.png

 

it is because i have problem on summon?

 

Edited by 0flee

5 answers to this question

Recommended Posts

  • 0
Posted

And how i can fix it from that package?

Here it is code,  please i need help
 

Spoiler

package handlers.loader;

import gr.sr.handler.ABLoader;

import handlers.BloodAltarsLoader;
import handlers.ConquerableHallsLoader;
import handlers.CustomsLoader;
import handlers.EventsLoader;
import handlers.FeaturesLoader;
import handlers.GraciaLoader;
import handlers.GrandBossLoader;
import handlers.GroupTemplatesLoader;
import handlers.HellboundLoader;
import handlers.IndividualLoader;
import handlers.InstanceLoader;
import handlers.MasterHandler;
import handlers.ModifiersLoader;
import handlers.NpcLoader;
import handlers.QuestLoader;
import handlers.SunriseNpcsLoader;
import handlers.TeleportersLoader;
import handlers.VehiclesLoader;
import handlers.VillageMastersLoader;
import handlers.ZonesLoader;

/**
 * @author L2jSunrise Team
 * @Website www.l2jsunrise.com
 */
public final class GlobalLoader extends ABLoader
{
	private final Class<?>[] SCRIPTS =
	{
		BloodAltarsLoader.class,
		ConquerableHallsLoader.class,
		CustomsLoader.class,
		EventsLoader.class,
		FeaturesLoader.class,
		GraciaLoader.class,
		GroupTemplatesLoader.class,
		GrandBossLoader.class,
		IndividualLoader.class,
		HellboundLoader.class,
		InstanceLoader.class,
		MasterHandler.class,
		ModifiersLoader.class,
		NpcLoader.class,
		QuestLoader.class,
		SunriseNpcsLoader.class,
		TeleportersLoader.class,
		VehiclesLoader.class,
		VillageMastersLoader.class,
		ZonesLoader.class,
	};
	
	public GlobalLoader()
	{
		loadScripts();
	}
	
	@Override
	public Class<?>[] getScripts()
	{
		return SCRIPTS;
	}
	
	public static void main(String[] args)
	{
		new GlobalLoader();
	}
}

 

 

  • 0
Posted

RangeGuard line 99 throws a NPE because you getInt "LongRangeGuardRate" while it's probably not set for the template.

 

It's the normal behavior of StatsSet, which is a disguised HashMap, if it can't find the keymap you requested.

 

Not sure if your StatsSet got it, but normally there is a getInt(String, int), with second parameter being default value if failing.

  • 0
Posted

Missed param "LongRangeGuardRate" for NPC templates what uses in Quest/Script. Check templates for all registerend NPCs in script RangeGuard.

 

About GlobalLoader - it's very rarely and exotic method for loading all other loaders. Save this and shown for all beginners in Java how "by no means worth doing".

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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