![]() |
#11 |
Big Clucker
![]() ![]() Join Date: Sep 2007
Posts: 78
Reputation: 0
|
![]()
Great work!
I wanted to start such a project my self, but... you saved me time! But I found my self in a weird situation that I need a filterscript along with the gamemode that has these dynamic objects. If I include the <streamer> in both filterscript and gamemode, will this effect something? From the benchmarks point of view. Also, will the CountDynamicObjects work in filterscript only or both on the same time? (will count filterscript+gamemode dynamic objects?) Because I would need to destroy all filterscript objects in case of reloadfs, but that can me done my simply adding all dynamic-object-ids to an array. |
![]() |
![]() |
![]() |
#12 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Slovenia
Posts: 2,871
Reputation: 230
|
![]()
Thanks for the quick update with those useful functions
![]() |
![]() |
![]() |
![]() |
#13 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2006
Posts: 447
Reputation: 507
|
![]()
potato: Yes, you can use the include and any of the plugin's natives across multiple scripts.
$€ЯĢ: You're welcome. I wanted to note that there seems to be some problem with the Linux version (or perhaps just a few distributions—if it is working for you, then tell me!). The streaming system works perfectly fine, but for some reason, the player objects do not appear. I will try to find a solution soon. |
![]() |
![]() |
![]() |
#14 |
Little Clucker
![]() Join Date: Jun 2008
Posts: 17
Reputation: 0
|
![]()
i have 7 plugins
Irc Audio Dns Streamer aMailer aEncriptPlus Filemanager and your or another irc plugin fails whit this streamer plugin :S |
![]() |
![]() |
![]() |
#15 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2006
Posts: 447
Reputation: 507
|
![]()
Angelhj: It works fine here with the rest of my plugins loaded, but I have not tested with the last three you mentioned.
I found the source of the problem I spoke of earlier: Peter's PawnCommand. It seems to be partially bugged in Linux. When multiple float parameters are passed to it, they all get shuffled around for some odd reason. This causes the objects to always be created in the wrong place. The only solution I can think of is to execute a public function that will create each object in the script instead. This is obviously not quite as elegant, but it is the only thing I can do short of placing the entire streaming code inside the script as well. Fortunately, the speed should not suffer tremendously (OnPlayerUpdate gets called several times a second too). I will release a fixed version soon. |
![]() |
![]() |
![]() |
#16 |
Big Clucker
![]() ![]() Join Date: Sep 2007
Posts: 78
Reputation: 0
|
![]()
I would like to recommend you making a function that streams objects manually.
Stream_ObjectsForPlayer(playerid); - gets the current player location and streams objects that need to be there no matter what. For "the lag" reducing... Also I noticed a bug that also applies with your said. Objects seem to appear really slow after a longer server runtime. Some value keeps getting bigger? |
![]() |
![]() |
![]() |
#17 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2006
Posts: 447
Reputation: 507
|
![]()
Yes, I added a native earlier that will force an update for a player. This is particularly useful if you want to stream objects immediately at some point in your script. About your bug, it is probably related to a memory leak I found and fixed yesterday in PawnCommand.
Anyway, the Linux bug I described a few posts up has been fixed as well. The streaming code has also been reorganized and made slightly more efficient (nothing will stream for the player if his position has not changed since the last update). I was initially going to commit these changes and release v1.2, but instead, I think I will will skip ahead to v2 and add support for pickup, checkpoint, and map icon streaming. The algorithm will be almost identical, so it is really just a matter of writing some additional code to support more items. Look for it here soon. |
![]() |
![]() |
![]() |
#18 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Slovenia
Posts: 2,871
Reputation: 230
|
![]()
Nice to see that pickup, checkpoint and map icon support is on its way. I hope you won't miss race checkpoints out.
Only as a suggestion for one of the future versions; it would be nice if you also added 3D text streamer. |
![]() |
![]() |
![]() |
#19 |
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2008
Location: Det. Mi. USA.....
Posts: 435
Reputation: 10
|
![]()
Like the sound of the update. Has anyone done an official speed/max object test with this plug-in? Kinda curious to see the results before I go and try to switch everything over. I am mostly interested in seeing how it compares to YSI.
|
![]() |
![]() |
![]() |
#20 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2009
Location: Canada
Posts: 2,034
Reputation: 2
|
![]()
Very nice. But somehow could make make the objects load about 1 or 1/2 a second faster. They don't seem to be loading in time for places over the sea for example.
I would also like to request CreateInteriorObject. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin | Pottus | Includes | 9 | 21/03/2014 07:31 PM |
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . | jame42 | Scripting Help | 4 | 30/05/2012 08:33 AM |
Streamer plugin 0.3d | rt-2 | Plugin Development | 7 | 05/12/2011 07:17 PM |
Streamer Plugin Help! | ColdXX | Everything and Nothing | 2 | 21/08/2010 11:28 PM |
Streamer Plugin! | ColdXX | Help Archive | 10 | 18/07/2010 01:47 PM |