GetModelElem - out of range

10/23/2013 11:53 raventh1984#1
Hi elitepvpers,

Well i am recieving an error of an model that seems not to be in the resource.

2013/10/23 10:23:11 GetModelElem - out of range: type=5, size=1814, index=1700

2013/10/23 10:23:11 CModelMng::loadModel mdlObj/mdlDyna ¿¡ objtype=5 index=1700 bpart=0 ÀÇ Á¤º¸°¡ ¾ø±º¿©.

2013/10/23 10:23:11 CreateObj : type=5, index=1700, bInitProp=1

The ID = 1700 if i am reading it correctly.
So i have checked the /resource of the server that has this map and inside mdlobj.inc i noticed its this line

"FlyshipYellowheap" 1700 MODELTYPE_MESH "" 0 0 0 1.000000 0 0 0 1

So i have checked my mdlobj.inc and i also have this line inside it.
Still its giving me the error.

The o3d and .dds are also in the correct place /Model and /Model/Texture

Is there something else i need to check.

Maybe its just an simple thing that i am not seeing atm.

With kind regards.
10/23/2013 16:47 Apozen.#2
Code:
// Object Type

#define OT_OBJ          0 // ¹è°æ °´Ã¼ 
#define OT_ANI          1 // ¾Ö´Ï °´Ã¼ 
#define OT_CTRL         2 // Ư¼ö ¹è°æ °´Ã¼   
#define OT_SFX          3 // Ư¼öÈ¿°ú °´Ã¼ 
#define OT_ITEM         4 // ¾ÆÀÌÅÛ 
#define OT_MOVER        5 // ¿òÁ÷ÀÌ´Â °´Ã¼ 
#define OT_REGION       6 // ¸®Àü(À̺¥Æ®, ¼Ó¼º)
#define OT_SHIP			7 // ºñ°øÁ¤
#define OT_PATH			8 // ºñ°øÁ¤
#define MAX_OBJTYPE     9
Its a mover so search for 1700 in defineobj.h or replace 1700 in the worlds .rgn with a mover of your choice