[Plugin] Streamer Plugin

Refer to the first page or streamer.inc. You will find your answer there.
Reply

I still didn't solve my problem that my pickups aren't loading always in interiors. It doesn't matter if I use CreatePickup OR CreateDynamicPickup.
Sometimes it works, somestimes not.
I created them under OnGameModeInit:
Код:
enter[1] = CreateDynamicPickup(1318, 23,539.5384, -1292.8702, 17.2422);
exit[1] = CreateDynamicPickup(1318, 23, 834.3901,7.4238,1004.1870);
The exit Pickup isn't loading always. It doesn't matter if I put -1 or not.
cYa roym899
Reply

uploadffs removed both links, delete the links
Reply

Quote:
Originally Posted by Mina
uploadffs removed both links, delete the links
Whats that suppose to mean?
Reply

I created a map to a burglary
but when the players enter the teleport to go to the map they're already falling it takes to load the map.

What do I do the retrieval map loads faster and the players not going to fall off when the map?


.: Sorry my bad english
Reply

Quote:
Originally Posted by keller012
I created a map to a burglary
but when the players enter the teleport to go to the map they're already falling it takes to load the map.

What do I do the retrieval map loads faster and the players not going to fall off when the map?


.: Sorry my bad english
Use UpdateStreamerEx or make them spawn higher.
Reply

I've released a new version.

Quote:

v2.3.8
- Optimized a lot of streaming code
- Improved checkpoint handling
- Improved moving objects
- Resolved possible callback bugs
- Added Streamer_IsItemVisible, Streamer_DestroyAllVisibleItems, Streamer_CountVisibleItems, and Streamer_GetUpperBound

This version improves upon a lot of things (namely checkpoints), but it also benefits from several other optimizations. There are also four new natives (thanks to Matite and $ЂЯĢ for the suggestions).

Be sure to recompile all scripts with the latest include file.

Edit: You can now enumerate through IDs like this:

pawn Код:
new
    j = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT);

for (new i = 1; i < j; i++)
{
    if (IsValidDynamicObject(i))
    {
        printf("Object ID: %d", i);
    }
}
Reply

My server "Homehost" was running on streamer.dll plugin now i bought "Linux" server and ofcorse i had to change streamer.dll to streamer.so but now after i use some commands like /report or something then server will crash... Anyone got ideas why?
Reply

Quote:
Originally Posted by Incognito
I've released a new version.

Quote:

v2.3.8
- Optimized a lot of streaming code
- Improved checkpoint handling
- Improved moving objects
- Resolved possible callback bugs
- Added Streamer_IsItemVisible, Streamer_DestroyAllVisibleItems, Streamer_CountVisibleItems, and Streamer_GetUpperBound

This version improves upon a lot of things (namely checkpoints), but it also benefits from several other optimizations. There are also four new natives (thanks to Matite and $ЂЯĢ for the suggestions).

Be sure to recompile all scripts with the latest include file.

Edit: You can now enumerate through IDs like this:

pawn Код:
new
    j = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT);

for (new i = 1; i < j; i++)
{
    if (IsValidDynamicObject(i))
    {
        printf("Object ID: %d", i);
    }
}
Epic, looking forward to utilising some of these new native functions.
Reply

Quote:
Originally Posted by Freddo [BINMAN
]
Quote:
Originally Posted by Incognito
I've released a new version.

Quote:

v2.3.8
- Optimized a lot of streaming code
- Improved checkpoint handling
- Improved moving objects
- Resolved possible callback bugs
- Added Streamer_IsItemVisible, Streamer_DestroyAllVisibleItems, Streamer_CountVisibleItems, and Streamer_GetUpperBound

This version improves upon a lot of things (namely checkpoints), but it also benefits from several other optimizations. There are also four new natives (thanks to Matite and $ЂЯĢ for the suggestions).

Be sure to recompile all scripts with the latest include file.

Edit: You can now enumerate through IDs like this:

pawn Код:
new
    j = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT);

for (new i = 1; i < j; i++)
{
    if (IsValidDynamicObject(i))
    {
        printf("Object ID: %d", i);
    }
}
Epic, looking forward to utilising some of these new native functions.
Same, Great update

Back to this plugin asap!
Reply

Awesome, good job Incognito!
Reply

Thanks for the update!
Reply

Quote:
Originally Posted by Incognito
I've released a new version.

Quote:

v2.3.8
- Optimized a lot of streaming code
- Improved checkpoint handling
- Improved moving objects
- Resolved possible callback bugs
- Added Streamer_IsItemVisible, Streamer_DestroyAllVisibleItems, Streamer_CountVisibleItems, and Streamer_GetUpperBound

This version improves upon a lot of things (namely checkpoints), but it also benefits from several other optimizations. There are also four new natives (thanks to Matite and $ЂЯĢ for the suggestions).

Be sure to recompile all scripts with the latest include file.

Edit: You can now enumerate through IDs like this:

pawn Код:
new
    j = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT);

for (new i = 1; i < j; i++)
{
    if (IsValidDynamicObject(i))
    {
        printf("Object ID: %d", i);
    }
}
Thank you Incognito, using the upgrade already
Reply

Thank you for the update with the new feature's, Best thing is now OnPlayerEnterDynamicCheckPoint works perfect, thank you
Reply

Dynamic3DTexts don't show up after a GMX. Players first have to reconnect in order to see them.
Reply

Quote:
Originally Posted by [MOB
Tr1viUm ]
Dynamic3DTexts don't show up after a GMX. Players first have to reconnect in order to see them.
http://forum.sa-mp.com/index.php?topic=137954.0
Reply

Quote:
Originally Posted by D0erf|er
Quote:
Originally Posted by [MOB
Tr1viUm ]
Dynamic3DTexts don't show up after a GMX. Players first have to reconnect in order to see them.
http://forum.sa-mp.com/index.php?topic=137954.0
Thanks. I'll see if a timer for creating Dynamic3DTexts at OnGameModeInit will work. Thanks again.

Edit: A timer didn't work.
Reply

Streamer_GetUpperBound
^ I didn't get that completly, what does it do, what can I use it for?
Reply

Quote:
Originally Posted by [03
Garsino ]
Streamer_GetUpperBound
^ I didn't get that completly, what does it do, what can I use it for?
Get's highest ID of specific element type.

For example you create 10 objects and you delete first 5. You have 5 objects in total, but highest ID is still 10.
Reply

Same problem without streaming. Maybe a SAMP Issue?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)