From 6d29b50b55a35efeefbb0d7b2fcfa88b7275bb35 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 28 Jun 2018 00:20:51 +0800 Subject: [PATCH] fix(score): new ratio of score --- config/env/torrents.js | 6 +++--- modules/about/client/templates/score-rules-en.md | 6 +++--- modules/about/client/templates/score-rules-zh-tw.md | 6 +++--- modules/about/client/templates/score-rules-zh.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/env/torrents.js b/config/env/torrents.js index da4663eb..138d9b07 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -647,8 +647,8 @@ module.exports = { content: 'SEED_UP_DOWNLOAD', additionSize: 1024 * 1024 * 1024 * 10, //10G additionSize_str: '10G', - perlSize: 1024 * 1024 * 1024, //1G - perlSize_str: '1G', + perlSize: 1024 * 1024 * 1024 * 5, //5G + perlSize_str: '5G', uploadValue: 1, uploadEnable: true, @@ -665,7 +665,7 @@ module.exports = { content: 'SEED_TIMED', additionTime: 60 * 60 * 1000, additionTime_str: '1h', - timedValue: 0.5, + timedValue: 1, vipRatio: 1.5, enable: true diff --git a/modules/about/client/templates/score-rules-en.md b/modules/about/client/templates/score-rules-en.md index 51ebdd70..84d756d9 100644 --- a/modules/about/client/templates/score-rules-en.md +++ b/modules/about/client/templates/score-rules-en.md @@ -21,9 +21,9 @@ Vip user extra adition: ratio of %(scoreConfig.action.seedUpDownload.vipRatio).2f Examples: - for 40G torrent, the size addition ratio is 2, announce uploaded 10G and downloaded 15G, - none vip user get uploaded scores: 2 * 1 * 10 = 20, downloaded scores: 2 * 0.5 * 15 = 15. - vip user get uploaded scores: 20 * 1.5 = 30, downloaded scores: 15 * 1.5 = 22.5. + for 40G torrent, the size addition ratio is 2, announce uploaded 20G and downloaded 10G, + none vip user get uploaded scores: 2 * 1 * 4 = 8, downloaded scores: 2 * 0.5 * 2 = 2. + vip user get uploaded scores: 8 * 1.5 = 12, downloaded scores: 2 * 1.5 = 3. ``` * Seed uploaders calculate the upload scores of `* %(scoreConfig.action.seedUpDownload.uploaderRatio).2f`. * In the seeding state, the seeding scores will be get from the seeding time. For every seed, `%(scoreConfig.action.seedTimed.timedValue).2f` scores per `%(scoreConfig.action.seedTimed.additionTime_str)s`, vip user extra addition ratio is `%(scoreConfig.action.seedTimed.vipRatio).2f`. diff --git a/modules/about/client/templates/score-rules-zh-tw.md b/modules/about/client/templates/score-rules-zh-tw.md index 7e7d9bcf..30d4aa2a 100644 --- a/modules/about/client/templates/score-rules-zh-tw.md +++ b/modules/about/client/templates/score-rules-zh-tw.md @@ -21,9 +21,9 @@ Vip 使用者額外加成係數: %(scoreConfig.action.seedUpDownload.vipRatio).2f 倍。 舉例: - 種子體積 40G, 則體積加成係數為 2, 假設本次上報上傳量為 10G 下載量為 15G, 則: - 非 Vip 使用者獲得上傳積分: 2 * 1 * 10 = 20, 下載積分: 2 * 0.5 * 15 = 15。 - Vip 使用者獲得上傳積分: 20 * 1.5 = 30, 下載積分: 15 * 1.5 = 22.5。 + 種子體積 40G, 則體積加成係數為 2, 假設本次上報上傳量為 20G 下載量為 10G, 則: + 非 Vip 使用者獲得上傳積分: 2 * 1 * 4 = 8, 下載積分: 2 * 0.5 * 2 = 2。 + Vip 使用者獲得上傳積分: 8 * 1.5 = 12, 下載積分: 2 * 1.5 = 3。 ``` * 種子發布者按 `%(scoreConfig.action.seedUpDownload.uploaderRatio).2f` 倍計算上傳量積分。 * 在做種狀態下,將會獲得由保種時間帶來的保種積分, 每個種子每 `%(scoreConfig.action.seedTimed.additionTime_str)s` 獲得 `%(scoreConfig.action.seedTimed.timedValue).2f` 積分,Vip 使用者額外加成係數為 `%(scoreConfig.action.seedTimed.vipRatio).2f`。 diff --git a/modules/about/client/templates/score-rules-zh.md b/modules/about/client/templates/score-rules-zh.md index afe22ffa..31ee03fc 100644 --- a/modules/about/client/templates/score-rules-zh.md +++ b/modules/about/client/templates/score-rules-zh.md @@ -21,9 +21,9 @@ Vip 用户额外加成系数: %(scoreConfig.action.seedUpDownload.vipRatio).2f 倍。 举例: - 种子体积 40G, 则体积加成系数为 2, 假设本次上报上传量为 10G 下载量为 15G, 则: - 非 Vip 用户获得上传积分: 2 * 1 * 10 = 20, 下载积分: 2 * 0.5 * 15 = 15。 - Vip 用户获得上传积分: 20 * 1.5 = 30, 下载积分: 15 * 1.5 = 22.5。 + 种子体积 40G, 则体积加成系数为 2, 假设本次上报上传量为 20G 下载量为 10G, 则: + 非 Vip 用户获得上传积分: 2 * 1 * 4 = 8, 下载积分: 2 * 0.5 * 2 = 2。 + Vip 用户获得上传积分: 8 * 1.5 = 12, 下载积分: 2 * 1.5 = 3。 ``` * 种子发布者按 `%(scoreConfig.action.seedUpDownload.uploaderRatio).2f` 倍计算上传量积分。 * 在做种状态下,将会获得由保种时间带来的保种积分, 每个种子每 `%(scoreConfig.action.seedTimed.additionTime_str)s` 获得 `%(scoreConfig.action.seedTimed.timedValue).2f` 积分,Vip 用户额外加成系数为 `%(scoreConfig.action.seedTimed.vipRatio).2f`。