17.03.2013, 01:10
I have this terrible bug where the objects seem to stream in at around a distance of 40.0/50.0, I am using this code since we moved to 0.3x
But oddly, it doesn't seem to work. If i restart the server the streaming seems fine for a few minutes then it goes back to streaming around 40.0/50.0. Its really annoying and my players are getting annoyed.
Any advice/help?
Код:
for (new o, s = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT); o != s; o++) { if (IsValidDynamicObject(o)) { new Float: distance; Streamer_GetFloatData(STREAMER_TYPE_OBJECT, o, E_STREAMER_STREAM_DISTANCE, distance); Streamer_SetFloatData(STREAMER_TYPE_OBJECT, o, E_STREAMER_DRAW_DISTANCE, distance+450); } }
Any advice/help?