Jump to content
  • 1

Question

Posted (edited)

Hi, i try to add a custom mob... but a have a problem:

jobname.lua:

[jobtbl.JT_Addax] = "Addax",

npcidentity.lua:

JT_Addax = 5000,

jobidentity:

JT_Addax = 5000,

mob_db:

30000,Addax,Chupacabras,Chupacabras,103,9222,1,1944,1458,1,598,674,111,67,102,64,60,40,67,50,10,12,1,6,44,0x2003695,200,1078,768,384,0,0,0,0,0,0,0,7054,3200,536,1000,2409,5,5003,1,0,0,0,0,509,1450,0,0,0,0,4288,1

Data folder:

sprite\¸ó½ºÅÍ\Addax.spr

sprite\¸ó½ºÅÍ\Addax.act

But i they look like a poring.

i modify the mob.cpp

#define MAX_MOB_DB 10000

But, all yhe time they see like a poring...

Can anyone help me please?

 

Edited by alelelo

4 answers to this question

Recommended Posts

  • 0
Posted

You have to do this...

Client Part.

1. jobname.lub

[jobtbl.JT_Addax] = "Addax"

- if it's the last one on the list, you should not put "," after Addax.

2. npcidentity.lub

JT_Addax = 3460

- if it's the last one on the list, you should not put "," after Addax. It is advisable to use the id of monsters that are not being used.

- The monster sprite is fine in that folder.

Server Part

An example for the mob_db.

3460,Addax,Chupacabras,Chupacabras,146,60935000,1,2010,2010,3,8375,12764,436,218,355,255,255,255,255,255,10,12,2,0,83,0x6283695,130,212,384,360,1005,617,5500,6223,2000,6223,2000,994,10000,2677,3000,2678,200,2679,200,1471,2000,1133,2000,12539,200,0,0,0,0,0,0

Only that is needed to implement a custom monster...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...