[posila] Worms can exceed their range and projectile count (Reopened)

Shadda
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon Oct 03, 2016 2:25 pm
Contact:

[posila] Worms can exceed their range and projectile count (Reopened)

Post by Shadda »

I have found two strange things that both happen when running around (small) worms with high player speed (used /c game.player.character_running_speed_modifier = 10)
This happened in multiple new sandbox save files in vanilla factorio.

1) Worms can shoot further than their range should let them when predicting player movement:
https://imgur.com/a/b0jP2Jx (Not able to record right now, but I think the screen shows enough)
It's not 100% of the shots, it depends on where you are while shooting I think?
You could say this is not a bug by saying worms can shoot further than their detection range, but as they detect the player before getting into shooting range (they plop out of the ground a little before already) this seems to not be the case.

2) Worms shoot multiple projectiles at once when doing the same as above:
https://imgur.com/a/fpbnpCt
Also doesn't happen 100% of the shots.
This may be an intended mechanic and not observable at low speed because the prediction difference for the projectiles is only noticeable at higher speeds. If so, why do they shoot multiple instead of one stronger projectile?

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5218
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Worm range bigger and worms shooting more projectiles than usual when running

Post by Klonan »

I looked into this before, but was not able to reproduce it

But this time I was able to, using small worms:

Attachments
2019-10-22_09-18-32.mp4
(4.23 MiB) Downloaded 243 times

posila
Factorio Staff
Factorio Staff
Posts: 5263
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] Worm range bigger and worms shooting more projectiles than usual when running

Post by posila »

Thanks for the report.
Fixed for 0.17.76 (by Allaizn)

User avatar
atomizer
Fast Inserter
Fast Inserter
Posts: 102
Joined: Sat Sep 22, 2018 3:18 pm
Contact:

Re: [posila] Worm range bigger and worms shooting more projectiles than usual when running

Post by atomizer »

Both parts of the bug still exist in 1.1.44. To reproduce, be stationary during worm's wind-up animation, then run fast or teleport while the worm is shooting.

User avatar
atomizer
Fast Inserter
Fast Inserter
Posts: 102
Joined: Sat Sep 22, 2018 3:18 pm
Contact:

Re: [posila] Worm range bigger and worms shooting more projectiles than usual when running

Post by atomizer »

Here is a video of multiple splashes created from single shots, and splashes landing past maximum range: https://giant.gfycat.com/SpeedyCharmingFireant.mp4
Looks like there is a minimum character speed that is needed to trigger the bug. With no equipment, minimum game.player.character_running_speed_modifier needed seems to be 9. With 8 or below, the visual of the stream is still glitched but no extra splashes appear.

Here is what happens when you teleport away: https://giant.gfycat.com/WebbedUnsteadyGuineafowl.mp4
Notice how the stream entity now spans across the whole distance. It seems to create a rectangle of chunks that covers it, which is probably the cause of running out of memory in viewtopic.php?f=23&t=100325. There is also a splash at the character's starting location, so this method also creates two splashes out of one shot (the second one takes a while to land).

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [posila] Worm range bigger and worms shooting more projectiles than usual when running

Post by ssilk »

moved back to bugs from implemented on user request via pm
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Assigned”