• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Tutorial: Connection"

From Kancolle Wiki
Jump to navigation Jump to search
>Omyhangu
([Cookie Section] How it works)
Line 31: Line 31:
  
 
==Option 3: Editing DMM Cookie's Region Flag==
 
==Option 3: Editing DMM Cookie's Region Flag==
<span id="cke_bm_50S" style="display: none;"> </span>This method works for any OS or browser.
 
  
 +
===Usage===
 
# Log into DMM.com
 
# Log into DMM.com
 
# Switch the language of the site from English to Japanese (日本語) at the top of the site.
 
# Switch the language of the site from English to Japanese (日本語) at the top of the site.
 
# Open the Developer Bar (F12), put these lines into the Console and execute.
 
# Open the Developer Bar (F12), put these lines into the Console and execute.
 
 
<pre>
 
<pre>
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=osapi.dmm.com;path=/";
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=osapi.dmm.com;path=/";
Line 42: Line 41:
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=www.dmm.com;path=/netgame/";
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=www.dmm.com;path=/netgame/";
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=log-netgame.dmm.com;path=/";
 
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=log-netgame.dmm.com;path=/";
 +
</pre>
  
</pre>
+
===Advantages===
 +
* Works for any OS or browser
 +
* You do not need to download or install any third-party software
 +
* You will have access until you specifically clear your browser cookies
 +
* It is fast, since you'll be using your direct internet connection
  
This method works by changing the region flag of your DMM cookie from "[insert country that is not Japan]" to "Japan". The game isn't actively checking your IP address, it only checks the cookie's region flag. Since it's now set to "Japan", you can access the game directly without any VPN. This also allows you to play the game directly on their website.
+
===How it works===
 +
[[File:Region_cookies_101.jpg|thumb]]
 +
* You use the browser's dev tools console to write cookies on your computer. Nothing has been transmitted to the server at this point.
 +
* Once you refresh DMM, it will now check for the cookies. Your browser includes these cookies as a part of the HTTP header on your refresh.
 +
* DMM will now see the new region flag on the cookies, (''which they do not know you faked it since it was given by your browser'') and grant you access.
 +
* Choose your netgame and play
 +
{{clr}}
  
 
==Play without VPN/Proxy==
 
==Play without VPN/Proxy==

Revision as of 15:00, 17 December 2014

Basic Tutorial Portal
Setup and Registration (PC)  · Kancolle Android Version  · Connection  · Troubleshooting  · Basic Gameplay  · FAQ  · Glossary
Other Tutorials & Help pages

Currently, the game is only available to people connecting with Japanese IP address, thus this page guides new users in creating a Japanese proxy connection.

Option 1: VPN Gate Client

Head over to VPN Gate, an "Academic Experiment Project" by the University of Tsukuba, and download and install the client (Windows only). Run the client, and then select a Japanese server in "VPN Gate Public VPN Relay Servers". There are other options, but this is the easiest way to create a Japanese proxy connection.

For Mac and other UNIX-based user, there is L2TP VPN interface that has been pre-installed in your kernel system. You can directly set it up without needed to download any clients nor using similar software to let you execute WIndows-only clients. However, in case your network is block the usage of L2TP, you will still need to download VPN clients to let you use VPN with different protocols.

Option 2: Creating an L2TP or STTP VPN connection (Windows 8)

This method works for Windows 7 as well, but the wording of the settings might be different.

  1. Go to VPN Gate, and find a Japanese server that supports either "L2TP/IPsec" or "MS-STTP" connections.
  2. Copy the server's address (eg. vg2036075803.opengw.net). For STTP-supporting servers, copy the address plus the port number, shown in the MS-STTP column.
  3. "Set up a new connection or network" in Network and Sharing Center.
  4. "Connect to a workplace"
  5. "Use my Internet connection (VPN)"
  6. Paste the address (plus the port, for STTP), name the VPN connection as you wish and click on "Create".
  7. (L2TP users skip to step 8 for now) The VPN connection should appear in "Network Connections" (or the sidebar that appears when you click on the network icon in the taskbar). When asked for User name and Password, input "vpn" for both.
  8. For L2TP users, you must find the network connection that was just created, and going to its "Properties" by right clicking on the just-created connection in "Network Connections". Go to the "Security" tab, select L2TP/IPsec as the "Type of VPN" and then click on "Advanced settings". Select "Use preshared key for authentication" and then input "vpn". Apply the settings. Connect to the VPN as per step 7.

This method is for users of Mac and UNIX-based systems:

  1. Open Network Preferences.
  2. Click add connection, then select VPN (L2TP)
  3. Go to VPN Gate, and find a Japanese server that supports either "L2TP/IPsec" connections.
  4. Copy the server's address (eg. vg2036075803.opengw.net)
  5. Paste the address to the "Server Address", and type vpn as the "Account Name".
  6. Click "Authentication Setting", then type vpn for both available textboxes. You need not to change anything else.
  7. Click "Advanced", and tick Send all traffic over VPN Connection.
  8. Click OK, then Apply, then test the connection using "Connect" button.
  9. If the VPN fails, try to add the IP address to the "Server Address" instead of the full server name.
    If this one fails too, you can try turning off your whole internet connection for 1-2 minutes before trying to connect to the VPN again. This issue sometimes happen when you suddenly disconnected from the VPN due to bad connection or incomplete request.

Option 3: Editing DMM Cookie's Region Flag

Usage

  1. Log into DMM.com
  2. Switch the language of the site from English to Japanese (日本語) at the top of the site.
  3. Open the Developer Bar (F12), put these lines into the Console and execute.
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=osapi.dmm.com;path=/";
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=203.104.209.7;path=/";
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=www.dmm.com;path=/netgame/";
document.cookie = "ckcy=1;expires=Sun, 09 Feb 2019 09:00:09 GMT;domain=log-netgame.dmm.com;path=/";

Advantages

  • Works for any OS or browser
  • You do not need to download or install any third-party software
  • You will have access until you specifically clear your browser cookies
  • It is fast, since you'll be using your direct internet connection

How it works

Region cookies 101.jpg
  • You use the browser's dev tools console to write cookies on your computer. Nothing has been transmitted to the server at this point.
  • Once you refresh DMM, it will now check for the cookies. Your browser includes these cookies as a part of the HTTP header on your refresh.
  • DMM will now see the new region flag on the cookies, (which they do not know you faked it since it was given by your browser) and grant you access.
  • Choose your netgame and play

Play without VPN/Proxy

File:Tutorial-ObtainAPI.png
Tutorial on how to obtain the API link. Click to view full size.

It is possible for non-Japanese IP address to evade region restriction to play (not register) the game. Such way is by using the API link embedded in the Kantai Collection page.

How to obtain API link:

  1. Open the game as usual (in this guide, using Chrome)
  2. Ctrl+Shift+I (F12) to inspect element of the page or use "Show resources list" using Adblock, search for api_token or mainD2.swf
    • Example: http://125.6.189.7/kcs/mainD2.swf?api_token=xxx&api_starttime=xxx
    • Note: the API link unique for each server and session.
  3. Copy the API link
  4. Turn off your proxy/VPN and open the link in your browser.
    • If it doesn't work, you probably copied the wrong or incomplete API link.
  5. If you somehow find that your search function in the developer console is not working properly (in either Chrome or Firefox), you can also manually search for the API link by navigating the script in this order:
    • html > body > div#w > div#main-ntg.page-appdetial.d-rst > div#page > div#area-game > iframe#game_frame > html > body > div#flashWrap > embed#externalswf

The API link bypasses your login. Be very careful not to let others see your link (eg. when posting screenshots of the game) or just close your VPN connection when you are in-game.

Tip

To avoid having to clear your browser cache everytime you want to connect to the game, you can use another chrome alike web browser (i.e. CoolNovo, Chromium, Comodo Dragon, SRWare Iron, RockMelt, etc.).
Use this browser only for KanColle and don't forget to connect to a Japanese proxy before opening it.
Like this, you won't have to wait for the downloading of the game's data everytime you need to connect to the game.

Troubleshooting

Error .png
  • Have you cleared your cache? Try doing everything again in Incognito.
  • Have you tried logging in again on DMM to play there or get a new API link?
  • Have you tried checking other sites? Maybe the problem comes from your internet connection.
  • Were you using viewers? Try logging in normally on browser.
  • Were you banned? Login on DMM and see a black error message
    • Banned accounts see the cat error on API link, and black message on DMM
  • Is you computer clock correct? Have you tried switching to your correct timezone?
    • Many error screen reports relate to computer clock
  • Read more on troubleshooting

Mobile Gameplay

Using phone and tablet to play Kancolle is highly discouraged. Playing on Windows Tablet PC is acceptable.