![]() |
|
1000 props in one system - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Feedback (https://teamscm.co.uk/forum-9.html) +--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html) +--- Thread: 1000 props in one system (/thread-776.html) Pages:
1
2
|
1000 props in one system - LocInt - 06-03-2015 Hey, I was thinking if it could be possible to put stargates into blocked state when system has over 1000 props. That would tell people not to go there. --Loc RE: 1000 props in one system - Person8880 - 06-03-2015 It's quite expensive to check for how many entities are in an area, this would just contribute to server-side lag as more are spawned. RE: 1000 props in one system - Garbius - 07-03-2015 You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise. RE: 1000 props in one system - LocInt - 07-03-2015 (07-03-2015, 03:45 PM)Garbius Wrote: You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise. This could work.
RE: 1000 props in one system - Person8880 - 07-03-2015 (07-03-2015, 03:45 PM)Garbius Wrote: You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise.Entities can move. RE: 1000 props in one system - LocInt - 07-03-2015 (07-03-2015, 04:16 PM)Person8880 Wrote:(07-03-2015, 03:45 PM)Garbius Wrote: You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise.Entities can move. You could always check where the spawned ship core is located. RE: 1000 props in one system - Person8880 - 07-03-2015 (07-03-2015, 04:26 PM)LocInt Wrote:Not all entities are guaranteed to belong to a ship core.(07-03-2015, 04:16 PM)Person8880 Wrote:(07-03-2015, 03:45 PM)Garbius Wrote: You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise.Entities can move. RE: 1000 props in one system - LocInt - 07-03-2015 (07-03-2015, 04:49 PM)Person8880 Wrote:(07-03-2015, 04:26 PM)LocInt Wrote:Not all entities are guaranteed to belong to a ship core.(07-03-2015, 04:16 PM)Person8880 Wrote:(07-03-2015, 03:45 PM)Garbius Wrote: You could use a counter that triggers on PlayerSpawnObject. It is not elegant and may be unreliable, but it would sure be cheap, performance-wise.Entities can move. Spike of entities like over 900->Add ship core to a list of checks->Check where ship core is located every minute. Its accurate enough. RE: 1000 props in one system - Person8880 - 07-03-2015 Ok, let's say it does that. Then someone takes their ship core, and beams it to another area on its own. Now the system thinks loads of entities are in that new area when only the ship core moved. RE: 1000 props in one system - LocInt - 07-03-2015 (07-03-2015, 06:00 PM)Person8880 Wrote: Ok, let's say it does that. Then someone takes their ship core, and beams it to another area on its own. Now the system thinks loads of entities are in that new area when only the ship core moved. Check if the ship_core is welded to something. |