[Include] M4S7reamer v1 (object streamer that uses a zoning algorithm)
#10

Quote:
Originally Posted by GaGlets®
Посмотреть сообщение
Lets think - if player enters new zone the old zones object would be deleted and new one created..
so 500 player, moving from zone to zone, for everybody it would create and deleate - create and deleate - more if they are moving "fastly" objects would be created and destroyed very fast - so CPU dies or causes alot of lags.
This streamer has no problem streaming 20000 objects, while most of the other streamers need extremely big loops for that. Think about it for a second, streamers that loop through all objects and create the closest ones would need to loop 20000 times for 500 players every time the timer gets called. That would totally kill CPU. My streamer doesn't need to check distance anywhere, it doesn't need to loop through all objects at all! Object ids are saved in each zone's variable and created/destroyed directly from a variable.

@RetardedWolf, thats not a bug. You have exceeded 1000 objects and the message will be printed as many times as you exceed the limit.

Thanks for commets everyone!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)