Page 1 of 1

NPC's are underground.

Posted: Sun Mar 04, 2018 10:45 am
by kotsoskorg
I am using the latest revision for L2j High Five

Hello again,

I am testing my server, could someone please explain me how we can fix errors like this please?
I was thinking to target the NPC, then delete him, and respawn him but its not possible to open his menu because I can't click him.
This is in Hellbound, Hiden Oasis, just on teleport spot. The Hi5 Geodata works fine.

Thanks a lot!

Image

Re: NPC's are underground.

Posted: Sun Mar 04, 2018 3:33 pm
by regenx
Disable Geodata or respawn your npcs..

Re: NPC's are underground.

Posted: Sun Mar 04, 2018 4:35 pm
by Avanael92
Look up the coordinates of this NPC and try to port yourself there. If you happen to fall under the map too, chances are that the Z coordinate of this NPC is wrong.

Re: NPC's are underground.

Posted: Sun Mar 04, 2018 5:27 pm
by regenx
Shift+Click and take NPC id, open your DB and change his coordinates or in xml file if you have coordinates there.

Re: NPC's are underground.

Posted: Tue Mar 06, 2018 2:05 pm
by kotsoskorg
I can target him once typing /target Desert Heatmaster. I can't ctrl+click him because I can't click him normaly anyway. He is underground and only his title name is above the terrain.

Maybe it is an NPC error because I spawned one more next and the NPC is created also underground. The ID in CTRL+G is 1032352. The NPC ID is 32352. See below what I've got. It is an error of coding because it is not a terrain mistake. I'm sure about this because other NPC's spawn correct there.

Image

Code: Select all

<npc id="32352" level="70" type="L2Npc" name="Desert Heatmaster">
		<!-- Confirmed CT2.5 -->
		<race>CONSTRUCT</race>
		<sex>MALE</sex>
		<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
			<vitals hp="2444.46819" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
			<attack physical="688.86373" magical="470.40463" random="10" critical="4" accuracy="5" attackSpeed="253" type="FIST" range="40" distance="80" width="120" />
			<defence physical="295.91597" magical="216.53847" />
			<attribute>
				<defence fire="150" water="150" wind="150" earth="150" holy="150" dark="150" default="150" />
			</attribute>
			<speed>
				<walk ground="1" />
				<run ground="1" />
			</speed>
		</stats>
		<status attackable="false" canMove="false" />
		<skillList>
			<skill id="4390" level="1" /> <!--NPC Abnormal Immunity -->
			<skill id="4408" level="1" /> <!--HP Increase (1x) -->
			<skill id="4409" level="1" /> <!--MP Increase (1x) -->
			<skill id="4410" level="11" /> <!--Average P. Atk. -->
			<skill id="4411" level="11" /> <!--Average M. Atk. -->
			<skill id="4412" level="11" /> <!--Average P. Def. -->
			<skill id="4413" level="11" /> <!--Average M. Def. -->
			<skill id="4414" level="2" /> <!--Standard Type -->
			<skill id="4415" level="1" /> <!--Bare Hands -->
			<skill id="4416" level="2" /> <!--Magic Creatures -->
		</skillList>
		<exCrtEffect>false</exCrtEffect>
		<ai type="BALANCED" />
		<collision>
			<radius normal="0.1" />
			<height normal="0.1" />
		</collision>
	</npc>
	
	
	
	

Re: NPC's are underground.

Posted: Tue Mar 06, 2018 5:17 pm
by Avanael92
It's because the height collision is nearly zero, apparently this NPC doesn't have any textures after I checked it. Don't know if it's intended, so can't help either, sorry.

Re: NPC's are underground.

Posted: Tue Mar 06, 2018 8:31 pm
by kotsoskorg
You're right. I raised the height collision but nothing happens except I can tag and click something invisible this time.

Re: NPC's are underground.

Posted: Tue Mar 06, 2018 10:06 pm
by Avanael92
kotsoskorg wrote: Tue Mar 06, 2018 8:31 pm You're right. I raised the height collision but nothing happens except I can tag and click something invisible this time.
Exactly and I guess that's the reason why it got lowered to 0.1

Re: NPC's are underground.

Posted: Thu Mar 08, 2018 8:34 pm
by LasTravel
These kind of npcs are usually used as triggers, they're intentend to be invisible and its name shouldn't be shown.

Re: NPC's are underground.

Posted: Tue Mar 13, 2018 7:06 pm
by kotsoskorg
LasTravel wrote: Thu Mar 08, 2018 8:34 pm These kind of npcs are usually used as triggers, they're intentend to be invisible and its name shouldn't be shown.
I can't find a reason, for example a quest that this certain NPC is connected with. Can someone find his purpose?

Re: NPC's are underground.

Posted: Thu Mar 15, 2018 2:24 am
by ShinichiYao
kotsoskorg wrote: Tue Mar 13, 2018 7:06 pm
LasTravel wrote: Thu Mar 08, 2018 8:34 pm These kind of npcs are usually used as triggers, they're intentend to be invisible and its name shouldn't be shown.
I can't find a reason, for example a quest that this certain NPC is connected with. Can someone find his purpose?
DP/game/data/scripts/hellbound/hellboundSpawns.*

Re: NPC's are underground.

Posted: Mon Feb 28, 2022 7:57 pm
by faizanmazhar00
kotsoskorg wrote: Sun Mar 04, 2018 10:45 am I am using the latest revision for L2j High Five

Hello again,

I am testing my server, could someone please explain me how we can fix errors like this please?
I was thinking to target the NPC, then delete him, and respawn him but its not possible to open his menu because I can't click him.
This is in Hellbound, Hiden Oasis, just on teleport spot. The Hi5 Geodata works fine.

Thanks a lot!

Image
Do you want to go