nyaoouo / FFDraw

A Drawing Framework for ffxiv
GNU General Public License v3.0
154 stars 36 forks source link

回放中 RaidHelper 的 simple cast 在开启 print_history 后无法正常工作 #46

Closed cyf5119 closed 1 year ago

cyf5119 commented 1 year ago

回放中 RaidHelper 的 simple cast 在开启 print_history 后无法在P12S中正常工作,目前状况如下 可以正常绘制 论灵魂、三魂一体第一次; 无法绘制 小怪光暗连线、黑白塔; 使用版本为当日11:58直接从 github 下载的 ffdraw 与 nylib ,无其他任何修改。

每一次自动绘制失败都会有一次报错,基本一致,故下仅贴出一次报错 报错如下 [2023-10-08 12:02:48,572] [ERROR] [Hooks] ---------------------------------------- [2023-10-08 12:02:48,572] [ERROR] [Hooks] Error in hook: must be str, not int [2023-10-08 12:02:48,572] [ERROR] [Hooks] Traceback (most recent call last): [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\NyLib\nylib\utils\call_hook.py", line 56, in call [2023-10-08 12:02:48,572] [ERROR] [Hooks] f(*args, **kwargs) [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\plugins\raid_helper__init.py", line 321, in on_simple_cast [2023-10-08 12:02:48,572] [ERROR] [Hooks] f'#simple_cast {source.name} cast {action.text}#{action_id} ' [2023-10-08 12:02:48,572] [ERROR] [Hooks] ^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\fpt4\utils\sqpack\exd\data_row.py", line 23, in get [2023-10-08 12:02:48,572] [ERROR] [Hooks] return instance[self.col_id] [2023-10-08 12:02:48,572] [ERROR] [Hooks] ~~~~^^^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\fpt4\utils\sqpack\exd\row.py", line 85, in getitem__ [2023-10-08 12:02:48,572] [ERROR] [Hooks] self.row_base.cache[key] = read_data(self.row_base.buffer, self, self.row_base.column[key]) [2023-10-08 12:02:48,572] [ERROR] [Hooks] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\fpt4\utils\sqpack\exd\reader.py", line 74, in read_data [2023-10-08 12:02:48,572] [ERROR] [Hooks] return DATAREADERS[col.type if type is None else type_](buffer, row, col) [2023-10-08 12:02:48,572] [ERROR] [Hooks] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\fpt4\utils\sqpack\exd\reader.py", line 51, in string_reader [2023-10-08 12:02:48,572] [ERROR] [Hooks] return SeString.from_buffer(buf) [2023-10-08 12:02:48,572] [ERROR] [Hooks] ^^^^^^^^^^^^^^^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] File "D:\Games\FFXIV\FFD\FFDraw-master\fpt4\utils\se_string__init__.py", line 337, in from_buffer [2023-10-08 12:02:48,572] [ERROR] [Hooks] if (end := buffer.find(0)) != -1: del buffer[end:] [2023-10-08 12:02:48,572] [ERROR] [Hooks] ^^^^^^^^^^^^^^ [2023-10-08 12:02:48,572] [ERROR] [Hooks] TypeError: must be str, not int [2023-10-08 12:02:48,572] [ERROR] [Hooks] ----------------------------------------