• 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
m (dead link)
Line 1: Line 1:
 
{{Tutorialportal}}
 
{{Tutorialportal}}
 +
Currently, the game is only available to people connecting with Japanese IP addresses. Thus, this page guides new users on how to bypass this restriction.
  
As of 2018, users are no longer required to have a Japanese VPN to play kancolle (Some countries might be blocked though not US and EU)
+
'''Currently, there are two options to connect to the game: [[#Cookie Method|cookie method]] (essentially a hack) and [[#VPN/Proxy|VPN/proxy]] (actually using a Japanese IP). Cookie method is recommended, please try using it first.'''
 +
__TOC__
 +
==Cookie Method==
 +
To ensure that region-restricted pages are accessed only from Japan DMM is using an IP check to [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie set] a region flag in its cookies every time a page is loaded. Then the flag is [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie used] to check if a region-restricted page can be accessed. It is possible to bypass this restriction by changing the flag right before loading each page or by setting a path-overriding cookie.
  
However, if you are one of those that required a Japanese VPN to play; thus, this page guides new users on bypassing this restriction.
+
===Using Viewers and Browser Extensions===
 +
The following tools automatically override necessary cookies when needed.
 +
* [https://poi.io/ Poi] viewer can be used to play the game, make sure to enable cookie editing in settings.
 +
* If you want to browse other DMM games, and not just play KanColle, on Chrome you can use one of the following extensions:
 +
** [https://github.com/KC3Kai/KC3Kai KC3Kai] viewer, the cookie setting should be enabled.
 +
** [https://github.com/gakada/dmm Specialized extension] consisting of [https://github.com/gakada/dmm/blob/master/dmm.js few lines] of code.
 +
** Note that some games are using IP block, so those extensions will not work for them.
  
==Option 1: VPN Gate or other VPN==
+
===Manual Access===
===Windows===
+
The following manual method can be used to access KanColle:
# Head over to [http://www.vpngate.net/en/ VPN Gate], an "Academic Experiment Project" by the University of Tsukuba.
+
* Log into [https://www.dmm.com/ dmm.com] if not logged in already, choose an interface language if asked. Make sure the page is fully loaded once you logged in.
# Download, install and run the client.
+
* [https://kb.mailster.co/how-can-i-open-the-browsers-console/ Open the developer tools].
# Select a Japanese server in "VPN Gate Public VPN Relay Servers".
+
* Copy-paste the following code into the '''console''':
===Mac / Linux===
 
* There is L2TP VPN interface that has been pre-installed in your kernel system. You can directly set it up without needing to download any clients or using similar software to let you execute Windows-only clients. However, in case your network is blocking the usage of L2TP, you will still need to download VPN clients to let you use VPN with different protocols.
 
#Open Network Preferences.
 
#Click add connection, then select VPN (L2TP)
 
#Go to [http://www.vpngate.net/en/ VPN Gate], and find a Japanese server that supports either "L2TP/IPsec" connections.
 
#Copy the server's address (eg. '''<span style="font-size:9pt;">vg2036075803.opengw.net)</span>'''<span style="font-size:9pt;">. </span>
 
#Paste the address to the "Server Address", and type '''vpn''' as the "Account Name".
 
#Click "Authentication Setting", then type '''vpn''' for both available textboxes. You do not need to change anything else.
 
#Click "Advanced", and tick '''Send all traffic over VPN Connection'''.
 
#Click OK, then Apply, and test the connection using the "Connect" button.
 
#If the VPN fails, try to add the IP address to the "Server Address" instead of the full server name.<br />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 occurs when you suddenly disconnect from the VPN due to a poor connection or incomplete request.
 
===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.
 
#Go to [http://www.vpngate.net/en/ VPN Gate], and find a Japanese server that supports either "L2TP/IPsec" or "MS-STTP" connections.
 
#Copy the server's address (eg. '''<span style="font-size:9pt;">vg2036075803.opengw.net)</span>'''<span style="font-size:9pt;">. For STTP-supporting servers, copy the address plus the port number, shown in the MS-STTP column.</span>
 
#"Set up a new connection or network" in Network and Sharing Center.
 
#"Connect to a workplace"
 
#"Use my Internet connection (VPN)"
 
#Paste the address (plus the port, for STTP), name the VPN connection as you wish and click on "Create".
 
#(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 Username and Password, input "vpn" for both.
 
#For L2TP users, you must find the network connection that was just created, and go 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:
 
#Open Network Preferences.
 
#Click add connection, then select VPN (L2TP)
 
#Go to [http://www.vpngate.net/en/ VPN Gate], and find a Japanese server that supports either "L2TP/IPsec" connections.
 
#Copy the server's address (eg. '''<span style="font-size:9pt;">vg2036075803.opengw.net)</span>'''<span style="font-size:9pt;">. </span>
 
#Paste the address to the "Server Address", and type '''vpn''' as the "Account Name".
 
#Click "Authentication Setting", then type '''vpn''' for both available textboxes. You do not need to change anything else.
 
#Click "Advanced", and tick '''Send all traffic over VPN Connection'''.
 
#Click OK, then Apply, and test the connection using the "Connect" button.
 
#If the VPN fails, try to add the IP address to the "Server Address" instead of the full server name.<br />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 occurs when you suddenly disconnect from the VPN due to a poor connection or incomplete request.
 
 
 
==Option 2: Editing DMM Cookie's Region Flag==
 
===Usage===
 
# Log into DMM.com
 
# Open the Developer Bar (F12) and insert these lines into the console and execute (by pressing the [Enter] key).
 
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">
 
document.cookie='ckcy=1;expires=Wed, 17-Jun-2020 00:00:00 GMT;path=/netgame;domain=.dmm.com'
 
document.cookie='ckcy=1;expires=Wed, 17-Jun-2020 00:00:00 GMT;path=/netgame;domain=.dmm.com'
 
</syntaxhighlight>
 
</syntaxhighlight>
# Refresh (F5) the browser page
+
<!--
 +
** https://tools.ietf.org/html/rfc6265.
 +
** <code>path=/netgame</code> overrides <code>path=/</code> which is set by DMM.
 +
** <code>expires</code> date should be ahead of the current date by one year, although any future date will work.
 +
-->
 +
* Execute it by pressing '''Enter''' or '''Ctrl + Enter''' for Internet Explorer.
 +
* Then use the address bar or a bookmark to go directly to the [http://www.dmm.com/netgame/social/-/gadgets/=/app_id=854854/ KanColle play page].
 +
 
 
===Advantages===
 
===Advantages===
* Works for any OS or browser.
+
* You do not need to install any third-party software just to access the game.
* You do not need to download or install any third-party software.
 
 
* You will have access until you specifically clear your browser cookies.
 
* You will have access until you specifically clear your browser cookies.
* It is fast, since you'll be using your direct internet connection.
+
* It is fast since you'll be using your direct internet connection.
  
==Troubleshooting==
+
===Disadvantages===
''See main article: [[Tutorial: Troubleshooting]]''
+
* Does not work (or does not work as well as other options) for some users due to their ISP. If that is the case, other options should be used.
 +
 
 +
==VPN/proxy==
 +
Different VPN and proxy server providers can be used, refer to their documentation on how to use them.
  
[[File:Error_.png|thumb|right]]
+
One free option is [https://www.vpngate.net/en/ VPN Gate], an "Academic Experiment Project" by the University of Tsukuba. For Windows, install the client and select a Japanese server in it, for Mac/Linux, simply import an OpenVPN config file of a Japanese server in your network manager.
* Have you cleared your cache? ''Try doing it again in Incognito''.
+
===Advantages===
* Have you tried logging in again on DMM or obtaining a new API link?
+
* Shows your IP address conveniently as a Japanese IP address.
* Have you tried running other sites? ''The problem might stem from your internet connection.''
+
* May help with some troubleshooting issues.
* Were you using viewers? ''Try logging in normally on your browser.''
+
===Disadvantages===
* Were you banned? ''Login to DMM to confirm whether or not you receive a black error message.''
+
* It is '''NOT''' recommended to be used when you are handling sensitive data such as when entering [[Shop/Purchasing|your card details]].
** Banned accounts see the cat error-message through an API link and the black error message through DMM.
 
* Is your computer clock correct? ''Try switching to your correct timezone.''
 
** Issues stemming from your computer clock settings are common.
 
  
==Mobile Gameplay==
+
==Troubleshooting==
The only officially supported ways to play are via the [[Kancolle Android Version]] or through a desktop browser client (e.g. Chrome, Firefox, etc.). Any other implementations of flash, such as mobile flash imitations/emulations or even mobile versions of chrome are not supported. These are not recommend as your data may not be secure, and may also not send data to the KC servers in the same way as an officially supported method would, putting you at risk of getting banned.
+
{{main|Tutorial: Troubleshooting}}
{{clear}}
+
<gallery type="slideshow" widths="200">
 +
Error1.jpg|"A network error has occurred, please hit the refresh button in your browser."
 +
DMM_ErrorArea_JPN.png|DMM error area, cookie issue.
 +
maintainance.jpg|Game/site is on maintenance.
 +
KanColle Error.jpg|An error has occurred.
 +
Banned_from_Kancolle.jpg|You are banned.
 +
</gallery>
 +
* Try doing everything again in incognito mode.
 +
* Try clearing your cache.
 +
* Try logging out of DMM, clearing your cookies, logging in again, and reapplying the cookies.
 +
* Try checking other sites, especially Japanese ones.
 +
* Try logging in normally with your browser if you were using viewers.
 +
* Try checking if you were banned (refer to the gallery - last image).
 +
* Try synchronizing your computer clock.
 +
** Issues stemming from your computer clock settings are common. Make sure to synchronize your time with a time server or manually force a synchronization.
 +
* Try switching to Japanese or your correct timezone.
  
[[Category:Tutorial]]
+
==[[KanColle Android|Mobile Gameplay]]==
[[Category:Help]]
+
Mobile gameplay is only supported on the official [[KanColle Android]] app at the moment. Use of other means to play KanColle on mobile devices is highly discouraged, will not receive support if things go wrong, and may result in bans.

Revision as of 20:16, 18 June 2019

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 addresses. Thus, this page guides new users on how to bypass this restriction.

Currently, there are two options to connect to the game: cookie method (essentially a hack) and VPN/proxy (actually using a Japanese IP). Cookie method is recommended, please try using it first.

Cookie Method

To ensure that region-restricted pages are accessed only from Japan DMM is using an IP check to set a region flag in its cookies every time a page is loaded. Then the flag is used to check if a region-restricted page can be accessed. It is possible to bypass this restriction by changing the flag right before loading each page or by setting a path-overriding cookie.

Using Viewers and Browser Extensions

The following tools automatically override necessary cookies when needed.

  • Poi viewer can be used to play the game, make sure to enable cookie editing in settings.
  • If you want to browse other DMM games, and not just play KanColle, on Chrome you can use one of the following extensions:
    • KC3Kai viewer, the cookie setting should be enabled.
    • Specialized extension consisting of few lines of code.
    • Note that some games are using IP block, so those extensions will not work for them.

Manual Access

The following manual method can be used to access KanColle:

  • Log into dmm.com if not logged in already, choose an interface language if asked. Make sure the page is fully loaded once you logged in.
  • Open the developer tools.
  • Copy-paste the following code into the console:
document.cookie='ckcy=1;expires=Wed, 17-Jun-2020 00:00:00 GMT;path=/netgame;domain=.dmm.com'
  • Execute it by pressing Enter or Ctrl + Enter for Internet Explorer.
  • Then use the address bar or a bookmark to go directly to the KanColle play page.

Advantages

  • You do not need to install any third-party software just to access the game.
  • You will have access until you specifically clear your browser cookies.
  • It is fast since you'll be using your direct internet connection.

Disadvantages

  • Does not work (or does not work as well as other options) for some users due to their ISP. If that is the case, other options should be used.

VPN/proxy

Different VPN and proxy server providers can be used, refer to their documentation on how to use them.

One free option is VPN Gate, an "Academic Experiment Project" by the University of Tsukuba. For Windows, install the client and select a Japanese server in it, for Mac/Linux, simply import an OpenVPN config file of a Japanese server in your network manager.

Advantages

  • Shows your IP address conveniently as a Japanese IP address.
  • May help with some troubleshooting issues.

Disadvantages

  • It is NOT recommended to be used when you are handling sensitive data such as when entering your card details.

Troubleshooting

  • Try doing everything again in incognito mode.
  • Try clearing your cache.
  • Try logging out of DMM, clearing your cookies, logging in again, and reapplying the cookies.
  • Try checking other sites, especially Japanese ones.
  • Try logging in normally with your browser if you were using viewers.
  • Try checking if you were banned (refer to the gallery - last image).
  • Try synchronizing your computer clock.
    • Issues stemming from your computer clock settings are common. Make sure to synchronize your time with a time server or manually force a synchronization.
  • Try switching to Japanese or your correct timezone.

Mobile Gameplay

Mobile gameplay is only supported on the official KanColle Android app at the moment. Use of other means to play KanColle on mobile devices is highly discouraged, will not receive support if things go wrong, and may result in bans.