[Plugin] Streamer Plugin

Quote:
Originally Posted by Dodo9655
Посмотреть сообщение
If I put my objects in a filterscript to allow for object reloading while the server is running, do I need to also Destroy them under "OnFilterScriptExit" ?
Because right now, reloading the filterscript causes the objects to dissapear, and not appear again after the fs is reloaded.
Yes you need to Destroy them on unload, if you dont objects will just duplicate.
Reply

Can anyone help me. I have version of streamer 2.4 and all works fine when I run server. But yesterday when I update this new version of streamer plugin I compiled pawno and run server I get bunch of runtime errors but when I back again to 2.4 version all works fine again. Thanks.
Reply

Quote:
Originally Posted by Luca12
Посмотреть сообщение
Can anyone help me. I have version of streamer 2.4 and all works fine when I run server. But yesterday when I update this new version of streamer plugin I compiled pawno and run server I get bunch of runtime errors but when I back again to 2.4 version all works fine again. Thanks.
You must update both, the .dll/.so in your plugins folder and the .inc file in your includes folder. THEN recompile and run.
Reply

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
does any body know how to mute the warnings of labels and pickups by the compiler?. The warning is "symbol is assigned a value that is never used".
Use
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz):
Instead of
Код:
var = CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz):
Reply

Quote:
Originally Posted by Crayder
Посмотреть сообщение
You must update both, the .dll/.so in your plugins folder and the .inc file in your includes folder. THEN recompile and run.
I did that few times actually and always it's the same 2.4 version streamer works perfect while new updated streamer when I run samp server exe I get runtime errors
Reply

Quote:
Originally Posted by Luca12
Посмотреть сообщение
I did that few times actually and always it's the same 2.4 version streamer works perfect while new updated streamer when I run samp server exe I get runtime errors
Perhaps it'd make a bit of sense to show us the runtime errors then.
Reply

Anyone else had an issue with some objects rotating out of position after the server been online for a while?
Reply

GetPlayerSurfingObjectID don't work with dynamic objects. Is there any possibility to get it working?
Reply

Do you use any threads or fork, maybe? The last version of your plugin (v2.8.2) brings <defunct> processes in a tasklist.
OS: Ubuntu 15.10
Reply

CreateDynamicObjectEx bugs in 214 commits

Version 2.8.2 is normal. Linking on my OS and download here https://github.com/samp-incognito/sa...lugin/releases

sample code
CreateDynamicObjectEx(2000, -248.31242, 36.19466, 1.20491, 0.00000, 0.00000, 0.00000,300.0,300.0);
CreateDynamicObject(2001, -250.45900, 28.61890, 1.20490, 0.00000, 0.00000, 0.00000,-1,-1,-1,300.0,300.0);
CreateDynamicObject(2002, -252.03870, 22.93730, 1.20490, 0.00000, 0.00000, 0.00000);


2000 model not streamed in 214 commits , on version 2.8.2 normal
Reply

Add these functions and callbacks:
Код:
OnObjectStreamIn(objectid, forplayerid);
OnObjectStreamOut(objectid, forplayerid);

IsObjectStreamedIn(objectid, forplayerid);
Reply

Hello!
Under the CentOS7 I see Segmentation Fault error.
I read https://github.com/samp-incognito/sa...gin/issues/107
And tried to compile myself:
> git clone https://github.com/samp-incognito/sa...mer-plugin.git
> cd samp-streamer-plugin
> make
After that I have copied new streamer.so to the server plugin forlder.
But the error still occurs.
Reply

I like the latest version!
Reply

Quote:
Originally Posted by Kolstin
Посмотреть сообщение
Add these functions and callbacks:
Код:
OnObjectStreamIn(objectid, forplayerid);
OnObjectStreamOut(objectid, forplayerid);

IsObjectStreamedIn(objectid, forplayerid);
You can use Streamer_IsItemVisible for "IsObjectStreamedIn" . As for these StreamIn/Out callbacks, there is no need for that. You can find other ways of doing something.
Reply

Quote:
Originally Posted by diclofoss
Посмотреть сообщение
Hello!
Under the CentOS7 I see Segmentation Fault error.
I read https://github.com/samp-incognito/sa...gin/issues/107
And tried to compile myself:
> git clone https://github.com/samp-incognito/sa...mer-plugin.git
> cd samp-streamer-plugin
> make
After that I have copied new streamer.so to the server plugin forlder.
But the error still occurs.
Did you install and use the 32-bit dependencies?
Reply

How to create over 2000 vehicles with Streamer?
Reply

Quote:
Originally Posted by vannesenn
Посмотреть сообщение
How to create over 2000 vehicles with Streamer?
This plugin doesn't support vehicles.
Reply

https://sampwiki.blast.hk/wiki/Limits -> "(✝✝) To circumvent these limits, it is possible to use a streamer. Streamers work by only creating the objects/vehicles etc. that are close to players. See here (vehicles and actors not supported, but there are streamers out there for those)."
Reply

Quote:
Originally Posted by vannesenn
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Limits -> "(✝✝) To circumvent these limits, it is possible to use a streamer. Streamers work by only creating the objects/vehicles etc. that are close to players. See here (vehicles and actors not supported, but there are streamers out there for those)."
https://sampforum.blast.hk/showthread.php?tid=580937

One of the top threads in Plugin Development.
Reply

But that's old verision. Kurta didn't updated plugin to 2.8.2
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)