Azeroth Posted August 17, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted August 17, 2015 Hi heyo! i would like to ask for a little support about the source of Karmic about the Sarah's Instance Memorial. The one that Ziu Posted. i try to add this into my server. yeah after recompiling i got this minor Warning shows in VS2010 http://oi61.tinypic.com/260qtn6.jpg here's the source: BUILDIN_FUNC(playertalk) { int display_name; const char* message; char message_output[255]; struct map_session_data *sd = script_rid2sd(st); display_name = script_getnum(st, 2); message = script_getstr(st, 3); if(display_name) sprintf(message_output, "%s: %s", sd->status.name, message); else sprintf(message_output, "%s", message); clif_disp_overhead(sd, message_output); return 0; } Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted August 17, 2015 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted August 17, 2015 Hello, if you feel that this is a bug on latest version of rA, please make a report on GitHub Issue instead Quote Link to comment Share on other sites More sharing options...
Azeroth Posted August 19, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted August 19, 2015 Hello, if you feel that this is a bug on latest version of rA, please make a report on GitHub Issue instead I guess this is bug or something problem with the source. my current revision 48c2cf2dec. Anyone can fixed this warning whenever i recompile? Quote Link to comment Share on other sites More sharing options...
Azeroth Posted August 25, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted August 25, 2015 Bump please? Quote Link to comment Share on other sites More sharing options...
Azeroth Posted August 29, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted August 29, 2015 Anyone know how to fix this? seems no one even replying to my topic. Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted August 30, 2015 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted August 30, 2015 Hello again, have you post a report on https://github.com/rathena/rathena/issues ? It's more convenient to make a report on "GitHub Issue" than reporting on forum, thanks Quote Link to comment Share on other sites More sharing options...
Aleos Posted September 1, 2015 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted September 1, 2015 You're passing the wrong value. It should be: clif_disp_overhead(sd->bl, message_output); Quote Link to comment Share on other sites More sharing options...
Azeroth Posted September 1, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted September 1, 2015 (edited) You're passing the wrong value. It should be: clif_disp_overhead(sd->bl, message_output); i'll try this . BUILDIN_FUNC(playertalk) { int display_name; const char* message; char message_output[255]; struct map_session_data *sd = script_rid2sd(st); display_name = script_getnum(st, 2); message = script_getstr(st, 3); if(display_name) sprintf(message_output, "%s: %s", sd->status.name, message); else sprintf(message_output, "%s", message); clif_disp_overhead(sd->bl, message_output); return 0; } 1>..\src\map\script.c(21071): error C2440: 'function' : cannot convert from 'block_list' to 'block_list *' 1>..\src\map\script.c(21071): warning C4024: 'clif_disp_overhead' : different types for formal and actual parameter 1 Edited September 1, 2015 by Azeroth Quote Link to comment Share on other sites More sharing options...
Aleos Posted September 1, 2015 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted September 1, 2015 Sorry, I missed the pointer: clif_disp_overhead(&sd->bl, message_output); Quote Link to comment Share on other sites More sharing options...
Question
Azeroth
Hi heyo!
i would like to ask for a little support about the source of Karmic about the Sarah's Instance Memorial.
The one that Ziu Posted. i try to add this into my server. yeah after recompiling i got this minor Warning shows in VS2010
http://oi61.tinypic.com/260qtn6.jpg
here's the source:
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.