Object streaming not functioning properly -
reckst4r - 20.10.2013
Hi. I'm having some problems with object streaming. The streaming range/distance is very very short.. I've tried changing it, but it doesn't change ingame. I'm using incognito's streamer (latest version) and these are my streaming settings in server.cfg:
PHP код:
onfoot_rate 100
incar_rate 100
stream_distance 300.0
stream_rate 1000
http://imgur.com/8RL51jK,QOVOKM2
Re: Object streaming not functioning properly -
***Niko*** - 20.10.2013
I use it like this
pawn Код:
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 250.0
stream_rate 1500
also downlaod c++ notepad and find your object streamer include
and change this
pawn Код:
(
native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
to ->
native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 700.0, Float:streamdistance = 700.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
)
also put this on ''OnGameModeInit''
pawn Код:
Streamer_VisibleItems(STREAMER_TYPE_OBJECT, 1000);
Re: Object streaming not functioning properly -
reckst4r - 20.10.2013
I don't use CreateDynamicObjectEx, I use CreateDynamicObject
Re: Object streaming not functioning properly -
***Niko*** - 20.10.2013
I know,in include is like i gave you below.
Re: Object streaming not functioning properly -
reckst4r - 20.10.2013
It still doesn't work
Re: Object streaming not functioning properly -
***Niko*** - 20.10.2013
Then something else is problem
Or you didn't do it good
Re: Object streaming not functioning properly -
reckst4r - 20.10.2013
I did exactly what you told me to.
Re: Object streaming not functioning properly -
reckst4r - 21.10.2013
Bump
Re: Object streaming not functioning properly -
reckst4r - 21.10.2013
A little bump again..
Re: Object streaming not functioning properly -
Pottus - 21.10.2013
Quote:
Originally Posted by reckst4r
I don't use CreateDynamicObjectEx, I use CreateDynamicObject
|
That is the problem, it's because you can't set the drawdistance with CreateDynamicObject() you need to use CreateDynamicObjectEx() OR manually set the stream distance after the object is created with CreateDynamicObject().
pawn Код:
objectid = CreateDynamicObject();
Streamer_SetFloatData(STREAMER_TYPE_OBJECT , objectid , E_STREAMER_DRAW_DISTANCE, 300.0);