# 用KOC的Autosolve任务来解决3ds

## Spider上的设置

登录KOC的dashboard，在dashboard上的下方点击创建按钮CREAT，弹出菜单如图：\
![](/files/gQfGlGjKa6XPTZ4xpfzz)

Client选择`Kylin Bot`，Scope选择 `Auto-Solve`，点击ok，会在下方创建出一个Access Token，如图所示\
![](/files/lOgsRRcYbWtZDj0kdwRB)

点击右方的复制图标，复制这个Access Token。

准备一台电脑1，安装并启动Spider，在账号页面下创建一个类型为Kylin Autosolve的账号，把刚才复制的Access Token粘贴到接口密钥栏中，

<figure><img src="/files/MqUlmeBwYnomolDgIBI5" alt=""><figcaption></figcaption></figure>

点击保存，完成Kylin Autosolve账号的创建。

然后在Spider的安全页面中创建一个Kylin Autosolver任务，如图所示

<figure><img src="/files/WzpEdAXBckLGB3a0xg22" alt=""><figcaption></figcaption></figure>

功能选择`3DS`和`Other 3DS`，账号栏中配置刚才配置的Kylin Autosolve的账号，代理配置localhost，兵法建议设置10或者20，点击保存，创建出安全页面下的Kylin Autosolver解码任务。

然后启动这个安全页面下的Kylin Autosolve任务。

## KOC上的设置

准备一台电脑2，安装并启动KOC，注意启动的KOC的key必须和生成dashboard上的生成Access Token的KOC的key一致。

启动KOC，在KOC任务页面的右下方可以看到

<figure><img src="/files/qS7YsBOAcHhYr4QLlBU9" alt=""><figcaption></figcaption></figure>

点击黄色的自动解码，出现弹框

<figure><img src="/files/GhZ0aCgf5RGfqN2LOOmv" alt=""><figcaption></figcaption></figure>

点击确定，弹出

<figure><img src="/files/eSNP8u6fl2JZste9hOhZ" alt=""><figcaption></figcaption></figure>

左上角的开启开关打开

<figure><img src="/files/k2uJsDxkllqWrJvxGpm3" alt=""><figcaption></figcaption></figure>

然后关闭这个弹框，可以看到KOC的任务页面下的右下角是\
![](/files/h00lSLj7GfqXTLQe7rpT)

这个状态说明autosolve功能已经激活。

然后在KOC的任务页面上创建一些3ds任务，功能选择`3DS`和`Other 3DS`，注意每一个3ds任务需要配置不同的proxy（同一个ip地址不要创建多个3ds任务），开启这些3ds任务。

Spider开启任务，当有任务走到支付需要3ds解码的时候，KOC这边的3ds任务会弹出窗口，你可以在KOC上操作处理3ds，每一个3ds任务会处理一个Spider发过来的3ds请求。注意Spider上不需要开启3ds任务。3ds的部分只需要开启一个Kylin Autosolve任务即可。也同时支持开多个不同Access Token的Kylin Autosolve任务多台KOC处理。

总结：用KOC处理3ds，单独的一台电脑上只开启KOC来处理3ds，这样会减轻运行Spider的服务器压力，同时适合开多台Spider操作不过来的问题。当然运行KOC的电脑建议配置也高一些，这样可以处理多一些的3ds任务，会更效率。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kylin-inc.gitbook.io/haveatrysample/page/yong-koc-de-autosolve-ren-wu-lai-jie-jue-3ds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
