How to set up La Tale Private Server
Files you need:
https://drive.google.com/file/d/1y6095qDeWpUThD0M07UthDPhd9BfYyuz/view - Main Server Files
You must be registered to see links
- Royal Tale Server and Client
You must be registered to see links
- SQL Server 2008 R2
You must be registered to see links
- Navicat (Not required but it helps so much)
What to do:
Main Server files:
- Install database by going to the database folder and running the program, after it installs, go to your C drive, JSQL2008, then hit jinstall as admin and it will install the files. Go to jstart.bat, edit, add a "pause" under the last command, save, then run as admin, make sure that the JSQL service is running.
Configure Server files:
1. Put the server files in the C drive, or whatever directory. Go to bin2, find configure.ini and configure_share.ini.
2. Find where it says ResourceDir. Configure it to the the resource folder. For example if its in your C drive, it should look like this
ResourceDir = C:\S2\resource\
Do the same for the configure paths at the top.
4. Change local and public IP. If your configure file says "IPHERE" Just do a replace all with "IPHERE" to your desired IP.
3. CHDS configuration. Go to Tools from Main Server files, open HxD. Go to bin2, find CHDS.dll. Throw it in HxD. Do a search, find "IPHERE". Once its found, write over it with your desired IP. Be sure to right it on the right side of HxD, not the left side. Do not insert as well. Just write over.
Royal Tale Files:
Open Server files, take ROWID/AJJIYA/JINSAGA and put it in resource for server.
For client, find the start game bat file, edit it with your desired IP and simply start.
Database:
Go to bin2, go to lataleodbc.ini, there is your ID and Password for the database, you can change this later.
Open navicat, then at the top left, hit connection -> SQL server
Connection name can be anything
Host: 127.0.0.1,59157
Username: sa
Password: 654321
or whatever is in your lataleodbc.ini
**Troubleshooting**: If you are having issues after selecting channel like disconnecting, go to LaTaleAccounts, WorldList, make sure the port is the same as the Lobby port. The default one for the server is set to 10002, but in the configure ini it's set to 30002. So just make sure they match up.
Starting the Server:
Two ways to start the server.
1. Using S2 gateway, a picture is provided in the Main Server files. Note that S2 gateway does lag quite a bit, but its simple and gets the job done quickly. Remember to run as admin
2. Manual start: to Manually start, you need to run each file as admin
Auth -> WebAs
MembersOSP
BillingOSP
LaTaleAs
LaTaleLobbyServer
LaTaleLoginServer
LaTaleGameserver_101 - Use a bat file for this with these parameters "start .\bin2\LataleGameServer.exe /ServerID 101" - but there should be a bat file with these parameters in bin2 at the bottom.
LataleMgmtServer
LaTaleRoomServer
Note: It may take a few tries to get it up and running do not get discouraged if it doesn't work successfully the first time
Creating Accounts:
1. Use S2 gateway (picture provided)
or
2. Open Database, open LaTaleAccounts, Account, type ID and PW
Advanced
Making server public:
Port Forward, go to router control panel/settings, find port forwarding, easiest way to do it is to just forward a range of ports. Just forward 10000-32000, and you should be safe.
If you have other ports using up that range, do it indvidually. The ports you want to forward are located in configure.ini. You need to forward the Login/Lobby/GameServer_101, but I would personally just forward all of them so no complications happen.
Editing Files:
There are a few tools in the tool folder in the Main server files. Use the unpacker/packer to open files. Use LDTEDIT to edit them or HxD. Pack it back up, and make sure its in server and client.