Tera API (node.js) and Launcher with pacher for patch 92/100

Page 25 of 31 FirstFirst ... 15171819202122232425262728293031 LastLast
Results 361 to 375 of 451
  1. #361
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    Thank you now Shop has appeared successfully, but there is no traditional Chinese UI,
    I have create the file tw.json in tera-api\src\locales\shop directory ( just copy en.json to tw.json),
    And selected the third language option in launcher.exe
    Translation of UI and category names into Taiwanese/Chinese is not included in the release, you need to translate yourself.
    Also you can contact with @fitnessguy0 he already did it.

    Don't forget to add "tw" to the file tera-api\config\admin.js so that the Admin Panel will be able to specify the translation for products and categories.

  2. #362
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    Translation of UI and category names into Taiwanese/Chinese is not included in the release, you need to translate yourself.
    Also you can contact with @fitnessguy0 he already did it.

    Don't forget to add "tw" to the file tera-api\config\admin.js so that the Admin Panel will be able to specify the translation for products and categories.
    OK thanks, I set it like this:
    shopLocales: [
    "en",
    "ru",
    "tw"
    ]

    Also would like to ask which file should I go to for UI translation? Thanks

  3. #363
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    Also would like to ask which file should I go to for UI translation? Thanks
    The files tera-api\src\locales\shop\tw.json for the shop and tera-api\src\locales\launcher\tw.json for the launcher.
    And the shop categories are translated through the Admin Panel (in the Shop->Categories section).
    Last edited by hsdn; 19-08-22 at 12:44 AM.

  4. #364
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    The files tera-api\src\locales\shop\tw.json for the shop and tera-api\src\locales\launcher\tw.json for the launcher.
    And the shop categories are translated through the Admin Panel (in the Shop->Categories section).
    Would like to ask (in the Shop->Categories section),"Add Shop Cetegory" ->"Category Title" is not available in traditional Chinese, how can I add it?

    And I originally used port 80 in IIS for WEBAPP, but now TERA-API runs on port 80, how can I use it now? Thank you
    Last edited by uiojilk777; 19-08-22 at 12:29 AM.

  5. #365
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    Would like to ask (in the Shop->Categories section),"Add Shop Cetegory" ->"Category Title" is not available in traditional Chinese, how can I add it?
    You need restart TeraAPI after adding locale to tera-api\config\admin.js.

    Quote Originally Posted by uiojilk777 View Post
    And I originally used port 80 in IIS for WEBAPP, but now TERA-API runs on port 80, how can I use it now? Thank you
    Just change port in IIS.

    - - - Updated - - -

    I will also note that if you want to display shop items in the Admin Panel in Chinese:
    1. Copy the file tera-api\src\locales\admin\en.json to tera-api\src\locales\admin\tw.json.
    2. Set the ADMIN_PANEL_LOCALE parameter as tw in your .env.
    3. Extract this datasheets https://github.com/justkeepquiet/ter...asheets-tw.zip to directory tera-api\data\datasheets.

  6. #366
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    You need restart TeraAPI after adding locale to tera-api\config\admin.js.



    Just change port in IIS.

    - - - Updated - - -

    I will also note that if you want to display shop items in the Admin Panel in Chinese:
    1. Copy the file tera-api\src\locales\admin\en.json to tera-api\src\locales\admin\tw.json.
    2. Set the ADMIN_PANEL_LOCALE parameter as tw in your .env.
    3. Extract this datasheets https://github.com/justkeepquiet/ter...asheets-tw.zip to directory tera-api\data\datasheets.
    Thank you, I originally changed it to port 87, and I can change it to something else.. Sorry for asking such a stupid question

    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    You need restart TeraAPI after adding locale to tera-api\config\admin.js.



    Just change port in IIS.

    - - - Updated - - -

    I will also note that if you want to display shop items in the Admin Panel in Chinese:
    1. Copy the file tera-api\src\locales\admin\en.json to tera-api\src\locales\admin\tw.json.
    2. Set the ADMIN_PANEL_LOCALE parameter as tw in your .env.
    3. Extract this datasheets https://github.com/justkeepquiet/ter...asheets-tw.zip to directory tera-api\data\datasheets.
    Thanks but these 3 steps i have done and it doesn't show the name of tw.

  7. #367
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    Thanks but these 3 steps i have done and it doesn't show the name of tw.
    These are the items that do not have a name in TW. I talked about it here:
    Quote Originally Posted by hsdn View Post
    But I notices you that not all items added to the Shop based on the sample database will have names in TW/CN, because they were added from EUR DC.

  8. #368
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    These are the items that do not have a name in TW. I talked about it here:
    understood,
    1. But if I have the Chinese names and corresponding codes of those items, is there a quick way to add them?
    2. Excuse me.. how to get/send coins for shop?
    Thank you very much for answering my so many questions!
    Last edited by uiojilk777; 19-08-22 at 02:28 AM.

  9. #369
    Account Upgraded | Title Enabled! dziobus is offline
    MemberRank
    Apr 2022 Join Date
    412Posts
    So, I have updated api and everything but when I open the shop it just shows a white blank page.
    Did I miss anything?
    I configured the shop url in arb_gw server and I uncommented the shop line in deploymentConfig.

  10. #370
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    understood,
    1. But if I have the Chinese names and corresponding codes of those items, is there a quick way to add them?
    2. Excuse me.. how to get/send coins for shop?
    1. We used special scripts to add items, but I don't publish them here because of the difficulties in using them. Perhaps in the future this tools will be available to everyone.

    2. You can use a promo code, or develop your website with billing, and update the shop account by calling the Gateway API endpoint /shopApi/FundByUserNo or by directly updating the values in the database.

    Quote Originally Posted by uiojilk777 View Post
    I suddenly found that if I can't display PLAY using TW (but I can click to it), how can I solve it? thanks
    Copy the file tera-api\public\launcher\css\buttons-en.css as tera-api\public\launcher\css\buttons-tw.css.
    You can edit the file buttons-tw.css to specify the TW buttons to be placed in the directory tera-api\public\launcher\images\tw.
    TW buttons can be downloaded here https://disk.yandex.ru/d/AmGTqnQYzy2hpA

    - - - Updated - - -

    Quote Originally Posted by dziobus View Post
    So, I have updated api and everything but when I open the shop it just shows a white blank page.
    Did I miss anything?
    I configured the shop url in arb_gw server and I uncommented the shop line in deploymentConfig.
    Not, you need comment or remove the Shop line from DeploymentConfig.xml, to make the server use value from arb_gw instead.
    Last edited by hsdn; 19-08-22 at 02:53 AM.

  11. #371
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    1. We used special scripts to add items, but I don't publish them here because of the difficulties in using them. Perhaps in the future this tools will be available to everyone.

    2. You can use a promo code, or develop your website with billing, and update the shop account by calling the Gateway API endpoint /shopApi/FundByUserNo or by directly updating the values in the database.


    Copy the file tera-api\public\launcher\css\buttons-en.css as tera-api\public\launcher\css\buttons-tw.css.
    You can edit the file buttons-tw.css to specify the TW buttons to be placed in the directory tera-api\public\launcher\images\tw.
    TW buttons can be downloaded here https://disk.yandex.ru/d/AmGTqnQYzy2hpA

    - - - Updated - - -



    Not, you need comment or remove the Shop line from DeploymentConfig.xml, to make the server use value from arb_gw instead.
    I want to buy Shop Coins with in-game currency, is it possible? Thanks

  12. #372
    Apprentice Riku09 is offline
    MemberRank
    Apr 2016 Join Date
    EnglandLocation
    6Posts
    Hello im trying the packer, but i have some issues , any help with this ? thanks
    https://imgur.com/byUpOKo
    Attached Thumbnails Attached Thumbnails node.png  

  13. #373
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    I want to buy Shop Coins with in-game currency, is it possible? Thanks
    Yes, you can use chrono scroll items, configured in the file tera-api/config/chronoScroll.js, like that:
    Code:
    	215300: [[Shop, { fund: [100] }]],
    For example, you can add item id 215300, when using it in the game, 100 coins will be funded to the shop account.

    - - - Updated - - -

    Quote Originally Posted by Riku09 View Post
    Hello im trying the packer, but i have some issues , any help with this ? thanks
    https://imgur.com/byUpOKo
    You didn't run the npm install command in the tera-client-packer's directory.

  14. #374
    Enthusiast uiojilk777 is offline
    MemberRank
    Apr 2022 Join Date
    39Posts
    Quote Originally Posted by hsdn View Post
    Yes, you can use chrono scroll items, configured in the file tera-api/config/chronoScroll.js, like that:
    Code:
        215300: [[Shop, { fund: [100] }]],
    For example, you can add item id 215300, when using it in the game, 100 coins will be funded to the shop account.

    - - - Updated - - -



    You didn't run the npm install command in the tera-client-packer's directory.
    1.
    If I want to buy in npc mall, first in Below <List id="16067"> in BuyList.xml,Add <Item priceRevision="1" itemId=" 215300" /> ,Then where do I go to set the price? And what else do I need to do? Thanks

    2.I unpacked the client DC using the novadrop-dc tool,
    But How to use novadrop-dc tool to repack the client DC? Thanks

  15. #375
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by uiojilk777 View Post
    1.
    If I want to buy in npc mall, first in Below <List id="16067"> in BuyList.xml,Add <Item priceRevision="1" itemId=" 215300" /> ,Then where do I go to set the price? And what else do I need to do? Thanks

    2.I unpacked the client DC using the novadrop-dc tool,
    But How to use novadrop-dc tool to repack the client DC? Thanks
    1. About merchants settings (server side):
    • BuyMenuList.xml - Categories tabs of buy menus (menu by right-click on an item, or a merchant).
    • BuyList.xml - Items and prices in buy menus categories (if "NeedMedalItemId" is specified, needs check ItemMedalExchange.xml file).
    • BuyMenuData.xml - Categories and items of buy menus for NPCs, event merchants etc. ("BuyMenu id=" is a dialog id from VillagerMenu.xml file).
    • ItemMedalExchange.xml - Price of items purchased for tokens.
    • ItemConversion.xml - Items when opening chests (right-click conversion of one item to another).

    The price settings for regular merchant's items you can set in ItemTemplate*.xml on the buyPrice and sellPrice attributes.

    2. Use this version of novadrop-dc: https://drive.google.com/drive/folde...l9?usp=sharing.
    For unpack DC run .bat file, like dec_EUR.bat, for pack DC run the enc_EUR.bat.
    If you need to repack TW DC, copy and edit the .bat files and edit by replacing EUR with TW.

    Commands needed to repack TW DC 100.02 (used in .bat files):

    Unpack DataCenter_Final_TW.dat to DataCenter_Final_TW folder
    Code:
    novadrop-dc\novadrop-dc unpack --decryption-key 1C01C904FF76FF06C211187E197B5716 --decryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_TW.dat DataCenter_Final_TW
    Pack DataCenter_Final_TW folder to DataCenter_Final_TW_2.dat
    Code:
    novadrop-dc\novadrop-dc pack --encryption-key 1C01C904FF76FF06C211187E197B5716 --encryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_TW DataCenter_Final_TW_2.dat
    Also, before packing, you can check your DataCenter_Final_TW folder for errors with the command:
    Code:
    novadrop-dc\novadrop-dc validate DataCenter_Final_TW
    Last edited by hsdn; 19-08-22 at 07:02 AM.



Advertisement