SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/10/2019, 08:22 AM   #5541
amoozesh2
Little Clucker
 
Join Date: Dec 2018
Posts: 1
Reputation: 0
Default Re: Streamer Plugin

i'll try it out. Keep up the good job
__________________
mobile repair training
amoozesh2 is offline   Reply With Quote
Old 13/10/2019, 11:13 AM   #5542
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,128
Reputation: 211
Default Re: Streamer Plugin

Quote:
Originally Posted by tank View Post
bug:
pawn Code:
AttachDynamicObjectToVehicle(SetDynamicObjectMaterialText(CreateDynamicObject(19309,0.0, 0.0, 0, 0.0, 0.0, 0.0), 0, "Учебная",50, "Tahoma", 27, 1, -1, -65536, 1),CreateVehicle(400,-227.7441, 1018.2807, 18.5849,19.0,90,90,10000,1), 0.0, -0.5, 0.9, 0.0, 0.0, 0.0);

if a dynamic object is already created the very first CreateDynamicObject will be attached to the machine,
but if you use this before the very first CreateDynamicObject it will normally attach
SetDynamicObjectMaterialText does not return Object ID, it returns success.
DRIFT_HUNTER is offline   Reply With Quote
Old 27/01/2020, 07:37 AM   #5543
fannisazan
Little Clucker
 
Join Date: Oct 2019
Posts: 1
Reputation: 0
Default Re: Streamer Plugin

(objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128, fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0)


آموزش تعمیرات موبایل
fannisazan is offline   Reply With Quote
Old 14/02/2020, 05:23 PM   #5544
AlejoPavon2002
Little Clucker
 
Join Date: Jan 2020
Posts: 7
Reputation: 0
Default Re: Streamer Plugin

Quote:
Originally Posted by Incognito View Post
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.
Hello very good, first of all an excellent job. very good, I have an error with the include.
Error:
*** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter (s), but found 12.
AlejoPavon2002 is offline   Reply With Quote
Old 16/02/2020, 04:19 PM   #5545
Symon
Gangsta
 
Symon's Avatar
 
Join Date: Apr 2019
Location: Italy
Posts: 883
Reputation: 85
Default Re: Streamer Plugin

Quote:
Originally Posted by AlejoPavon2002 View Post
Hello very good, first of all an excellent job. very good, I have an error with the include.
Error:
*** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter (s), but found 12.
The error is clear. CreateDynamicObject requires 14 parameters but you're declaring only 12. You're missing 2 parameters.

pawn Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0)

Check which param you missed.
Symon is offline   Reply With Quote
Old 17/02/2020, 11:46 AM   #5546
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: Streamer Plugin

Quote:
Originally Posted by AlejoPavon2002 View Post
Hello very good, first of all an excellent job. very good, I have an error with the include.
Error:
*** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter (s), but found 12.
Plugin version and include version do not match.
__________________
Calisthenics is offline   Reply With Quote
Old 11/04/2020, 10:53 AM   #5547
PRoleplay
Big Clucker
 
Join Date: Nov 2012
Posts: 142
Reputation: 0
Default Re: Streamer Plugin

Quote:
Originally Posted by Calisthenics View Post
Plugin version and include version do not match.
I DL all the files and paste it to my game server but still warning shows.
PRoleplay is online now   Reply With Quote
Old 11/04/2020, 10:54 AM   #5548
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: Streamer Plugin

Quote:
Originally Posted by PRoleplay View Post
I DL all the files and paste it to my game server but still warning shows.
You need to re-compile all the scripts that use streamer.
__________________
Calisthenics is offline   Reply With Quote
Old 11/04/2020, 11:05 AM   #5549
PRoleplay
Big Clucker
 
Join Date: Nov 2012
Posts: 142
Reputation: 0
Default Re: Streamer Plugin

Quote:
Originally Posted by Calisthenics View Post
You need to re-compile all the scripts that use streamer.
Oh I see, Thank you very much!
PRoleplay is online now   Reply With Quote
Old 24/05/2020, 02:23 PM   #5550
IllidanS4
Huge Clucker
 
IllidanS4's Avatar
 
Join Date: Feb 2013
Posts: 200
Reputation: 275
Default Re: Streamer Plugin

Note to people who combine global and per-player objects (thus also streamed objects): It is possible to take up all available server slots and not be able to create any global objects even though there are less than 1000 per-player objects shown to every player.

It goes like this: create 500 global objects, then create 500 per-player objects for one player. Delete all global objects and create another 500 per-player objects for another player. Now the first half of possible slots is occupied by per-player objects for the second player, while the second half is occupied by the first player. No additional global objects can be created now since there are no unused slots left.

This is an "issue" caused by the server's handling of per-player objects. It can be fixed by ensuring per-player objects are preferentially created at a slot occupied by other per-player objects, which is something you can do script-wise, but not in case of the streamer which takes control of per-player objects creation by itself.

The latest version of YSF deals with this globally. If you set GroupPlayerObjects 1 in the config, per-player objects will prefer grouping with per-player objects from other players and will never take new slots, unless there are no other per-player slots available.
IllidanS4 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 9 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 01:44 PM.


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