Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Simulating two separate actors with separate targets does not work

Aperta
#2,650 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
1.6k
Fork
789
Merge medio
8h 18m
PR unite (30g)
63

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simulationcraft/simc

Tutte le issue di simulationcraft/simc

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.