mannaxxx 1
mannaxxx
Agora Metin2 1
Agora Metin2
Mt2Hizmet 1
Mt2Hizmet
berkmenoo 1
berkmenoo
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
farkmt2official 1
farkmt2official
cemalggevenc 1
cemalggevenc
Bvural41 1
Bvural41
Hikaye Ekle
Kaynak ikonu

Multi Language System 2020-06-28

indirmek için izniniz yok
  • Konuyu başlatan Konuyu başlatan Rakancito
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 112
  • Görüntüleme Görüntüleme 25K
5.00 yıldız(lar) 1 Değerlendirme Değerlendirenler

Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!

there is a ChatPacket, which should NOT be translated, i fixed it i dont remember which file it was but i think input_main.cpp.
This ChatPacket is sending the information you write, but if you translate it shit like this happens.
 
there is a ChatPacket, which should NOT be translated, i fixed it i dont remember which file it was but i think input_main.cpp.
This ChatPacket is sending the information you write, but if you translate it shit like this happens.
Can you maybe upload your input_main somewhere? I tried everything in there. still not resolved


EDIT:
If someone has this issue: This Github Issue Link solved it for me!
 
Son düzenleme:
Kod:
#ifdef ENABLE_MULTILANGUAGE
	int getn_lang(lua_State* L)
	{
		LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();

		if (ch)
		{
			lua_pushnumber(L, ch->GetLang());
		}
		else
		{
			lua_pushnumber(L, 0);
		}

		return 1;
	}
	int get_lang(lua_State* L)
	{
		LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();

		if (ch)
		{
			if (ch->GetLang() == 0)
				lua_pushstring(L, "en");
			else if (ch->GetLang() == 1)
				lua_pushstring(L, "es");
			else if (ch->GetLang() == 2)
				lua_pushstring(L, "hu");
			else if (ch->GetLang() == 3)
				lua_pushstring(L, "ro");
			else if (ch->GetLang() == 4)
				lua_pushstring(L, "tr");
			else if (ch->GetLang() == 5)
				lua_pushstring(L, "de");
			else
				lua_pushstring(L, "de");
		}
		else
		{
			lua_pushstring(L, "de");
		}

		return 1;
	}
#endif
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst