Jump to content
  • 0

about homunculus


hakuren

Question


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

Hi guys i add a custom homunculus to my server even its sprite is poring

but after i recompile it i use their skills but my server crash help...

 

heres what i modified

 

homunculus.h


enum {
// Normal Homunculus
MAPID_LIF = HOM_REG|0x0,
MAPID_AMISTR,
MAPID_FILIR,
MAPID_VANILMIRTH,
// Evolved Homunulus
MAPID_LIF_E = HOM_REG|HOM_EVO|0x0,
MAPID_AMISTR_E,
MAPID_FILIR_E,
MAPID_VANILMIRTH_E,
// Homunculus S
MAPID_EIRA = HOM_S|0x0,
MAPID_BAYERI,
MAPID_SERA,
MAPID_DIETER,
MAPID_ELANOR,
MAPID_PORING,
MAPID_PORING_E,
};
 
homunculus.c

// Normal Homunculus
case 6001: case 6005:                return MAPID_LIF;
case 6002: case 6006:                return MAPID_AMISTR;
case 6003: case 6007:                return MAPID_FILIR;
case 6004: case 6008:                return MAPID_VANILMIRTH;
// Evolved Homunculus
case 6009: case 6013:                return MAPID_LIF_E;
case 6010: case 6014:                return MAPID_AMISTR_E;
case 6011: case 6015:                return MAPID_FILIR_E;
case 6012: case 6016:                return MAPID_VANILMIRTH_E;
// Homunculus S
case 6048:                           return MAPID_EIRA;
case 6049:                           return MAPID_BAYERI;
case 6050:                           return MAPID_SERA;
case 6051:                           return MAPID_DIETER;
case 6052:                           return MAPID_ELANOR;
case 6053:                           return MAPID_PORING;
case 6054:                           return MAPID_PORING_E;
default:                             return -1;

 

mmo.h

#define HM_SKILLBASE 8001
#define MAX_HOMUNSKILL 43
#define MAX_HOMUNCULUS_CLASS 1001 //[orn], Increased to 60 from 16 to allow new Homun-S.
#define HM_CLASS_BASE 6001
#define HM_CLASS_MAX (HM_CLASS_BASE+MAX_HOMUNCULUS_CLASS-1)
Edited by Emistry
codebox
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

This is the maximum number of different type of homus #define MAX_HOMUNCULUS_CLASS 1001

I don't think you need to alter this. Btw where did you define the MAPID_PORING, and MAPID_PORING_E?

I don't think it's working like this.. just by typing the mob name after MAPID. You need to define it elsewhere along with mob sprite, name, stats, etc...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...