Jump to content
  • 0

Question

Posted

Bosses spawn 30 minutes after u teleport via the crystal into the lair,Is there any way to change the waiting time from 30 minutes to 1 from valakas.java which is located into the Ai?Or is there anyway i can remove the quest thing and just spawn by respawn time i set?I use latest H5 stable build

11 answers to this question

Recommended Posts

  • 0
Posted

To edit the wait time is probably in AI, and the quest requeriment is actually an item requeriment in teleporter (crystal or whatever NPC is).

 

Check them and remove/edit the thing you dont like, is pretty easy once you read the code.

  • 0
Posted

code is 1200 lines xD thats why i asked if anyone changed it and remember.I will link you this and say me if it is ok to change it.

	// config
private static final int FWA_ACTIVITYTIMEOFANTHARAS = 120;
//private static final int FWA_APPTIMEOFANTHARAS = 1800000;
private static final int FWA_INACTIVITYTIME = 900000;
private static final boolean FWA_OLDANTHARAS = false;
private static final boolean FWA_MOVEATRANDOM = true;
private static final boolean FWA_DOSERVEREARTHQUAKE = true;
private static final int FWA_LIMITOFWEAK = 45;
private static final int FWA_LIMITOFNORMAL = 63;

 

is it the inactivity time?

  • 0
Posted

probably wrong npc id, try to spawn every frintezza that u have got in database, and take id in which health bar is working good

  • 0
Posted

there is only 1 frintezza into my database.I spawn it and it doesnt show health bar even though it is L2GrandBoss type.Trying to check Frintezza.java to see if i can find anything.

  • 0
Posted

Is there anyway i can change these line so the code will create just ONE Instance of the boss and all can join it simultaneously without all people to create one unique? :D

So i have three options.

1)Make a new area with the boss(not recommented)

2)Remove the boss Script(but then i have to find a way to teleport there because it gives java error)

3)Make One unique instance for all players.

Atm i can make only the first one because on the second one i cant find where is the problem with the teleportation.

Any clues>?

 

Instance lines are these i think from FinalEmperialTomp.java

 

//New instance
	if (!checkConditions(player))
		return 0;
	if (!player.isGM() && !player.destroyItemByItemId("QUEST", 8073, 1, player, true))
		return 0;
	instanceId = InstanceManager.getInstance().createDynamicInstance(template);
	//Instance ins = InstanceManager.getInstance().getInstance(instanceId);
	//ins.setSpawnLoc(new int[]{player.getX(),player.getY(),player.getZ()});
	world = new FETWorld();
	world.instanceId = instanceId;
	world.status = 0;
	InstanceManager.getInstance().addWorld(world);
	controlStatus((FETWorld) world);
	_log.info("Final Emperial Tomb started " + template + " Instance: " + instanceId + " created by player: " + player.getName());
	// teleport players
	if (player.getParty() == null || player.getParty().getCommandChannel() == null)
	{
		world.allowed.add(player.getObjectId());
		teleportPlayer(player, coords, instanceId);
	}
	else
	{
		for (L2PcInstance channelMember : player.getParty().getCommandChannel().getMembers())
		{
			world.allowed.add(channelMember.getObjectId());
			teleportPlayer(channelMember, coords, instanceId);
		}
	}
	return instanceId;
}

  • 0
Posted

when i teleport there and i press /loc to find the location so i can make a teleport it says :You have been disconected from the server.But i am connected and my friends can join too.No idea.

  • 0
Posted

Frintezza is a NPC, you have to kill his minion which transforms twice (so 3 different bosses).

 

You are dropped out of the zone probably because there is a check on the zone. If you didn't make the q or don't got the required condition, by default you're kicked to next town.

 

About the instance stuff, just drop it and make ppl teleport in the same instance.

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