Zirius Posted August 26, 2014 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 23 Reputation: 1 Joined: 07/22/14 Last Seen: June 13, 2016 Share Posted August 26, 2014 Hello! Btw, this is not conf/msgs Say you activate @showexp command, killed a poring, this message occur: Where can I edit the message and color? Thanks! Quote Link to comment Share on other sites More sharing options...
Nana Posted August 27, 2014 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Share Posted August 27, 2014 Hi u can change it here https://github.com/rathena/rathena/blob/master/src/map/pc.c#L6338 if(sd->state.showexp) { char output[256]; sprintf(output, "Experience Gained Base:%u (%.2f%%) Job:%u (%.2f%%)",base_exp,nextbp*(float)100,job_exp,nextjp*(float)100); clif_disp_onlyself(sd,output,strlen(output)); } Quote Link to comment Share on other sites More sharing options...
Zirius Posted August 27, 2014 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 23 Reputation: 1 Joined: 07/22/14 Last Seen: June 13, 2016 Author Share Posted August 27, 2014 Hi u can change it here https://github.com/rathena/rathena/blob/master/src/map/pc.c#L6338 if(sd->state.showexp) { char output[256]; sprintf(output, "Experience Gained Base:%u (%.2f%%) Job:%u (%.2f%%)",base_exp,nextbp*(float)100,job_exp,nextjp*(float)100); clif_disp_onlyself(sd,output,strlen(output)); } Hello! Can you please give me an example how to color that? I tried "^FF3355Experience Gained Base:%u (%.2f%%) Job:%u (%.2f%%)^000000" recompiled, but not working. Quote Link to comment Share on other sites More sharing options...
Nana Posted August 27, 2014 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Share Posted August 27, 2014 i guess u can try with something in this file https://github.com/rathena/rathena/blob/master/src/map/clif.c#L11002 Quote Link to comment Share on other sites More sharing options...
Question
Zirius
Hello! Btw, this is not conf/msgs
Say you activate @showexp command, killed a poring, this message occur:
Where can I edit the message and color?
Thanks!
Link to comment
Share on other sites
3 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.