From b20820d2110c75ecbe25c199d7b45fda27f14bbb Mon Sep 17 00:00:00 2001 From: chr_ Date: Sun, 10 Mar 2024 00:17:47 +0800 Subject: [PATCH] =?UTF-8?q?misc=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Directory.Build.props | 2 +- README.en.md | 47 ++++++++++++++++++++++++------------------- README.md | 47 ++++++++++++++++++++++++------------------- README.ru.md | 47 ++++++++++++++++++++++++------------------- 4 files changed, 79 insertions(+), 64 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 10cd3989..daef9174 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 2.0.16.0 + 2.0.16.2 diff --git a/README.en.md b/README.en.md index 642d80dd..1099c741 100644 --- a/README.en.md +++ b/README.en.md @@ -81,6 +81,7 @@ Supported Plugin List: | ASFEnhance Version | Depended ASF Version | Description | | ---------------------------------------------------------------------- | :------------------: | ---------------------------------------------------------------------------- | +| [2.0.16.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.16.2) | 5.5.3.4 | 新增 `EDITCART` `ADDCARTGIFT` 命令, 改进 `APPDETAIL` 命令, 改进 IPC 接口 | | [2.0.15.0](https://github.com/chr233/ASFEnhance/releases/tag/2.0.15.0) | 5.5.3.4 | 适配新的购物车接口, 移除 `PURCHASEGIFT` 命令 | | [2.0.14.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.14.2) | 5.5.3.4 | ASF -> 5.5.3.4 | | [2.0.13.1](https://github.com/chr233/ASFEnhance/releases/tag/2.0.13.1) | 5.5.2.3 | 新增 `BALANCEINFO` 命令, 用来查看待处理余额到账时间, 改进 `PROFILELINK` 命令 | @@ -413,19 +414,19 @@ All avatars are from [Game Avatars Page](https://steamcommunity.com/actions/Game ### Store Commands -| Command | Shorthand | Access | Description | -| ------------------------------------------ | --------- | ---------- | --------------------------------------------------------------------------------------- | -| `APPDETAIL [Bots] ` | `AD` | `Operator` | Get app detail from steam API, support `APP` | -| `SEARCH [Bots] Keywords` | `SS` | `Operator` | Search in the Steam store | -| `SUBS [Bots] ` | `S` | `Operator` | Get available subs from the store page, supports `APP/SUB/BUNDLE` | -| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Operator` | Publish a recommendation for the game/app, `appd` or `+appId` rateUp, `-appId` rateDown | -| `DELETERECOMMENT [Bots] ` | `DREC` | `Operator` | Delete a recommendation for the game/app | -| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | Request playtest/access from specific appIDs, equivalent to clicking `Request Access` | -| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | Visit the specified page | -| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | Redeem item in the points shop | -| `REDEEMPOINTITEM [Bots] ` | | `Master` | Same as `REDEEMPOINTSITEM` | -| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | Redeem session badge in the points shop | -| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | Same as `REDEEMPOINTSBADGE` | +| Command | Shorthand | Access | Description | +| ---------------------------------------------- | --------- | ---------- | --------------------------------------------------------------------------------------- | +| `APPDETAIL [Bots] ` | `AD` | `Operator` | Get app detail from steam API | +| `SUBS` | `S` | `Operator` | Same as `APPDETAIL` | +| `SEARCH [Bots] Keywords` | `SS` | `Operator` | Search in the Steam store | +| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Operator` | Publish a recommendation for the game/app, `appd` or `+appId` rateUp, `-appId` rateDown | +| `DELETERECOMMENT [Bots] ` | `DREC` | `Operator` | Delete a recommendation for the game/app | +| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | Request playtest/access from specific appIDs, equivalent to clicking `Request Access` | +| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | Visit the specified page | +| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | Redeem item in the points shop | +| `REDEEMPOINTITEM [Bots] ` | | `Master` | Same as `REDEEMPOINTSITEM` | +| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | Redeem session badge in the points shop | +| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | Same as `REDEEMPOINTSBADGE` | > defId can be found in SteamDB, for example, the `Winter Collection - 2023`'s defId is `258511`, see [here](https://steamdb.info/app/2750340/communityitems/#item-class-1-data) @@ -433,14 +434,18 @@ All avatars are from [Game Avatars Page](https://steamcommunity.com/actions/Game > Steam saves cart information via cookies, restarting ASF instance will cause the shopping cart to be emptied -| Command | Shorthand | Access | Description | -| ------------------------------------ | --------- | ---------- | --------------------------------------------------------------------------------------------------------- | -| `CART [Bots]` | `C` | `Operator` | Check what's in the bots cart | -| `ADDCART [Bots] ` | `AC` | `Operator` | Add game to bots cart, only supports `SUB/BUNDLE` | -| `CARTRESET [Bots]` | `CR` | `Operator` | Empty the bots cart | -| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | Get the bots available currency area (Depends on wallet currency and the IP location) | -| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | Simulate a purchase of the bots cart, and generate a failed purchase record without actually checking out | -| `PURCHASE [Bots]` | `PC` | `Master` | Purchase the bots cart items for itself (Paid using the bots Steam wallet) | +| Command | Shorthand | Access | Description | +| ------------------------------------------------ | --------- | ---------- | --------------------------------------------------------------------------------------------------------- | +| `CART [Bots]` | `C` | `Operator` | Check what's in the bots cart | +| `ADDCART [Bots] ` | `AC` | `Operator` | Add game to bots cart, only supports `SUB/BUNDLE` | +| `ADDCARTGIFT [Bots] SteamId` | `ACG` | `Operator` | _此命令可能工作不正常_ 添加购物车, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `EDITCART [Bots] ` | `EC` | `Operator` | 编辑购物车项目, 设置为为自己购买 | +| `EDITCARTPRIVATE [Bots] ` | `ECP` | `Operator` | 编辑购物车项目, 设置为私密购买 | +| `EDITCARTGIFT [Bots] SteamId` | `ECG` | `Operator` | 编辑购物车项目, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `CARTRESET [Bots]` | `CR` | `Operator` | Empty the bots cart | +| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | Get the bots available currency area (Depends on wallet currency and the IP location) | +| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | Simulate a purchase of the bots cart, and generate a failed purchase record without actually checking out | +| `PURCHASE [Bots]` | `PC` | `Master` | Purchase the bots cart items for itself (Paid using the bots Steam wallet) | > Steam allows repeated purchases. Please confirm whether there is duplicated content before using the `PURCHASE` command. diff --git a/README.md b/README.md index 6cb20916..66c5dbd9 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ ASFEnhance 介绍 & 使用指南: [https://keylol.com/t804841-1-1](https://keylo | ASFEnhance 版本 | 适配 ASF 版本 | 更新说明 | | ---------------------------------------------------------------------- | :-----------: | ---------------------------------------------------------------------------- | +| [2.0.16.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.16.2) | 5.5.3.4 | 新增 `EDITCART` `ADDCARTGIFT` 命令, 改进 `APPDETAIL` 命令, 改进 IPC 接口 | | [2.0.15.0](https://github.com/chr233/ASFEnhance/releases/tag/2.0.15.0) | 5.5.3.4 | 适配新的购物车接口, 移除 `PURCHASEGIFT` 命令 | | [2.0.14.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.14.2) | 5.5.3.4 | ASF -> 5.5.3.4 | | [2.0.13.1](https://github.com/chr233/ASFEnhance/releases/tag/2.0.13.1) | 5.5.2.3 | 新增 `BALANCEINFO` 命令, 用来查看待处理余额到账时间, 改进 `PROFILELINK` 命令 | @@ -410,19 +411,19 @@ ASF.json ### 商店相关 -| 命令 | 缩写 | 权限 | 说明 | -| ------------------------------------------ | ------ | ---------- | ----------------------------------------------------- | -| `APPDETAIL [Bots] ` | `AD` | `Operator` | 获取 APP 信息, 无法获取锁区游戏信息, 仅支持`APP` | -| `SEARCH [Bots] Keywords` | `SS` | `Operator` | 搜索商店 | -| `SUBS [Bots] ` | `S` | `Operator` | 查询商店 SUB, 支持 `APP/SUB/BUNDLE` | -| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Master` | 发布评测, `APPID` 或 `+APPID` 给好评, `-AppID` 给差评 | -| `DELETERECOMMENT [Bots] ` | `DREC` | `Master` | 删除评测 | -| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | 请求游戏内测访问权限, 等效于点击 `请求访问权限` | -| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | 访问指定页面 | -| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | 兑换点数商店物品 | -| `REDEEMPOINTITEM [Bots] ` | | `Master` | 同 `REDEEMPOINTSITEM` | -| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | 兑换点数商店季节徽章 | -| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | 同`REDEEMPOINTSBADGE` | +| 命令 | 缩写 | 权限 | 说明 | +| ---------------------------------------------- | ------ | ---------- | ----------------------------------------------------- | +| `APPDETAIL [Bots] ` | `AD` | `Operator` | 获取 APP 信息, 无法获取锁区游戏信息 | +| `SUBS` | `S` | `Operator` | 同 `APPDETAIL` | +| `SEARCH [Bots] Keywords` | `SS` | `Operator` | 搜索商店 | +| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Master` | 发布评测, `APPID` 或 `+APPID` 给好评, `-AppID` 给差评 | +| `DELETERECOMMENT [Bots] ` | `DREC` | `Master` | 删除评测 | +| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | 请求游戏内测访问权限, 等效于点击 `请求访问权限` | +| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | 访问指定页面 | +| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | 兑换点数商店物品 | +| `REDEEMPOINTITEM [Bots] ` | | `Master` | 同 `REDEEMPOINTSITEM` | +| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | 兑换点数商店季节徽章 | +| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | 同`REDEEMPOINTSBADGE` | > defId 可以从 SteamDB 查到, 比如 `Winter Collection - 2023` 季节徽章的 defId 为 `258511`, 可以在这个 [链接](https://steamdb.info/app/2750340/communityitems/#item-class-1-data) 查到 @@ -430,14 +431,18 @@ ASF.json > STEAM 的购物车储存在 Cookies 里,重启 ASF 将会导致购物车清空 -| 命令 | 缩写 | 权限 | 说明 | -| ------------------------------------ | ----- | ---------- | ------------------------------------------------------------------ | -| `CART [Bots]` | `C` | `Operator` | 查看机器人购物车 | -| `ADDCART [Bots] ` | `AC` | `Operator` | 添加购物车, 仅能使用`SubID`和`BundleID` | -| `CARTRESET [Bots]` | `CR` | `Operator` | 清空购物车 | -| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | 获取购物车可用结算区域(跟账号钱包和当前 IP 所在地有关) | -| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | 模拟结算机器人的购物车, 生成一条购买失败的记录, 不会真的结账 | -| `PURCHASE [Bots]` | `PC` | `Master` | 结算机器人的购物车, 只能为机器人自己购买 (使用 Steam 钱包余额结算) | +| 命令 | 缩写 | 权限 | 说明 | +| ------------------------------------------------ | ----- | ---------- | ----------------------------------------------------------------------------------------------------- | +| `CART [Bots]` | `C` | `Operator` | 查看机器人购物车 | +| `ADDCART [Bots] ` | `AC` | `Operator` | 添加购物车, 仅能使用`SubID`和`BundleID` | +| `ADDCARTGIFT [Bots] SteamId` | `ACG` | `Operator` | _此命令可能工作不正常_ 添加购物车, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `EDITCART [Bots] ` | `EC` | `Operator` | 编辑购物车项目, 设置为为自己购买 | +| `EDITCARTPRIVATE [Bots] ` | `ECP` | `Operator` | 编辑购物车项目, 设置为私密购买 | +| `EDITCARTGIFT [Bots] SteamId` | `ECG` | `Operator` | 编辑购物车项目, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `CARTRESET [Bots]` | `CR` | `Operator` | 清空购物车 | +| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | 获取购物车可用结算区域(跟账号钱包和当前 IP 所在地有关) | +| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | 模拟结算机器人的购物车, 生成一条购买失败的记录, 不会真的结账 | +| `PURCHASE [Bots]` | `PC` | `Master` | 结算机器人的购物车, 只能为机器人自己购买 (使用 Steam 钱包余额结算) | > Steam 允许重复购买,使用 `PURCHASE` 命令前请自行确认有无重复内容 diff --git a/README.ru.md b/README.ru.md index bb7f2f7c..d2c27207 100644 --- a/README.ru.md +++ b/README.ru.md @@ -79,6 +79,7 @@ | Версия ASFEnhance | Совместимая версия ASF | Описание | | ---------------------------------------------------------------------- | :--------------------: | ---------------------------------------------------------------------------- | +| [2.0.16.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.16.2) | 5.5.3.4 | 新增 `EDITCART` `ADDCARTGIFT` 命令, 改进 `APPDETAIL` 命令, 改进 IPC 接口 | | [2.0.15.0](https://github.com/chr233/ASFEnhance/releases/tag/2.0.15.0) | 5.5.3.4 | 适配新的购物车接口, 移除 `PURCHASEGIFT` 命令 | | [2.0.14.2](https://github.com/chr233/ASFEnhance/releases/tag/2.0.14.2) | 5.5.3.4 | ASF -> 5.5.3.4 | | [2.0.13.1](https://github.com/chr233/ASFEnhance/releases/tag/2.0.13.1) | 5.5.2.3 | 新增 `BALANCEINFO` 命令, 用来查看待处理余额到账时间, 改进 `PROFILELINK` 命令 | @@ -405,19 +406,19 @@ ASF.json ### Команды Магазина -| Команда | Сокращение | Доступ | Описание | -| ------------------------------------------ | ---------- | ---------- | --------------------------------------------------------------------------------------------- | -| `APPDETAIL [Bots] ` | `AD` | `Operator` | Информация об игре от Steam API, поддерживает `APP` | -| `SEARCH [Bots] Keywords` | `SS` | `Operator` | Поиск по магазину Steam | -| `SUBS [Bots] ` | `S` | `Operator` | Показать доступные «SUB» (лицензии) со страницы магазина Steam, поддерживает `APP/SUB/BUNDLE` | -| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Operator` | Опубликовать обзор на игру, `appID` или `+appId` позитивный , `-appId` негативный | -| `DELETERECOMMENT [Bots] ` | `DREC` | `Operator` | Удалить обзор на игру | -| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | Отправить заявку на playtest игры, равноценно нажатию кнопки `Запросить доступ` | -| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | Посетить указанную страницу | -| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | Redeem item in the points shop | -| `REDEEMPOINTITEM [Bots] ` | | `Master` | Same as `REDEEMPOINTSITEM` | -| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | Redeem session badge in the points shop | -| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | Same as `REDEEMPOINTSBADGE` | +| Команда | Сокращение | Доступ | Описание | +| ------------------------------------------ | ---------- | ---------- | --------------------------------------------------------------------------------- | +| `APPDETAIL [Bots] ` | `AD` | `Operator` | Информация об игре от Steam API | +| `SUBS` | `S` | `Operator` | Same as `APPDETAIL` | +| `SEARCH [Bots] Keywords` | `SS` | `Operator` | Поиск по магазину Steam | +| `PUBLISHRECOMMENT [Bots] COMMENT` | `PREC` | `Operator` | Опубликовать обзор на игру, `appID` или `+appId` позитивный , `-appId` негативный | +| `DELETERECOMMENT [Bots] ` | `DREC` | `Operator` | Удалить обзор на игру | +| `REQUESTACCESS [Bots] ` | `RA` | `Operator` | Отправить заявку на playtest игры, равноценно нажатию кнопки `Запросить доступ` | +| `VIEWPAGE [Bots] Url` | `VP` | `Operator` | Посетить указанную страницу | +| `REDEEMPOINTSITEM [Bots] ` | `RPI` | `Master` | Redeem item in the points shop | +| `REDEEMPOINTITEM [Bots] ` | | `Master` | Same as `REDEEMPOINTSITEM` | +| `REDEEMPOINTSBADGE [Bots] defId level` | `RPB` | `Master` | Redeem session badge in the points shop | +| `REDEEMPOINTBADGE [Bots] defId level` | | `Master` | Same as `REDEEMPOINTSBADGE` | > defId can be found in SteamDB, for example, the `Winter Collection - 2023`'s defId is `258511`, see [here](https://steamdb.info/app/2750340/communityitems/#item-class-1-data) @@ -425,14 +426,18 @@ ASF.json > Steam сохраняет информацию о корзине покупок с помощью файлов cookie, перезапуск экземпляра бота приведет к очистке корзины -| Команда | Сокращение | Доступ | Описание | -| ------------------------------------ | ---------- | ---------- | --------------------------------------------------------------------------------------------- | -| `CART [Bots]` | `C` | `Operator` | Информация о товарах в корзине магазина Steam | -| `ADDCART [Bots] ` | `AC` | `Operator` | Добавить игру в корзину, поддерживает только `SUB/BUNDLE` | -| `CARTRESET [Bots]` | `CR` | `Operator` | Очистить корзину | -| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | Информация о доступной валюте (Зависит от IP адреса и страны кошелька) | -| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | Имитация корзины бота-покупателя и создание записи о неудаче без реального оформления покупки | -| `PURCHASE [Bots]` | `PC` | `Master` | Купить товары из корзины бота «для себя» (оплата через Steam кошелёк) | +| Команда | Сокращение | Доступ | Описание | +| ------------------------------------------------ | ---------- | ---------- | ----------------------------------------------------------------------------------------------------- | +| `CART [Bots]` | `C` | `Operator` | Информация о товарах в корзине магазина Steam | +| `ADDCART [Bots] ` | `AC` | `Operator` | Добавить игру в корзину, поддерживает только `SUB/BUNDLE` | +| `ADDCARTGIFT [Bots] SteamId` | `ACG` | `Operator` | _此命令可能工作不正常_ 添加购物车, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `EDITCART [Bots] ` | `EC` | `Operator` | 编辑购物车项目, 设置为为自己购买 | +| `EDITCARTPRIVATE [Bots] ` | `ECP` | `Operator` | 编辑购物车项目, 设置为私密购买 | +| `EDITCARTGIFT [Bots] SteamId` | `ECG` | `Operator` | 编辑购物车项目, 设置为礼物赠送, SteamId 支持 botName 或者 SteamID32 或者 SteamId64 | +| `CARTRESET [Bots]` | `CR` | `Operator` | Очистить корзину | +| `CARTCOUNTRY [Bots]` | `CC` | `Operator` | Информация о доступной валюте (Зависит от IP адреса и страны кошелька) | +| `FAKEPURCHASE [Bots]` | `FPC` | `Master` | Имитация корзины бота-покупателя и создание записи о неудаче без реального оформления покупки | +| `PURCHASE [Bots]` | `PC` | `Master` | Купить товары из корзины бота «для себя» (оплата через Steam кошелёк) | > Steam позволяет дублировать покупки, пожалуйста, проверьте корзину перед использованием команды `PURCHASE`.