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!



thanks now

compiling BattleArena.cpp
In file included from BattleArena.cpp:5:
./start_position.h:16:40: error: too many arguments provided to function-like
macro invocation
return LC_TEXT(TRANSLATE_LANGUAGE, g_nation_name[e]);
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
In file included from BattleArena.cpp:5:
./start_position.h:16:12: error: use of undeclared identifier 'LC_TEXT'
return LC_TEXT(TRANSLATE_LANGUAGE, g_nation_name[e]);
^
BattleArena.cpp:103:50: error: too many arguments provided to function-like
macro invocation
...BroadcastNotice(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:103:22: error: use of undeclared identifier 'LC_TEXT'
BroadcastNotice(LC_TEXT(TRANSLAT...
^
BattleArena.cpp:110:50: error: too many arguments provided to function-like
macro invocation
...BroadcastNotice(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:110:22: error: use of undeclared identifier 'LC_TEXT'
BroadcastNotice(LC_TEXT(TRANSLAT...
^
BattleArena.cpp:120:50: error: too many arguments provided to function-like
macro invocation
...BroadcastNotice(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:120:22: error: use of undeclared identifier 'LC_TEXT'
BroadcastNotice(LC_TEXT(TRANSLAT...
^
BattleArena.cpp:142:49: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "<C1><U+07FE><D3> <C1><A6><B4>ܿ...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:142:21: error: use of undeclared identifier 'LC_TEXT'
SendNoticeMap(LC_TEXT(TR...
^
BattleArena.cpp:151:50: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9><C0>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:151:22: error: use of undeclared identifier 'LC_TEXT'
SendNoticeMap(LC...
^
BattleArena.cpp:164:48: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9><C0>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:164:20: error: use of undeclared identifier 'LC_TEXT'
SendNoticeMap(LC_TEXT(TRANSLATE_...
^
BattleArena.cpp:165:48: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "<C0><E1><BD><C3> <C8><C4> ...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:165:20: error: use of undeclared identifier 'LC_TEXT'
SendNoticeMap(LC_TEXT(TRANSLATE_...
^
BattleArena.cpp:190:48: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "<B8><F3><BD><BA><C5>͵<E9><C0>...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
BattleArena.cpp:190:20: error: use of undeclared identifier 'LC_TEXT'
SendNoticeMap(LC_TEXT(TRANSLATE_...
^
BattleArena.cpp:191:48: error: too many arguments provided to function-like
macro invocation
...SendNoticeMap(LC_TEXT(TRANSLATE_LANGUAGE, "30<BA><D0> <B3><BB><B7><CE> ...
^
./locale.hpp:12:9: note: macro 'LC_TEXT' defined here
#define LC_TEXT(str) locale_find(str)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
 
Replace your locale.cpp and h to in @Rakancito archives
 
@krokogames
and dont forget this:
Svn/server/game/src/cmd_gm.cpp
1.) Find this:
Kod:
           if (iByEmpire)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for empire : %d", LC_TEXT(c_apszPrivNames[i]), iByEmpire);

            if (iByGuild)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for guild : %d", LC_TEXT(c_apszPrivNames[i]), iByGuild);

            if (iByPlayer)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for player : %d", LC_TEXT(c_apszPrivNames[i]), iByPlayer);

2.) Replace with this:
Kod:
           if (iByEmpire)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for empire : %d", LC_TEXT(TRANSLATE_LANGUAGE, c_apszPrivNames[i]), iByEmpire);

            if (iByGuild)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for guild : %d", LC_TEXT(TRANSLATE_LANGUAGE, c_apszPrivNames[i]), iByGuild);

            if (iByPlayer)
                ch->ChatPacket(CHAT_TYPE_INFO, "%s for player : %d", LC_TEXT(TRANSLATE_LANGUAGE, c_apszPrivNames[i]), iByPlayer);
 
[URL unfurl = "true"] [/ URL]



hello i have this error can you please help me? i uploaded the 2 sources files that have this error ty
 
Son düzenleme:

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