Navlinks

Making a DDT server

The must have tools and files:
(Click to visit download page)
Microsoft SQL server (I personally use SQL2012 version)
Internet Information Services (IIS) 7 (for making site)
Notepad++ (for editing)
☆ Microsoft .NET Framework 4.0 (This may be already installed in your machine.)


☆ DDTank files (These files are not mine, use for educational purpose only.)
☆ Client/Website

☆ Databases backup
Request
Resource
Servers
☆ Source

Notify me, if link(s) is/are not working.

After downloading the SQL installation file, mount the downloaded file, then run setup.exe.
Installing the Micsoft SQL server...
This is for those who have no knowledge yet about M.SQL
Just follow as shown/instructed...






Then it will check for updates (proceed or skip - your choice)








Download this product key, you will need this. If not working, find another. (But that should work.)












Proceed until installation is complete (this may take some time depending on ur machine).

Then... Extract the downloaded DDTank files to one folder.
For example:



Now...



Restoring Databases backup files (using the downloaded files)
















You may now close SQL Server Management Studio...



Next...Install Notepad++, you know this part very well.
Btw, You should have extracted the DDTank files already to one folder



Editing DDTank configuration.



Now go to "Request" folder. Find the web.config file and edit with notepad++.
You will see the following fields: (Alter these with ur settings)
Data Source=.SQLEXPRESS (Didn't I asked u to take note someting on ur scree? Put it here.)
User ID=sa (If u followed the SQL install tut, do not change this field.)
Password=123456 (what u entered during SQL installation)



Likewise, change these fields: Data Source= ; User ID= ; Password= ;

Go to the Server folder. There are 3 subfolders (Center, Fight and Road).
Find these files and edit them with notepad++:
*Center.Service.exe.config
*Fight.Service.exe.config
*Road.Service.exe.config

Edit the following fields like before:
*Data Source= (What I asked u to remember, put it here.)
*Username=sa (do not change, if u followed the SQL install tut)
*Password= (What u ented during SQL installation.)

Then find and right-click the following .exe files:
*Center.Service.exe
*Fight.Service.exe
*Road.Service.exe
Click Properties and select Compatibility tab.
Check the box that says "Run this program as an administrator."
Then click the OK button.




And now...
Installing the IIS...making a functional website
First, go to start menu >> type cmd >> run as admin >> type the code below.
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\ then hit enter.
Typr this again spnet_regiis.exe -ir then hit enter.
If u are a windows 8 user...
Start >> Run >> appwiz.cpl >> Turn Windows features on or off >> Internet Information Services >>
World Wide Web Services >> Application Development Features >> ASP , ASP 3 , ASP 4.5 (check these and then click OK)
Then, install IIS7, easy as eating a piece of cake.








After adding a site, create directories for Request (as application) and for Resource.

Put "Request" in the Alias and enter its correct physical path (location of Request folder).

Right click at ur website again, then click "Add Virtual Directory".
Put "Resource" in the Alias and enter its Physical path.
Make sure the website is started.

And now your good to go... Now run the following files:
*Center.Service.exe
*Fight.Service.exe
*Road.Service.exe
Just like these...
Open ur browser, type 127.0.0.1 in the address bar and hit enter.
Something like this will appear...

You have a functional website now. Register and Play on ur own server.


Note: This is for localhost only.
Feel free to ask questions if you've got some difficulty about setting up the server.




Disclaimer: I take no responsibility for whatever hardware/software damage/s that might
be incurred by following this tutorial due to mistake/s on your part or on this tutorial.

20 comments:

  1. Couldnt play ~~

    System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at Bussiness.Interface.BaseInterface.RequestContent(String Url, Int32 byteLength) in C:\Users\Jhone\Desktop\Jhone\Bussiness\Interface\BaseInterface.cs:line 154 at Bussiness.Interface.BaseInterface.RequestContent(String Url) in C:\Users\Jhone\Desktop\Jhone\Bussiness\Interface\BaseInterface.cs:line 146 at Tank.Flash.logingame.Page_Load(Object sender, EventArgs e) in D:\DDTank\Workspce.Gunny.II\Tank.Flash\LoginGame.aspx.cs:line 60

    ReplyDelete
  2. When i enter, there is only a black screen

    ReplyDelete
    Replies
    1. There might be errors in in your configuration. Check if the IPs in your database and the servers are matched.

      What version of DDTank are you trying to make?

      Delete
  3. bro in sql server install the first photo he ask me to select a file i should select what ??

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. i managed to fix the black screen and was able to play.
    but during dual log-in, i cant start the stage with my other player.

    also i after finishing ant easy, after getting cards, the game freezes...
    i logged out but after logging in, i didnt finish and easy... :(

    ReplyDelete
  10. i just found out that i can't see the wind... how can i fix this?

    ReplyDelete
  11. dose it still work ??

    ReplyDelete
  12. Galera alguem pode me ajudar a achar o erro que não aparece a tela de registro?

    ReplyDelete
    Replies
    1. Can someone help me find the error that does not appear on the registration screen?

      Delete
  13. i do all steps but in command prompt it gives me


    too many red parts i take them screen shot how can i send them to you

    ReplyDelete
  14. Why i register then when i loging in it say my username and password wrong

    ReplyDelete
  15. System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at Bussiness.Interface.BaseInterface.RequestContent(String Url, Int32 byteLength) in C:\Users\Jhone\Desktop\Jhone\Bussiness\Interface\BaseInterface.cs:line 154 at Bussiness.Interface.BaseInterface.RequestContent(String Url) in C:\Users\Jhone\Desktop\Jhone\Bussiness\Interface\BaseInterface.cs:line 146 at Tank.Flash.logingame.Page_Load(Object sender, EventArgs e) in D:\DDTank\Workspce.Gunny.II\Tank.Flash\LoginGame.aspx.cs:line 60


    how to fix this?

    ReplyDelete
  16. Internet Information Service 7 link is not working

    ReplyDelete