First of all this is C++ server files the comments are in korean most likely these are official server files not emulator, no java here at all not even close.
instead of oracle which is very hard to figure out how to even download their database engine, use mysql it's easier to get it up and running on your own computer
Go here to download MySQL
pick either x86 for (32bit computer) or x86-64 (64bit computer)
After you installed the community server follow it's steps that pop-out on your screen to get it mysql up and running.
All you have to do next is edit some configuration file in 12sky2 server folder so it connects to your mysql and you're done.
You might have to import to your mysql the default database 12sky2 used, but some servers create this on their own.
I could help anyone setup a 12sky2 server as long as you can provide me atlantica online server files the ones
uses.. I would be very grateful or atleast Aika Online server files
__________________________________________________ ______
in first server
TROY_CENTER go to CONFIG folder open ServerInfo.ini
Edit in [Game DB]
change
IP = 125.61.95.179
to
IP = localhost
(localhost means you run server on your computer where 12sky2 servers are ran too.., otherwise you have to use your real ip address here)
you might have to change
Port = 1433
to
Port = 3306
(3306 is the default port mysql uses but who knows..
next change
ID = troy_game
PW = alfkzmf!?{}
to your username and password you use to login mysql.. (when setting up mysql).
username is almost always root by default, but you could of created a custom one.
__________________________________________________ ______
Next open
TROY_LOGIN folder -> CONFIG -> folder
open ServerInfo.ini
do the same thing for [Account DB] and [Game DB]
for IP you might use 127.0.0.1 if localhost doesn't work.
same thing change port if needed, ID/PW etc..
__________________________________________________ ______
Next open
TRY_PLAYUSER folder -> CONFIG -> folder
open ServerInfo.ini
do the same thing for [Account DB] and [Game DB]
as you did above.
__________________________________________________ ______
Final step is to compile all the source codes to make exe's
First recompile GSDBManager as the lib files won't be compatiabile with newest VS IDe.
compiling the client is a little tricky you have to install Mircosoft DirectX SDK here is link:
and change the Include Directories to link the installed Microsoft DirectX SDK to the source code which uses it.. you'll get errors like d3d9.h missing thats the ones you need to to do it too..
just add
Include Directories : $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x86
done..
usually means for me (but you don't need the actual path because DXSDK_DIR auto finds it for you, it's a environment path)
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Include
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86
Files all compile fine.. as long as you recompile all the libraries first.. to suit your visual studio.
Make sure all configurations on all projects are
Replace all "afxres.h" with <windows.h>
Multi-threaded Debug DLL (/MDd)
In C/C++ -> Language -> Treat WChar_t As Built in Type -> No (/Zc:wchar_t-)
For TROY_LOGIN
you have to add
Wininet.lib to Project->Properties->Configuration Properties->Linker->Input->Additional Dependencies
For TROY_ZONE
it's made for linux only, but you could still compile it on windows but I don't have time for this.. so I didn't add this file..
Now you compile
Server1 (I just compiled this one.. didn't care much for Server2)
Server2
Start by compiling in this order
clientnetwork
kernel
MMOBase
Shell (this one is needed before compiling noa_base below)
noa_base
(this one above requires outside includes to)
Server1/
Server1/external/inc
********************************************
compile external/inc/tinyxml (first)
then compile you can compile
StrategyClient
without any problems
Compiling SvrCommunity you will run into a error about gets() command
this command was removed from Visual Studio 2015.. because it's dangerous so you can replace it with this code
Code:
fgets(buffer,1024, stdin);
these compile flawlessly with no changes
If anywhere you have error about <hash_map> this is because they wanted to remove it in Visual Studio 2015 but you can convert this error into a warning by adding this above the #include.. add this #define below, should look like this.
Code:
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#include <hash_map>
SvrGame
This one takes very very long to compile (10 minutes) but it has no errors phew!
Final server
SvrChating
this one is kinda outdated with the rest of the files and some functions were renamed.
Every error you encounter thats like
replace that with
and
Code:
PutData((uint8_t)255);
replace that with
Code:
InPtr((uint8_t)255);
Where you have CC_LOGIN_REQ errors just to top of that file add
Code:
#include <common/AppPacketDef.h>
Final server!
WebMW
of course this one has to give the most problems.. stdsoap2.h is missing
download it and put it into WebMW folder
it must be a special stdsoap2.h which is gSOAP 2.7.13
Next for Socket error replace Kernel::Socket with Socket
fix all hash_map errors to warnings and that's it, it should compile perfectly.
SERVER2 is a little different from Server1 it uses a gameguard (nProtect) so it's for a different client, i'm not gonna tell you guys how to compile it.. i wrote everything for Server1 it should match up for Server2 probably..
There is a core file in center_core folder thats almost 400 mb no idea what that is.. probably needed for servers.
But ya that's all the server files will eliminate any problems with compiling on all projects.
I would post the projects all fixed to compile out of the box.. but they'll probably all compile out of the box anyways if you use Visual Studio 2008 i think, ya I won't post these because it's too large over 600 megabytes can't be assed to upload it..
I will post here all Troy_US only server files compiled for you guys..
Here they are..
mega.nz/#!y9ZTRLqA!5L1At3DLGBUICdhsghi4vzR56KehZeH5qZIuZyx 482o
BTW.. if anyone can provide me atlantica online server files the ones
uses.. I would be very grateful or atleast Aika Online server files
pm me!
P.s.> mirrored the original files 600 megs~
mega.nz @ #!kUsQHDZa!JrrqbVac5Z4PPvPRdx1uvnqsCfE6J4hbSnSRBBu 6mZY