Jump to content
  • 0

Custom Egg/Pet not working


leertaste

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

Hey guys, I'm not able to solve this problem, maybe you can help: /no1

 

I tried to add a custom Pet (Bulbasaur) to my database.

This are my entries:

item_db:

36701,Pokeball,Pokeball,2,1000,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ pet 0; },{},{}
36702,Pet_Food,Pet Food,0,1000,,100,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(50,90),0; },{},{}
36703,Bulbasaur_Egg,Bulbasaur Egg,7,20,,100,,,,,,,,,,,,,{},{},{}

itemInfo.lub:

	[36701] = {
		unidentifiedDisplayName = "Pokeball",
		unidentifiedResourceName = "Pokeball",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]"
		},
		identifiedDisplayName = " Pokeball",
		identifiedResourceName = "Pokeball",
		identifiedDescriptionName = {
			"^008000[ Pokeball ]^000000",
			"This Pokeball is needed to catch wild pokemon.",
			"^ffffff_^000000",
			"Weight :^777777 10^000000",
		},
		slotCount = 0,
		ClassNum = 0
	},
	[36702] = {
		unidentifiedDisplayName = "Pokemon Food",
		unidentifiedResourceName = "주먹밥",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]"
		},
		identifiedDisplayName = " Pokemon Food",
		identifiedResourceName = "주먹밥",
		identifiedDescriptionName = {
			"^008000[ Pokemon Food ]^000000",
			"Use these Cakes to feed your pet.",
			"^ffffff_^000000",
			"Weight :^777777 10^000000",
		},
		slotCount = 0,
		ClassNum = 0
	},
	[36703] = {
		unidentifiedDisplayName = "Pokemon Egg",
		unidentifiedResourceName = "pokeball",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]"
		},
		identifiedDisplayName = "Bulbasaur Egg",
		identifiedResourceName = "pokeball",
		identifiedDescriptionName = {
			"^008000[ Bulbasaur Egg ]^000000",
			"An egg in which a",
			"Bulbasaur Pet rests.",
			"Can be hatched by",
			"using a ^33CC33Pet Incubator^000000.",
			"Weight: ^777777100^000000"
		},
		slotCount = 0,
		ClassNum = 0
	},

pet_db:

3500,Bulbasaur,Bulbasaur,36701,36703,,36702,80,30,10,100,250,20,200,100,0,0,100,100,100,{},{}

npcIdentity.lub:

  JT_001_Mini_Bulbizarre = 3500,

jobname.lub:

  [jobtbl.JT_001_Mini_Bulbizarre] = "001_Mini_Bulbizarre",

My problem is, that I can't hatch the egg I created with @item 36703.

Error in mapserv.bat:

[Error]: wrong egg item inventory 1

Neither I can't create the egg with @makeegg 3500.

Nothing, not even an Error-Message appears.

Where is the mistake?

Greetz and thanks

Leertaste

Edited by leertaste
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

In case someone will have the same problem, I'll post my solution:

The ItemID for an Egg containing a pet in it, can't be over 32000.
In my example from my first post, I started the EggIDs from 36703.
I put them down to the beginning of 21100 and now it works.

- solved -

 

Edited by leertaste
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

have you add the monster in mob_db.txt?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

I wasn't sure if necessary but yes, I added the monster in mob_db.txt:

3500,Bulbasaur,Bulbasaur,Bulbasaur,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

"@monster 3500" works fine

 

 

Does this information help?

Edited by leertaste
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...