Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Simulating two separate actors with separate targets does not work

Abierto
#2,650 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
cpp
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
1.6k
Forks
789
Merge medio
8 h 18 min
PR fusionados (30 d)
63

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de simulationcraft/simc

Todos los issues de simulationcraft/simc

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.