[Plugin] Streamer Plugin

Very nice update. Anyway thanks for your the best streamer for SA-MP.
Reply

Server crashes on Debian 64bit if I use that plugin ... how can I fix it?
Reply

Can you make it to show the closest amount of specified objects rather than just streaming through ids?
Reply

Quote:
Originally Posted by DarK TeaM PT
well im using it and i just believe this is the best Streamer i have ever seen i just have to say one Big Thanks Incognito but you could add a Vehicle Streamer i know it puts the Server slower because there is already one Streamer but some ppl need it and have ppl who not use the vehicle streamer [like me] but anyway i just want say

Awesome work!
This has been brought up many times, but a plugin-based vehicle streamer will not be implemented. It would be very difficult to do properly without conflicting with the server-side vehicle streamer that's already present in SA-MP. There are also way too many natives and callbacks to wrap.

Quote:
Originally Posted by Stas92
Server crashes on Debian 64bit if I use that plugin ... how can I fix it?
Compile the plugin yourself using the source provided.

Quote:
Originally Posted by BeckzyBoi
Can you make it to show the closest amount of specified objects rather than just streaming through ids?
If you mean streaming only a provided set of objects, then no, but the plugin does automatically sort the objects by distance before creating them.
Reply

when i use Streamer_UpdateEx onplayerrequestclass it works and load's my object's, but if i do f4 and die it loads them then it destroys them like 2 seconds after i figured away around it but i though I'd let you know that if you use it a second time on onplayerrequestclass it streams them then unstreams them.
Reply

Streamer_UpdateEx only updates elements around that "fake" position for that tick. On next tick it uses normal player's position (0,0,0 under OnPlayerRequestClass), so it will unstream elements around that fake position.
Reply

Quote:
Originally Posted by $€ЯĢ
Streamer_UpdateEx only updates elements around that "fake" position for that tick. On next tick it uses normal player's position (0,0,0 under OnPlayerRequestClass), so it will unstream elements around that fake position.
thought so.
Reply

I followed all the steps in the instruction but when i add onjects to my gamemode.
Some other objects are deleted than help me plz
Sorry i am a new scripter.
Reply

Quote:
Originally Posted by Shady91
Quote:
Originally Posted by $ЂЯĢ
Streamer_UpdateEx only updates elements around that "fake" position for that tick. On next tick it uses normal player's position (0,0,0 under OnPlayerRequestClass), so it will unstream elements around that fake position.
thought so.
It happens to me too, if I remove "Streamer_UpdateEx" thingy, it will be fixed? init?
Thanks for updates
Reply

In case you still need it, check the attachment.
Reply

Can it be used as a FS?
Reply

Very nice work! I'm using it!
Reply

Quote:
Originally Posted by DavidC
Do you think you could add something like Streamer_OnStreamIn and Streamer_OnStreamOut, and use the enum data to make a callback for when a player comes in streaming distance of a particular feature? Maybe a IsStreamedIn function too....Currently I still have to use a custom streamer for something I want this feature to use, but it would be nice if I didn't have to use my own :P

I hope this is viable.
I've considered adding these callbacks, but eventually I came to the conclusion that they would only adversely affect the streaming process, especially if a lot of code is used under them (think of this like OnPlayerUpdate, which can easily be abused). Area detection, as someone mentioned earlier, is far less expensive if you just want to check if someone is nearby. That being said, I can see where (in specific instances) it would be very useful to know, for example, if an object is streamed in for a player. If enough people want this feature, I'll see about adding it, but I'll have to advise against using it in most cases.

Quote:
Originally Posted by D0erf|er
can you add IsPlayerInAnyDynamicArea ?
I suppose so, but I think that can be easily scripted (unless you have intersecting areas, in which case you'd have to loop through all of them).

Quote:
Originally Posted by Brendan_Thomson
If you DestroyAllDynamicObjects in a filterscript it will destroy any that are in a gamemode as well, won't it?
Yes, and CountDynamicObjects returns the total number of objects created in the plugin. I suppose it might make more sense to limit both natives to the scripts they're used in, though.

Quote:
Originally Posted by MetroEffect
Can it be used as a FS?
Yes.

Quote:
Originally Posted by CrαcK
In case you still need it, check the attachment.
Is that a complete list?
Reply

All the objects from IPL files are there. I believe it's a complete list.
Reply

Good job, Incognito! I use on my server.
Reply

I am sort of confused, what's like the main object add? Like "CreateObject"? What should I use to replace that? Thanks
Reply

Quote:
Originally Posted by World War III
I am sort of confused, what's like the main object add? Like "CreateObject"? What should I use to replace that? Thanks
CreateDynamicObject
Reply

Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by World War III
I am sort of confused, what's like the main object add? Like "CreateObject"? What should I use to replace that? Thanks
CreateDynamicObject
Okay, thanks a lot. Also, on www.convertffs.com whats it's name? Like midioban, samp createobject, ect?
Reply

Just paste your objects in notepad then:
1) Ctrl+H - Replace 'CreateObject' with CreateDynamicObject'
2) Ctrl+H - Replace ');' with ', worldid, interiorid, playerid, Floatistance);'

Remember to replace worldid/interiorid/playerid and distance with what you want.
Example: , -1, -1, -1, 300);
Will stream the objects for all players in all world in all interiors and the streaming distance will be 300 co-ords.
Reply

Quote:
Originally Posted by World War III
Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by World War III
I am sort of confused, what's like the main object add? Like "CreateObject"? What should I use to replace that? Thanks
CreateDynamicObject
Okay, thanks a lot. Also, on www.convertffs.com whats it's name? Like midioban, samp createobject, ect?
YSI Object streamer changes it to CreateDynamicObject.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)