To FCNPC users - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (
https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: To FCNPC users (
/showthread.php?tid=583149)
To FCNPC users -
Sublime - 26.07.2015
To those who are using the FCNPC plugin.. do you guys know, or even logged how much of RAM is being consumed per NPC? You can also post the number of NPCs you're using, and its RAM consumption on your server. Would help me alot.
Apparently, my project leader (happy, retard?) is too retarded to post this thread, so posting this on his behalf.
And oh, is this the right section?
Re: To FCNPC users -
theYiin - 28.07.2015
Should use as much as normal player, no? All it does is playing with packets and creating sa-mp npcs with normal player sync data.
Re: To FCNPC users -
Lorenc_ - 28.07.2015
I used to have a server with about 100 npcs spawned with the plugin, by far much better RNPC CPU-wise. Ram wise, I don't think it ever went past 64mb. All the NPCs were connecting in and out like each death (once every 2 seconds).
It doesn't really answer your question but I felt this was relevant to post.
Re: To FCNPC users -
Riddick94 - 31.07.2015
Quote:
Originally Posted by Lorenc_
I used to have a server with about 100 npcs spawned with the plugin, by far much better RNPC CPU-wise. Ram wise, I don't think it ever went past 64mb. All the NPCs were connecting in and out like each death (once every 2 seconds).
It doesn't really answer your question but I felt this was relevant to post.
|
Yeah, but I rather FCNPC functionalities and I don't really have to "IsPlayerNPC" everywhere, since FCNPC has its own nice callbacks. I honestly don't know, since I have moved to FCNPC right now and I am just wondering if I should have sticked with RNPC plugin or was it a wise decision to move onto FCNPC plugin. I'm going to have probably around 100 NPCs around LS and more. So, I don't know honestly.
Any suggestions?
FCNPC (NPC) is "reconnecting" every 'respawn' you are saying? Well, that's weird way of doing that I think. How much RAM did FCNPC consumed for you?
Re: To FCNPC users -
Lorenc_ - 02.08.2015
Quote:
Originally Posted by Riddick94
Yeah, but I rather FCNPC functionalities and I don't really have to "IsPlayerNPC" everywhere, since FCNPC has its own nice callbacks. I honestly don't know, since I have moved to FCNPC right now and I am just wondering if I should have sticked with RNPC plugin or was it a wise decision to move onto FCNPC plugin. I'm going to have probably around 100 NPCs around LS and more. So, I don't know honestly.
Any suggestions?
FCNPC (NPC) is "reconnecting" every 'respawn' you are saying? Well, that's weird way of doing that I think. How much RAM did FCNPC consumed for you?
|
Use FCNPC, it will be better performance wise. Your issue will only be the fact as to whether or not it'll be consistently updated and actively developed.
Never mind, checked code. I didn't reconnect them every time, I think that was with RNPC a while back. But it topped 64mb. I just pretty much teleported them after they died.