LCKB
Monster combo, NPC problem - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: Monster combo, NPC problem (/showthread.php?tid=4827)



- JLT - 04-04-2022


My problem is that I can't start a monster lair, since there are simply no NPCs after entering. 

In the Database, this NPC has ID 489, and it is possible to summon him, but I cannot understand why he is not there initially

Below is a video of what it looks like





 




- Desarija - 04-04-2022


Check if you can find the NPC ID twice in MonsterCombo.cpp, code should look like this:

 

if(p->m_proto->m_index != 489
&& !( p->GetOwner() && (
p->Check_MobFlag(STATE_MONSTER_MERCENARY)
|| p->Check_MobFlag(STATE_MONSTER_TOTEM_BUFF)
|| p->Check_MobFlag(STATE_MONSTER_TOTEM_ATTK)
|| p->Check_MobFlag(STATE_MONSTER_TRAP)
|| p->Check_MobFlag(STATE_MONSTER_SUICIDE)
))
)

It's possible that this has been changed to a different NPC ID in the files you are using so NPC 489 gets removed




- JLT - 04-04-2022


Here's what I managed to find

/monthly_2022_04/image.png.8cd49ee6b0d4b47d1caa5b5c3af454b9.png" />/monthly_2022_04/image.png.0884cbdcbf26ef440c0f542b65146680.png" />




- JLT - 04-04-2022


These IDs are in my database

/monthly_2022_04/image.png.3d7ed81496611151d0211132976bcb9a.png" />




- Desarija - 04-04-2022


i suggest to compare ur monstercombo.cpp/.h to a clean version xd




- JLT - 04-04-2022


The problem is in the database, I downloaded the November database and the lair wizard is in its place