03.04.2013, 10:07
i dont get it whats wrong with the current RNPC plugin - it works fine for me. o.O
i have to "admit" that i some glitches like bots teleporting, too (still happens rarely, but thats fixed due to the nature of the "host" script running them).
may i ask you all if you can provide the max. NPC amounts your server can handle, regardless if they're moving on foot/vehicle or everywhere/road nodes only?
iam afraid that the current NPC system is guilty for wasting 1 thread for each npc, therefore there seems to be a limit like 250 of them.
add the A* algorithm for calculating their routes, and consider each nanosecond used as too-much already.
balancing the amount of npcs (lowering) in trade for some CPU time for just calculating their routes, is a pain in the butt, considering that they will not be able to react on environment changes like reacting on each other - that needs to be done aswell...
i noticed this thread changed into a discussion (and that there is a thread in the advanced scripting section), so why not move to there instead going offtopic here? ^^
ontopic: i will check this plugin out for sure. as far i can see from the videos, it seems to be in the state like my "64 RNPCs test" video, where i stopped developping the script due to the vast amount of CPUtime it eats. maybe i lend some of the multithreading code, if i ever understand it lol
i have to "admit" that i some glitches like bots teleporting, too (still happens rarely, but thats fixed due to the nature of the "host" script running them).
may i ask you all if you can provide the max. NPC amounts your server can handle, regardless if they're moving on foot/vehicle or everywhere/road nodes only?
iam afraid that the current NPC system is guilty for wasting 1 thread for each npc, therefore there seems to be a limit like 250 of them.
add the A* algorithm for calculating their routes, and consider each nanosecond used as too-much already.
balancing the amount of npcs (lowering) in trade for some CPU time for just calculating their routes, is a pain in the butt, considering that they will not be able to react on environment changes like reacting on each other - that needs to be done aswell...
i noticed this thread changed into a discussion (and that there is a thread in the advanced scripting section), so why not move to there instead going offtopic here? ^^
ontopic: i will check this plugin out for sure. as far i can see from the videos, it seems to be in the state like my "64 RNPCs test" video, where i stopped developping the script due to the vast amount of CPUtime it eats. maybe i lend some of the multithreading code, if i ever understand it lol