TERA Foundation
- Joined
- Jun 3, 2020
- Messages
- 490
- Reaction score
- 787
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:
Screenshots (Shop and Admin Panel):
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):
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:
Available here:
Custom Launcher design:
Client Patcher
TERA Client patcher and updater (written on node.js) for original BHS Launcher.
Changelog:
Available here:
Client and Launcher update files structure:
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.
- 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.
- 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).
- 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.
- Fixed Shop scripts for supports of 32bit patches.
- Disabled gzip compression for Portal API.
- Fixed the launcher background mask.
- Added support of KOR (kr) client region language.
- Fixed issue with definition of the timezone in Admin Panel.
- Fix of a possible issues with passing some variables to the Admin Panel session.
- Fixed a bug with saving the number of items when editing a product/box.
- Add feature for disable check of client files when the game start.
- Fixed issue with negative values in server status.
- Skip error if server is null in Shop Welcome view.
- Fixed issues with SQL transactions in Admin Panel.
- Minor fixes of ejs templates.
- Added missed webfonts.
- Added serverApi and accountApi endpoints to Gateway API.
- Highlighting HTTP errors with a warning type in the log.
- Fixed time zone when creating Boxes and Service Items.
- Minor fixes of server availability check algorithm.
- 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.
- 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).
- Fixed issue with automatic login to the last selected server.
- Update server permissions routines for SLS.
- Implemented /api/GetServerPermission API endpoint (server permission info).
Available here:
You must be registered to see links
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:
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
- Copy the file src\locales\launcher\en.json to src\locales\launcher\fr.json.
- Copy the file public\launcher\css\buttons-en.css to public\launcher\css\buttons-fr.css.
- Open .env and add the line API_PORTAL_CLIENT_REGIONS_FRA=Français and save.
- Restart TeraAPI.
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:
You must be registered to see links
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:
You must be registered to see links
.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 (
You must be registered to see linkswith antivirus false positives).
Available here:
You must be registered to see links
You must be registered to see links
You must be registered to see links
Custom Launcher design:
Ninja version (based on design by valentine12):
Reaper version (based on design by S37uP!Update):
Gunner version (based on official TW Launcher):
You must be registered to see links
Reaper version (based on design by S37uP!Update):
You must be registered to see links
Gunner version (based on official TW Launcher):
You must be registered to see links
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.
- Fix issuewith packing files of zero size (elzma.exe).
- Fix issue with displaying errors.
Available here:
You must be registered to see links
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.
- /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).
- \$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
Attachments
You must be registered for see attachments list
Last edited: