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

APL Crash: Subtract Energy Value from Constant Value - Crash Report -1191371245 #3607

Closed
where-fore opened this issue Sep 4, 2023 · 0 comments · Fixed by #3612
Closed

APL Crash: Subtract Energy Value from Constant Value - Crash Report -1191371245 #3607

where-fore opened this issue Sep 4, 2023 · 0 comments · Fixed by #3612

Comments

@where-fore
Copy link
Contributor

where-fore commented Sep 4, 2023

APL crash from trying to subtract an energy value from a constant value: in the Rupture section it tries to subtract your current energy from a heuristic constant of 115. If you remove this line and just set it to any heuristic constant the sim no longer crashes.

Trying to 1:1 reimplement the Rupture weaving code from Legacy:

// use Rupture if you can re-cast Envenom with minimal delay, hoping for a Ruthlessness proc ;)
avail := e + rogue.EnvenomAura.RemainingDuration(sim).Seconds()*energyPerSecond()
cost := rupCost + mutiCost + envCost
if avail >= cost {
return Cast
}
return Skip

Link:
http://localhost:3333/wotlk/rogue/#eJztVF1IVEEUvmfm7np3sryOm67TWnp7kSVp7q5LVshdC7GnsCKK6KGIIiJC8il7CUFoUyiygvYp6qVfiy3FDCGyKCH7eyjoh1Qo+iMlsHwwbObOri1UZGXQQ4fL3fnOOd/5zjk7XFJgII62Qh3aA3ASoBPgHsArgCVmMaqAGKyFOtjrhqjGTpFG8NZu37hr805DN73sNZAc89IBHHhdZHk7elDyMiI+s7cZW1ges80OEesvSqNnzThwOGjh5wJRs1+g0SLLJ2IPx5H0TTffC1/TbEsXSBPwoqAfClp6UkJqtrbgwP6gy1CPUG8XKUNS/bJbIsc8L0ocCVre58rhMwfjWEn6zLPNqaNuXolj8T7YgkVf3YLSJ7p86nZ5oUUhNcy5FjWMRcSiPLX6Wn2DfhyNIHIVaf/tj4zyX2U06AYE0LpSMsNEAVQsbm6FHtOXeVi+wFDs5+Npg+q+27cr98E8zqMRHrF5eSQatgUIc5tHwhG7zD1HuXwinNtlUW4PQrZx6wUyb75Agb676BXow5CVAO0aOq0fAyB5xGBecWtau5CVRTwEl9n10rlNOI2uW3jCSXWGFmm0hM0h+SG/oVOjC0TE+Fgu+QTZ9UxBOp+V/SiF5lFXzkiMIZqVJsxlJaQgNFMQfF0go3da8UTRFKaFrIBMt6YRXxJSrbmh+AOgfkaJkcyQktN86zVensE0j+VmeOVP+3YaZIyYoRmiAdSgKeUoV8rXMZ3FCr8TFVRzbDHdxDaSNXS1m+CluBE0GSFQTqqok242fgOTcIiLhEASzTRwek7hV/XCnNEkyjHEUuS6bTvKUlrGMbGpdAeQIRB1mx/YQavZUrKQLvhOB3KvGSuTXaikiTkqoiwVydjB1xKR9H/1GLQE0qxm7FOXdnksVx38scLEUWm9zkLlueeUbHHtoRN+gopXBTyhv/xZKY3HpqLMnt7rP6mzakp0fsfUbruHYlUKjzobYKX7wa4kj07UVX5wekZK1++/9tmZbMXd/raagYZLzrsVnbOb3t7/AW/YUfU/OnOa3orMEUey/G2fHPmuGXjjCFGhPDRp3X/NKHcHa8qKqXuMYz9jrEt94ocnPfMXjBIRzw==

RNG Seed: 3111389159

Unimplemented GetInt
Stack Trace:
goroutine 941 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/debug/stack.go:24 +0x65
github.com/wowsims/wotlk/sim/core.runSim.func1()
/home/runner/work/wotlk/wotlk/sim/core/sim.go:61 +0x9e
panic({0x1402020, 0x33ad130})
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/panic.go:838 +0x207
github.com/wowsims/wotlk/sim/core.DefaultAPLValueImpl.GetInt(...)
/home/runner/work/wotlk/wotlk/sim/core/apl_value.go:42
github.com/wowsims...

@where-fore where-fore changed the title Crash Report -1191371245 APL Crash: Subtract Energy Value from Constant Value - Crash Report -1191371245 Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant