Agnes Digital

Results 40 comments of Agnes Digital

早上中文晚上试了都是验证码。。感觉签不上的概率提高好多惹,用的beta分支的 ![image](https://user-images.githubusercontent.com/70925546/188459167-03edf0b5-6730-42f6-888d-03f364d142b8.png)

现在用的Nonebot2-beta1分支,有关闭推送指令了嘛,

同样的报错, windows2012, gocq1.0.0rc4 因为with tempfile.NamedTemporaryFile()的方法在nonebot2的文档说,windows不适用,所以如下所改,最后得到 server requires unsupported ftn upload的报错 ``` async def upload_file(bot: Bot, event: MessageEvent, file_data: memoryview, filename: str): """上传临时文件""" if systems == "win" or "other": file_path =...

I'm sorry I still have some problems. ``` from PIL import Image from srctools.vtf import VTF, ImageFormats vtf = VTF(1024, 1024, fmt=ImageFormats.DXT1) img = Image.open('C:\\Users\\73580\\Desktop\\R.png') img = img.resize((1024, 1024)) largest_frame...

I realized my mistake because the image needs RGBA8888, and the size of direct zoom is blank. However, I found that after such modification, the generated vtf file could not...

I tried the following methods, but failed to get the vtf image that can be opened correctly.Above is (7,5), below is (7,2) ``` vtf = VTF(512, 512, fmt = ImageFormats.DXT1)...

I got it,this is true. `vtf = VTF(512, 512, fmt = ImageFormats.DXT5,thumb_fmt = ImageFormats.DXT1,version=(7,2))`

I encountered a new problem when I tried to implement it on UBUNTU20.04 In the paint selection interface of the game, I see that the picture is loaded correctly, but...

I think these may be necessary because when I try to write ``` import sys sys.modules["srctools._cy_vtf_readwrite"] = None ``` The error type is NotImplementedError ``` File "/home/ubuntu/bot/game/nb2/./src/plugins/nonebot_plugin_l4d2_server/l4d2_image/vtfs.py", line 42, in...