pedroppb
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by pedroppb
-
-
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-c5d5e782db2344e04a7089b24ba6c962lol 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-c5d5e782db2344e04a7089b24ba6c962lol 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%
How to use Pet Autofeed?
in General Support
Posted
you need edit system/PetEvolutionCln_sak.lub and add "InsertPetAutoFeeding(9122)" where 9122 is the itemid of the egg of the pet