official additioin + zero bonus

This commit is contained in:
xiaomlove
2022-09-25 16:33:52 +08:00
parent e94c7340e4
commit 3f559de57f
21 changed files with 206 additions and 55 deletions

View File

@@ -91,12 +91,13 @@ $lang_mybonus = array
'text_bonus_gift_note' => "可能你不需要魔力值,为什么不把它送给那些需要的人呢?你可以把自己的魔力值作为礼物送给别人。交易完成后,你的魔力值会减少,礼物接收者的魔力值则会增加。同时,接收者会收到一条关于你的馈赠的短讯。",
'text_error' => "错误",
'text_ratio_too_high' => "分享率已很高",
'text_bonus_formula_one' => "每小时获得的魔力值点数由下面的公式给出<br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulaa.png alt=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\" title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\"><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulab.png alt=\"B = B0 * 2 / pi * arctan( A / L )\" title=\"B = B0 * 2 / pi * arctan( A / L )\"><br />
'text_bonus_formula_one' => "每小时获得的魔力值点数由下面的公式给出<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulaa.svg title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) ) * Wi\"><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulab.png title=\"B = B0 * 2 / pi * arctan( A / L )\"><br />
式中<ul><li><b>A</b>为中间变量</li><li><b>Ti</b>为第<b>i</b>个种子的生存时间, 即自种子发布起到现在所经过的时间, 单位是周</li><li><b>T0</b>为参数。<b>T0</b> = ",
'text_bonus_formula_two' => "</li><li><b>Si</b>为第<b>i</b>个种子的大小单位是GB</li><li><b>Ni</b>为第<b>i</b>个种子当前的做种者数</li><li><b>N0</b>为参数。<b>N0</b> = ",
'text_bonus_formula_three' => "</li><li><b>B</b>为1小时中用户获得的做种魔力值点数</li><li><b>B0</b>为参数代表用户1小时获得魔力值的上限。<b>B0</b> = ",
'text_bonus_formula_four' => "</li><li><b>L</b>为参数。<b>L</b> = ",
'text_bonus_formula_five' => "</li></ul>简言之,为做种人数少、文件体积大的种子做种能获得更多魔力值。",
'text_bonus_formula_wi' => "</li><li><b>Wi</b>为第<b>i</b>个种子的权重系数,默认为 1零魔种子为 ",
'text_user_with_ratio_above' => "分享率高于",
'text_and_uploaded_amount_above' => "且上传量大于",
'text_cannot_exchange_uploading' => "GB的用户不能换取更多的上传量。",
@@ -137,13 +138,17 @@ $lang_mybonus = array
'text_success_buy_attendance_card' => '成功购买了一张补签卡。',
'text_harem_addition_get' => '当前后宫加成每小时获得 %s 魔力',
'reward_type' => '奖励类型',
'addition' => '加成',
'factor' => '系数',
'got_bonus' => '获得魔力',
'total' => '合计',
'reward_type_basic' => '基本奖励',
'reward_type_harem_addition' => '后宫加成',
'bonus_base' => '基础魔力',
'lock_text' => '系统限制 %s 秒内只能点击交换按钮一次!',
'text_get_by_seeding_official' => '官种每小时将额外得到如下的魔力值',
'official_calculate_method' => '官种奖励计算公式同上,只是仅针对官种进行计算',
'official_tag_bonus_additional_factor' => '最终奖励为计算所得官种奖励乘以官种系数,当前官种系数为: ',
'reward_type_official_addition' => '官种加成',
);
?>

View File

@@ -218,6 +218,7 @@ $lang_settings = array
'text_bonus_formula_four' => "。默认为'4'",
'text_bonus_formula_five' => "<b>Si</b>为第<b>i</b>个种子的大小单位是GB",
'text_bonus_formula_six' => "<b>Ni</b>为第<b>i</b>个种子当前的做种者数</li><li><b>N0</b>为参数。<b>N0</b> = ",
'text_bonus_formula_zero_bonus_factor' => "<b>Wi</b>为第<b>i</b>个种子权重系数。默认为 1零魔种子为 ",
'text_bonus_formula_seven' => "。默认为'7'",
'text_bonus_formula_eight' => "<b>B</b>为1小时中用户获得的做种魔力值点数",
'text_bonus_formula_nine' => "<b>B0</b>为参数代表用户1小时获得魔力值的上限。<b>B0</b> = ",
@@ -779,6 +780,14 @@ $lang_settings = array
'text_ten_gb_download_credit_note' => " 个魔力值如果他选择交换10.0 GB下载量。默认'1000'。",
'row_hundred_gb_download_credit' => "100.0 GB 下载量",
'text_hundred_gb_download_credit_note' => " 个魔力值如果他选择交换100.0 GB下载量。默认'8000'。",
'row_official_addition' => '官种加成',
'text_user_would_get_by_official' => '用户将获得官种正常魔力值的',
'text_addition_addition_note' => '倍作为奖励(系数,如填入 0.01,官种获得 100 魔力则奖励用户 100 * 0.01 = 1',
'zero_bonus_factor_default' => '。默认为0.2',
'row_official_tag' => '官种标签',
'text_official_tag_note' => '。带此标签的种子为官种',
'row_zero_bonus_tag' => '零魔标签',
'text_zero_bonus_tag_note' => '。带此标签的种子为零魔种子',
);
?>

View File

@@ -91,12 +91,13 @@ $lang_mybonus = array
'text_bonus_gift_note' => "可能你不需要魔力值,為什麼不把它送給那些需要的人呢?你可以把自己的魔力值作為禮物送給別人。交易完成後,你的魔力值會減少,禮物接收者的魔力值則會增加。同時,接收者會收到一條關於你的饋贈的短訊。",
'text_error' => "錯誤",
'text_ratio_too_high' => "分享率已很高",
'text_bonus_formula_one' => "每小時獲得的魔力值點數由下面的公式給出<br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulaa.png alt=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\" title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\"><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulab.png alt=\"B = B0 * 2 / pi * arctan( A / L )\" title=\"B = B0 * 2 / pi * arctan( A / L )\"><br />
'text_bonus_formula_one' => "每小時獲得的魔力值點數由下面的公式給出<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulaa.svg title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) ) * Wi\"><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=pic/bonusformulab.png title=\"B = B0 * 2 / pi * arctan( A / L )\"><br />
式中<ul><li><b>A</b>為中間變量</li><li><b>Ti</b>為第<b>i</b>個種子的生存時間, 即自種子發布起到現在所經過的時間, 單位是周</li><li><b>T0</b>為參數。<b>T0</b> = ",
'text_bonus_formula_two' => "</li><li><b>Si</b>為第<b>i</b>個種子的大小單位是GB</li><li><b>Ni</b>為第<b>i</b>個種子當前的做種者數</li><li><b>N0</b>為參數。<b>N0</b> = ",
'text_bonus_formula_three' => "</li><li><b>B</b>為1小時中用戶獲得的做種魔力值點數</li><li><b>B0</b>為參數代表用戶1小時獲得魔力值的上限。<b>B0</b> = ",
'text_bonus_formula_four' => "</li><li><b>L</b>為參數。<b>L</b> = ",
'text_bonus_formula_five' => "</li></ul>簡言之,為做種人數少、文件體積大的種子做種能獲得更多魔力值。",
'text_bonus_formula_wi' => "</li><li><b>Wi</b>為第<b>i</b>個種子的權重系數,默認為 1零魔種子為 ",
'text_user_with_ratio_above' => "分享率高于",
'text_and_uploaded_amount_above' => "且上傳量大于",
'text_cannot_exchange_uploading' => "GB的用戶不能換取更多的上傳量。",
@@ -137,13 +138,18 @@ $lang_mybonus = array
'text_success_buy_attendance_card' => '成功購買了一張補簽卡。',
'text_harem_addition_get' => '當前後宮加成每小時獲得 %s 魔力',
'reward_type' => '獎勵類型',
'addition' => '加成',
'factor' => '系數',
'got_bonus' => '獲得魔力',
'total' => '合計',
'reward_type_basic' => '基本獎勵',
'reward_type_harem_addition' => '後宮加成',
'bonus_base' => '基礎魔力',
'lock_text' => '系統限製 %s 秒內只能點擊交換按鈕一次!',
'text_get_by_seeding_official' => '官種每小時將額外得到如下的魔力值',
'official_calculate_method' => '官種獎勵計算公式同上,只是僅針對官種進行計算',
'official_tag_bonus_additional_factor' => '最終獎勵為計算所得官種獎勵乘以官種系數,當前官種系數為: ',
'reward_type_official_addition' => '官種加成',
);
?>

View File

@@ -218,6 +218,7 @@ $lang_settings = array
'text_bonus_formula_four' => "。預設為'4'",
'text_bonus_formula_five' => "<b>Si</b>為第<b>i</b>個種子的大小單位是GB",
'text_bonus_formula_six' => "<b>Ni</b>為第<b>i</b>個種子目前的做種者數</li><li><b>N0</b>為參數。<b>N0</b> = ",
'text_bonus_formula_zero_bonus_factor' => "<b>Wi</b>為第<b>i</b>個種子權重系數。默認為 1零魔種子為 ",
'text_bonus_formula_seven' => "。預設為'7'",
'text_bonus_formula_eight' => "<b>B</b>為1小時中用戶獲得的做種魔力值點數",
'text_bonus_formula_nine' => "<b>B0</b>為參數代表用戶1小時獲得魔力值的上限。<b>B0</b> = ",
@@ -779,6 +780,14 @@ $lang_settings = array
'text_ten_gb_download_credit_note' => " 個魔力值如果他選擇交換10.0 GB下載量。默認'1000'。",
'row_hundred_gb_download_credit' => "100.0 GB 下載量",
'text_hundred_gb_download_credit_note' => " 個魔力值如果他選擇交換100.0 GB下載量。默認'8000'。",
'row_official_addition' => '官種加成',
'text_user_would_get_by_official' => '用戶將獲得官種正常魔力值的',
'text_addition_addition_note' => '倍作為獎勵(系數,如填入 0.01,官種獲得 100 魔力則獎勵用戶 100 * 0.01 = 1',
'zero_bonus_factor_default' => '。默認為0.2',
'row_official_tag' => '官種標簽',
'text_official_tag_note' => '。帶此標簽的種子為官種',
'row_zero_bonus_tag' => '零魔標簽',
'text_zero_bonus_tag_note' => '。帶此標簽的種子為零魔種子',
);
?>

View File

@@ -91,12 +91,13 @@ $lang_mybonus = array
'text_bonus_gift_note' => "Well perhaps you don't need the upload credit, but you know somebody that could use the Karma boost! You are now able to give your Karma credits as a gift! The points are then removed from your Bonus Bank and added to the account of a user of your choice! And they receive a PM with all the info as well as who it came from...",
'text_error' => "Error",
'text_ratio_too_high' => "Your ratio is high",
'text_bonus_formula_one' => "The number of karma points gained per hour is given by the following formula<br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"pic/bonusformulaa.png\" alt=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\" title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) )\" /><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"pic/bonusformulab.png\" alt=\"B = B0 * 2 / pi * arctan( A / L )\" title=\"B = B0 * 2 / pi * arctan( A / L )\" /><br />
'text_bonus_formula_one' => "The number of karma points gained per hour is given by the following formula<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"pic/bonusformulaa.svg\" title=\"A = sigma( ( 1 - 10 ^ ( - Ti / T0 ) ) * Si * ( 1 + sqrt( 2 ) * 10 ^ ( - ( Ni - 1 ) / ( N0 - 1 ) ) ) * Wi\" /><br />&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"pic/bonusformulab.png\" title=\"B = B0 * 2 / pi * arctan( A / L )\" /><br />
where<ul><li><b>A</b> is an intermediate variable</li><li><b>Ti</b> is the <b>i</b>th torrent's Time Alive (TA), i.e. time elapsed since the torrent was uploaded, in weeks</li><li><b>T0</b> is a parameter. <b>T0</b> = ",
'text_bonus_formula_two' => "</li><li><b>Si</b> is the <b>i</b>th torrent's size, in GB</li><li><b>Ni</b> is the number of current seeders of the <b>i</b>th torrent</li><li><b>N0</b> is a parameter. <b>N0</b> = ",
'text_bonus_formula_three' => "</li><li><b>B</b> is the number of karma points gained by seeding in an hour</li><li><b>B0</b> is a parameter, which stands for the maximum bonus points per hour a user can get by seeding. <b>B0</b> = ",
'text_bonus_formula_four' => "</li><li><b>L</b> is a parameter. <b>L</b> = ",
'text_bonus_formula_five' => "</li></ul>In a nutshell, you can get more bonus by seeding less-seeded and larger torrents.",
'text_bonus_formula_wi' => "</li><li><b>Wi</b> is the <b>i</b>th torrent's weight, default is 1, zero torrent is ",
'text_user_with_ratio_above' => "User with ratio above ",
'text_and_uploaded_amount_above' => " and uploaded amount above ",
'text_cannot_exchange_uploading' => " GB cannot exchange for more uploading credit.",
@@ -137,13 +138,17 @@ where<ul><li><b>A</b> is an intermediate variable</li><li><b>Ti</b> is the <b>i<
'text_success_buy_attendance_card' => 'Success buy 1 attendance card.',
'text_harem_addition_get' => 'Current harem addition gains %s bonus per hour',
'reward_type' => 'Reward type',
'addition' => 'Addition',
'factor' => 'Factor',
'got_bonus' => 'Got bonus',
'total' => 'Total',
'reward_type_basic' => 'Basic reward',
'reward_type_harem_addition' => 'Harem addition',
'bonus_base' => 'Base bonus',
'lock_text' => 'The system limits you to one click on the exchange button within %s seconds!',
'text_get_by_seeding_official' => 'The official torrents will receive the following additional bonus value per hour',
'official_calculate_method' => 'The formula for calculating the official reward is the same as above, but only for the official type',
'official_tag_bonus_additional_factor' => 'The final reward is the calculated official type reward multiplied by the official type factor, the current official type factor is: ',
'reward_type_official_addition' => 'Official addition',
);
?>

View File

@@ -218,6 +218,7 @@ $lang_settings = array
'text_bonus_formula_four' => ". Default '4'",
'text_bonus_formula_five' => "<b>Si</b> is the <b>i</b>th torrent's size, in GB",
'text_bonus_formula_six' => "<b>Ni</b> is the number of current seeders of the <b>i</b>th torrent</li><li><b>N0</b> is a parameter. <b>N0</b> = ",
'text_bonus_formula_zero_bonus_factor' => "<b>Wi</b> is the <b>i</b>th torrent's weight. Default is 1, zero torrent is ",
'text_bonus_formula_seven' => ". Default '7'",
'text_bonus_formula_eight' => "<b>B</b> is the number of karma points gained by seeding in an hour",
'text_bonus_formula_nine' => "<b>B0</b> is a parameter, which standards for the maximum bonus points per hour a user can get by seeding. <b>B0</b> = ",
@@ -779,6 +780,14 @@ $lang_settings = array
'text_ten_gb_download_credit_note' => " bonus points to exchange for 10.0 GB downloading credit. Default '1000'.",
'row_hundred_gb_download_credit' => "100.0 GB downloading credit",
'text_hundred_gb_download_credit_note' => " bonus points to exchange for 100.0 GB downloading credit. Default '8000'.",
'row_official_addition' => 'Official addition',
'text_user_would_get_by_official' => 'The user will receive the normal bonus value of the official torrent',
'text_addition_addition_note' => 'times as reward (factor, e.g. fill in 0.01, if official torrens gets 100 bonus then reward user 100 * 0.01 = 1)',
'zero_bonus_factor_default' => '. Default is: 0.2',
'row_official_tag' => 'Official tag',
'text_official_tag_note' => '. Torrents with this tag are official torrents',
'row_zero_bonus_tag' => 'Zero bonus tag',
'text_zero_bonus_tag_note' => '. Torrents with this tag are zero bonus torrents',
);
?>