20.02.2012, 09:06
since i removed some buildings (RemoveBuildingForPlayer) my server lag (people don't move on my screen it's the same way otherwise) help what did i wrong?
He was complaining that it DOES lag, implying that something ISN'T well written. THAT is why they want to see OnPlayerUpdate - you basically said you don't understand then explained the exact reason! Yes, OnPlayerUpdate can be well written and not cause problems, but when people are complaining about problems then there must be a cause.
|
It is much easier to cause lag under a poorly written OnPlayerUpdate than any other callback (especially if you return 0). I don't understand why you are so opposed to checking that callback, even if you're right and it is another callback, checking that common problem first will at least rule it out.
|