Jump to content

pedroppb

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by pedroppb

  1. On 1/7/2020 at 3:18 AM, Bisuke said:

    Hmmm. I was able to enable it on the conf files, and also in the pet_db. However, it does not show up in the Pet window, what do I need to do?

    you need edit system/PetEvolutionCln_sak.lub and add "InsertPetAutoFeeding(9122)" where 9122 is the itemid of the egg of the pet

  2.         CXX     clif.cpp
    clif.cpp: In function 'void clif_selllist(map_session_data*, npc_data*)':
    clif.cpp:2013:19: error: declaration of 'npc_data* nd' shadows a parameter
      struct npc_data *nd;
                       ^~
    make[1]: *** [obj/clif.o] Error 1

    any fix?


    i think this make your diff fail
    https://github.com/rathena/rathena/commit/3e1105b0cf8380b4e4646800305b59c3de0f96ea#diff-c5d5e782db2344e04a7089b24ba6c962

     

    lol i fixed,

    On 6/17/2019 at 4:05 AM, pedroppb said:

            CXX     clif.cpp
    clif.cpp: In function 'void clif_selllist(map_session_data*, npc_data*)':
    clif.cpp:2013:19: error: declaration of 'npc_data* nd' shadows a parameter
      struct npc_data *nd;
                       ^~
    make[1]: *** [obj/clif.o] Error 1

    any fix?


    i think this make your diff fail
    https://github.com/rathena/rathena/commit/3e1105b0cf8380b4e4646800305b59c3de0f96ea#diff-c5d5e782db2344e04a7089b24ba6c962

    lol i fixed by accident,
    in clif.cpp diff change the void to
    void clif_selllist(struct map_session_data *sd, struct npc_data *nd)

    but after updates rathena puts "struct npc_data *nd" inside making the diff finish with this code

    void clif_selllist(struct map_session_data *sd, struct npc_data *nd)
    {
        int fd,i,c=0,val;
        struct npc_data *nd;

    and giving error when compiles, because  "struct npc_data *nd" is inside, and parameter,

    i just removed the line inside.

    tested and work 100%

×
×
  • Create New...