SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 17/10/2009, 06:18 PM   #1
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 448
Reputation: 486
Default Streamer Plugin

Streamer Plugin

This plugin streams objects, pickups, checkpoints, race checkpoints, map icons, and 3D text labels at user-defined server ticks. Basic area detection is also included. Because it is written entirely in C++, much of the overhead from PAWN is avoided. This streamer, as a result, is quite a bit faster than any other implementation currently available in PAWN.

Changelog

GitHub Commit History

Refer to the CHANGES file the binary package for the full changelog.

Documentation

GitHub Wiki

Additional information can be found by searching this thread.

Download

GitHub Releases Page

The Windows version requires the Microsoft Visual C++ 2015 Redistributable Package.

Last edited by Incognito; 25/03/2017 at 12:02 PM.
Incognito is offline   Reply With Quote
Old 17/10/2009, 06:22 PM   #2
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,938
Reputation: 230
Default Re: [REL] Streamer Plugin v1.0

I love. Switching to this right away

I hope you release more of your awesome plugins in the future
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 17/10/2009, 06:22 PM   #3
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 7,168
Reputation: 352
Default Re: [REL] Streamer Plugin v1.0

Sounds interesting and useful, i'll try it out. Keep up the good work.
Correlli is offline   Reply With Quote
Old 17/10/2009, 06:49 PM   #4
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,938
Reputation: 230
Default Re: [REL] Streamer Plugin v1.0

Maybe it would be useful to have a native 'CountDynamicObjects' which would return value of all the objects created, oh and OnDynamicObjectMoved would be nice callback for the future

I hope it won't make problems which combination zcmd + foreach + streamer because of all redefinitions:
Code:
\pawno\include\zcmd.inc(58) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
\pawno\include\streamer.inc(75) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
\pawno\include\streamer.inc(94) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
\pawno\include\streamer.inc(113) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 17/10/2009, 07:07 PM   #5
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 448
Reputation: 486
Default Re: [REL] Streamer Plugin v1.0

Yes, you are right—I actually forgot to include OnDynamicObjectMoved. That will be in the next version.

About the warnings, try the latest versions of zcmd and foreach. Y_Less made some recent additions to the callback hook procedure to fix that.
Incognito is offline   Reply With Quote
Old 17/10/2009, 07:54 PM   #6
[NoV]LaZ
High-roller
 
Join Date: May 2008
Posts: 1,474
Reputation: 87
Default [REL] Streamer Plugin v1.0

There is no source code.
Amazing plugin, though !
________
WENDIE 99

Last edited by [NoV]LaZ; 24/04/2011 at 11:31 AM.
[NoV]LaZ is offline   Reply With Quote
Old 17/10/2009, 07:57 PM   #7
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,938
Reputation: 230
Default Re: [REL] Streamer Plugin v1.0

Quote:
Originally Posted by Incognito
About the warnings, try the latest versions of zcmd and foreach. Y_Less made some recent additions to the callback hook procedure to fix that.
Heh, compiles without warnings now. Thanks for reminding me to update.

Anyway, I have just got another idea for a native 'CreateDynamicVWObject'. Basically like CreateDynamicObject just with virtual world parameter, so object is shown only in that virtual world. Very useful if you use the same interior for more different types of usage with custom objects.
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 17/10/2009, 10:29 PM   #8
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 448
Reputation: 486
Default Re: [REL] Streamer Plugin v1.0

LaZ: Thanks, the link has been fixed.

$€ЯĢ: That is doable.
Incognito is offline   Reply With Quote
Old 17/10/2009, 10:50 PM   #9
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,938
Reputation: 230
Default Re: [REL] Streamer Plugin v1.0

Quote:
Originally Posted by Incognito
Right now, as I said, it just streams objects, but it is a relatively simple matter to add support for pickups, map icons, and checkpoints at a later date (vehicles are streamed automatically in 0.3, however, so they will not be added).
Good to hear this. I was just thinking about asking if you are thinking about expanding streamer's services
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 17/10/2009, 11:26 PM   #10
Google63
Banned
 
Join Date: Jun 2008
Posts: 130
Reputation: 0
Default Re: [REL] Streamer Plugin v1.0

It will really promote your plugin and help peoples decide what streamer to use if you little tests about speed and memory...
Good streamer i guess
Google63 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin Pottus Includes 11 21/03/2014 06:31 PM
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . jame42 Scripting Help 4 30/05/2012 07:33 AM
Streamer plugin 0.3d rt-2 Plugin Development 7 05/12/2011 06:17 PM
Streamer Plugin Help! ColdXX Everything and Nothing 2 21/08/2010 10:28 PM
Streamer Plugin! ColdXX Help Archive 10 18/07/2010 12:47 PM


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.