Jump to content
  • 0
ThyroDree

Poring Shows on Custom Mob

Question

Anyone can help me make custom mob work?

When I tried to spawn the custom monster, the monster show only as poring with custom mob name..

I followed - https://herc.ws/wiki/Custom_Items#Item_Placement_on_Data_Folder_.28For_New_Clients.29

My Client Side Files

jobname.lub

	[jobtbl.JT_ADDAX] = "addax",
	[jobtbl.JT_HOLLOW_PORING] = "Hollow_poring",
	[jobtbl.JT_KING_PORING] = "king_poring",
	[jobtbl.JT_PORING_ASSASSIN] = "poring_assassin",
	[jobtbl.JT_PORING_BLACKSMITH] = "poring_blacksmith",
	[jobtbl.JT_PORING_GM] = "poring_gm",
	[jobtbl.JT_PORING_HUNTER] = "poring_hunter",
	[jobtbl.JT_PORING_KNIGHT] = "poring_knight",
	[jobtbl.JT_PORING_PRIEST] = "poring_priest",
	[jobtbl.JT_PORING_WIZARD] = "poring_wizard",
	[jobtbl.JT_SKOLL] = "skoll",
	[jobtbl.JT_SKOLL_BABY] = "skoll_baby",

npcidentity.lub

	JT_ADDAX = 7000,
	JT_HOLLOW_PORING = 7001,
	JT_KING_PORING = 7002,
	JT_PORING_ASSASSIN = 7003,
	JT_PORING_BLACKSMITH = 7004,
	JT_PORING_GM = 7005,
	JT_PORING_HUNTER = 7006,
	JT_PORING_KNIGHT = 7007,
	JT_PORING_PRIEST = 7008,
	JT_PORING_WIZARD = 7009,
	JT_SKOLL = 7010,
	JT_SKOLL_BABY = 7011,

Server Side File

mob_db2.txt

{
	Id: 3067
	SpriteName: "skoll"
	Name: "Skoll"
	Lv: 255
	Hp: 25000000
	Sp: 0
	Exp: 39000
	JExp: 30000
	AttackRange: 2
	Attack: [10975, 15030]
	Def: 50
	Mdef: 50
	Stats: {
		Str: 300
		Agi: 300
		Vit: 69
		Int: 300
		Dex: 300
		Luk: 300
	}
	ViewRange: 10
	ChaseRange: 12
	Size: "Size_Large"
	Race: "RC_Dragon"
	Element: ("Ele_Fire", 1)
	Mode: {
		CanMove: true
		CastSensorIdle: true
		CanAttack: true
		CastSensorChase: true
		ChangeChase: true
		ChangeTargetMelee: true
		ChangeTargetChase: true
	}
	MoveSpeed: 150
	AttackDelay: 840
	AttackMotion: 648
	DamageMotion: 576
	Drops: {
	}
	ViewData: {
		SpriteId: 7010
	}
},

Note that i have a working skoll.spr/act in my sprite/¸ó½ºÅÍ folder..

Am I missing something? :(

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hi.

The ViewData-block in mob_db(2).conf is used to diguise a monser. (Former mob_avail.txt functionality.)

Remove that block and use the monster's ID in npcidentity.lub. For example:

JT_SKOLL = 3067

 

 

~Kenpachi

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Kenpachi said:

Hi.

The ViewData-block in mob_db(2).conf is used to diguise a monser. (Former mob_avail.txt functionality.)

Remove that block and use the monster's ID in npcidentity.lub. For example:

JT_SKOLL = 3067


JT_SKOLL = 3067

 

 

~Kenpachi

Thanks! didn't know that~ Do you know how can i increase maximum id for mobs? I tried using 7000+ ID it shows poring. I had to replace existing useless id below 4000 to make it work 😕

tried changing the mob.h

// Change this to increase the table size in your mob_db to accommodate a larger mob database.
// Be sure to note that IDs 4001 to 4048 are reserved for advanced/baby/expanded classes.
// Notice that the last 1000 entries are used for player clones, so always set this to desired value +1000
#define MAX_MOB_DB 20000

 

Share this post


Link to post
Share on other sites
  • 0

Hi.

 

That should be fine. But don't forget, that IDs 4001-4219 (job classes) and 19001-20000 (clones) are reserverd.

 

 

~Kenpachi

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.