Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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

Newbie Spellweaver
Joined
Nov 17, 2012
Messages
17
Reaction score
0
After replacing the api with the VN image, running 3. ArbiterServer keeps reporting an error.

Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
...

It has been set step by step according to the tutorial. Is there any other place to set it?
 
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
@willhcz
The Arbiter server does not use the API at startup, as do all tera servers. Therefore, the problem should not be in the API.
I also recommend starting the Tera API at last, when all servers (hub, arbiter, world, steer, box, etc.) have successfully started.

Your error indicates that you probably don't have hub, hub_gw and arb_gw running.
 
Experienced Elementalist
Joined
Apr 25, 2014
Messages
229
Reaction score
7
well,just wonder where and what file need to edit to my public IP?

 
Legendary Battlemage
Joined
Apr 28, 2022
Messages
664
Reaction score
208
I just want to ask if there are any actual issues with the new update to the api before i start installing it and ruin my setup xD
 
Experienced Elementalist
Joined
Apr 25, 2014
Messages
229
Reaction score
7
well,,, i have changed API_PORTAL_CLIENT_DEFAULT_REGION=TW to TW right now...it works now... thx so much

another problem is,,,

but i am using TW client,,,everytime I choose TW lanaguage from the launcher and then the client works, otherwise not working,,,,

so,,right now,,i want my launcher is log in TW region and lanaguage by defult ,,,,, no matter what region i choose from the lacuncher ,,is must be chosen to TW region by defalut.....how do I set up this???

thx


I believe this is the same error that I had when the datacenter region in the client did not match the region of the .env file.

e.g. your .env "API_PORTAL_CLIENT_DEFAULT_REGION=TW", and your datacenter file should be titled "DataCenter_Final_TW.dat"
Or whatever you region is, EUR, RUS, TW.
 
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
I just want to ask if there are any actual issues with the new update to the api before i start installing it and ruin my setup xD

Just install the update following the instructions step by step.
The update only adds an admin panel and a shop, and also fixes some bugs.
 
Newbie Spellweaver
Joined
Nov 17, 2012
Messages
17
Reaction score
0
willhcz
The Arbiter server does not use the API at startup, as do all tera servers. Therefore, the problem should not be in the API.
I also recommend starting the Tera API at last, when all servers (hub, arbiter, world, steer, box, etc.) have successfully started.

Your error indicates that you probably don't have hub, hub_gw and arb_gw running.

But it's not actually, if you don't start the API at all, ArbiterServer will still report this error. If you use the API that comes with the VM image to start, it can run smoothly
 
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
@willhcz
Recomended start order with API:

1. hub and hub_gw
2. Steer Server services
3. Box Server services
4. TERA API
5. REST (Nexusserver, MatchServer, XigncodeProxy)
6. TopographyServer
7. arb_gw and ArbiterServer
8. WorldServer (PartyMatching, BattleField, DungeonServer)
 
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
48
Reaction score
5
Always busy with work,Now that I have the time I can't wait to redeploy the TERA server and get ready to have some fun!But when I started the server, the error of not being able to connect to the server it came back.
I double-checked anywhere I knew, but no matter how I set it up, it wouldn't connect.
I can only ask for help again!
Sorry, my English is terrible.
This is arb_gw log:
[2022/08/11 00:28:57.502] Start request to host [127.0.0.1:8080] bfd2a4
[2022/08/11 00:28:57.520] REST keep-alive timeout. disconnect connection
[2022/08/11 00:28:57.539] REST Socket closed. Reconnect [bfd2a4]
[2022/08/11 00:28:57.539] Host: [127.0.0.1] Port: 8080
[2022/08/11 00:28:57.558] Resolving result 127.0.0.1:8080
[2022/08/11 00:28:57.573] Http result: 200, Size: 33, Error: 0 [bfd2a4]
[2022/08/11 00:28:57.591] GetServerPermission {"result_code":0,"permission":51}
[2022/08/11 00:28:57.607] Server stat 00000033
[2022/08/11 00:29:57.510] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

[2022/08/11 00:29:57.526] Start request to host [127.0.0.1:8080] bfd2a4
[2022/08/11 00:29:57.542] REST keep-alive timeout. disconnect connection
[2022/08/11 00:29:57.558] REST Socket closed. Reconnect [bfd2a4]
[2022/08/11 00:29:57.558] Host: [127.0.0.1] Port: 8080
[2022/08/11 00:29:57.588] Resolving result 127.0.0.1:8080
[2022/08/11 00:29:57.592] Http result: 200, Size: 33, Error: 0 [bfd2a4]
[2022/08/11 00:29:57.619] GetServerPermission {"result_code":0,"permission":50}
[2022/08/11 00:29:57.627] Server stat 00000032
[2022/08/11 00:30:57.558] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}

This is a mistake
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums


There should be no errors in the database
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums


Does the API have to be set up additionally
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums


API, teraser, and web all start normally, but cannot connect to the server no matter what
Also with a fresh install using the new API, is the old accountdb.sql no longer needed?
I rebuilt the database using the SQL in share\db
 
Last edited:
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
@Brat05
Code:
[2022/08/11 00:29:57.619] GetServerPermission {"result_code":0,"permission":50}
I see that your server is set to permission level 50, so only users with permission level 50 or higher can access it.
Set the permission level for the server to 0, or set the permission level for the user to 50 or higher.

Also note that when you enable maintenance mode on a server, the API automatically sets the permissions for the server to 256. Therefore, if you want to access a server that is in maintenance, you need to set permissions to 256 for your maintainer user ("Set MT" button in account edit form).
 
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
48
Reaction score
5
Brat05
Code:
[2022/08/11 00:29:57.619] GetServerPermission {"result_code":0,"permission":50}
I see that your server is set to permission level 50, so only users with permission level 50 or higher can access it.
Set the permission level for the server to 0, or set the permission level for the user to 50 or higher.

Also note that when you enable maintenance mode on a server, the API automatically sets the permissions for the server to 256. Therefore, if you want to access a server that is in maintenance, you need to set permissions to 256 for your maintainer user ("Set MT" button in account edit form).

Thanks for your help, it's fixed! I was the one who overlooked it here in the log! Thank you very much....
Your new API is great, thank you for sharing it.
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums

I would also like to ask you about point 9 of your tutorial

9.In new window select group API_AdminPanel_Admin and click add.

When I opened and did not find the API_AdminPanel_Admin,ExportSteerData_steeradmin_API.sef has imported and restarted the WEB and API
API_AdminPanel_Admin group is needed to add extra?
hsdn - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums
 
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
@Brat05 The specified groups are contained in the imported file. You probably didn't import the .sef file.

Upload the file into import and check for groups on left side, and then click Start data register on right side to complete the import.

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


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


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


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




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


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


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


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

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
48
Reaction score
5
Brat05 The specified groups are contained in the imported file. You probably didn't import the .sef file.

Upload the file into import and check for groups on left side, and then click Start data register on right side to complete the import.

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


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


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


3.
CB2uZI - TERA API (node.js), Shop and Launcher with Client Patcher - RaGEZONE Forums
Oh my God, I was so careless.I don't see the Start data register at the bottom!
Sorry to bother you
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Apr 25, 2014
Messages
229
Reaction score
7
Is this API match with the old webapp?

Since I see a different server list in my webapp...it shows me a different with the server list of admin panel...

but in the game, it shows the admin panel that one...

 
TERA Foundation
Joined
Jun 3, 2020
Messages
489
Reaction score
787
@fitnessguy0 The server list in the WebApp is used to connect the WebApp to the game server database. The API does not communicate with the WebApp. The servers list in the API Admin Panel configures only the servers list (SLS) of available servers when you enter the game.
 
Joined
Jan 13, 2011
Messages
774
Reaction score
177
Big thanks to hsdn but me still catch some errors in console:
- when login into game
Code:
[2022-08-11 13:48:25.167] (WARN) Portal API: GET /public/patch/version.ini 404 - 1.590 ms
- when open ingame shop
Code:
[2022-08-12 09:44:05.630] (WARN) Portal API: GET /public/fontawesome/webfonts/fa-regular-400.ttf 404 - 2.185 ms
[2022-08-12 09:44:05.697] (WARN) Portal API: GET /public/fontawesome/webfonts/fa-regular-400.svg 404 - 1.736 ms
 
Experienced Elementalist
Joined
Apr 25, 2014
Messages
229
Reaction score
7
how come I used this API,,the game's setting is totally diffenent??

it seems like someone has changed its setting....??

but my database and webapp is totally clean..!!!

how come??
 
Back
Top