Skip to content

Loliconera/How-to-Install-TERA-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 

Repository files navigation

How-to-Install-TERA-Server

The following guide assumes that you have a dedicated computer to install the server files (this should work on a vm too, but more steps are needed) Keep in mind, the purpose of this guide is pointing you to the right direction consolidating the most useful info about the tera server configuration just in one place.

Contents

  1. Server Files 1.1 Client Files
  2. Requirements
  3. Installing SQL Server
  4. Restore Databases SQL Server
  5. Installing MySQL Server
  6. Create Account Database MySQL Server
  7. Server Setup 7.1 arb_gw 7.2 hub and hub_gw 7.3 DeploymentConfig.xml
  8. API
  9. Starting the Server
  10. How to get and change the IP address from launcher
  11. Enable item Claim (Box/Steer Server) (Optional)
  12. Enable TERA Shop Features (Optional)
  13. Enable Launcher Patching (Optional)
  14. Enable Proxy (Optional)
  15. Setting Up WebApp (Optional)
  16. Useful Releases
  17. VMS
  18. Useful Guides for Beginners
  19. Extra
  20. Tools
  21. FAQ

1. Server Files

1.1 Client Files

2. Requirements

A PC with at least 96GB of ram... but i know almost all of us doesn't meet this requerement, just set a page file in a ssd with a minimum size of 80GB. Also you must have a system locate on English or Korean

3. Installing SQL Server

Follow this guide for install SQL Server; while you install, do not forget to enable mixed authentication
image
Remember which password you set, this will be the SA user password

4. Restore Databases SQL Server

Open and login into SSMS Right clic on Databases then clic on restore database
image
Now follow the number order in the next image
image
image

Now do the same thing for SharedDB, CollectionDB (100.02 only), LogDB_2800 and WebAppDB.

If you want to start with clean databases follow this guide.

5. Installing MySQL Server

Nothing especial, just remember which root password you set.

6. Create Account Database MySQL Server

Create a database named “accountdb_2800” with collation utf8 and execute the following sql query located here on it

image
image
image

7. Server Setup

7.1 arb_gw

Open and edit config_arb_gw.txt and set like the following image,

image

hub_ip=127.0.0.1
hub_port=11001
game_port=10001
rest_timeout=0
rest_url=http://127.0.0.1:8080/api
rest_url_auth=http://127.0.0.1:8080/
web_shop_url=http://127.0.0.1/tera/ShopAuth?authKey=%s
tba_web_shop_url=http://127.0.0.1/tera/ShopAuth?authKey=%s
thread_cnt=16

7.2 hub and hub_gw

Leave hub and hub_gw as is, no changes are needed.

7.3 DeploymentConfig.xml

Located at ~\Executable\Bin, Open and edit the following lines with your SQL Server SA / MySQL root credencials
image

image

In 92.03/04 CollectionDB doesn't exist.

Set external ip value to 127.0.0.1 like this

<ExternalIp getFromNetworkDevice="true" value="127.0.0.1" />

8. API

Main Thread Download and installation guide from here.

9. Starting the Server

Recommended server startup order (Taken From)

  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)
  9. TERA Server Proxy (if used)

You must wail until ''$Server Ready$'' and ''$Registered....'' (100.02) status for enter the game with all features.

image
image

10. How to get and change the IP address from launcher

Download the launcher from here

Open the launcher with resource hacker and go to string table and edit YOURSERVERIP in strings 19 and 20

image
image

11. Enable item Claim (Box/Steer Server) (Optional)

Follow this guide

12. Enable TERA Shop Features (Optional)

Follow this guide

13. Enable Launcher Patching (Optional)

Follow this guide

14. Enable Proxy (Optional)

Follow this guide

15. Setting Up WebApp (Optional)

Follow this guide

16. Useful Releases

17. VMS

18. Useful Guides for Beginners

19. Extra

Official Fan/Press/Art Kits

20. Tools

21. FAQ

  • CreateFileMapping ?? (5)
  • Server Version: 366358(branch:Live92_3_TW)Exception: %saccess violation(c0000005) has occurred at XXXXXXXXXXXXXXXX

image

Solution: Make sure to execute Topography and Worldserver as administrator. Also you must have a system locate on English or Korean

  • Grails hags at 83%

image

Solution: Stop using the old java API. Look at the step 8. API

  • When you start TERA Client 92.03, xingcode appears and inmediately or mins later it closes the client.

Solution: Download and apply this xingcode patch

  • You can't enter right now

image

Solution: Wait until ''$Server Ready$'' Status in world server.

  • Everyone can use gm commands, what can i do?

Solution: Open DeploymentConfig.xml and edit qaServer="true" to "false"

<ArbiterServerConfig qaServer="false" validatePacket="true" pveServer="true">  

Then check 14. Enable Proxy (Optional) step

  • I'm getting speedhack messages and the server kicks me out. (Contents Cheat Account [xxxx])

Solution: Open ServerConfig.xml and set <Speedhack turnOn="true" to false

image

  • My friends can't connect to my server, which ports i need to open?

Solution: Make sure you have your Public / VPN IP address into "loginIp" column of "server_info" table in the Node JS API, then allow the following ports in your windows fw and router,

80 (Assuming you're using a custom webpage in the same machine with ssl enabled) 8090 (Assuming you're using that port in API_PORTAL_LISTEN_PORT) 7801 (Assuming you're not using the proxy, if so, allow the port you choose as proxy)

  • How to change the server name which appears at lobby?

Solution: Open your mysql db, goto "server_info" table and set your server name into "nameString" column

  • How i can reduce the RAM comsumption of my server?

Solution: Edit ~\Datasheet\ContinentData.xml and make sure every single initChannelCount="1" has "1" as value

  • Arbiter Session Destroyed when world server is loading

Solution: This error happens because there's no enough ram available. So, the posible solutions are,

Buy more RAM  
Increase your virtual page  
Keep trying until it loads correctly  
  • Laurels don't work, what can i do?

Solution: Set an Achievement Season throught WebApp or directly into the "AchievementSeason" table at PlanetDB_2800 database

  • Client [] Module [PDL.xml] Version Mismatched! [S:XXXXXX] [C:XXXXXX]

image

Solution: Client versions are not compatible between updates, so if you downloaded a 100.02 server then you must use a 100.02 client. Using a 115.02 client or superior will not work.

  • How i change the gameforge welcome message in client chat box?

Solution: Can be edited from StrSheet_SystemMessage.xml (client side)

I'm still polishing this and will be more guides coming near the future.  
                                                       
If your tutorial or release is not present here, it doesn't mean that isn't useful...i just didn't added it yet.  

Credits and Thanks to all RaGEZONE community folks who shared their knowledge and doesn't keep for themselves or for profit.  

About

How to create your own private server for TERA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published