Jump to content
  • 0

changing messages of @showexp @showzeny ?


Zirius

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/22/14
  • Last Seen:  

Hello! Btw, this is not conf/msgs

 

Say you activate @showexp command, killed a poring, this message occur:

 

post-27668-0-53815400-1409067880_thumb.jpg

 

Where can I edit the message and color?

 

Thanks!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  12/20/12
  • Last Seen:  

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));   }  
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/22/14
  • Last Seen:  

 

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  12/20/12
  • Last Seen:  

i guess u can try with something in this file

 

https://github.com/rathena/rathena/blob/master/src/map/clif.c#L11002

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