SA-MP Forums Archive
Object Limit Crash: SA-MP cannot hold 400 0.3c objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Object Limit Crash: SA-MP cannot hold 400 0.3c objects (/showthread.php?tid=257587)



SA-MP cannot hold 400 objects and remain stable - Jay_ - 26.05.2011

I've been experiencing an odd client crash which I've been researching quite a bit.

The game cannot handle the 400 documented limit.

Update: This happens with any objects that have a lot of textures, such as large buildings.

The below command will create the first 399 SA:MP 0.3c objects but as a side effect will immediately show stack warnings and crash the client with >this< crash information.

pawn Code:
if(!strcmp(cmdtext, "/obj"))
{

    new
        Float:fPosX,
        Float:fPosY,
        Float:fPosZ;

    GetPlayerPos(playerid, fPosX, fPosY, fPosZ);

    for(new i = 18632; i < 19031; i++)
    {
        CreatePlayerObject(playerid, i, fPosX, fPosY, fPosZ, 0, 0, 0, 0);
    }
    return 1;
}
I hope it's fixable for any future versions.

Thanks

Regards.

Search Tags:
0x00415D47
Warning:(s007): Exception 0xC0000005 at 0x415D47.
0x006FF35B


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - TheYoungCapone - 26.05.2011

Don't think that's true I have over 400 0.3c objects in my server.


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - zerocoolos - 26.05.2011

Quote:
Originally Posted by TheYoungCapone
View Post
Don't think that's true I have over 400 0.3c objects in my server.
its not server streamed objects number that you use with streamer that you talking, its max showed for player, read careful what he wrote and dont write stupid tings just to say something...


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - TheYoungCapone - 26.05.2011

Quote:
Originally Posted by zerocoolos
View Post
its not server streamed objects number that you use with streamer that you talking, its max showed for player, read careful what he wrote and dont write stupid tings just to say something...
sorry i misread dont get all jumpy on me dumb kid.


AW: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - Meta - 26.05.2011

I think it's because they're too close or something.
Make The Objects spawn along a part of "The Strip" or in a Square so that they're not inside each other but streamed in


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - zerocoolos - 27.05.2011

Quote:
Originally Posted by TheYoungCapone
View Post
sorry i misread dont get all jumpy on me dumb kid.
im not a kid... and i watch all time people just wrote things even they not read or doesnt know, but they want to be smart...dont think that im noob or something like that...

i have wrote you that comment becasue i tested, and sometimes really crash, its not nothing new but its best to put limit lower than 399 on streamer...


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - samiras - 28.05.2011

Are you sure id rage from 18632 to 19031 is valid ?


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - Patrik356b - 28.05.2011

Object models 18632-19307 is valid for 0.3c according to sa-mp wiki


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - leong124 - 07.09.2011

I also have some random warning similar or exactly the same as yours, with my clean GTA:SA.
I have thousands of objects and my LS Office is nearly full of objects (including 0.3c objects).
I'll test your script if I have time.


Re: Object Limit Crash: SA-MP cannot hold 400 0.3c objects - Kalcor - 08.09.2011

Being able to load 400 objects is not the same as loading 400 unique models right on top of the player. This is a 3D game and there are still underlying limits.

Can you load 400 objects? Yes. There are plenty of servers streaming with a limit of 400. The object limit is obviously not the issue here.