Jump to content

Recommended Posts

Hello guys. I have a little problem on "Add friend" dialog.

I can write maximum of 12 characters in this dialog https://metin2.download/picture/4603Yan1JP5DSXrRkqBRFGtW3DV75seo/.png

I want to set the max lenght to 24.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/21258-add-friend-max-lenght-problem/
Share on other sites

  • Forum Moderator
  • uiScript/whisperdialog.py
"input_limit" : PLAYER_NAME_MAX_LEN, # PLAYER_NAME_MAX_LEN declared in script dictionary of ui.py as chr.PLAYER_NAME_MAX_LEN

Which is a constant from module chr, initialized in PythonCharacterModule.cpp and the variable is declared in a enum of StdAfx.h.

  • Srcs/Client/UserInterface/StdAfx.h
// Search for:
	PLAYER_NAME_MAX_LEN = 12,
// Replace with:
	PLAYER_NAME_MAX_LEN = CHARACTER_NAME_MAX_LEN, // 24

 

  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.