Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
angerthosenear
Fair. My setup is a bit weird. See here:
https://forum.ragezone.com/f797/tera...ml#post9132748
The public IP for my server is not the public IP for my network since I'm using a cloud VPS and VPN to the server to get the ports punched through. I'll see if I can get a hairpin NAT style rule on my router (UDM Pro), but it is a bit more unusual since the IP doesn't match that of the router. Will give it a whirl, but hopefully that clears up why I asked.
Cool, that's mostly what I figured would be the way to do so, just wanted to be sure.
On my side, my router doesn't handle IP loopback, so what I did is having two serverlist, one with public IP, and another one with direct LAN IP. Could work for you too.
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
hexaDoc
On my side, my router doesn't handle IP loopback, so what I did is having two serverlist, one with public IP, and another one with direct LAN IP. Could work for you too.
Oh, that's a great idea. Is this a matter of making serverId not the primary key in the server_info table, having a duplicate row in that table but with a different loginIp and nameString?
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
angerthosenear
Oh, that's a great idea. Is this a matter of making serverId not the primary key in the server_info table, having a duplicate row in that table but with a different loginIp and nameString?
Removing the primary key can cause a problem when working with the api admin panel and SLS generator algo.
But you can just add a server with a different id to the list, like 2801, it will work fine.
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
hsdn
Removing the primary key can cause a problem when working with the api admin panel and SLS generator algo.
But you can just add a server with a different id to the list, like 2801, it will work fine.
I feared something like that which is why I asked. I thought a different id would cause issues when connecting, like trying to point at PlanetDB_2801.
Tested it out and it works great. Thanks!
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
https://i.imgur.com/1nrYAr7.png
In fact, this id will only be used for the SLS (the number of characters will be displayed for the original server):
https://i.imgur.com/2FC7oyO.png
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Getting this error every once in a while. The Spirit Realm Launcher.exe is not in the patch either.
https://cdn.discordapp.com/attachmen...20/unknown.png
1 Attachment(s)
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Having slight problem updating the launcher, if anyone could help.
1. Made new launcher and put it in public/patch/launcher_update directory as LauncherInstaller_1.0.1.52.exe (even though this is just the launcher, not a setup file. Tried this also with a setup file made for the new launcher)
2. Edited launcher_info.ini in public/patch with version=1.0.1.52 and url pointing at http//localhost/tera-api/public/patch/launcher_update/LauncherInstaller_1.0.1.52.exe
Shows 404 in API and getting this error message:
Attachment 171982
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
MasterRow
Having slight problem updating the launcher, if anyone could help.
1. Made new launcher and put it in public/patch/launcher_update directory as LauncherInstaller_1.0.1.52.exe (even though this is just the launcher, not a setup file. Tried this also with a setup file made for the new launcher)
2. Edited launcher_info.ini in public/patch with version=1.0.1.52 and url pointing at http//localhost/tera-api/public/patch/launcher_update/LauncherInstaller_1.0.1.52.exe
Shows 404 in API and getting this error message:
Attachment 171982
Check API console when you receive this error.
Usually the API shows the path to the file he's trying to get, it will look something like this (404/Path not found) or something similar and it will show you the path, so try to work from there.
I've had the same issue when i had my API setted up so every error i manged to fix it via API Console (LIVE LOGS).
After you get the path just check if the file its actually there because for me some files weren't in the right folder.
Hope it helps you, post here again if you need something else, have a good day!
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Quote:
Originally Posted by
S37uP!Update
Check API console when you receive this error.
Usually the API shows the path to the file he's trying to get, it will look something like this (404/Path not found) or something similar and it will show you the path, so try to work from there.
I've had the same issue when i had my API setted up so every error i manged to fix it via API Console (LIVE LOGS).
After you get the path just check if the file its actually there because for me some files weren't in the right folder.
Hope it helps you, post here again if you need something else, have a good day!
Had wrong path in info.ini. Updated to the default path of /public/patch per the .env instead of changing it and all working.
Thanks for the reply.
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
@vazabisong You have specified the wrong port in the server_info table. Specify port 7801 instead of 80.
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
Why does the launcher crash when I finish the game?
Here is the crash dump generated by the launcher.
https://drive.google.com/drive/folde...9s?usp=sharing
If the crash has no effect, can I turn off the ability to generate a crash dump?
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
API Server is running but i can't open the Launcher. I changed the "localhost" to my vmware IP.If i try to open anything in the "public" directory in my browser it says "404"
https://gyazo.com/ce1b79e0ae57a3525e99f301a30a31b0 (image link)
Resource Hacker https://gyazo.com/65800c72c10b618382fd1970d3ac5857
API Server https://gyazo.com/d6d0c61bd5986b44a71d621126532945
Re: Tera API (node.js) and Launcher with pacher for patch 92/100
@0x9 You need disable Microsoft IIS and start API on port 80 instead of 882.