跳到正文
𝐆𝐈𝐆𝐀󠁇󠁲󠁯󠁫󠀧󠁳󠀠󠁂󠁆󠁆𝐁𝐄𝐀𝐑· 来源· @GigabearForever · X·· 11 小时前AI 评分12
正文 · 原文

The trick I was using while looking at this Ai-integration stuff was having a watcher on my screenshots folder and grabbing a section of that image for the "prompt box" when a new shot landed there but I stopped work on it back in beta because even that was too grey area for my liking.

I moved to using guild chat and a linked Discord + bot to send prompts out and a streaming firstload font file system to diff against to check for updates. The discord bot webhooked into grokbot who wrote the reply, then put it through to the companion app on my PC.

When it does this the companion app overwrites all the font files at once to a different width, and the addon then knows to load the next "mail" in the chain which is another folder of 40 pngs that get overwritten entirely when new mail arrives.

Very convoluted but it did work for an hour until all the font files had been checked. Then you would have had to restart the game to unload them all and restore mail checking.

来源:𝐆𝐈𝐆𝐀󠁇󠁲󠁯󠁫󠀧󠁳󠀠󠁂󠁆󠁆𝐁𝐄𝐀𝐑 · x.com