1 |
A) PREPARE
|
1 |
A) PREPARE
|
2 |
------------------------
|
2 |
------------------------
|
3 |
1) get visual studio 2013 community edition (it's free)
|
3 |
1) get visual studio 2013 community edition (it's free)
|
4 |
\n
|
4 |
\n
|
5 |
2) get github for windows and click "clone in desktop" on this page https://github.com/ZeroK-RTS/Zero-K-Infrastructure
|
5 |
2) get github for windows and click "clone in desktop" on this page https://github.com/ZeroK-RTS/Zero-K-Infrastructure
|
6 |
\n
|
6 |
\n
|
7 |
3) open the Zero-K.sln in visual studio
|
7 |
3) open the Zero-K.sln in visual studio
|
8 |
\n
|
8 |
\n
|
9 |
B) DO IT
|
9 |
B) DO IT
|
10 |
----------------
|
10 |
----------------
|
11 |
Refactor the code so that
|
11 |
Refactor the code so that
|
12 |
1) There are two "Connection" classes one for ZKL server and other for "TasClient" class used in clients. That should be trivial.
|
12 |
1) There are two "Connection" classes one for ZKL server and other for "TasClient" class used in clients. That should be trivial.
|
13 |
\n
|
13 |
\n
|
14 |
2) move the "server" connection copy to ZKL server library instead of common libraries
|
14 |
2) move the "server" connection copy to ZKL server library instead of common libraries
|
15 |
\n
|
15 |
\n
|
16 |
3) change plasmashared and lobbyclient libs so that they target .NET 4.0 client profile. They wont'c ompile
|
16 |
3) change plasmashared and lobbyclient libs so that they target .NET 4.0 client profile. They wont'c ompile
|
17 |
\n
|
17 |
\n
|
18 |
4) Install BCL Async library through nuget for lobbyclient and reinstall existing nuget packages. Nuget is here http://i.imgur.com/tLJrXCO.png
|
18 |
4) Install BCL Async library through nuget for lobbyclient and reinstall existing nuget packages. Nuget is here http://i.imgur.com/tLJrXCO.png
|
19 |
\n
|
19 |
\n
|
20 |
5) refactor EventHandlers of TasClient and TasClient legacy to older style (non generic) you can check github how they looked in the past
|
20 |
5) refactor EventHandlers of TasClient and TasClient legacy to older style (non generic) you can check github how they looked in the past
|
21 |
\n
|
21 |
\n
|
22 |
6)
factor
in
further
changes.
You
might
need
to
change
some
methods
like
Task.
WhenAll
to
TaskEx.
WhenAll
and
juggler
helper
functions
across
libs.
|
22 |
6)
factor
in
further
changes.
You
might
need
to
change
some
methods
like
Task.
WhenAll
to
TaskEx.
WhenAll
and
move
helper
functions
across
libs.
|
23 |
\n
|
23 |
\n
|
24 |
7) change target of ZKL to .NET 4.0 client profile
|
24 |
7) change target of ZKL to .NET 4.0 client profile
|
25 |
\n
|
25 |
\n
|
26 |
\n
|
26 |
\n
|
27 |
C) TEST IT
|
27 |
C) TEST IT
|
28 |
============
|
28 |
============
|
29 |
1) test it locally by setting up to start multiple projects at once http://i.imgur.com/9Rm5uwT.png and start zero-k website, zero-k lobby server, springie, zero-k lobby and optionally "fixer" configured to run Nubsimulator test. If it can handle thousand of people without issues and lobby still works it's all set
|
29 |
1) test it locally by setting up to start multiple projects at once http://i.imgur.com/9Rm5uwT.png and start zero-k website, zero-k lobby server, springie, zero-k lobby and optionally "fixer" configured to run Nubsimulator test. If it can handle thousand of people without issues and lobby still works it's all set
|
30 |
\n
|
30 |
\n
|
31 |
2) commit/make a pull request. After it get's merged to master, re-test everything again on test.zero-k.info
|
31 |
2) commit/make a pull request. After it get's merged to master, re-test everything again on test.zero-k.info
|
32 |
\n
|
32 |
\n
|
33 |
3) when it gets merged to stable -> PROFIT
|
33 |
3) when it gets merged to stable -> PROFIT
|
34 |
\n
|
34 |
\n
|
35 |
\n
|
35 |
\n
|
36 |
\n
|
36 |
\n
|
37 |
This is open source, I'm not your slave, you have the same power I do.
|
37 |
This is open source, I'm not your slave, you have the same power I do.
|
38 |
Want to run ZK on outdated insecure OS that *nobody* appears to support for new products??
|
38 |
Want to run ZK on outdated insecure OS that *nobody* appears to support for new products??
|
39 |
Fine, but don't scream and force people to do the hard stuff for you. Either spend money or your own time by doing it yourself.
|
39 |
Fine, but don't scream and force people to do the hard stuff for you. Either spend money or your own time by doing it yourself.
|
40 |
\n
|
40 |
\n
|
41 |
\n
|
41 |
\n
|