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

Mob AI Issues #102

Open
1 task done
KobeBryant114514 opened this issue Aug 13, 2024 · 19 comments
Open
1 task done

Mob AI Issues #102

KobeBryant114514 opened this issue Aug 13, 2024 · 19 comments
Labels
bug Something isn't working

Comments

@KobeBryant114514
Copy link

KobeBryant114514 commented Aug 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What behaviour is observed?

After the server has been running for a period of time (usually more than 10 hours), the Mob AI may become abnormal.
Specifically, the mob AI disappears, and the mobs, especially monsters, does not move.
Restart the server can solve this issue.

服务器运行一段时间后,生物AI会消失(大概需要运行十几个小时才会出现)
具体表现为,生物不运动,正常刷怪但是怪物不动。
重启服务器能解决,但是一段时间后还会出现。

Expected behaviour

The mob AI will not disappear.

生物AI不应该出现问题。

To Reproduce

  1. Run the server, and invite some players to joins this server to play.
  2. Wait for about a dozen hours.
  3. The mob AI will disappear.

正常运行服务器,服务器大概有20-35人游玩。运行一段时间,大概十几个小时,就会出现这个问题,不知道原因。以前运行其它服务端没有出现过这个问题。

Plugin list

[18:56:50 INFO]: Paper Plugins: (0):
[18:56:50 INFO]: Bukkit Plugins: (16):
[18:56:50 INFO]: - AngelChest, Chairs, CoreProtect, Dimensions, floodgate, GreenChunk, Hurricane, LuckPerms, Multiverse-Core, Multiverse-Inventories
[18:56:50 INFO]: Multiverse-NetherPortals, PreLoginWhitelist, ProtocolLib, ViaBackwards, ViaRewind, ViaVersion

Leaf Version

[18:57:06 INFO]: This server is running Leaf version 1.21.1-DEV-ver/1.21.1@aad915a (2024-08-11T12:31:06Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT) * You are 3 version(s) behind Download the new version at: https://github.com/Winds-Studio/Leaf Previous: 1.21-DEV-d4fcc79 (MC: 1.21)

Error log (if applicable)

No response

Configuration

No response

@KobeBryant114514 KobeBryant114514 added the bug Something isn't working label Aug 13, 2024
@Dreeam-qwq
Copy link
Member

Dreeam-qwq commented Aug 13, 2024

请提供Leaf, paper配置
并尝试在purpur上测试

@Dreeam-qwq Dreeam-qwq added bug Something isn't working and removed bug Something isn't working labels Aug 13, 2024
@KobeBryant114514
Copy link
Author

config.zip

配置文件已提供

我会尝试用Purpur运行测试,找个问题大概要十几个小时才会出现,我会在大概一天后给出测试结果

@BAD7777

This comment was marked as off-topic.

@Dreeam-qwq

This comment was marked as off-topic.

@BAD7777

This comment was marked as off-topic.

@Dreeam-qwq

This comment was marked as off-topic.

@Dreeam-qwq
Copy link
Member

image
image

Can't replicate, all mobs (animals and monsters) look fine, can move and also have random behaviors.

@KobeBryant114514
Copy link
Author

之前我服务器tps一直在20.0左右,基本上没变化,所以说我认为之前提到的AI问题和tps无关。
Purpur能否复现仍在测试。

@KobeBryant114514
Copy link
Author

此问题经过一日测试,似乎是leaf的生物异步寻路导致的,关闭此配置暂时未出现该问题。

还不能完全确定是由此引起的,我正在进一步测试,我会继续反馈。

@KobeBryant114514
Copy link
Author

此问题经过一日测试,似乎是leaf的生物异步寻路导致的,关闭此配置暂时未出现该问题。

还不能完全确定是由此引起的,我正在进一步测试,我会继续反馈。

基本上可以确认,关闭leaf异步寻路之后,不再出现这个问题

@Mamsikas
Copy link

same issue but their AI does not disappear completely, they continue to hit the player but stand still (I can't replicate this but players on my server have encountered this several times and have shown proof)

@KobeBryant114514
Copy link
Author

same issue but their AI does not disappear completely, they continue to hit the player but stand still (I can't replicate this but players on my server have encountered this several times and have shown proof)

You are right, the mob AI will not disappear completely. They can attack players, and the undead mobs will burn under the sunlight. But the mobs stood still in place, not moving.

@BAD7777
Copy link

BAD7777 commented Aug 19, 2024

image
image
The problem with AI is 100%. Mobs hang up after 16-20 hours

@Dreeam-qwq
Copy link
Member

image image The problem with AI is 100%. Mobs hang up after 16-20 hours

What's the problem? and if the server tps is low, please send spark profiler instead of only a screenshot without any sense.

@BAD7777
Copy link

BAD7777 commented Aug 19, 2024

image image The problem with AI is 100%. Mobs hang up after 16-20 hours

What's the problem? and if the server tps is low, please send spark profiler instead of only a screenshot without any sense.

It's just that the players send a screenshot, and I saw it a little later. If there is another problem, I will send it.

@pjindras
Copy link

I have also seen lot of issues with mob AI now, sometimes they are not moving, sometimes they are very lobotomized. Sometimes it is fine.

@Dreeam-qwq
Copy link
Member

Dreeam-qwq commented Aug 27, 2024

I have also seen lot of issues with mob AI now, sometimes they are not moving, sometimes they are very lobotomized. Sometimes it is fine.

Not moving is like, looks like stuck in some seconds, then can move, or not moving for a long time?

@pjindras
Copy link

sometimes they are not moving until I hit them, sometimes I stay next to zombie for example and he is not attacking me, only watching me

They stuck for longer time. I will send a

2024-08-27.23-40-44.mp4
2024-08-27.23-40-02.mp4
2024-08-27.23-39-02.mp4

video.

@pjindras
Copy link

2024-08-27.23-38-14.1.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants