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

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ 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:

The problem is from PythonChat - AppendChat binary
 
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
 
Paylaşım için teşekkürler
 

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