Munchkin Posted January 4, 2013 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
nanakiwurtz Posted January 5, 2013 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
Munchkin Posted January 5, 2013 Author Posted January 5, 2013 Oh i see! That's good news! Thank you Quote
KeyWorld Posted January 5, 2013 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
Munchkin Posted January 5, 2013 Author Posted January 5, 2013 Well that's great because I add lots of custom story line quest on my server Thanks sir! Quote
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 >.<
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.