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

Thanks, I completely missed that :D

Is there also a solution for the other query?
 
1711495502653 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums

Did you see this error?
 
Last edited:
When I try to connect, the ArbiterServer , Gatway shutdown.
I don't know the cause.

It worked normally.

No code was changed.

and
GM command item_add command does not work.
 
Last edited:
What can I adjust it so that my login form for the launcher doesn't have the launcher mask on it. Also where is the launcher_mask.png & logo.png being referenced ?

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


Thanks!
 
Hello! Help with an error in TERA-API. I launch tera-api and it gives an error: (error) Portal API: Error: getaddrinfo ENOTFOUND 8090.
 

Attachments

  • изображение_2024-04-27_013554934 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums
    изображение_2024-04-27_013554934.webp
    60.3 KB · Views: 77
  • config_arb_gw.txt
    config_arb_gw.txt
    234 bytes · Views: 6
Hello! Help with an error in TERA-API. I launch tera-api and it gives an error: (error) Portal API: Error: getaddrinfo ENOTFOUND 8090.
You probably made a mistake in your .env file.
Settings must be set as follows:
Code:
##################################
# PORTAL API CONFIGURATION
##################################

# Set the host for receiving connections from the users for access to Portal or Launcher.
# Use 0.0.0.0 or leave empty for bind API on all IPs.
API_PORTAL_LISTEN_HOST=

# Set the port for receiving connections from the users for access to Portal or Launcher.
API_PORTAL_LISTEN_PORT=8090
You should also be sure that port 8090 is not being used by another application.
 
You probably made a mistake in your .env file.
Settings must be set as follows:
Code:
##################################
# PORTAL API CONFIGURATION
##################################

# Set the host for receiving connections from the users for access to Portal or Launcher.
# Use 0.0.0.0 or leave empty for bind API on all IPs.
API_PORTAL_LISTEN_HOST=

# Set the port for receiving connections from the users for access to Portal or Launcher.
API_PORTAL_LISTEN_PORT=8090
You should also be sure that port 8090 is not being used by another application.
Thank you, I figured it out, but now there is another error in Topography Server. I run TopographyServer.bat and after a few seconds the window closes. The error in the logs is in Korean.

2024-04-27 02:25:35 Build : Apr 9 2020 10:48:15
2024-04-27 02:25:35 TopographyServer.exe --sharedmemoryproducer=true
2024-04-27 02:25:35 New LogFileWriter Key[0] PlanetId[0] ServerType[0] 04-27 -1:-1
2024-04-27 02:25:46 CreateFileMapping 실패 (5)
2024-04-27 02:25:46 지형을 읽어 들일 수 없습니다. 지형이 제대로 떠 있는지 확인바랍니다.
 
Hi, I am having an issue connecting to the server once I am in game.

Server shows up on the list, though once I click "Enter Server" for the first time the game freezes for a couple seconds, then nothing happens.
1717119486988 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums


If I try to refresh, the server disappears.

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


Code:
[2024/05/30 18:37:08.301] Start request to host [127.0.0.1:8080] d70fa4
[2024/05/30 18:37:08.302] REST keep-alive timeout. disconnect connection
[2024/05/30 18:37:08.304] REST Socket closed. Reconnect [d70fa4]
[2024/05/30 18:37:08.306] Host: [127.0.0.1] Port: 8080
[2024/05/30 18:37:08.308] Resolving result 127.0.0.1:8080
[2024/05/30 18:37:08.311] Http result: 200, Size: 32, Error: 0 [d70fa4]
[2024/05/30 18:37:08.313] GetServerPermission {"result_code":0,"permission":0}
[2024/05/30 18:37:08.315] Server stat 00000000
[2024/05/30 18:38:08.316] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

[2024/05/30 18:38:08.319] Start request to host [127.0.0.1:8080] d70fa4
[2024/05/30 18:38:08.321] REST keep-alive timeout. disconnect connection
[2024/05/30 18:38:08.322] REST Socket closed. Reconnect [d70fa4]
[2024/05/30 18:38:08.324] Host: [127.0.0.1] Port: 8080
[2024/05/30 18:38:08.325] Resolving result 127.0.0.1:8080
[2024/05/30 18:38:08.329] Http result: 200, Size: 32, Error: 0 [d70fa4]
[2024/05/30 18:38:08.331] GetServerPermission {"result_code":0,"permission":0}
[2024/05/30 18:38:08.333] Server stat 00000000
[2024/05/30 18:39:08.324] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

This is the output from arb_gw.

Code:
[2024-05-30 18:32:12.802] (info) Portal API: GET /tera/LauncherMain 200 - 0.797 ms
[2024-05-30 18:32:12.855] (info) Portal API: GET /tera/LauncherLoginForm?lang=en 200 - 0.538 ms
[2024-05-30 18:32:12.876] (info) Portal API: GET /tera/LauncherMain?lang=en 200 - 0.641 ms
[2024-05-30 18:32:12.988] (info) Portal API: GET /tera/LauncherLoginForm?lang=en 200 - 0.515 ms
[2024-05-30 18:32:13.087] (info) Portal API: POST /tera/GetAccountInfoByUserNo?ts=1717119131204 200 - 2.762 ms
[2024-05-30 18:32:14.312] (info) Portal API: POST /tera/SetAccountInfoByUserNo?ts=1717119132433 200 - 1.696 ms
[2024-05-30 18:32:14.317] (info) Portal API: GET /tera/LauncherMaintenanceStatus?ts=1717119132441 200 - 0.736 ms
[2024-05-30 18:32:14.571] (info) Portal API: GET /tera/ServerList?lang=en 200 - 2.076 ms
[2024-05-30 18:32:30.205] (info) Admin Panel: GET /api/notifications 304 - 1.327 ms
[2024-05-30 18:32:37.767] (info) Portal API: GET /tera/ServerList?lang=en 200 - 2.240 ms
[2024-05-30 18:33:08.240] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.308 ms
[2024-05-30 18:33:30.200] (info) Admin Panel: GET /api/notifications 304 - 1.980 ms
[2024-05-30 18:34:08.257] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.301 ms
[2024-05-30 18:34:30.200] (info) Admin Panel: GET /api/notifications 304 - 1.457 ms
[2024-05-30 18:35:08.276] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.573 ms
[2024-05-30 18:35:30.194] (info) Admin Panel: GET /api/notifications 304 - 1.369 ms
[2024-05-30 18:36:08.292] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.343 ms
[2024-05-30 18:36:30.192] (info) Admin Panel: GET /api/notifications 304 - 1.327 ms
[2024-05-30 18:37:08.311] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.288 ms
[2024-05-30 18:37:30.196] (info) Admin Panel: GET /api/notifications 304 - 1.781 ms
[2024-05-30 18:38:08.329] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.256 ms
[2024-05-30 18:38:30.198] (info) Admin Panel: GET /api/notifications 304 - 1.319 ms
[2024-05-30 18:39:08.337] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.697 ms
[2024-05-30 18:39:30.197] (info) Admin Panel: GET /api/notifications 304 - 1.367 ms
[2024-05-30 18:40:08.338] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.629 ms
[2024-05-30 18:40:30.198] (info) Admin Panel: GET /api/notifications 304 - 1.370 ms

This is the output from TeraAPI.

Here is my server_info:

1717119758507 - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums
 
Hi, I am having an issue connecting to the server once I am in game.

Server shows up on the list, though once I click "Enter Server" for the first time the game freezes for a couple seconds, then nothing happens.
View attachment 261424

If I try to refresh, the server disappears.

View attachment 261425

Code:
[2024/05/30 18:37:08.301] Start request to host [127.0.0.1:8080] d70fa4
[2024/05/30 18:37:08.302] REST keep-alive timeout. disconnect connection
[2024/05/30 18:37:08.304] REST Socket closed. Reconnect [d70fa4]
[2024/05/30 18:37:08.306] Host: [127.0.0.1] Port: 8080
[2024/05/30 18:37:08.308] Resolving result 127.0.0.1:8080
[2024/05/30 18:37:08.311] Http result: 200, Size: 32, Error: 0 [d70fa4]
[2024/05/30 18:37:08.313] GetServerPermission {"result_code":0,"permission":0}
[2024/05/30 18:37:08.315] Server stat 00000000
[2024/05/30 18:38:08.316] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

[2024/05/30 18:38:08.319] Start request to host [127.0.0.1:8080] d70fa4
[2024/05/30 18:38:08.321] REST keep-alive timeout. disconnect connection
[2024/05/30 18:38:08.322] REST Socket closed. Reconnect [d70fa4]
[2024/05/30 18:38:08.324] Host: [127.0.0.1] Port: 8080
[2024/05/30 18:38:08.325] Resolving result 127.0.0.1:8080
[2024/05/30 18:38:08.329] Http result: 200, Size: 32, Error: 0 [d70fa4]
[2024/05/30 18:38:08.331] GetServerPermission {"result_code":0,"permission":0}
[2024/05/30 18:38:08.333] Server stat 00000000
[2024/05/30 18:39:08.324] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

This is the output from arb_gw.

Code:
[2024-05-30 18:32:12.802] (info) Portal API: GET /tera/LauncherMain 200 - 0.797 ms
[2024-05-30 18:32:12.855] (info) Portal API: GET /tera/LauncherLoginForm?lang=en 200 - 0.538 ms
[2024-05-30 18:32:12.876] (info) Portal API: GET /tera/LauncherMain?lang=en 200 - 0.641 ms
[2024-05-30 18:32:12.988] (info) Portal API: GET /tera/LauncherLoginForm?lang=en 200 - 0.515 ms
[2024-05-30 18:32:13.087] (info) Portal API: POST /tera/GetAccountInfoByUserNo?ts=1717119131204 200 - 2.762 ms
[2024-05-30 18:32:14.312] (info) Portal API: POST /tera/SetAccountInfoByUserNo?ts=1717119132433 200 - 1.696 ms
[2024-05-30 18:32:14.317] (info) Portal API: GET /tera/LauncherMaintenanceStatus?ts=1717119132441 200 - 0.736 ms
[2024-05-30 18:32:14.571] (info) Portal API: GET /tera/ServerList?lang=en 200 - 2.076 ms
[2024-05-30 18:32:30.205] (info) Admin Panel: GET /api/notifications 304 - 1.327 ms
[2024-05-30 18:32:37.767] (info) Portal API: GET /tera/ServerList?lang=en 200 - 2.240 ms
[2024-05-30 18:33:08.240] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.308 ms
[2024-05-30 18:33:30.200] (info) Admin Panel: GET /api/notifications 304 - 1.980 ms
[2024-05-30 18:34:08.257] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.301 ms
[2024-05-30 18:34:30.200] (info) Admin Panel: GET /api/notifications 304 - 1.457 ms
[2024-05-30 18:35:08.276] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.573 ms
[2024-05-30 18:35:30.194] (info) Admin Panel: GET /api/notifications 304 - 1.369 ms
[2024-05-30 18:36:08.292] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.343 ms
[2024-05-30 18:36:30.192] (info) Admin Panel: GET /api/notifications 304 - 1.327 ms
[2024-05-30 18:37:08.311] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.288 ms
[2024-05-30 18:37:30.196] (info) Admin Panel: GET /api/notifications 304 - 1.781 ms
[2024-05-30 18:38:08.329] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.256 ms
[2024-05-30 18:38:30.198] (info) Admin Panel: GET /api/notifications 304 - 1.319 ms
[2024-05-30 18:39:08.337] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.697 ms
[2024-05-30 18:39:30.197] (info) Admin Panel: GET /api/notifications 304 - 1.367 ms
[2024-05-30 18:40:08.338] (info) Arbiter API: POST /api/GetServerPermission 200 - 1.629 ms
[2024-05-30 18:40:30.198] (info) Admin Panel: GET /api/notifications 304 - 1.370 ms

This is the output from TeraAPI.

Here is my server_info:

View attachment 261426

Hi,

Most likely you forgot to add the port 7801 to firewall exception (Inbound Rule).

A simple test can be done using powershell in order to troubleshoot,

Test-NetConnection -ComputerName 24..xx.xx.xx -Port 7801

the result must be

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


Also, if you're using the Proxy server created by hsdn, then remember to start it.
 
Hi,

Most likely you forgot to add the port 7801 to firewall exception (Inbound Rule).

A simple test can be done using powershell in order to troubleshoot,

Test-NetConnection -ComputerName 24..xx.xx.xx -Port 7801

the result must be

View attachment 261427

Also, if you're using the Proxy server created by hsdn, then remember to start it.
Hi, Thanks for the swift reply!

Thank you for mentioning the Proxy Server. My server failed the Tcp Connection but succeeded the Ping test. Additionally, I had port 7801 forwarded and added to firewall exceptions.

Turns out, in my DeploymentConfig.xml, I had it set to use the proxy. I changed port 7701 to 7801 and the TCP Connection succeeded. I then changed "qaServer" to "true" and it let me in.
 
API has been updated

Changes:
  • Added missing chronoscroll premium item IDs (358, 372 and 373) to activate premium/VIP status.
  • Added new parameter API_PORTAL_BENEFIT_ID_ELITE_STATUS, allows you to set the premium status benefit identifier (by default 533 - RU VIP is used).
Installation:
  1. Download and replace the file .
  2. Add API_PORTAL_BENEFIT_ID_ELITE_STATUS parameter with needed value to your .env.
Available Benefit ID values:
Code:
31 -- Proof of the expedition member
32 -- Skillful Adventurer
33 -- TERA Rewards
34 -- Frontier
35 -- EP XP increases by 30
77 -- Monthly Pass
103 -- Japan Returning user
104 -- JP Tooltip
333 -- Elite Status
334 -- Founder
335 -- Console Elite
350 -- Server Benefit
433 -- TERA Club
434 -- Veteran
435 -- Package Benefit I
436 -- Package Benefit II
437 -- Package Benefit III
500 -- VIP
510 -- TW XP Boost Server
520 -- VIP2
533 -- RU VIP
534 -- RU Founder
600 -- Trade restricted
601 -- Basic Package
602 -- Trade Restriction
691 -- Safe Mode
701 -- VIP
800 -- PC Café (Minor)
801 -- PC Café (Intermediate)
802 -- PC Café (Major)
803 -- PC Café (VIP)
804 -- User ELITE (Minor)
805 -- User ELITE (Intermediate)
806 -- User ELITE (Major)
807 -- User ELITE (VIP)
chronoscroll premium ID:358,372,373,Cannot be used.
When using these three items in the game, the system prompts that they cannot be used. Is there any way to solve this problem?
 
Not able to see characters via the api admin panel.

after enabling the launcher updates i get update information is not prepared
 
Last edited:
hi, the launcher don't work with client 100.02 GF ? because is stay on little windows with loading and i can't see this
 
Not able to see characters via the api admin panel.

after enabling the launcher updates i get update information is not prepared
Im getting update information is not prepared when turning on the patcher in .env

Hi, a screenshot of the issue would be great.

hi, the launcher don't work with client 100.02 GF ? because is stay on little windows with loading and i can't see this

It must work, if you get a loading window which lays at the bottom of your screen, then you have to check a couple of things,

1. You forgot to change you server IP in the launcher
2. You are using a different port in the launcher than the defined in your .env file (API_PORTAL_LISTEN_PORT)
3. You forgot to whitelist the port defined in your .env file. (API_PORTAL_LISTEN_PORT) in your firewall
 
Back