mdlObj.inc increase size?

01/04/2020 18:47 LuciferMorningStar666#1
Hi, as the title says. How do you increase the size of the mdlObj? Because I had this problem that giving me an error, and Crashing the WorldServer.
Quote:
2020/ 1/ 4 08:56:54 GetModelElem - out of range: type=0, size=1722, index=1800

2020/ 1/ 4 08:56:54 CModelMng::loadModel objtype=0 index=1800 bpart=0
Here's what I did.

Quote:
{
"Pirate Ocean"
{
"Ship"
{
"t_v_mediumlight_doodad" 1916 MODELTYPE_MESH "" 0 0 0 1.000000 0 0 0 0
"Ship_PrRiVigilant" 1915 MODELTYPE_MESH "" 0 0 0 1.000000 0 0 0 0
}
It exceeds to 1916
Thank you for your kindness.
01/05/2020 02:37 Ecrypter#2
Quote:
Originally Posted by LuciferMorningStar666 View Post
Hi, as the title says. How do you increase the size of the mdlObj? Because I had this problem that giving me an error, and Crashing the WorldServer.


Here's what I did.

It exceeds to 1916
Thank you for your kindness.
const int MAX_PROPMOVER = 2000;
to
const int MAX_PROPMOVER = 15000;
01/09/2020 00:24 jooodzszsz#3
Quote:
Originally Posted by LuciferMorningStar666 View Post
Hi, as the title says. How do you increase the size of the mdlObj? Because I had this problem that giving me an error, and Crashing the WorldServer.


Here's what I did.

It exceeds to 1916
Thank you for your kindness.
There is no hard coded maximal index. Im not sure but try lower IDs? :D
Your map is loading a model with a higher ID, the size=1722 means you have 1722 IDs in mdlObj.inc / mdlDyna.inc but u loading a model with ID 1800!

Quote:
Originally Posted by Ecrypter View Post
const int MAX_PROPMOVER = 2000;
to
const int MAX_PROPMOVER = 15000;

him: "hey max models exceed help!"
you: "yo increase maximal mover size"

rofl.