Dagobah Posted April 21, 2020 Share Posted April 21, 2020 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 Link to comment Share on other sites More sharing options...
0 Shenmue Posted April 21, 2020 Share Posted April 21, 2020 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 More sharing options...
0 Dagobah Posted April 21, 2020 Author Share Posted April 21, 2020 thank you i will check it Link to comment Share on other sites More sharing options...
0 Dagobah Posted April 21, 2020 Author Share Posted April 21, 2020 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 Spoiler Embedded Video Link Link to comment Share on other sites More sharing options...
0 Shenmue Posted April 21, 2020 Share Posted April 21, 2020 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 Embedded Video Link 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 More sharing options...
Question
Dagobah
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now