Jump to content
  • 0

Can't add custom instances


Question

Posted

Hi, i'm adding some patches to a pack, and when i add them they seem to fit perfectly, but my problem is inGame.

 

For example, i tried to install the Casino mod, after adding it the core, i created a new npc, type L2Casino, because of this:

public L2CasinoInstance(int objectId, L2NpcTemplate template

 

But when i try to spawn the npc, i got an error message saying the NPC couldn't be find.

 

I tried with a Hitman event too, but seems to be the same problem, i set the npc type to L2PKManager, and the NPC doesn't spawn, but if i set the Npc type to L2Merchant, L2Npc and such; then it spawns.

 

I think there was a file where i have to add the .class files names so it is loaded, otherwise it doesn't work, I need some help please.

 

Thanks in advance.

 

Casino: http://www.l2jfrozen.com/index.php?topic=7742.0

Hitman: http://www.l2jfrozen.com/index.php?topic=9684.0

2 answers to this question

Recommended Posts

  • 0
Posted

Yes, as i wrote above, when i create a npc type L2Casino, a message appears saying "Target couldn't be find", but if i set the type to L2Merchant, L2Teleport, L2Npc, or any other, then it spawns.

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