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