Munchkin Posted January 4, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 04/19/12 Last Seen: May 6, 2013 Share Posted January 4, 2013 Does duplicating NPCs cause too much memory? Same as an NPC that only gives item and mes? It does not have permanent variables, only temporary play and npc variables, and a lot of mes ""; Cos in my server, i plan to separate at least 10 headgear quest per NPC... that goes about 20+ NPCs... and a mall with NPC per job )) Just curious because i can read topics in which their server lag cos of many NPCs... if it causes lag then i will just lessen it >.< Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted January 5, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted January 5, 2013 I don't think so, you can safely create/duplicate lots of NPCs. As far as I know, NPCs only use memory if they're being used by players. 1 Quote Link to comment Share on other sites More sharing options...
Munchkin Posted January 5, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 04/19/12 Last Seen: May 6, 2013 Author Share Posted January 5, 2013 Oh i see! That's good news! Thank you Quote Link to comment Share on other sites More sharing options...
KeyWorld Posted January 5, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Share Posted January 5, 2013 Duplicate NPC don't duplicate NPC script/memory. It just create an object on the map and when you click/touch or run an event on it, it redirect the action to the original script, so you don't duplicate the script, the variables, etc. (You can compare it to a shortcut icon in your desktop, it don't duplicate the original file). NPC will not cause problems on your server. 1 Quote Link to comment Share on other sites More sharing options...
Munchkin Posted January 5, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 04/19/12 Last Seen: May 6, 2013 Author Share Posted January 5, 2013 Well that's great because I add lots of custom story line quest on my server Thanks sir! Quote Link to comment Share on other sites More sharing options...
Question
Munchkin
Does duplicating NPCs cause too much memory?
Same as an NPC that only gives item and mes?
It does not have permanent variables, only temporary play and npc variables, and a lot of mes "";
Cos in my server, i plan to separate at least 10 headgear quest per NPC... that goes about 20+ NPCs...
and a mall with NPC per job
))
Just curious because i can read topics in which their server lag cos of many NPCs... if it causes lag then i will just lessen it >.<
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.