Jump to content
  • 0

How can i summon a npc and save it even when logout?


Dagobah

Question

4 answers to this question

Recommended Posts

  • 0
25 minutes ago, Dagobah said:

How can i summon a npc and save it even when logout? i already made the summoning of NPCs  but when i logout and login the npc that i have summon disappears

 

Have you checked if the NPC is present on two different clients? Maybe the server doesn't have information about that NPC and it's all related to your client.

Link to comment
Share on other sites

  • 0

 

41 minutes ago, Dagobah said:

I already have check in two different clients and yes the NPCs are only releated with the player, if one player log out only the npcs that he has summon disappears, How can i releate the NPCs to the entire server?

 

The boxes are NPCs

 
  Hide contents

 

 

You have to check the required methods in Client.Networking.PacketHandler and PacketSender and Server.Networking.PacketHandler and PacketSender. Actually you should use packets if you want to communicate between server and client.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...