Page 1 of 1

[0.17.67] Running at certain high speed causes cpu hang or crash

Posted: Wed Sep 04, 2019 1:22 pm
by Jon8RFC
This is reproducible.

Running at game.player.character_running_speed_modifier =
100000 causes very short cpu hang
1000000 causes a long cpu hang
10000000 has minimal impact, only noticeable by watching the debug numbers
100000000 causes a crash

https://youtu.be/u5kg-NEeuGI

I was trying to test something else out, and happened up on this.
I'm more interested in why it hangs at one high speed and not another.

The crash, I'm guessing, is just because it was making a map larger than the game is coded to handle, so no big deal. Is that correct?

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Posted: Wed Sep 04, 2019 1:23 pm
by posila
Don't do that

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Posted: Wed Sep 04, 2019 1:23 pm
by Jon8RFC
HA! Thanks. So what's the madness behind one speed causing a major, long hang, but the higher speed seemingly having no impact?

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Posted: Wed Sep 04, 2019 1:28 pm
by boskid
100 000 000 == 1e8? Why so slow? You need at least 1e308! 74542

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Posted: Wed Sep 04, 2019 1:31 pm
by Jon8RFC
Looks like they're related in 1/0 magic:
viewtopic.php?f=35&t=54346