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

Page 2 of 31 FirstFirst 1234567891012 ... LastLast
Results 16 to 30 of 451
  1. #16
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

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

    @argeus99 This error also occurs after you click the Play button?

    - - - Updated - - -

    Try to remove the local.db and version.ini files from the game folder.

    - - - Updated - - -

    UPD: A new config parameter API_PORTAL_BRAND_NAME has been added to allow you to change the brand name in copyright.

  2. #17
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    My arb_gw is failing to run now :(

    [2022/05/23 00:11:32.510] Socket reconnection failed with No connection could be made because the target machine actively refused it
    [2022/05/23 00:11:32.523] Socket closed with The operation completed successfully [d513fc]
    [2022/05/23 00:11:32.530] **** SLOW Call 1031[/systemApi/RequestAPIServerStatusAvailable]
    [2022/05/23 00:11:32.537] RequestAPIServerStatusAvailable
    [2022/05/23 00:11:32.541] RequestAPIServerStatusAvailable failed -1[]
    [2022/05/23 00:11:32.545] REST CheckServer failed

  3. #18
    Enthusiast Zentsuken is offline
    MemberRank
    Feb 2021 Join Date
    25Posts

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

    Thank you so much hsdn for sharing your wealth of knowledge along with this new API & Launcher. It took me a bit to figure it out but managed to get it going and was able to unlock the account benefits just fine. Love that you can also select the language right from the launcher and that you can see the available player count on the server list, truly fantastic work. THANK YOU!

    Quote Originally Posted by smashking View Post
    My arb_gw is failing to run now :(

    [2022/05/23 00:11:32.510] Socket reconnection failed with No connection could be made because the target machine actively refused it
    [2022/05/23 00:11:32.523] Socket closed with The operation completed successfully [d513fc]
    [2022/05/23 00:11:32.530] **** SLOW Call 1031[/systemApi/RequestAPIServerStatusAvailable]
    [2022/05/23 00:11:32.537] RequestAPIServerStatusAvailable
    [2022/05/23 00:11:32.541] RequestAPIServerStatusAvailable failed -1[]
    [2022/05/23 00:11:32.545] REST CheckServer failed
    Make sure you are binding it to the correct IP in 'API_ARBITER_LISTEN_HOST', also double check your ports (if you've changed them).

  4. #19
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    tera-api gives me this when I run arb_gw

    error: SequelizeDatabaseError: No database selected

    And before it says that its connected to accountdb etc. Have no idea what this means

  5. #20
    Enthusiast Zentsuken is offline
    MemberRank
    Feb 2021 Join Date
    25Posts

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

    Did you import the new 'accountdb' found inside the share folder? Because this new API does not make use of the old 'accountdb_2800' database. Once you do that open up your .env file and double check that you've added your user/pass to the database configuration sections.

  6. #21
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    Yes I have updated it. I had an error in the .evn regarding user of database, now it is no longer prompting error: SequelizeDatabaseError: No database selected.

    Yet I am still stuck on refusing to connect error.

    API_ARBITER_LISTEN_HOST=127.0.0.1
    API_ARBITER_LISTEN_PORT=8080

    Using same stuff as grails api which didnt have problem to connect. I have tried adding new api to the firewall but it has no .exe file so I don't know how to add an exception for it

    - - - Updated - - -

    Solved it. Apparently my windows weren't recognizing env file extension. It was quite weird as the api gives false feedback that connection is established even though my .env was technically non existing

    - - - Updated - - -

    I quite don't understand this either, how come launcher's host is defined as in ..../tera/LauncherMain when it doesn't exist?

  7. #22
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

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

    Quote Originally Posted by smashking View Post
    It was quite weird as the api gives false feedback that connection is established even though my .env was technically non existing
    If database ip/port is not specified, API uses 127.0.0.1:3306 by default for database connections. Because of this, the false behavior of normal operation occurs. At the same time, since If the .env is missing, then the database name and other parameters are missing.

    UPD: Fixed.
    Last edited by hsdn; 23-05-22 at 12:02 PM.

  8. #23
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    Quote Originally Posted by hsdn View Post
    @argeus99 This error also occurs after you click the Play button?

    - - - Updated - - -

    Try to remove the local.db and version.ini files from the game folder.

    i have the same error.

    Can register via launcher.

    Have removed local.db and version.ini

    Have version.ini in C:\tera-api\public\patch

    Have Launcher_info.ini with

    installer_url=http://myserverip:myport/patch/launcher_update/Launcher.exe

    Have Launcher_Update folder with Launcher.exe in it.

    GettingError 274(0) ini error when I press play

  9. #24
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

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

    Quote Originally Posted by smashking View Post
    GettingError 274(0) ini error
    The cause of the error has been found. You have placed the wrong version.ini file in the C:\tera-api\public\patch folder, which is causing the launcher to generate this error.

    You need to delete this file if you are not using the automatic update feature (404 error is normal).

  10. #25
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    Quote Originally Posted by hsdn View Post
    The cause of the error has been found. You have placed the wrong version.ini file in the C:\tera-api\public\patch folder, which is causing the launcher to generate this error.

    You need to delete this file if you are not using the automatic update feature (404 error is normal).
    This worked and now I am getting new error of 65520(1021) Game Program closed. Any ideas?

  11. #26
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

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

    Quote Originally Posted by smashking View Post
    This worked and now I am getting new error of 65520(1021) Game Program closed. Any ideas?
    Wrong region language / DC file specified.

    You need to rename your translated datacenter DataCenter_Final_TW.dat file to DataCenter_Final_EUR.dat.
    This suffix (EUR) must match the one specified in the parameter API_PORTAL_CLIENT_DEFAULT_REGION.

  12. #27
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    Omg I love you.

    One of the kind to not only share but also help with setup. Thank you <3

    One last thing, in my server selection screen, my population and other tab is in TW. any ideas how to change that to english without translating datacenter?

  13. #28
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

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

    This question also related to the region parameter.

    If API_PORTAL_CLIENT_DEFAULT_REGION=TW is specified, Chinese will be used to display the list of servers.

    However, you can edit this translation in the server_strings table (just copy text from en to tw row):



    But it is more correct to use the EUR value for API_PORTAL_CLIENT_DEFAULT_REGION along with DataCenter_Final_EUR.dat.

  14. #29
    Member smashking is offline
    MemberRank
    Apr 2021 Join Date
    70Posts

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

    Quote Originally Posted by hsdn View Post
    This question also related to the region parameter.

    If API_PORTAL_CLIENT_DEFAULT_REGION=TW is specified, Chinese will be used to display the list of servers.

    However, you can edit this translation in the server_strings table (just copy text from en to tw row):



    But it is more correct to use the EUR value for API_PORTAL_CLIENT_DEFAULT_REGION along with DataCenter_Final_EUR.dat.
    Thank you friend.

  15. #30
    Account Upgraded | Title Enabled! TieLay is offline
    MemberRank
    Jan 2011 Join Date
    RussiaLocation
    650Posts

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

    so me try install tera-api, but in step "Run the npm install for install required node modules." nodeJS goto frustration and nothing happens, only stuck progress of download modules.
    So me corrected configure proxy in system set, bur in nodeJS how make it?

    - - - Updated - - -

    Me ask and me answer:
    before run step 4 configure proxy settings:
    for http: npm config set proxy http://proxy_host:port
    for https: npm config set https-proxy https://proxy_host:port or npm config set https-proxy http://proxy_host:port



Page 2 of 31 FirstFirst 1234567891012 ... LastLast

Advertisement