SA-MP Forums Archive
Too many SetObjectMaterialText objects? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Too many SetObjectMaterialText objects? (/showthread.php?tid=587809)



Too many SetObjectMaterialText objects? - Crayder - 02.09.2015

1st let me say that on my desktop everything renders perfectly fine. On my laptop however, when many SetObjectMaterialText objects are streamed in at one place my screen goes whack. It's not the white screen of death or anything like that. It's something I've never seen before.

The cash numbers turn into a single box, the chat get's boxxy, some of the objects appear translucent (but they are still there), the pause menu is boxxy, CJ's skin is all white except his head and shoes, and other small things...

Here is a picture of CJ's awesome ghost body and the fucked up text.

Ps. I know for sure it is SetObjectMaterialText because when I disable it and restart the game mode (gmx, without exiting the game) the problem goes away. Then it comes back when I re-enable it. Also it's not just my server that causes it, ThreeKingz does it exactly the same to me. First I was blaming my mods but that proved to be wrong when I reinstalled GTA on the laptop to be sure, the problem remained.


Re: Too many SetObjectMaterialText objects? - Abagail - 02.09.2015

Are you setting the same object's material text 16 or more times? AFAIK doing that causes a memory leak.


Re: Too many SetObjectMaterialText objects? - ThePhenix - 02.09.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Are you setting the same object's material text 16 or more times? AFAIK doing that causes a memory leak.
Actually, I can set the same object's material text more than 100 times and I don't get that problem. It should be something else.
Proof:



Maybe, it has to do with your computer..


Re: Too many SetObjectMaterialText objects? - Crayder - 03.09.2015

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
Maybe, it has to do with your computer..
No shit, this is the client support section... XD

@Abagail, no, it's just once on each object. It doesn't happen with SetObjectMaterial, and it only happens when their are many objects.


Re: Too many SetObjectMaterialText objects? - ThePhenix - 03.09.2015

Quote:
Originally Posted by Crayder
Посмотреть сообщение
No shit, this is the client support section... XD

@Abagail, no, it's just once on each object. It doesn't happen with SetObjectMaterial, and it only happens when their are many objects.
What I meant, is that perhaps it's nothing related to GTA SA or SA-MP. Maybe some program or setting in your computer is causing that issue. Actually, I'm pretty sure it has do do with your GPU as it gets overloaded with a lot of objects.


Re: Too many SetObjectMaterialText objects? - Crayder - 03.09.2015

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
What I meant, is that perhaps it's nothing related to GTA SA or SA-MP. Maybe some program or setting in your computer is causing that issue. Actually, I'm pretty sure it has do do with your GPU as it gets overloaded with a lot of objects.
It's not the number of objects, it's only when SetObjectMaterialText is applied.