Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Feedback Suggestions and improvements v
« Previous 1 … 31 32 33 34 35 36 Next »
1000 props in one system
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (2): 1 2 Next »
Threaded Mode
1000 props in one system
06-03-2015, 02:36 PM,
#1
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
1000 props in one system
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

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
06-03-2015, 09:13 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: 1000 props in one system
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.
Find
Reply
07-03-2015, 03:45 PM,
#3
Garbius Offline
That guy
*****
Posts: 10
Threads: 0
Joined: Oct 2013
RE: 1000 props in one system
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.
Find
Reply
07-03-2015, 03:47 PM,
#4
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: 1000 props in one system
(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. Big Grin

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
07-03-2015, 04:16 PM,
#5
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: 1000 props in one system
(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.
Find
Reply
07-03-2015, 04:26 PM,
#6
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: 1000 props in one system
(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.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
07-03-2015, 04:49 PM,
#7
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: 1000 props in one system
(07-03-2015, 04:26 PM)LocInt Wrote:
(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.
Not all entities are guaranteed to belong to a ship core.
Find
Reply
07-03-2015, 05:34 PM,
#8
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: 1000 props in one system
(07-03-2015, 04:49 PM)Person8880 Wrote:
(07-03-2015, 04:26 PM)LocInt Wrote:
(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.
Not all entities are guaranteed to belong to a ship core.

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.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
07-03-2015, 06:00 PM,
#9
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: 1000 props in one system
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.
Find
Reply
07-03-2015, 06:09 PM,
#10
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: 1000 props in one system
(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.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.