Jump to content

raihan3

P-Server Owner
  • Posts

    242
  • Joined

  • Last visited

  • Feedback

    0%

About raihan3

Informations

  • Gender
    Male

Recent Profile Visitors

3462 profile views

raihan3's Achievements

Rising Star

Rising Star (9/16)

  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator Rare
  • Week One Done

Recent Badges

23

Reputation

  1. how you solved any guide
  2. In file included from input_db.cpp:4: ./utils.h:44:9: error: cannot initialize return object of type 'EMisc' with an rvalue of type 'unsigned int' return a < b ? a : b; ^~~~~~~~~~~~~ input_db.cpp:2976:12: note: in instantiation of function template specialization 'MIN<EMisc, unsigned int>' requested here int len = MIN(CHAT_MAX_LEN, strlen(p->szMessage) + 1); ^ 1 error generated. gmake: *** [Makefile:240: .obj/input_db.o] Error 1 gmake: *** Waiting for unfinished jobs.... input_main.cpp:385:61: error: use of undeclared identifier 'ITEM_PRISM' TItemTable* pTable = ITEM_MANAGER::instance().GetTable(ITEM_PRISM); ^ 1 error generated. gmake: *** [Makefile:240: .obj/input_main.o] Error 1
  3. i added this one and everything work perfect and he showed example of translate.lua which i already told like ["en"]gameforge.collect_herb_lv10._50_sayTitle but this one not working for me and if you have any tutorial to load all translate lua file base on database column lang thanks
  4. client side has i got it but server side in server there are all translate.lua like transla_cz.lua file but it load only translate.lua so quest are loading from translate.lua which are english
  5. thanks for your first reply but as i see on database account u have lang column does this file has multilanguage from quest part too ? i was trying to add this but if i add this then i cant connect to game
  6. if i want to use it on vps i get this error ld-elf.so.1: Shared object "libIL.so.1" not found, required by "game" i did installed devil still this error and my freebsd is 64
  7. Replace "afxres.h" with "windows.h"
  8. hi i added this multi language system everything fine but when i put -- You just need continue the logic ^^ ["en"]gameforge.collect_herb_lv10._50_sayTitle = "Biologist Chaegirab: " ["en"]gameforge.collect_quest_lv30._140_npcChat = "Orc teeth " ["en"]gameforge.collect_quest_lv30._200_say = "I'm so sorry, but I haven't finished [ENTER] the analysis of the last Tooth yet. [ENTER] Can you come later?" ["es"]gameforge.collect_herb_lv10._50_sayTitle = "Biólogo Chaegirab: " ["es"]gameforge.collect_quest_lv30._140_npcChat = "Dientes de Orco " ["es"]gameforge.collect_quest_lv30._200_say = "Lo siento mucho, pero todavía no he terminado[ENTER]el análisis del último Diente.[ENTER]¿Puedes venir más tarde? " ["hu"]gameforge.collect_herb_lv10._50_sayTitle = "Biológus Chaegirab: " ["hu"]gameforge.collect_quest_lv30._140_npcChat = "Ork fogak " ["hu"]gameforge.collect_quest_lv30._200_say = "Sajnálom, de még nem fejeztem be az [ENTER] elemzését az utolsó fogról. [ENTER] Tudsz később jönni?" like this how he said then it give error but when i remove ["en"] keep default on then game run any idea
  9. can you tell me how added gameforge[get_lang()].welcome_quest.letter this in translate.lua ? can you please share
  10. is that possible like that system but load translate_en.lua or translate_de.lua depend on users account database lang column ?
  11. is that possible if (LC_IsEurope()) { char translateFileName[256]; snprintf(translateFileName, sizeof(translateFileName), "%s/translate.lua", LocaleService_GetBasePath().c_str()); int translateLoadingResult = lua_dofile(L, translateFileName); sys_log(0, "LoadTranslate(%s), returns %d", translateFileName, translateLoadingResult); if (translateLoadingResult != 0) { sys_err("LOAD_TRANSLATE_ERROR(%s)", translateFileName); return false; } } { char questLocaleFileName[256]; if (LC_IsEurope()) { snprintf(questLocaleFileName, sizeof(questLocaleFileName), "%s/locale.lua", g_stQuestDir.c_str()); } else { snprintf(questLocaleFileName, sizeof(questLocaleFileName), "%s/locale_%s.lua", g_stQuestDir.c_str(), g_stLocale.c_str()); } int questLocaleLoadingResult = lua_dofile(L, questLocaleFileName); sys_log(0, "LoadQuestLocale(%s), returns %d", questLocaleFileName, questLocaleLoadingResult); if (questLocaleLoadingResult != 0) { sys_err("LoadQuestLocale(%s) FAILURE", questLocaleFileName); return false; } } questlua.cpp update this automatic like if lang is english then it load translate_en.lua if german language then translate_de.lua and i got this error locale_service.cpp:427:18: compile matrix_card.cpp error: use of undeclared identifier 'SQLMsg' 427 | std::unique_ptcompile messenger_manager.cpp r<SQLMsg> pMsg(DBManager::Instance().DirectQuery("SELECT lang FROM common.lang")); | ^ locale_service.cpp:427:31: error: use of undeclared identifier 'DBManager' 427 | std::unique_ptr<SQLMsg> pMsg(DBManager::Incompile mining.cpp stance().DirectQuery("SELECT lang FROM common.lang")); compile mob_manager.cpp | ^ locale_service.cpp:430:2: error: unknown type name 'MYSQL_ROW' 430 | MYSQL_ROW row; | ^ locale_service.cpp:454:6: error: redefinition of 'LocaleService_LoadLocaleStringFile'
  12. well in locale_string everything is fine and i didnt changed anything just tested and saw this problem does i need translate from source as locale string is your default one
×
×
  • 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.