Arran

Results 62 comments of Arran

Is this still a draft because you haven't done all the objects? No need for you to do all the objects for this to be merged. Merging it means that...

I just tested setElementData and the FPS impact of setting 10,000 element datas on myself was only 1 second. Though 10,000 times on an object freezes the game for 16...

I forgot to mention that Sam1ler asked me to test in single player if firing the M4 makes FPS drop and it did not (and yes I did have FPS...

When r20460 (which adds #1234) is available as recommended client version this will hopefully be able to improve the performance of our sound scripts if we convert them to using...

@qaisjp you said this in an earlier comment: > An optimisation like this is done for the drawing, so I would assume they are also done for the sound functions....

@Pirulax says that this is caused by the event onClientWorldSound well I just did a find in files (on CIT's scripts) and that event is only used in 1 unimportant...

I built MTA, tested the FPS drop, then disabled onClientWorldSound by blanking CClientGame::WorldSoundHandler (verified that the event was not being called any more) but the FPS drop is still the...

Did you resetWorldSounds() before testing the "Cancelled via onClientWorldSound"? Because I recall from the tests I did that cancelling the event had no performance improvement, the sound had to be...

After testing this PR: https://github.com/multitheftauto/mtasa-blue/pull/2133 I realised it might be able to find the performance loss for this but all of the sampling CrosRoad95 added are in the deathmatch project...

> There is a small chance that the problem is with MTA, since MTA doesn't do anything much with the audio other than grab it from GTA SA In a...