thegrb93 / StarfallEx

Starfall, but with active development and more features. Write Garry's mod chips similar to E2, but in lua
https://discord.gg/yFBU8PU
Other
198 stars 111 forks source link

sv hologram automatic setrenderbounds based on holoscale break on fullupdate #1876

Open yingKatsu opened 6 hours ago

yingKatsu commented 6 hours ago

https://cdn.discordapp.com/attachments/921945120167833613/1297339389302800445/2024-10-19_18-22-11.mp4?ex=671590f5&is=67143f75&hm=3f217f0474a4201d9bbd6ae032dde07b2b87e256d179ec2890577942270c3c8b&

i assume [gmod bug]?

idk why it does this cause holograms are transmit_always and dont get destroyed cl after a fullupdate i also confirmed it by calling :GetRenderBounds on the unwrapped ent after a fullupdate and it changed back to default

is it a viable solution to refresh all hologram renderbounds clientside in the OnRequestFullUpdate hook when the hook variable is the localplayer?

yingKatsu commented 5 hours ago

nvm i was just told that apparently all entities are destroyed upon fullupdate and that ent:initialize cl is unreliable for this scenario.

i notice that holograms are infact shown in the the networkentitycreated after a fullupdate, so perhaps that would be a better place to reset their renderbounds?