SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 24/05/2020, 07:06 PM   #5551
Fairuz
Huge Clucker
 
Fairuz's Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 455
Reputation: 64
Default Re: Streamer Plugin

Quote:
Originally Posted by IllidanS4 View Post
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.
Just stumbled across YSF plugin hours ago before you release the new version. I was really worried that the plugin is abandoned on RC stages. I will start using it again now. Is it more stable now?
__________________
Los Santos based Cops and Robbers with many features.
209.58.183.101:7777
Fairuz is offline   Reply With Quote
Old 24/05/2020, 09:04 PM   #5552
IllidanS4
Huge Clucker
 
IllidanS4's Avatar
 
Join Date: Feb 2013
Posts: 200
Reputation: 275
Default Re: Streamer Plugin

Quote:
Originally Posted by Fairuz View Post
Just stumbled across YSF plugin hours ago before you release the new version. I was really worried that the plugin is abandoned on RC stages. I will start using it again now. Is it more stable now?
Can't speak for others, but I run it on my server without any crashes. Not that it is properly tested on R2-1 only; R2-2 is supported since it is mostly the same as R2-1, but there could be some incompatibilities.
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 03:24 PM.


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