Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Simulating two separate actors with separate targets does not work

Đang mở
#2,650 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Start by reproducing the two-enemy scenario from the issue, with the second player targeting foo2, and observe what happens after that target dies first. Then trace how the simulator handles dead targets and action-sequence execution; done means the simulation continues without spamming unexecutable actions or crashing, but the issue does not specify a general solution.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
enemy=foo1
enemy=foo2

Shaman_Elemental_T18H.simc
name=p1

Shaman_Elemental_T18H.simc
name=p2
target=foo2

This will get into problems past the first iteration, or more generally, any time the second enemy dies before the first enemy. At that point, the second player will be trying hopelessly to do damage to a dead target, and unable to do so, potentially spams the action sequence list full of actions that cant execute, and crash the sim.

Solution for now is to run stuff with fixed_time=1, but a better/more generic solution would be nice. What that solution is, is not immediately clear at least to me.

Ngôn ngữ chính
C++
Star
1.6k
Fork
789
Merge trung bình
8 giờ 18 phút
Pull request đã merge (30 ngày)
63

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simulationcraft/simc

Tất cả issue của simulationcraft/simc

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.