Re: Streamer Plugin -
Morpheine - 10.10.2015
Nice.
Re: Streamer Plugin -
Luca12 - 12.10.2015
So I have updated streamer to this last version 2.7.8 and I get a bunch runtime errors in my gamemode in some publics so I have returned streamer to version 2.7.4 and gamemode starts fine without any errors so I just want to report this for creator. Thanks
Re: Streamer Plugin -
Crayder - 12.10.2015
Quote:
Originally Posted by Luca12
So I have updated streamer to this last version 2.7.8 and I get a bunch runtime errors in my gamemode in some publics so I have returned streamer to version 2.7.4 and gamemode starts fine without any errors so I just want to report this for creator. Thanks
|
It's not a
report unless you actually
report something. Yeah sure you said that you got some runtime errors, but
what runtime errors are you getting?
Re: Streamer Plugin -
Luca12 - 13.10.2015
it is all runtime errors 7 stack underflow but my public codes are fine so I returned to streamer 2.7.4 and it's works perfect without any errors I remember that Konstantinos says somewhere in the post that newer version of streamer may cause such problems.
Re: Streamer Plugin -
S4D - 14.10.2015
Is it possible to not update objects near the player under certain conditions? Something like returning 0 in OnPlayerUpdate
Re: Streamer Plugin -
Crayder - 14.10.2015
Quote:
Originally Posted by S4D
Is it possible to not upgrade objects near the player under certain conditions? Something like returning 0 in OnPlayerUpdate
|
Yes, there is.
Код:
Streamer_ToggleItemUpdate(playerid, type, toggle)
To turn object streaming off for a player do this:
Код:
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_OBJECT, 0);
And of course, the inverse to turn it back on.
Re: Streamer Plugin -
S4D - 14.10.2015
Quote:
Originally Posted by Crayder
And of course, the inverse to turn it back on.
|
To toggle all the types i should to disable each individually?
Re: Streamer Plugin -
BGTrucker - 14.10.2015
Quote:
Originally Posted by S4D
To toggle all the types i should to disable each individually?
|
May be just loop through all types and disable them.
Re: Streamer Plugin -
S4D - 16.10.2015
Quote:
Originally Posted by BGTrucker
May be just loop through all types and disable them.
|
This is same thing. Anyway, it was a stupid question, my bad.
Re: Streamer Plugin -
S4D - 17.10.2015
PHP код:
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_PICKUP, 0);
I probably found a bug, because it does not work.
Re: Streamer Plugin -
nickdodd25 - 17.10.2015
Quote:
Originally Posted by S4D
PHP код:
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_PICKUP, 0);
I probably found a bug, because it does not work.
|
And the bug is? I use this quite a bit with teleporting on my server and i have no issue. Just remember that 0 (false) means it would disable streaming of the the item type but any items that are streamed in will stay shown and 0 (true) would re-enable item streaming.
Re: Streamer Plugin -
S4D - 18.10.2015
Quote:
Originally Posted by nickdodd25
And the bug is? I use this quite a bit with teleporting on my server and i have no issue. Just remember that 0 (false) means it would disable streaming of the the item type but any items that are streamed in will stay shown and 0 (true) would re-enable item streaming.
|
https://www.youtube.com/watch?v=4nAkcGDJbT0
PHP код:
Streamer_ToggleAllItemUpdate(playerid, toggle)
{
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_OBJECT, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_PICKUP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_MAP_ICON, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_3D_TEXT_LABEL, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_AREA, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_CP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_RACE_CP, toggle);
return 1;
}
AW: Streamer Plugin -
FSAOskar - 18.10.2015
I guess you could just use -1 for the item type instead.
Re: AW: Streamer Plugin -
S4D - 18.10.2015
Quote:
Originally Posted by FSAOskar
I guess you could just use -1 for the item type instead.
|
Nope
Re: Streamer Plugin -
nickdodd25 - 18.10.2015
Quote:
Originally Posted by S4D
https://www.youtube.com/watch?v=4nAkcGDJbT0
PHP код:
Streamer_ToggleAllItemUpdate(playerid, toggle)
{
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_OBJECT, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_PICKUP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_MAP_ICON, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_3D_TEXT_LABEL, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_AREA, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_CP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_RACE_CP, toggle);
return 1;
}
|
Just tested with your code and i see what you mean now, it seems that pickups still stream even when toggled off.
pawn Код:
Streamer_ToggleAllItemUpdate(playerid, toggle)
{
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_OBJECT, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_PICKUP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_MAP_ICON, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_3D_TEXT_LABEL, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_AREA, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_CP, toggle);
Streamer_ToggleItemUpdate(playerid, STREAMER_TYPE_RACE_CP, toggle);
return 1;
}
CMD:strue(playerid,params[]) //re-enables the item update
{
return Streamer_ToggleAllItemUpdate(playerid, true);
}
CMD:sfalse(playerid,params[]) //disables the item update
{
return Streamer_ToggleAllItemUpdate(playerid, false);
}
So this is for sure a bug. I was able to test everything but regular checkpoints and race checkpoints, and everything else works fine with exception of the pickups.
Re: Streamer Plugin -
Daea - 18.10.2015
Guys, help me. When the server starts it shuts down
Код:
[21:54:09] Loading plugin: streamer
[21:54:09] [debug] Server crashed due to an unknown error
[21:54:10] [debug] Native backtrace:
[21:54:10] [debug] #0 019f485e in ?? () from D:\Documents and Settings\Илья\Рабочий стол\БЭКАПЫ\Апокалипсис\new\plugins\streamer.dll
[21:54:10] [debug] #1 019f3770 in ?? () from D:\Documents and Settings\Илья\Рабочий стол\БЭКАПЫ\Апокалипсис\new\plugins\streamer.dll
[21:54:10] [debug] #2 01a04d43 in Load () from D:\Documents and Settings\Илья\Рабочий стол\БЭКАПЫ\Апокалипсис\new\plugins\streamer.dll
[21:54:10] [debug] #3 0046a51b in ?? () from D:\Documents and Settings\Илья\Рабочий стол\БЭКАПЫ\Апокалипсис\new\samp-server.exe
[21:54:10] [debug] #4 00c50178 in ?? ()
Windows XP
Re: Streamer Plugin -
Crayder - 18.10.2015
I'm just going to point out here that Incognito addressed the pickup updating earlier today already. Wait for the next version release for the fix or just go compile the source.
Re: Streamer Plugin -
kristo - 20.10.2015
Could you add E_STREAMER_EXTRA_ID_2 to the enum? I could use it to make my systems a lot more efficient. And no, I wouldn't be asking for third one in a few weeks.
Re: Streamer Plugin -
bogdyutzu - 20.10.2015
Use Streamer_SetArrayData with E_STREAMER_EXTRA_ID.
Re: Streamer Plugin -
Crayder - 03.01.2016
Quote:
Originally Posted by vannesenn
So what's the new link?
|
You don't get it, there is no new link. His entire GitHub account has been deleted. No more samp-incognito. All of his repo's, gone.
The most suspicious part about it is that he had released a new build just hours before it all disappeared.