Posts: 447
Threads: 6
Joined: May 2006
Reputation:
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. ****** made some recent additions to the callback hook procedure to fix that.
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
LaZ: Thanks, the link has been fixed.
$ЂЯĢ: That is doable.
Posts: 78
Threads: 25
Joined: Sep 2007
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.
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
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.
Posts: 17
Threads: 1
Joined: Jun 2008
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
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
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.
Posts: 78
Threads: 25
Joined: Sep 2007
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?
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
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.
Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
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.
Posts: 435
Threads: 15
Joined: Feb 2008
Reputation:
0
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.
Posts: 2,034
Threads: 153
Joined: Jan 2009
Reputation:
0
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.