Jump to content
  • 0

(Request) Add title in player's name


Zoellingam

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/29/14
  • Last Seen:  

Hello guys,

 

I am using in my server some titles. 

 

I would like to modify sources to show player's title instead of using @fakename.

 

Theses titles are stocked in sql, in the login tab.

 

Currently, using fakename, this is what I got:

Name [Title] (Party)
Guild [Guild's position]

I am pretty sure I have to modify something in:

void clif_solved_charname(int fd, int charid, const char* name);
void clif_charnameack(int fd, struct block_list *bl);
void clif_charnameupdate(struct map_session_data *ssd);

but I admit I am not that good in source modifications.

 

Thank you for your help.

 

Zoe

Edited by Zoellingam
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/29/14
  • Last Seen:  

Well... Any Idea ?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

not possible.

char name is restricted to only 24 characters maximum ( included your "title" )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/29/14
  • Last Seen:  

Can I restrict char name to 15 characters or something, and have a limitied charactere title ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/22/12
  • Last Seen:  

I've done this with my nation script. I'll try my best to see if I can find it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

not possible.

char name is restricted to only 24 characters maximum ( included your "title" )

 

is not possible any alteration on source?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/29/14
  • Last Seen:  

I've done this with my nation script. I'll try my best to see if I can find it.

 

Great news for me, I'm still very interested. ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

possible, but like emyst said, it will reduce char name or other tricky way is replace partyname become title :D same will reduce partyname character

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