You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling Streamer_DestroyAllVisibleItems(playerid, STREAMER_TYPE_MAP_ICON) it sometimes seems to not properly mark certain IDs as free. Over time this reduces the amount of visible MapIcons and eventually no MapIcons will be left on the player side.
To reproduce simply create for example 200 MapIcons in a large circle (style MAPICON_GLOBAL and large streamdistance) so the streamer tries to show as many as possible.
Then add a command that does the following and keep using it:
For the first few times it works as expected: all icons disappear for a short time and reappear. However the number of icons reappearing will reduce and eventually there will be no icons left.
This issue can sometimes be worked around by using Streamer_SetVisibleItems and setting the player's max map icons to 0 and back to 100 (or whatever amount you want to set). The only reliable way is changing virtual world/interior.
Tested on 2.9.2 -- 2.9.6 with both chunk streaming on and off.
The text was updated successfully, but these errors were encountered:
When calling Streamer_DestroyAllVisibleItems(playerid, STREAMER_TYPE_MAP_ICON) it sometimes seems to not properly mark certain IDs as free. Over time this reduces the amount of visible MapIcons and eventually no MapIcons will be left on the player side.
To reproduce simply create for example 200 MapIcons in a large circle (style MAPICON_GLOBAL and large streamdistance) so the streamer tries to show as many as possible.
Then add a command that does the following and keep using it:
For the first few times it works as expected: all icons disappear for a short time and reappear. However the number of icons reappearing will reduce and eventually there will be no icons left.
This issue can sometimes be worked around by using Streamer_SetVisibleItems and setting the player's max map icons to 0 and back to 100 (or whatever amount you want to set). The only reliable way is changing virtual world/interior.
Tested on 2.9.2 -- 2.9.6 with both chunk streaming on and off.
The text was updated successfully, but these errors were encountered: