Hi devs,
You may be aware of the problem with limiting the maximum length of names.. The default length is only 24 characters. So some item/mob names must be written in abbreviations..
For example:
Christmas Costume+(Blk)
Since I don't like it, I decided to increase the character limit.. Here is tutorial.
First of all go to serverSide source -> common/item_lenght.h and search:
ITEM_NAME_MAX_LEN = 24,
You can change it to whatever number you want, but I put 30. So looks like this:
ITEM_NAME_MAX_LEN = 30,
Now you can compile your source (DONT FORGOT COMPILE DB & GAME TOO, BECAUSE YOU MAKE CHANGE IN COMMON)
###
Second part is clientSide source -> Go to GameLib/ItemData.h and search again:
ITEM_NAME_MAX_LEN = 24,
You can change it to whatever number you want, but I put 30. So looks like this:
ITEM_NAME_MAX_LEN = 30,
###
Last part is dumpProto source -> Go to dump_proto.cpp and search again:
ITEM_NAME_MAX_LEN = 24,
You can change it to whatever number you want, but I put 30. So looks like this:
ITEM_NAME_MAX_LEN = 30,
###
Now go to navicat open itemProto and mobProto -> design table -> change lenght in name + locale_name column from 24 to 30.
Thats all. Now you can use in your proto names length limited by 30 characters.