Jump to content
  • 0

Problem with mobcount


Question

Posted

Hello guys,

I'm making an NPC that checks if a monster is alive in an map and then teleports the player to that map.

That part is ok, the problem is, when I start the server or do a @reloadscript the monster is not spawned until I teleport to the map for the first time.

Do you know how can I correct this?

This is the basic check of the NPC

if(mobcount("1@tnm1", "all") > 0) {
	warp "1@tnm1",25,115;
}

and this is the monster spawn

1@tnm1,24,74	monster	MonsterName	2255,1,3600000,600000,0

 

3 answers to this question

Recommended Posts

  • 0
Posted

Hi, sorry for the late response.

Actually dynamic_mobs are enabled already. I was searching about dynamic_mobs in rathena and found some issues about dynamic mobs and MVPs.

The monsters I want to check are MVPs so maybe that's the problem...

Any new toughts about it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...