12sky2 client+server files

01/12/2016 11:41 barakuda21#16
another (all engine source code open source) inside of this file! but not sure if there is a ready 12sky2 server file on it!. i put this link cause i cant direct download it! i don't know how to register on this site so if any of you have account or can download it!, can you put this on mega.nz

All engine source code open source
this is the link >> [Only registered and activated users can see links. Click Here To Register...] same person who share the file on 12sky2 open source
01/12/2016 22:14 danny5417#17
Quote:
Originally Posted by barakuda21 View Post
another (all engine source code open source) inside of this file! but not sure if there is a ready 12sky2 server file on it!. i put this link cause i cant direct download it! i don't know how to register on this site so if any of you have account or can download it!, can you put this on mega.nz

All engine source code open source
this is the link >> [Only registered and activated users can see links. Click Here To Register...] same person who share the file on 12sky2 open source
This files is not 12sky2 open source,I think it is Legend of Mir.
01/13/2016 08:44 barakuda21#18
did you try to look on that?
01/13/2016 14:46 danny5417#19
Yes,I download and check it
01/18/2016 16:15 handhrye#20
how to use it..?
01/22/2016 21:34 drei14#21
is there any 12sky2 ready to play? this files i need to configure but i dont knoww exactly what i do to config this. . .
01/24/2016 15:43 barakuda21#22
another site about twelvesky server [Only registered and activated users can see links. Click Here To Register...]

translate

[Only registered and activated users can see links. Click Here To Register...]
04/13/2016 20:25 joker803#23
Quote:
Originally Posted by pkedpker View Post
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 [Only registered and activated users can see links. Click Here To Register...]
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 [Only registered and activated users can see links. Click Here To Register...] 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: [Only registered and activated users can see links. Click Here To Register...]

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
Code:
GetData(len);
replace that with
Code:
OutPtr(len);
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 [Only registered and activated users can see links. Click Here To Register...]
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..
[Only registered and activated users can see links. Click Here To Register...]
mega.nz/#!y9ZTRLqA!5L1At3DLGBUICdhsghi4vzR56KehZeH5qZIuZyx 482o

BTW.. if anyone can provide me atlantica online server files the ones [Only registered and activated users can see links. Click Here To Register...] 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
i did everything step by step and cant run it ... could you help me out for a bit?? message me in privat so we can talk :) .. thx in advance
01/19/2018 20:06 wgq4812#24
Quote:
Originally Posted by pkedpker View Post
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 [Only registered and activated users can see links. Click Here To Register...]
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 [Only registered and activated users can see links. Click Here To Register...] 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: [Only registered and activated users can see links. Click Here To Register...]

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
Code:
GetData(len);
replace that with
Code:
OutPtr(len);
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 [Only registered and activated users can see links. Click Here To Register...]
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..
[Only registered and activated users can see links. Click Here To Register...]
mega.nz/#!y9ZTRLqA!5L1At3DLGBUICdhsghi4vzR56KehZeH5qZIuZyx 482o

BTW.. if anyone can provide me atlantica online server files the ones [Only registered and activated users can see links. Click Here To Register...] 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


hey ,my friend ,the link [Only registered and activated users can see links. Click Here To Register...] is miss ,
03/11/2018 07:29 Buggsywt#25
Quote:
Originally Posted by barakuda21 View Post
update 2

this is the file of 12sky2/troy i have and load it to mega.nz and same password from first relist
[Only registered and activated users can see links. Click Here To Register...]
if not work try direct Link mega.nz/#!kUsQHDZa!JrrqbVac5Z4PPvPRdx1uvnqsCfE6J4hbSnSRBBu 6mZY
take off the space on u and 6 from the last so you can connect to the file
password: troy_center_core

missing file inside. this is 12sky2 server file+Launcher no password mega.nz/#!ixQz3S7Z!sEpvdbqxDms8w8FZPiwFEiszTJI19x77ieA8stj zifY
Hey mate, Did you ever manage to host a server? XD
09/12/2018 14:04 diaochuo#26
12sky2 client+server
09/16/2018 13:56 barakuda21#27
chinese server have advance server 12Sky3 ???
[Only registered and activated users can see links. Click Here To Register...] chinese server site [Only registered and activated users can see links. Click Here To Register...]
09/17/2018 07:30 al3css#28
Quote:
Originally Posted by barakuda21 View Post
chinese server have advance server 12Sky3 ???
[Only registered and activated users can see links. Click Here To Register...] chinese server site [Only registered and activated users can see links. Click Here To Register...]

Its original 12sky2 updated to 3 just with few features+items/item skins and little add-ons