Jump to content

Resco

Inactive Member
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Resco

  1. Hello. I am learning to create metin2 servers. I used ETH2 INTERFACE in my first project. In the file introempire.py it is possible to add a description of the kingdoms. Since the project is in Polish, I want to add descriptions in this language.

    introempire.py

    kingdoms = {
    	1 : {"name" : "Shinsoo",
    		"desc" : [
    			"Królestwo duchowej siły,",
    			"gdzie panuje harmonia z naturą.",
    			"Ludzie tego królestwa żyją",
    			"w zgodzie ze sobą i otoczeniem,",
    			"a ich sztuka walki opiera się na",
    			"równowadze między ciałem i umysłem.",
    		]},
    	2 : {"name" : "Chunjo",
    		"desc" : [
    			"Królestwo, w którym sztuka walki",
    			"jest w ciągłym rozwoju.",
    			"Wojownicy z Chunjo zdobywają",
    			"wiedzę i doświadczenie,",
    			"by stać się najlepszymi",
    			"wojownikami i strategami.",
    		]},
    	3 : {"name" : "Jinno",
    		"desc" : [
    			"Królestwo, w którym postęp",
    			"technologiczny jest piorytetem.",
    			"Dla ludzi z Jinno",
    			"walka jest sztuka,",
    			"w której wykorzystują najnowsze",
    			"technologie, by osiągnąć zwycięstwo.",
    		]},
    }

     

    ui_jack_kingdom.py:

    (...)
    {
    	"name" : "text_kingdom_01_01", "type" : "text",
    	"x" : 223 / 2 + 22, "y" : 155+18*0,
    	"text_horizontal_align" : "center",
    	"fontname" : "Tahoma:13",
    	"color" : 0xffCECECE,
    	"text" : "DEFAULT TEXT",
    },
    (...)

    Unfortunately, the effect looks just like on the screen (https://metin2.download/picture/w4k6d0ClVNCumON7AHQ5X449vfx13aro/.png). How do I fix Polish characters so that they display correctly?

    Thank you for your help!

     

    Problem solved! I did not change the encoding in Notepad++ to ANSI. Please close the topic.

     

     

    • Metin2 Dev 2
    • Think 1
×
×
  • 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.