Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recorder API #269

Open
MC-XiaoHei opened this issue Jul 22, 2024 · 14 comments
Open

Recorder API #269

MC-XiaoHei opened this issue Jul 22, 2024 · 14 comments
Assignees
Labels
enhancement New feature or request

Comments

@MC-XiaoHei
Copy link
Member

描述你希望添加的功能。 Describe the feature you'd like.

由于新版本的各种问题,我认为应当实现一个新的Recorder API,并用Recorder API反过来实现Photographer API
Recorder API支持记录应当发给某个玩家的所有包。

其他 Other

No response

@MC-XiaoHei MC-XiaoHei added the enhancement New feature or request label Jul 22, 2024
@s-yh-china

This comment was marked as off-topic.

@MC-XiaoHei

This comment was marked as off-topic.

@s-yh-china

This comment was marked as off-topic.

@MC-XiaoHei

This comment was marked as off-topic.

@MC-XiaoHei MC-XiaoHei removed their assignment Jul 25, 2024
@MC-XiaoHei
Copy link
Member Author

assigned to @Lumine1909

@MC-XiaoHei
Copy link
Member Author

issue没法assign别的人(x

@Lumine1909
Copy link
Contributor

😡

@Lumine1909
Copy link
Contributor

有一个问题 config相关的包是必要的吗?

@MC-XiaoHei
Copy link
Member Author

有一个问题 config相关的包是必要的吗?

什么意思, config应该和api无关啊

@s-yh-china
Copy link
Member

啥config

@Lumine1909
Copy link
Contributor

没说全抱歉
image

@Bluemangoo
Copy link
Member

不是可以吗。

@MC-XiaoHei MC-XiaoHei removed their assignment Jul 25, 2024
@MC-XiaoHei
Copy link
Member Author

MC-XiaoHei commented Jul 25, 2024

不是可以吗。

好像得发言后才能 成为participants了

@Lumine1909
Copy link
Contributor

Replay mod 的工作原理并不只是记录发给玩家的所有包 它与目前Leaves的工作原理类似
这个mod通过保存发送给玩家的部分包和部分手动生成的处理该玩家状态的包一起保存 模拟了一个观察该玩家的摄像机(玩家)
因此 新的 API 还需要时间 我不能保证能在1.21.3更新前写完

对于现有的bug 可以考虑先通过同步处理packet异步save解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

4 participants