Quote:
Originally Posted by Basssiiie
I set the draw distance and streaming distance to 1500.0 on the screenshot, CellDistance was 1501.0. The weather ID was 18. The weather is important too, because with other weathers you'll only be able to see up to 700 meters or so. It really depends on the weather. Weather IDs 13 to 18 should be allowing up to 1500 meters.
|
It's important to note that if the cell distance is set higher than the object's streaming distance, then the object will still be confined to a single cell. The default cell size is 300.0, and only the current cell and adjacent cells are accessed on each update, so that would mean that the object's true streaming distance is a maximum of 600.0 rather than 1500.0. If the streaming distance is higher than the cell distance (which, by default, is 600.0), then the object will be placed in the global cell and will be visible anywhere on the map. However, as I've noted in the first post, this should be done sparingly since the global cell does not benefit from spatial indexing.
Quote:
Originally Posted by rscaerzx
I realized if I use the following codes, the server will get crashed:-
pawn Код:
public OnGameModeInit() { Streamer_VisibleItems(STREAMER_TYPE_OBJECT, 800); }
public OnPlayerDeath(playerid, killerid, reason) { Kick(playerid); }
|
I really doubt that has anything to do with the streamer plugin. Load the crashdetect plugin to see what is causing the script to crash.
Quote:
Originally Posted by Edvin
Код:
AttachDynamicObjects( object1, object2, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ, SyncRotation = 1);
I don't know if the AttachObjectToObject will work if i will CreateDynamicObject, instead of CreateObject.
|
It's not possible without something like AttachPlayerObjectToPlayerObject.
Quote:
Originally Posted by SDraw
PHP код:
new Text3D:Driver3DText[MAX_PLAYERS];
//
Streamer_SetIntData(STREAMER_TYPE_3D_TEXT_LABEL,Driver3DText[playerid],E_STREAMER_WORLD_ID,MAX_PLAYERS+1);
Код:
*** Streamer_SetIntData: Invalid data specified
What? O_o No manual setting of virtual world for 3D text?
|
Use Streamer_SetArrayData or Streamer_AppendArrayData.
I've put up r84, which mainly just has some minor bug fixes and improvements:
Quote:
- Improved callback hooks in include file
- Fixed draw distance bug with CreateDynamicObjectEx
- Fixed area detection bug when a player is moving at a high velocity
- Made objects update automatically when EditDynamicObject is called
- Made moving objects update automatically when GetDynamicObjectPos and GetDynamicObjectRot are called
|