- Joined
- Aug 14, 2009
- Messages
- 2,304
- Reaction score
- 1,189
So today I will bring you the NWO & STO source code again. But with Serverassets & Clientassets. The NWO ones are incomplete, but with it you can run the Server.
STO FIX 1 is uploaded! To use Fix 1 you'll need to download everything for STO Data first then replace everything with the files in fix 1. It's ONLY TESTED WITH DEBUG x32. If you build with other configuration NO SUPPORT WILL BE GIVEN! Also don't use MCP to run the client. Use the bat file!
Also the host entry needs to be adjusted.
Host name in question: MyRaGEZONEServer.com
ServerIPAddress(Numeric Value here) MyRaGEZONEServer.com
Just an example (It's actually the IP of the google DNS.)
BE SURE TO EDIT YOUR HOSTS BEFORE DOING THIS TUTORIAL! AT DEFAULT THE SERVER WILL COMMUNICATE WITH CRYPTIC AND WILL SEND DATA TO THEM. IF ANY OF YOUR APPLICATION CRASHES IT SENDS IT TO THE CRYPTIC ERROR TRACKER WHICH COLLECTS DATA ABOUT THE CRASH!
My hosts (For safety reasons!):
And change in Organization.h:
to match your domain name or a custom hosts domain name for example:
Hosts definitions for that:
@MentaL
I would love to get a section for the Cryptic Framework going.
A huge thanks to @kalisto2002 who gave me the files & helped me during the setup / getting this going. And ofc for the permission to post this tutorial today!
A huge thanks to @MentaL for creating this forum. Without it I wouldn't been able to have the files and I wouldn't been able to post this tutorial for you. So THANKS, you're an awesome person!
I'll not tell you how to install Windows 7 SDK, VS2010 or other IDE related stuff.
Working proofs:
NWO:
NWO Character selection:
NWO Loading Server:
NWO Foundry:
STO:
Currently I have no pictures of STO because I just finishing getting in the login.
What you'll need?
1. At least 180GB on C:\ for the src, data files, and programs.
2. VS 2010 with SP1
3. Windows 7 SDK with compiler fix for VS2010. (Without compiler fix you won't be able to compile.)
4. Obviously the src & data files.
5. IncrediBuild (Not tested without it. It really boosts your compile time because it compiles on every core 1 project!)
5.1 If you use IndcrediBuild at least 2 Computers (1 for the Coordinator, 1 for the Agent)
6. Port 80, 8080, 8081, 8082, 8090 must not be in use! (Think this is all)
7. Much time (It took ~2 days for me to get the bin files.)
Download:
Getting started
Install VS2010, VS2010 SP1 and the Windows 7 SDK (If you receive an error installing Windows SDK remove all Visual C++ 2010 Redistributables and restart the installation!)
For both STO & NWO at the same time:
If you just want one game:
After thats been done, compile NWO, STO, and utilities. Right click IncrediBuild, go to Build, go to Open.
1. Select MasterSolution in C:\src\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
2. Select MasterSolution in C:\src\Night\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
3. Select MasterSolution in C:\src\StarTrek\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
If you get errors during build saying: Warning treated as errors you have two options:
1. Open the MasterSolution where the error occurs in VS2010, select all projects & right click, click Build, go to C++, Switch "Treat warnings as errors" from "All" to "None".
2. Open every vcxproj with Notepad++ and add:
Before every:
(This is necessary if your computer can't handle the load that VS2010 generates during loading all Projects in the SLN. [89 to be specific.])
If you have errors, just post it here and we / I'll try to fix it for you.
If everything was successfully compiled successfully copy all *.exe and *.dll files from Utilities\bin to C:\StarTrek\tools\bin and C:\night\tools\bin. Replace everything if it is already in there.
Also you need to copy everything from C:\src\Night\bin to C:\night\tools\bin & C:\night\data
Same thing goes for C:\STO_src\StarTrek\bin to C:\StarTrek\tools\bin & C:\StarTrek\data
If everything went ok move on, if not post your problem and we / I'll try to help you! (If we get a section post it in HELP)
Now comes the part where you need to be patient. (This is not necessary for NWO!)
In C:\StarTrek\tools\bin:
1. Run 0_make_bins.bat
If finished move on to 2.
2. Run 0_make_bins2.bat
If finished move on to 3.
3. Run 0_make_schema_files.bat
If finished move on to 4.
4. Run the file: C:\StarTrek\data\piggs\hoggs\update_hoggs.bat
If everything went ok move on, if not post your problem and we / I'll try to help you! (If we get a section post it in HELP)
Now start 1_start_MCP.bat in C:\StarTrek\tools\bin or C:\Night\tools\bin (Again depends on what you wanna run!). Let the MasterControlProgram running until you see a green button. [If nothing happens (for NWO for example) start 2_start_Controller.bat and 3_start_Launcher.bat (I would suggest just to watch if there are any issue to click "Baffingly Complex Mode". And then just click the green button. Now it automatically starts the Servers, and the Client. If anything went successfully you should have a running STO & NWO server that works.
Whats the password for the XYZ Rar?!
I don't remember. Try "ragezone" or "des123" (Without quotes!)
The Client closes and the Controller / AccountServer is reporting Rejecting Core is not compatible with NWO / STO.
Add
to the start_client.bat
How to create a account?
Go to
Why do I need port 80 to be available?
The MCP runs a monitor webinterface on port 80. If you have an issue running a server you could go to
What about the CRC crash I receive?
- Edit your WorldCellBinning.c (Found in C:\src\libs\WorldLib\StaticWorld) and edit the CRC to match the crash report. And recompile!
The MCP Reports errors! HELP!!!
Nothing really unusual. It just reports file we don't have and files that are too new / too old. Just ignore it
Why is NWO so incomplete?
The source of NWO is older than the server datas unfortunately. I'd love to have newer and complete data files, but with what we have we could just make it yourself.
I can't log into STO!!
Be sure you check the checkbox Cryptic in login. Not PerfectWorld!
The character creation screen in STO is not popping up!
You probably compiled STO out of the C:\src not the C:\STO_src folder.
_____________________________________________________________________________
What is not working?
STO:
You can't join a server. It just says: SERVER NOT RESPONDING (XX s) -> I'm trying to fix that
NWO:
Animations (we don't have them) -> Nothing I can do about it, sorry :/
Foundry sometimes randomly crashes -> I'm trying to fix that
If you found this interesting, helpful or just wanna say awesome please hit the like button. It took ~5 days to figure everything out (Mostly due to an old computer compiling / creating the bin file ) & to get everything working. It just takes 3 seconds to hit that like button!
EDIT:
Btw ALWAYS run filewatcher. As the console says it really boosts the start time of everything. Also I wasn't been able to start STO without it.
STO FIX 1 is uploaded! To use Fix 1 you'll need to download everything for STO Data first then replace everything with the files in fix 1. It's ONLY TESTED WITH DEBUG x32. If you build with other configuration NO SUPPORT WILL BE GIVEN! Also don't use MCP to run the client. Use the bat file!
Also the host entry needs to be adjusted.
Host name in question: MyRaGEZONEServer.com
Client side the end user must set the host entry:Server side you need to set host table to the following:
127.0.0.1 MyRaGEZONEServer.com
ServerIPAddress(Numeric Value here) MyRaGEZONEServer.com
Just an example (It's actually the IP of the google DNS.)
8.8.8.8 MyRaGEZONEServer.com
BE SURE TO EDIT YOUR HOSTS BEFORE DOING THIS TUTORIAL! AT DEFAULT THE SERVER WILL COMMUNICATE WITH CRYPTIC AND WILL SEND DATA TO THEM. IF ANY OF YOUR APPLICATION CRASHES IT SENDS IT TO THE CRYPTIC ERROR TRACKER WHICH COLLECTS DATA ABOUT THE CRASH!
My hosts (For safety reasons!):
Code:
127.0.0.1 crypticstudios.com
127.0.0.1 jira.crypticstudios.com
127.0.0.1 errortracker.crypticstudios.com
127.0.0.1 code.crypticstudios.com
And change in Organization.h:
Code:
#define ORGANIZATION_DOMAIN "crypticstudios.com"
to match your domain name or a custom hosts domain name for example:
Code:
#define ORGANIZATION_DOMAIN "local.host"
Hosts definitions for that:
Code:
127.0.0.1 local.host
127.0.0.1 errortracker.local.host
127.0.0.1 jira.local.host
127.0.0.1 code.local.host
@MentaL
I would love to get a section for the Cryptic Framework going.
A huge thanks to @kalisto2002 who gave me the files & helped me during the setup / getting this going. And ofc for the permission to post this tutorial today!
A huge thanks to @MentaL for creating this forum. Without it I wouldn't been able to have the files and I wouldn't been able to post this tutorial for you. So THANKS, you're an awesome person!
I'll not tell you how to install Windows 7 SDK, VS2010 or other IDE related stuff.
Working proofs:
NWO:
NWO Character selection:
You must be registered to see links
NWO Loading Server:
You must be registered to see links
NWO Foundry:
You must be registered to see links
STO:
Currently I have no pictures of STO because I just finishing getting in the login.
What you'll need?
1. At least 180GB on C:\ for the src, data files, and programs.
2. VS 2010 with SP1
3. Windows 7 SDK with compiler fix for VS2010. (Without compiler fix you won't be able to compile.)
4. Obviously the src & data files.
5. IncrediBuild (Not tested without it. It really boosts your compile time because it compiles on every core 1 project!)
5.1 If you use IndcrediBuild at least 2 Computers (1 for the Coordinator, 1 for the Agent)
6. Port 80, 8080, 8081, 8082, 8090 must not be in use! (Think this is all)
7. Much time (It took ~2 days for me to get the bin files.)
Download:
You must be registered to see links
You must be registered to see links
You must be registered to see links
Getting started
Install VS2010, VS2010 SP1 and the Windows 7 SDK (If you receive an error installing Windows SDK remove all Visual C++ 2010 Redistributables and restart the installation!)
For both STO & NWO at the same time:
Extract the STO src, Data and/or the NWO src, Data
Copy the NWO src to C:\src
Copy the NWO Data to C:\Night
Your folders should look like this:
C:\src ->You must be registered to see links(You can safely ignore the StarTrek folder. It's just because I was testing stuff.)
C:\night ->You must be registered to see links
Copy the STO src to C:\STO_src (Currently the only way to get both nwo & sto to compile!)
Copy the STO Data to C:\StarTrek
If you just want one game:
Copy the INSERT DESIRED GAME HERE src to C:\src
Copy the INSERT DESIRED GAME HERE Data to C:\Night or to C:\StarTrek
After thats been done, compile NWO, STO, and utilities. Right click IncrediBuild, go to Build, go to Open.
1. Select MasterSolution in C:\src\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
2. Select MasterSolution in C:\src\Night\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
3. Select MasterSolution in C:\src\StarTrek\MasterSolution\ and then select the config you want to compile in and click select all (I just used Debug & FullDebug just to make sure no server is trying to run a server that doesn't exists.)
If you get errors during build saying: Warning treated as errors you have two options:
1. Open the MasterSolution where the error occurs in VS2010, select all projects & right click, click Build, go to C++, Switch "Treat warnings as errors" from "All" to "None".
2. Open every vcxproj with Notepad++ and add:
Code:
<TreatWarningAsError>false</TreatWarningAsError>
Before every:
Code:
</ClCompile>
If you have errors, just post it here and we / I'll try to fix it for you.
If everything was successfully compiled successfully copy all *.exe and *.dll files from Utilities\bin to C:\StarTrek\tools\bin and C:\night\tools\bin. Replace everything if it is already in there.
Also you need to copy everything from C:\src\Night\bin to C:\night\tools\bin & C:\night\data
Same thing goes for C:\STO_src\StarTrek\bin to C:\StarTrek\tools\bin & C:\StarTrek\data
If everything went ok move on, if not post your problem and we / I'll try to help you! (If we get a section post it in HELP)
Now comes the part where you need to be patient. (This is not necessary for NWO!)
In C:\StarTrek\tools\bin:
1. Run 0_make_bins.bat
If finished move on to 2.
2. Run 0_make_bins2.bat
If finished move on to 3.
3. Run 0_make_schema_files.bat
If finished move on to 4.
4. Run the file: C:\StarTrek\data\piggs\hoggs\update_hoggs.bat
If everything went ok move on, if not post your problem and we / I'll try to help you! (If we get a section post it in HELP)
Now start 1_start_MCP.bat in C:\StarTrek\tools\bin or C:\Night\tools\bin (Again depends on what you wanna run!). Let the MasterControlProgram running until you see a green button. [If nothing happens (for NWO for example) start 2_start_Controller.bat and 3_start_Launcher.bat (I would suggest just to watch if there are any issue to click "Baffingly Complex Mode". And then just click the green button. Now it automatically starts the Servers, and the Client. If anything went successfully you should have a running STO & NWO server that works.
FAQ:
Whats the password for the XYZ Rar?!
I don't remember. Try "ragezone" or "des123" (Without quotes!)
The Client closes and the Controller / AccountServer is reporting Rejecting Core is not compatible with NWO / STO.
Add
or-SetProductName StarTrek STO
-SetProductName Night NW
to the start_client.bat
How to create a account?
Go to
You must be registered to see links
and click create, fill out everything Why do I need port 80 to be available?
The MCP runs a monitor webinterface on port 80. If you have an issue running a server you could go to
You must be registered to see links
to figure out critical issuesWhat about the CRC crash I receive?
- Edit your WorldCellBinning.c (Found in C:\src\libs\WorldLib\StaticWorld) and edit the CRC to match the crash report. And recompile!
The MCP Reports errors! HELP!!!
Nothing really unusual. It just reports file we don't have and files that are too new / too old. Just ignore it
NWO FAQ:
Why is NWO so incomplete?
The source of NWO is older than the server datas unfortunately. I'd love to have newer and complete data files, but with what we have we could just make it yourself.
STO FAQ:
I can't log into STO!!
Be sure you check the checkbox Cryptic in login. Not PerfectWorld!
The character creation screen in STO is not popping up!
You probably compiled STO out of the C:\src not the C:\STO_src folder.
_____________________________________________________________________________
What is not working?
STO:
You can't join a server. It just says: SERVER NOT RESPONDING (XX s) -> I'm trying to fix that
NWO:
Animations (we don't have them) -> Nothing I can do about it, sorry :/
Foundry sometimes randomly crashes -> I'm trying to fix that
If you found this interesting, helpful or just wanna say awesome please hit the like button. It took ~5 days to figure everything out (Mostly due to an old computer compiling / creating the bin file ) & to get everything working. It just takes 3 seconds to hit that like button!
EDIT:
Btw ALWAYS run filewatcher. As the console says it really boosts the start time of everything. Also I wasn't been able to start STO without it.
Last edited by a moderator: