Jump to content
  • 0
Bisuke

Pet Egg Becomes RED when HATCHING

Question

I've experiencing this problem in my server. Whenever I hatch my egg using incubator, the egg does not disappear in my inventory and becomes red (like a broken weapon or armor). You cannot delete or transfer it. It will become okay again once you return to egg your pet.

How to fix this?

 

PS. I've search in the forum regarding this, and there's no concrete answer.

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Try @makeegg and hatch it.

Share this post


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

Try @makeegg and hatch it.

Yep. Still the same. I got the egg using a pet taming. Also, this is a custom pet. Other original pets are working properly this only persist on custom pets, which is properly working from taming, getting eggs and summoning. It's just that summoning custom pet leave red eggs in my inventory. Am I missing something?

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Bisuke said:

Yep. Still the same. I got the egg using a pet taming. Also, this is a custom pet. Other original pets are working properly this only persist on custom pets, which is properly working from taming, getting eggs and summoning. It's just that summoning custom pet leave red eggs in my inventory. Am I missing something?

Is your custom egg outside the 9k item range? If it is try moving it into the 9k range.

Share this post


Link to post
Share on other sites
  • 0
On 3/8/2020 at 1:26 AM, Panic said:

Is your custom egg outside the 9k item range? If it is try moving it into the 9k range.

It's been a while since my last reply. However, I tried moving the item to item id 9k and below, I even put it to item id 4000. Problem still persist.

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Please note that  the custom pet db is now in pet_db.yml
EggItem: 
must be the same name as itemdb example in code bellow:

  - Mob: BLUE_UNICORN
    EggItem: Blue_Unicorn_Egg
    FoodItem: Blue_Herb
    Fullness: 2
    IntimacyFed: 40
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      .@i = getpetinfo(PETINFO_INTIMATE);
      
      if (.@i >= PET_INTIMATE_LOYAL) {
        bonus bAgi,2;
        bonus bSpeedRate,25;
      } else if (.@i >= PET_INTIMATE_CORDIAL) {
        bonus bAgi,1;
      }  

For any changes it is necessary to @reloadmobdb and restart server, it won't apply if server is restarted, 

Very important, you should try to load this sql file upgrade to your db, its inside the rAthena sql-files 

sql-files/upgrades/upgrade_20190309.sql 

This may correct issues regarding pets not returning to egg shells or else.

 

Edited by iraciz

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

I would like to thank everyone who answered above. However, I'm still having the same problem.

 

More information

Problem

  • Custom pets added in the database can be successfully summoned but leaves the egg in the inventory with red markings (like a broken item) and returns to normal state (black) once you return the pet again.

 

Item_DB

64018,P_Woodie_Egg,Woodie Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
64019,Woodie_Cookie,Woodie Cookie,0,20,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(25,35),0; },{},{}
64020,Woodie_Candy,Woodie Candy,2,2500,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ pet 3556; },{},{}

 

Pet DB

  - Mob: WOODIE
    TameItem: Woodie_Candy
    EggItem: P_Woodie_Egg
    FoodItem: Woodie_Cookie
    Fullness: 3
    IntimacyFed: 10
    CaptureRate: 2000
    SpecialPerformance: false
    AllowAutoFeed: true

 

Screenshot in-game:

image.png.5acdc014f364c3014792991add0051e5.png

 

Additional notes:

  1. Original pets does not have any problem, their eggs disappears every time I hatch them
  2. I used @makegg and @hatch command when summoning the pets
  3. I transferred the item ID to much lower number such such as 4000-6000 but no avail

 

What seems to be the problem here? I really want to add custom pets in our game however this bug won't let us add pets. 😞

Edited by Bisuke

Share this post


Link to post
Share on other sites
  • 0

Still no fix for this issue until now. I have raised it in github but was closed because it cannot be fixed they said. Not sure why, but it would be good if we fix this issue.

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.   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...

Important Information

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