[Plugin] Streamer Plugin

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);
Reply

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?
Reply

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 ?
Reply

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?
Reply

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
Reply

Worked like a charm. Thanks.
Reply

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.
Reply

Nice.
Reply

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.
Reply

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

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

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

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.
Reply

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

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.
Reply

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?
Reply

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

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
Reply

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.
Reply

2.7.4 has been working for me with no issues

Only the same sampgdk crashes have been going on..
Reply

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.
Reply


Forum Jump:


Users browsing this thread: 15 Guest(s)