Jump to content

Kafa

Inactive Member
  • Posts

    269
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Kafa

  1. On 11/19/2020 at 8:47 PM, Mali61 said:

    M2 Download Center

    This is the hidden content, please
    ( Internal )

    This is the hidden content, please
    ( GitHub )

     

    0) String to GF

    1) GF to String

     

    195117QuestTranslateTool-tRJlfqNG5W.png

     

    Video(Old)

      Hide contents

     

     

    This is the hidden content, please
    (test)

     

    There is a mistake with translating locale.lua and some other files.

     

    locale.levelup.prev_quest2 = gameforge.locale.levelup.prev_quest2

    locale.levelup.prev_quest2 = "Level "up.prev_quest2

    Should be:

    gameforge[LC()][2662]

    but looks like this:

    gameforge[LC()][2662]up.prev_quest2

     

    locale.levelup.prev_quest2

     

    First i made my Strings to normal, then to gameforge string in locale.lua there are heavily problems.. i dont know why.

     

     

    • Metin2 Dev 3
    • Confused 1
    • Good 1
    • Love 4
  2. Hey guys, is it possible to return the name from a item in char.cpp by vnum? For example.

     

    LC_TEXT("%s was added to your Inventory", GetName(189));

     

    Here is my function :)

     

    const char* CHARACTER::GetName() const
    {
    	BYTE bLocale = GetDesc() ? GetDesc()->GetLanguage() : LOCALE_YMIR;
    	return m_stName.empty() ? (m_pkMobData ? LC_LOCALE_MOB_TEXT(GetRaceNum(), bLocale) : "") : m_stName.c_str();
    }

     

  3. Hey guys, i have a question does someone have a script or tool to convert this locale_strings (example)

     

    [CODE]1[tab]Everyone will be teleported into the city shortly.
    10[tab][Guild] This action is not possible during a war.[/CODE]

     

    Into this? 

     

    "1";

    "Everyone will be teleported into the city shortly.";

     

    "10",

    "[Guild] This action is not possible during a war.";

     

    I would appreciate some help.. :) 

     

     

     

  4. 15 hours ago, Mali61 said:

    try this one 

    This is the hidden content, please

     

    Can i actually give some improvement? But its very good already and it helped me so much ❤️ 😍

     

    first of all:

     

    If you use the tool every  letter gets small, which will cause errors.

     

    And it would be nice if you can do this for the tool too: (choose option)

     

    Program finds: 

     

    say( gameforge.locale.no)

     

    changs it into: 

     

    say(gameforge[1476])

     

    I will attach my translate_lua in new formate (new format is with numbers) just in case, and my old translate.lua and a example quest.

     

    You helped me a lot mali THANKS!!!!!!!!!!

     

    This is the hidden content, please
     (My Examples & Translate.luas)

     

  5. On 11/10/2020 at 2:48 PM, ToXiC4000 said:

    The German "Fliege Reworked V1 & VX" Files and some others has that weird bug that you will stuck in the Objects itself in the First Grotto

     

    To fix that

     

    Download that and insert it in Season

    This is the hidden content, please

     

    you need to delete all the others "metin2_map_skipia_dungeon_01" they are sometimes placed   (Maps, Maps2 Season/Season1 and 2)

     

    This is the hidden content, please

    We are in 2020 if you use files like these you‘re not very intelligent

    • Metin2 Dev 1
    • Good 1
    • Love 2
  6. 14 minutes ago, WeedHex said:

    Use notepad++ if you're a newbie.

     

    You can use git shell, python script, Windows Shell and so on...

     

    This is the hidden content, please

     

    You didnt understand me.. i cant just translate hundreds of quests thousands of lines by my self i need a comparison

    a tool which is looking for the sentences in .quest files and then replacing it with translate.lua

  7. Hey community, im searching for a tool which replaces all the gameforge sentences or sentence that are the same into new gameforge format

     

    for example:

     

    local s = select("Yes ", "No ")

     

    into:

     

    local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

     

     

    gameforge["en"][11792] = "Yes "
    gameforge["en"][11793] = "Cancel "

     

     

     

    or this: 

     

    local s = select(gameforge.locale.yes, gameforge.locale.no)

     

    into this:

     

    local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

     

     

    :) Would be very nice i need it badly..

×
×
  • 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.