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: [REL] Streamer Plugin v2.3.8 - ViruZZzZ_ChiLLL - 22.05.2010

Okay, so basically I tried this first with the -1 on the worldid, interiorid, playerid:
pawn Код:
CreateDynamicCP(2506, 1683, 14, 5, -1, -1, -1, 100.0);
It doesn't show up.

Then this 0 on the worldid, interiorid, playerid:
pawn Код:
CreateDynamicCP(2506, 1683, 14, 5, 0, 0, 0, 100.0);
Still, doesn't show up.

and sorry, this is my first time on using the DynamicCP

Oh, I see it, the beautiful CP!!!
(FIXED)


Re: [REL] Streamer Plugin v2.3.8 - Jason321 - 26.05.2010

I have a problem. When I use the following code to create a ramp upon request:

Код:
CreateDynamicObject(1655, X, Y, Z, 0.0, 0.0, A, 105, -1, -1, 200.00);
The object does not appear, however with CreateObject it does. I don't understand what's wrong so any help is appreciated, thanks


Re: [REL] Streamer Plugin v2.3.8 - dice7 - 26.05.2010

Are you in virtual world 105 ?


Re: [REL] Streamer Plugin v2.3.8 - Jason321 - 26.05.2010

Yes.


Re: [REL] Streamer Plugin v2.3.8 - mprofitt - 26.05.2010

When I use the command,

pawn Код:
CreateDynamicPickup(1318, 1, vx, vy, vz+2.0, GetVehicleVirtualWorld(vehicle), _, playerid, _);
All players see the pickup. Can someone verify?


Re: [REL] Streamer Plugin v2.3.8 - Sergei - 27.05.2010

There is no function CreatePlayerPickup, so any pickup will be created globally, but only streamed and usable for set player. Of course if that player is near pickup it will be streamed in and if anyone else comes near he/she will also see it.


Re: [REL] Streamer Plugin v2.3.8 - DevilRP - 27.05.2010

$ЂЯĢ
Listen man. i got same warnings as you did,
i only need the foreach include, and the link on the original thread is broken, can you please upload it for me? it would be highly appriciated!


Re: [REL] Streamer Plugin v2.3.8 - Sergei - 27.05.2010

http://forum.sa-mp.com/index.php?top...912#msg1023912


Re: [REL] Streamer Plugin v2.3.8 - antoine53 - 27.05.2010

Код:
D:\Documents and Settings\Propriйtaire\Bureau\GTATT\pawno\include\streamer.inc(268) : error 017: undefined symbol "IsPlayerNPC"
D:\Documents and Settings\Propriйtaire\Bureau\GTATT\pawno\include\streamer.inc(292) : error 017: undefined symbol "IsPlayerNPC"
D:\Documents and Settings\Propriйtaire\Bureau\GTATT\pawno\include\streamer.inc(429) : error 017: undefined symbol "CreatePlayer3DTextLabel"
D:\Documents and Settings\Propriйtaire\Bureau\GTATT\pawno\include\streamer.inc(431) : error 017: undefined symbol "DeletePlayer3DTextLabel"
D:\Documents and Settings\Propriйtaire\Bureau\GTATT\pawno\include\streamer.inc(449) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
But I have the include of Incognito


Re: [REL] Streamer Plugin v2.3.8 - iggy1 - 01.06.2010

I cant get anything to show on linux im using the correct plugin ie, steamer.so and im using all the latest includes it works fine with windows when i use the.dll. i have objects pickups and 3dtext none of which show on linux servers any ideas on a fix i know im using the right syntax as iv used this plugin for a while now.

thanks in advance.


Re: [REL] Streamer Plugin v2.3.8 - Calgon - 01.06.2010

Quote:
Originally Posted by $ЂЯĢ
Hmm, maybe we should have function like Streamer_SetPlayerPos and streamer would set palyer's pos, but only when it's sure that objects are loaded up already.

Or even better, make it "thread" alike. So when you do Streamer_UpdateEx, it loads elements and when it's done it calls OnStreamerLoaded(playerid, Float, Float:y, Float:z) and we just set position then.

Second option is better tho' because we can also use it for teleporting player with vehicle, otherwise we need another native like Streamer_SetVehiclePos.

I hope this will be solved somehow in new update because it is just cool if you can teleport on custom objects without freezing yourself.
OnStreamerLoaded would be so awesome.


Re: [REL] Streamer Plugin v2.3.8 - Kayla.S - 02.06.2010

Some of my objects are very glitchy, like the ones you might possibly see on a loop. However it occurs every time for me, even on just some straight aways. Anyone know how to solve this? Thanks.


Re: [REL] Streamer Plugin v2.3.8 - BP13 - 02.06.2010

Quote:
Originally Posted by K.S
Some of my objects are very glitchy, like the ones you might possibly see on a loop. However it occurs every time for me, even on just some straight aways. Anyone know how to solve this? Thanks.
You never said what was wrong exactly.


Re: [REL] Streamer Plugin v2.3.8 - a-day - 02.06.2010

Quote:
Originally Posted by Antoni0
Ok I have test the streamer but дддhm i don' check something ok I putted under my onfilterscriptinit objectlines like this

CreateDynamicObject(3902, -4151.3584, 456.1431, 35.1244, 0.0000, 0.8594, 184.7789,-1 ,-1 ,-1, 250.0);

but the objects are running to slow, I read that I have to put the Tickrate in but дддhm I don't know how xD I i have only to put in my onfilterscriptinit or did I have to do some more as that ?



Re: [REL] Streamer Plugin v2.3.8 - Kayla.S - 03.06.2010

Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by K.S
Some of my objects are very glitchy, like the ones you might possibly see on a loop. However it occurs every time for me, even on just some straight aways. Anyone know how to solve this? Thanks.
You never said what was wrong exactly.
This is what happens even on a straight road. I can't figure out why and how to fix it. I'm just hoping someone has had this before and knows a way around it or at least minimize the chances of it occurring.

http://i48.tinypic.com/j90cns.png




Re: [REL] Streamer Plugin v2.3.8 - mevi - 03.06.2010

this is usefull thanks


Re: [REL] Streamer Plugin v2.3.8 - BP13 - 03.06.2010

Quote:
Originally Posted by K.S
Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by K.S
Some of my objects are very glitchy, like the ones you might possibly see on a loop. However it occurs every time for me, even on just some straight aways. Anyone know how to solve this? Thanks.
You never said what was wrong exactly.
This is what happens even on a straight road. I can't figure out why and how to fix it. I'm just hoping someone has had this before and knows a way around it or at least minimize the chances of it occurring.

http://i48.tinypic.com/j90cns.png

That just happens when there's the same object lots of time in one area. It is because in GTA basically all objects are unique and are not really meant to be duplicated many times per area. That is the result of it. It is not the streamer it is GTA is self. You could try to lower the view distance of those objects but then again might not help if you have many. Also not a big deal so you will be fine


Re: [REL] Streamer Plugin v2.3.8 - Kayla.S - 03.06.2010

Ok thanks for the response, I will try those ideas.


Re: [REL] Streamer Plugin v2.3.8 - Spectre - 03.06.2010

Nice work btw...

I (and a few other friends who use this) are having a problem with figuring out the CreateDynamic3DTextLabel function...
The only way we can get it to work is when truncated as follows:

CreateDynamic3DTextLabel("TEST",0xFFFFFFAA,025.00,-0317.00,05.00,100.0);

Trying to decypher all the extra line commands are beyond us...For example, while my buddies could care less about checking "line of site", I would...

Everything after the drawdistance (attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0) is frustratingly vague in description (and what the heck is the second "distance" for)?

Would it be possible for you to provide a valid, working, full line example for, oh, just like my above line BUT checking the "line of sight"?
And maybe one where it's attached to a single player?

I'm sure if we were to see a few examples of full, working lines we'd be able to muddle through it...

Thanx in advance for any support you may provide...

8^}>


Re: [REL] Streamer Plugin v2.3.8 - [03]Garsino - 03.06.2010

Object loading while in a vehicle is SLOW!