IBM5100

@IBM5100

Joined on Aug 7, 2023

  • 前言:此筆記僅考慮雞蛋局,因為正常局打出combo基本上必贏(除非被反過來OTK)另外不考慮歪掉的情況(聚合體和魚的死聲順序) 機制1:基爾加丹每一次動作後都會補回30張,因此一張大德魯伊要抽30張才能造成疲勞 機制2:根據筆者實測,一隻大德魯伊死亡,最多只能洗30張進牌庫,但是可以抽超過30張另外觸發是以洗抽洗抽的順序執行,所以才會一直跳語音說我沒牌了洗抽到後面,由於洗超過30張了,會變成只執行抽的動作,導致疲勞因此可以看到有些影片,明明護甲疊超高,也把對面雞蛋疲勞死了,結果算平手因為其實動畫還沒跑完,你最後一張大德可能抽太多了,有護甲也倒地 機制3:結合機制1與2,可以發現其實我們和基爾加丹完全處於同一個起跑線在一張大德抽30張後,雙方牌庫都是30張,等於同時疲勞因此要靠疲勞贏基爾加丹,幾乎一定要甲蟲,沒甲蟲高機率平手 機制4:一回合內打出的大德假設都是打最新的,理論抽牌數量會是以下的數列(不算死聲兩倍):$$1, 2, 5, 13, 34, 89, 233 ...$$ 然而實際測試後,發現實際數列為:$$1, 2, 5, 10, 17, 26, 37 ...$$
     Like  Bookmark
  • This is a plugin for the HDT, and works in the hearthstone battlegrounds. With this plugin, You can get opponents' MMR automatically. Here is it looks like: image After a match starts, slip your mouse cursor on everyone's portrait at left,
     Like  Bookmark
  • 先找到防火牆,不同windows版本會有一點差異,然後點進階設定1 然後點輸入規則->新增規則2 選程式3 找到你的HDT.exeimageimage 4
     Like  Bookmark
  • This is a bot to get the hearthstone battlegrounds leaderboard from Blizzard api. This bot is running on fly.io. You can see the information from: https://bgrank.fly.dev/AP/https://bgrank.fly.dev/AP_duo/https://bgrank.fly.dev/US/https://bgrank.fly.dev/US_duo/https://bgrank.fly.dev/EU/https://bgrank.fly.dev/EU_duo/ And this is the Blizzard api:
     Like  Bookmark
  • This is a plugin for the HDT, and works in the hearthstone battleground. With this plugin, You can refresh the tavern with right click and freeze with middle click. Please set the window size close to ratio 16:9, otherwise the position may be wrong. Since the right click set to refresh, don't send emoji when you can refresh. Installation 1.Download the HDT-BGhelper.zip from here.2.Open the HDT, choose Options->Tracker->Plugins->Plugins Folder.3.Extract the HDT-BGhelper.zip into the plugins folder.4.Restart the HDT and enable the plugin.
     Like  Bookmark
  • 繼上篇→ 取得目前播放的歌曲 顯示於視窗提供直播擷取由於我發現OBS的文字來源其實可以讀檔,而且是會即時更新的(如下) 所以就弄了一個文字版,省了產生panel的麻煩,也少一個視窗和吃的資源code很短就直接貼了 import time import pyautogui def write_file(name): f = open("cs.txt", "w", encoding="utf-8") f.write(name)
     Like  Bookmark
  • 首先這個東西應該有更好的方法,不過我就是根據自己的需求自己寫一個可以當作參考,改成適合你們自己的,或是找其他方法 由於我個人習慣在本地端放音樂,通常是用PotPlayer直播時想顯示目前歌曲,就用Python寫了這個東西目標有兩個,一是取得歌曲名稱,二是顯示於視窗提供擷取不多說直接上code import pyautogui import tkinter as tk def get_music_name(): pot = pyautogui.getWindowsWithTitle("PotPlayer") if pot == []:
     Like  Bookmark
  • 1.創一個新的Twitch帳號,作為機器人使用 2.到 https://twitchtokengenerator.com一進去會出現下面這個,選機器人然後拉到下面,先點Select All,再點Generate Token!拉回上面,記下ACCESS TOKEN和CLIENT ID,之後會用到 3.開始Coding,code都在這→ https://github.com/IBM5100o/TwitchBot這是主程式 命名為 app.py,keep_alive是另一個檔案,為了在線上跑用的首先把剛才的token和client_id填入,nick就填機器人的帳號initial_channels則是你想讓機器人在哪裡運作(機器人必須要有那些頻道的MOD,很重要)這樣就完成了,如果把keep_alive去掉,直接在本地端跑就可以運作了,可以先測試看看在頻道打 !add 1 2,機器人應該會回1+2=3 4.問題來了,你不可能一直開著電腦跑這個程式吧,所以我們需要把它丟到網路上跑這邊我是用 fly.io,使用教學可以看這裡 fly教學裝好後,把github那包放到一個資料夾,然後在那個資料夾用cmd打fly launch要注意的是fly.toml和Procfile這兩個檔案,如果你在fly launch的時候有覆寫到請把它們改回我github給的那樣,然後fly deploy機器人就上線了 5.如果怕斷線,可以用 https://uptimerobot.com ,設一個Monitor到flyMonitor設定的網址→https://XXX.fly.dev (你的app網址)簡單來說就是它會每隔一段時間去ping你的fly,提升穩定性(不用也可)
     Like  Bookmark