TERA API (node.js), Shop and Launcher with Client Patcher

Did you successfully call TERA Shop in-game after changing the language?Following the hint given by Archgeus, the contents of the file 'CoherentGTWeb-00000.xml' in version 100.02 were the same, so I added the language code I added and ran the client, but I failed to call TERA Shop.
Discord: 쓰리랑카링#6461

I can help you remotely.
 
Did you successfully call TERA Shop in-game after changing the language?Following the hint given by Archgeus, the contents of the file 'CoherentGTWeb-00000.xml' in version 100.02 were the same, so I added the language code I added and ran the client, but I failed to call TERA Shop.
I gave up using the kr and put it on german language =/
 
In .env it says:
Code:
# Set the ID of the benefit that will be activated for the VIP/premium status.
# See StrSheet_AccountBenefit for more details about available IDs.
# If leave empty, the ID 333 (EME VIP) will be used.
API_PORTAL_BENEFIT_ID_ELITE_STATUS=333

Where is the VIP/premium status set? I want to remove for certain account.
What I tried is to remove 333 entry in db's table account_benefits, but the benefit is still active ingame, even after relog.


Solved: id 335 had name of 333.
 
Last edited:
런처가 실행되지만 로딩이 완료되면 응답하지 않게 되고
작업 표시줄에만 나타납니다.
작동하지 않습니다.
왜 이런가요?
문제를 해결해주세요.

HI,

You must edit the ip;port in the launcher to your server ip address.

So, as example, if you server have 192.168.1.100 as ip and 8090 as predefined port, then in the launcher must have,

1734276647937 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums

1734276674885 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums


Also, make sure that the port 8090 is reachable outside of the server (Firewall)
 
Hello, I haven't been able to find info on my issue so I figured I'd ask.

The launcher no longer functions at all. When you launch the launcher, it appears in taskbar but doesn't have any popup anymore. It's essentially disappeared and cannot be used. Very strange since it worked previously with no changes on my end.
 
Hello, I haven't been able to find info on my issue so I figured I'd ask.

The launcher no longer functions at all. When you launch the launcher, it appears in taskbar but doesn't have any popup anymore. It's essentially disappeared and cannot be used. Very strange since it worked previously with no changes on my end.

Hi,

Recheck ports and the ip of the server where you are hosting the api.

That launcher issue is always a ip/port connectivity thing.
 
Hi,

Recheck ports and the ip of the server where you are hosting the api.

That launcher issue is always a ip/port connectivity thing.
Hello, Thanks for responding, I've checked and the ports are open and the IP has stayed the same. I had someone set this server up for me and I'm just trying to get it back to a working state so please be patient, lol. I do not know where to check on the server side if things have remained the same. Where might I check the config files for what I need, serverconfig.xml did not have any ports listed.
 
Hello, Thanks for responding, I've checked and the ports are open and the IP has stayed the same. I had someone set this server up for me and I'm just trying to get it back to a working state so please be patient, lol. I do not know where to check on the server side if things have remained the same. Where might I check the config files for what I need, serverconfig.xml did not have any ports listed.

Hi,

Ports are set in DeploymentConfig.xml, the only one you must open is the value of "portForClient" unless you have setup a proxy (like the hsdn one), then the port you set in the proxy is the one you must open (Firewall/PortForward)

I'm guessing that you're using the api by hsdn, then take a look into the .env file and search for the value of API_PORTAL_LISTEN_PORT

i've set up mine as 8090, then only 8090 port must be open. If you have a port different than mine, then that's the one you must open.

Only those ports are necessary to a normal operation.
 
TERA API + In-game Shop

API and In-game Shop implementation for the TERA Online retail server on Node.js. The API consists of four independent servers (Arbiter API, Portal API, Shop API and Admin Panel) running on different ports. Support of Arbiter server API functions, authorization, privileges, VIP items/benefits, Shop, Launcher API, SLS generator, etc.

All versions of the game are supported (using arb_gw from TW server distribution).

Last update: 26.06.2023

Changelog:

Update 26.06.2023:
  • Fixed security issue related to the activation of promo codes in the Tera Shop.
Update 30.03.2023:
  • Added new config parameter API_PORTAL_LAUNCHER_DISABLE_REGISTRATION.
  • Fixed generation of the item data in the dataItemsUpdater.js tool.
  • Minor changes for ipFromLauncher routines in the code.
Update 03.02.2023:
  • Added new config parameter API_ARBITER_USE_IP_FROM_LAUNCHER.
  • Fixed security issue with request IP spoofing (X-Forwarded-For header).
  • Removed fonts from repository (must now be downloaded separately).
Update 02.02.2023:
  • Added Gateway API method GetAccountBanByUserNo.
  • Fixed variables names and translation.
  • Fixed edit password in Admin Panel when sha512 enabled.
  • Switch from isAlphanumeric to isStrongPassword and increase password max length to 128.
Update 21.10.2022:
  • Fixed Shop scripts for supports of 32bit patches.
Update 09.10.2022:
  • Disabled gzip compression for Portal API.
  • Fixed the launcher background mask.
Update 01.09.2022:
  • Added support of KOR (kr) client region language.
Update 29.08.2022:
  • Fixed issue with definition of the timezone in Admin Panel.
  • Fix of a possible issues with passing some variables to the Admin Panel session.
Update 26.08.2022:
  • Fixed a bug with saving the number of items when editing a product/box.
Update 23.08.2022:
  • Add feature for disable check of client files when the game start.
Update 22.08.2022:
  • Fixed issue with negative values in server status.
  • Skip error if server is null in Shop Welcome view.
Update 19.08.2022:
  • Fixed issues with SQL transactions in Admin Panel.
Update 12.08.2022:
  • Minor fixes of ejs templates.
  • Added missed webfonts.
Update 10.08.2022:
  • Added serverApi and accountApi endpoints to Gateway API.
  • Highlighting HTTP errors with a warning type in the log.
Update 09.08.2022:
  • Fixed time zone when creating Boxes and Service Items.
Update 08.08.2022:
  • Minor fixes of server availability check algorithm.
Update 06.08.2022:
  • Full implementation of the Tera Shop.
  • Full implementation of Admin Panel for API features and Tera Shop.
  • Added language select in the Launcher.
  • Implementation of the promo code system (Tera Shop).
  • New server availability check algorithm.
  • Integration with the Steer Server and Tera Platform Hub.
  • The use of FCGI WebAPI and FCGI Gateway is no longer required.
  • Automatic creation of Service Items (Box).
  • Improve application console logging and debugging.
  • Now a single database for the API is used.
  • Lots of improvements and fixes.
Update 16.06.2022:
  • Added the initial benefits that will be assigned to the user on registration.
  • Added a separate config file for configuring premium items and benefits.
  • Added integration with FCGI Gateway and Box System.
  • Minor code fixes (sql transactions, code optimization).
Update 11.06.2022:
  • Fixed issue with automatic login to the last selected server.
  • Update server permissions routines for SLS.
  • Implemented /api/GetServerPermission API endpoint (server permission info).
Screenshots (Shop and Admin Panel):
View attachment 233708

Available here:

TERA Clients and Servers Collection
How to enable Item Claim system
How to allow GM commands for specific accounts

How to read OpArb errors
How to add new language translation (new region of client):
Below is how to add the French language to the Launcher:
  1. Copy the file src\locales\launcher\en.json to src\locales\launcher\fr.json.
  2. Copy the file public\launcher\css\buttons-en.css to public\launcher\css\buttons-fr.css.
  3. Open .env and add the line API_PORTAL_CLIENT_REGIONS_FRA=Français and save.
  4. Restart TeraAPI.
Make sure you have a data center DataCenter_Final_FRA.dat in your Tera Client S1Data folder.
To translate the launcher, you need to edit file src\locales\launcher\fr.json.
If you need to translate buttons, edit the file public\launcher\css\buttons-fr.css with your own images.
Blank images of the buttons available here:

Please note that the TERA Shop and Admin Panel will remain in English. To translate the TERA Shop, you need to copy file src\locales\shop\en.json to src\locales\shop\fr.json and add "fr" language entry to the file config\admin.js. Also you need to extract the necessary XMLs from the French data center and insert it to the API database using the method described here: .

Comparison of data centers with languages:
CHN: cn
EUR: en
FRA: fr
GER: de
INT: en
JPN: jp
KOR: kr
RUS: ru
SE: se
THA: th
TW: tw
USA: en

Launcher

Launcher for Tera Online that supports of all versions of the game. Based on the official version of the BHS launcher that works with the TW/JP localizers. This launcher supports all the functions of automatic game update and file integrity check. For these features to work, you need to use our tera-api. Translations an English and Russian available.

Changelog:
Update 30.06.2022:
  • Updated executable file ( with antivirus false positives).
View attachment 233709

Available here:



Custom Launcher design:

Ninja version (based on design by valentine12):
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums



Reaper version (based on design by S37uP!Update):
View attachment 233710


Gunner version (based on official TW Launcher):
View attachment 233711

Client Patcher

TERA Client patcher and updater (written on node.js) for original BHS Launcher.

Changelog:
Update 22.08.2022:
  • Added the feature to specify the update search directory.
Update 06.06.2022:
  • Fix issuewith packing files of zero size (elzma.exe).
Update 02.06.2022:
  • Fix issue with displaying errors.
View attachment 233712

Available here:

Client and Launcher update files structure:
Client update files structure:
  • /tera-api/public/patch/patch/ - game client packed files (like the 1-100.cab, 1-101.cab, etc.).
  • /tera-api/public/patch/db/ - update database files (like the server.db.1.cab).
  • /tera-api/public/patch/version.ini - generated by packer version.ini placed here.
Launcher update files structure:
  • /tera-api/public/patch/launcher_update/ - updates for launcher (files like LauncherInstaller_1.0.1.52.exe, created by Inno Setup script).
  • /tera-api/public/patch/launcher_info.ini - information file of launcher update version (edit manually).
Files and folders that must be removed from the client before packing:
  • \$Patch
  • \Binaries\cookies.dat
  • \S1Game\GuildFlagUpload
  • \S1Game\GuildLogoUpload
  • \S1Game\ImageCache
  • \S1Game\Logs
  • \S1Game\Screenshots
  • \S1Game\Config\S1Engine.ini
  • \S1Game\Config\S1Game.ini
  • \S1Game\Config\S1Input.ini
  • \S1Game\Config\S1Lightmass.ini
  • \S1Game\Config\S1Option.ini
  • \S1Game\Config\S1SystemSettings.ini
  • \S1Game\Config\S1TBASettings.ini
  • \S1Game\Config\S1UI.ini
  • \Launcher.exe
  • \local.db
  • \version.ini
Hello, I'm sorry to bother you, but I had a problem, I kind of did everything right, but the launcher starts and thinks endlessly, after which, as I understand it, it freezes and after clicking on the image and closing the launcher, an error pops up, which is in the screenshot. Please help me, what should I do >.< ?
Здравствуйте, извините, что беспокою вас, но у меня была проблема, я вроде все правильно сделал, но лаунчер запускается и думает бесконечно, после чего, как я понимаю, зависает и после клика по изображению и закрытия лаунчера выскакивает ошибка, которая есть на скриншоте. Пожалуйста, помогите мне, что мне делать >.< ?
 

Attachments

  • Screenshot 2025-02-01 155421 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums
    Screenshot 2025-02-01 155421.webp
    6.5 KB · Views: 4
Back