Jump to content
  • 0

[Renewal Pet] Pet does not exist


funtwocrasher

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  143
  • Reputation:   4
  • Joined:  06/17/12
  • Last Seen:  

Hi! I want to implement renewal pets to pre-renewal server. I did the following,

1. Added Phreeoni Egg on pre-re/item_db_equip.yml

Quote

  - Id: 9111
    AegisName: Phreeoni_Egg
    Name: Phreeoni Egg
    Type: Petegg
    Buy: 20



2. Added Phreeoni Egg script on pre-re/pet_db.yml

Quote

  - Mob: PHREEONI
    EggItem: Phreeoni_Egg
    FoodItem: High_Class_Pet_food
    Fullness: 2   # unknown
    HungryDelay: 120   # unknown
    IntimacyFed: 15   # unknown
    CaptureRate: 0   # unknown
    SpecialPerformance: false   # unknown
    AllowAutoFeed: true
    Script: >
      .@intimate = getpetinfo(PETINFO_INTIMATE);
      if (.@intimate == PET_INTIMATE_AWKWARD || .@intimate == PET_INTIMATE_SHY) {
         bonus bHit,6;
      }
      if (.@intimate == PET_INTIMATE_NEUTRAL) {
         bonus bHit,10;
         bonus bPerfectHitRate,5;
      }
      if (.@intimate == PET_INTIMATE_CORDIAL) {
         bonus bHit,14;
         bonus bPerfectHitRate,10;
      }
      if (.@intimate == PET_INTIMATE_LOYAL) {
         bonus bHit,18;
         bonus bPerfectHitRate,15;
      }


But I still have some error "pet does not exist, egg id 9111
image.png.acd87b401617a17eb0487c47b60c3781.png


Can anyone help me with this? Or what is the solution? Am I missing a step or something?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

8 hours ago, funtwocrasher said:

Oi! Quero implementar animais de estimação de renovação no servidor de pré-renovação. Eu fiz o seguinte,

1. Adicionado Phreeoni Egg em pre-re/item_db_equip.yml



2. Adicionado script Phreeoni Egg em pre-re/pet_db.yml


Mas ainda tenho algum erro "pet não existe, egg id 9111 Alguém pode me ajudar com isso? Ou qual é a solução? Estou faltando alguma etapa ou algo assim?
imagem.png.acd87b401617a17eb0487c47b60c3781.png

 

 

Friends,

do the following open the file \db\re\item_db_equip.yml copy the code of the desired item.
Then open the \db\pre-re\item_db_equip.yml file, paste it and restart the server.
There is no error, I just tested it.

The pet file may be missing from the data

 

Edited by Kater
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  143
  • Reputation:   4
  • Joined:  06/17/12
  • Last Seen:  

51 minutes ago, Kater said:

 

Friends,

do the following open the file \db\re\item_db_equip.yml copy the code of the desired item.
Then open the \db\pre-re\item_db_equip.yml file, paste it and restart the server.
There is no error, I just tested it.

The pet file may be missing from the data

 


Have you tried hatching it too with Incubator?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  143
  • Reputation:   4
  • Joined:  06/17/12
  • Last Seen:  

FIXED! Need to restart the server. @reloadmobdb and @reloadscript doesnt work on this.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/03/24
  • Last Seen:  

I did as told in the initial steps and it actually works.image.thumb.png.ecb9f38ff783c121fb0622c2458607c1.png

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