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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...