Jump to content
  • 0

char name size increase


Dastgir

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Currently the size is 24 , is there any possibilities to make it near 40 chars?. Or is there any way to put a tag before character name like (MvPMaster),etc . I have sql which stores this tags , I just want to know how to edit in src so that it display the tag properly.

Thanks.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


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

you can use

@fakename [TAG] Name

if you want to display the party / guild after used @fakename...apply this

http://rathena.org/board/topic/60188-fakename-show-guildparty/page__hl__fakename


or you can edit this part..

trunk/src/common/mmo.h

//For character names, title names, guilds, maps, etc.
//Includes null-terminator as it is the length of the array.
#define NAME_LENGTH (23 + 1)

and make sure you edit the SQL character table to store more characters in name string..xD

ALTER TABLE `ragnarok`.`char` CHANGE COLUMN `name` `name` VARCHAR(40) NOT NULL DEFAULT ''  ;

edit this...

VARCHAR(40)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

I think this also have to deal with client packet and hexing client to support up to 24+. Changing the limit in mmo won't help much :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Changing mmo.h doesn't work, tried at morning. Even clif.c doesn't help , half name goes in party bracket, I increased packet length also, still it goes into party bracket ,about fakename it does not go more than 24 chars . Anyone who is confirmed about how to so this plz post. I don't think its only in src but also in client, src side I have done my best but. Cannot locate how to bring the name out of bracket which is going insde party nae bracket(client side)

Edited by dastgirpojee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

impossible with source edit alone

you need some people who knows how to hex client ( like shinryo ) to enable name length above 23

so yeah its an edit with both source edit and client hexing

this modification is damn tough ... I don't think shinryo will be interested in doing this

and there's too few members in this board know how to hex a client

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Owh.. too bad then :P

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