SA-MP Forums Archive
[Plugin] Streamer Plugin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Streamer Plugin (/showthread.php?tid=102865)



Re: Streamer Plugin - IstuntmanI - 06.11.2014

Quote:
Originally Posted by Abagail
Посмотреть сообщение
As far as I know, although I could be wrong, BULLET_HIT_TYPE_OBJECT works for dynamic objects, - and you'd just have to verify it as a dynamic object and you'd be good to go with a BULLET_HIT_TYPE_DYNAMIC_OBJECT. Again, I haven't confirmed this.
pawn Код:
forward OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z);



Re: Streamer Plugin - MikkiMapper - 13.11.2014

Work? I will update my streamer but i think for mine doesnt work? What's wrong?
PS. I have now new problem, when i start my filterscript. Object in that FS was down? I can't see object, i can see only few?


Re: Streamer Plugin - IstuntmanI - 14.11.2014

Quote:
Originally Posted by MikkiMapper
Посмотреть сообщение
Work? I will update my streamer but i think for mine doesnt work? What's wrong?
PS. I have now new problem, when i start my filterscript. Object in that FS was down? I can't see object, i can see only few?
Change CreateObject to CreateDynamicObject.

A suggestion: We have
pawn Код:
native Streamer_SetVisibleItems(type, items);
but a
pawn Код:
native Streamer_SetPlayerVisibleItems(playerid, type, items);
is also pretty needed, can we have it, or it would decrease the plugin performance drastically ?


Re: Streamer Plugin - Ptasior - 24.11.2014

Hello. I tried to compile streamer under Debian 6 x64, and i've got some error:
Код:
==== Building streamer (release) ====
Linking streamer
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../librt.a when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
make[1]: *** [bin/linux/Release/streamer.so] Error 1
make: *** [streamer] Error 2
Does any one know what it mean?


Re: Streamer Plugin - xeeZ - 25.11.2014

Quote:
Originally Posted by Ptasior
Посмотреть сообщение
Hello. I tried to compile streamer under Debian 6 x64, and i've got some error:
Код:
==== Building streamer (release) ====
Linking streamer
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../librt.a when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
make[1]: *** [bin/linux/Release/streamer.so] Error 1
make: *** [streamer] Error 2
Does any one know what it mean?
Installing these packages should fix that:

Код:
sudo apt-get install gcc-multilib g++-multilib



Re: Streamer Plugin - Ptasior - 25.11.2014

Worked like a charm. Thanks.


Re: Streamer Plugin - Anuris - 25.11.2014

Hello guys.
I've a rather stupid question, I've got in my cod:
pawn Код:
public OnGameModeInit()
{
Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT, 2000);
...
}
But it doesn't make any sence...I mean, players can't see more objects, then default.

Sorry for my English.


Re: Streamer Plugin - Write - 25.11.2014

Nice.


Re: Streamer Plugin - kurta999 - 25.11.2014

Quote:
Originally Posted by Anuris
Посмотреть сообщение
Hello guys.
I've a rather stupid question, I've got in my cod:
pawn Код:
public OnGameModeInit()
{
Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT, 2000);
...
}
But it doesn't make any sence...I mean, players can't see more objects, then default.

Sorry for my English.
Maximum visible object limit is 1000, you can't increase it.


Re: Streamer Plugin - Reim - 27.11.2014

pawn Код:
native AttachDynamicMapIconToObject(iconid, objectid, type = STREAMER_OBJECT_TYPE_DYNAMIC, playerid = INVALID_PLAYER_ID);
native AttachDynamicMapIconToPlayer(iconid, playerid);
native AttachDynamicMapIconToVehicle(iconid, vehicleid);



Re: Streamer Plugin - arYzal - 02.12.2014

This new version causing OnPlayerEditDynamicObject callback didnt work at all @_@ ...

update* = using old streamer v2.7.1 ... and problem fixed.


Re: Streamer Plugin - ball - 13.12.2014

After update to 2.7.4 server get freeze sometimes

Код:
Kicking [IP] because they didn't logon to the game.
A lot of messages. Only restart helps, but version 2.7.2 works perfectly - only disadvantage is calling OnPlayerEnterDynamicArea before OnPlayerLeaveDynamicArea. I know this is fixed in 2.7.4, but as I said - version 2.7.4 needs some fixes.


Re: Streamer Plugin - Vince - 15.12.2014

Yeah, 2.7.4 seems broken. MySQL callbacks not getting called. 2.7.2 works fine.


Re: Streamer Plugin - kurta999 - 15.12.2014

Quote:
Originally Posted by Vince
Посмотреть сообщение
Yeah, 2.7.4 seems broken. MySQL callbacks not getting called. 2.7.2 works fine.
LOOOOOOOOL!!!!!

I had this problem, but I didn't know that this caused by streamer plugin.


Re: Streamer Plugin - Abagail - 15.12.2014

I have a solution:
Don't use version 2.7.4. Problem solved, it apparently has many issues. I personally don't even update the streamer plug-in it's already stable enough, right?


Re: Streamer Plugin - ReV. - 15.12.2014

Been using 2.7.4 for about a month now, seems to work fine for me.


Re: Streamer Plugin - Pottus - 16.12.2014

The sampgdk update is what is causing callbacks to fail I created an issue about this some time ago that is still open so hopefully it gets fixed soon as that issue has been going on for 2 months now.

https://github.com/samp-incognito/sa...ugin/issues/31


Re: Streamer Plugin - kurta999 - 16.12.2014

Quote:
Originally Posted by Vince
Посмотреть сообщение
Yeah, 2.7.4 seems broken. MySQL callbacks not getting called. 2.7.2 works fine.
I've updated SAMP GDK to 4.2-1, recompiled streamer plugin and still the same.. then WTF causes this.


Re: Streamer Plugin - Kar - 17.12.2014

2.7.4 has been working for me with no issues

Only the same sampgdk crashes have been going on..


AW: Streamer Plugin - axi92 - 23.12.2014

Is there a way to check if a rocket from a jet hits an streamed object?

I'v tried it with OnPlayerShootDynamicObject but it gave me no response.