SA-MP Forums Archive
Increased MAX_OBJECTS limit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Increased MAX_OBJECTS limit (/showthread.php?tid=662442)



Increased MAX_OBJECTS limit - IllidanS4 - 01.01.2019

Hello Kalcor!
Is there something that prevents the object count limit increase to 2000 from being included into 0.3.7? Seeing that some features and fixes from DL were already added into R3, does increased MAX_OBJECTS require further testing on 0.3.DL, or is it ready to be included in the next server release? This would help servers with large maps, and remove some issues for servers with the 0.3.DL compatibility layer.
Thank you very much!


Re: Increased MAX_OBJECTS limit - Gforcez - 01.01.2019

Quote:
Originally Posted by IllidanS4
View Post
Hello Kalcor!
Is there something that prevents the object count limit increase to 2000 from being included into 0.3.7? Seeing that some features and fixes from DL were already added into R3, does increased MAX_OBJECTS require further testing on 0.3.DL, or is it ready to be included in the next server release? This would help servers with large maps, and remove some issues for servers with the 0.3.DL compatibility layer.
Thank you very much!
If I have to guess. This change will probably come when the DL version is integrated in the main SA:MP version branch.


Re: Increased MAX_OBJECTS limit - J0sh... - 01.01.2019

Quote:
Originally Posted by Gforcez
View Post
If I have to guess. This change will probably come when the DL version is integrated in the main SA:MP version branch.
Why?
Its a #define change, and probably a C&P of some code that may solve a crash with 1000+ objects, who knows.


Re: Increased MAX_OBJECTS limit - IllidanS4 - 01.01.2019

Quote:
Originally Posted by J0sh...
View Post
Why?
Its a #define change, and probably a C&P of some code that may solve a crash with 1000+ objects, who knows.
It might not be that simple. Last time I was looking at some details about the game memory, there was a limit of 1000 for dynamic objects. It is possible Kalcor didn't come up with this limit originally.


Re: Increased MAX_OBJECTS limit - J0sh... - 01.01.2019

Quote:
Originally Posted by IllidanS4
View Post
It might not be that simple. Last time I was looking at some details about the game memory, there was a limit of 1000 for dynamic objects. It is possible Kalcor didn't come up with this limit originally.
Hence why I said
Quote:

and probably a C&P of some code that may solve a crash with 1000+ objects, who knows.

Merging 0.3.DL would have nothing to do with increasing MAX_OBJECTS.
The support for 2000 objects could just be ported over, without needing 0.3.DL to be merged to master.


Re: Increased MAX_OBJECTS limit - beckzy - 02.01.2019

https://forum.sa-mp.com/showpost.php...2&postcount=66


Re: Increased MAX_OBJECTS limit - NaS - 02.01.2019

It's not included because it would be inconsistent with R1 and R2. Wait for a release that forces everyone to switch to a new client.


Re: Increased MAX_OBJECTS limit - IllidanS4 - 02.01.2019

Quote:
Originally Posted by NaS
View Post
It's not included because it would be inconsistent with R1 and R2. Wait for a release that forces everyone to switch to a new client.
Well, I am aware of this. I am wondering when this release is coming.


Re: Increased MAX_OBJECTS limit - Gforcez - 02.01.2019

Quote:
Originally Posted by IllidanS4
View Post
Well, I am aware of this. I am wondering when this release is coming.
When it's ready. Like always