RemoveBuildingForPlayer bug
#1

Hi

There is a bug/not documented limit.
If i remove > 1000 objects with that function, client will freeze (not crash)
If i remove <= 1000 objects, all goes ok.
Please increase limit, or just fix that bug.
Reply
#2

Yeah, it's a bit annoying. I wish I could remove at least 200 objects, because I've got this problem even if I want to delete ~100 of them!
Reply
#3

How about you all check the amount of duplicate model ids? If you were to use that fancy map editor to delete eight identical bushes in an area of 5 by 5 meters you would end up with 8 calls to that function with a range of 0.25 each.

Instead of just calling that function once, with a centralized location and a bigger range.
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
How about you all check the amount of duplicate model ids? If you were to use that fancy map editor to delete eight identical bushes in an area of 5 by 5 meters you would end up with 8 calls to that function with a range of 0.25 each.

Instead of just calling that function once, with a centralized location and a bigger range.
Thanks for help, but this limit still not documented, it can cause problems in future...
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
How about you all check the amount of duplicate model ids? If you were to use that fancy map editor to delete eight identical bushes in an area of 5 by 5 meters you would end up with 8 calls to that function with a range of 0.25 each.

Instead of just calling that function once, with a centralized location and a bigger range.
I agree.
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=396390
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)