Jump to content
  • 0

Npc Spawn Problem


Question

Posted

Hello!

I have few questions about Tyranossaurus spawn.

On L2jFrozen my T-rex spawn is in spawnlist. It seems I have the spawn coords in database-locations right acording to web info.

1.Is Tyranossaurus ar GBoss or raid boss? (as ride bosses have their own spawn table, grands again in regular, but their respawn is controlled in grand boss table) //-it says T-rex is Grand boss in my database type. Which means it should fallow that instance, but grand boss table, where resp of all Gbosses are, he is not listed there. Should he be?

2. Has anyone else come across T-rex not being/spawned in Jungle? And what was the issue, how did you resolve it?

 

p.s.

may b I'm missing simething out, should there be some q taken for it to spawn? I rememmber playing other chronicles above Interlude, and T-rex was there in the Jungle full time, after kill he had resp after some time.

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

The point of Trex being on raidboss is only for the attribute "non lethal-able", which is shared amongst all raid bosses. If let's say you decide to add a "lethalable" attribute on NPC templates system, or on a shorter way you introduce a isLethabable and you "npcid = trex || instanceof L2RaidBoss", you could spawn it as a regular spawn. I don't see any point of it being a RaidBoss otherwise.

 

I'm not sure (don't rem), but Trex are supposed to get walking routes.

 

If he doesn't respawn after default spawn time, it probably uses default raid boss config.

Edited by Tryskell
  • 0
Posted (edited)

The thing is it hasn't spawned yet at all!

So should I realy move its spawn to raidboss_spawnlist table / and change his type from GBoss to Raidboss? I''m confused about changing his instance cause GrandBoss manager mentions him aswell.

 .java side/ GrandBossManager list it there: (but db grand boss table don't have it on) I'm confused..

* This class handles all Grand Bosses:
 * <ul>
 * <li>22215-22217 Tyrannosaurus</li>
 * <li>25333-25338 Anakazel</li>
 * <li>29001 Queen Ant</li>
 * <li>29006 Core</li>
 * <li>29014 Orfen</li>
 * <li>29019 Antharas</li>
 * <li>29020 Baium</li>
 * <li>29022 Zaken</li>
 * <li>29028 Valakas</li>
 * <li>29045 Frintezza</li>
 * <li>29046-29047 Scarlet van Halisha</li>
 * </ul>

I also find him by id talking here: WHY is it mentioned MonsterInstance now? ???

			case TARGET_TYRANNOSAURUS:
			{
				if (target instanceof L2PcInstance)
				{
					activeChar.sendPacket(new SystemMessage(SystemMessageId.TARGET_IS_INCORRECT));
					return null;
				}
				
				if (target instanceof L2MonsterInstance && (((L2MonsterInstance) target).getNpcId() == 22217 || ((L2MonsterInstance) target).getNpcId() == 22216 || ((L2MonsterInstance) target).getNpcId() == 22215))
					return new L2Character[]
					{
						target
					};
				return null;
			}
Edited by l2life

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