[Bug] Cake Stuck

7 replies [Last post]
Orange_Ball
User offline. Last seen 24 weeks 3 days ago. Offline
Joined: 2016-05-15
Posts: 41
Video: [url]https://www.youtube.com/watch?v=qe0MJ9BFhIM[/url] Ah Geez... Whenever you place the walking cake at the hedgehog, The cake could be stuck and cannot move, and another thing is, the timer won't start. The only way to stop this to press space that the cake can be detonated.
TheMadCharles
TheMadCharles's picture
User offline. Last seen 2 days 7 hours ago. Offline
Joined: 2012-10-19
Posts: 127
Technically speaking you just placed a cake at yourself. Literally. It couldn't detect a blank pixel to move into it, cuz it always failed by finding obscured pixels, cuz it's inside of your hedgehog. And no, you are not the only one that this happened to.
oh hi if any staff is reading this, plz rename me to "h3oCharles", thx in advance
Orange_Ball
User offline. Last seen 24 weeks 3 days ago. Offline
Joined: 2016-05-15
Posts: 41
[quote=TheMadCharles] Technically speaking you just placed a cake at yourself. Literally. It couldn't detect a blank pixel to move into it, cuz it always failed by finding obscured pixels, cuz it's inside of your hedgehog. And no, you are not the only one that this happened to. [/quote] If that happened and for the next update, The cake should be instantly exploded without manually pressed "fire" button, i mean the cake would be automanually have their position set for this.
Wuzzy
Wuzzy's picture
User offline. Last seen 3 days 13 hours ago. Offline
Joined: 2012-06-20
Posts: 1301
I agree this looks like a bug. The video shown is over a minute long, but the cake should have exploded long before. It's obvious the cake was detonated manually at the end. So at the very least, the bug is that the timer does not even start.
Hi, I am a Hedgewars developer. Smile
sheepluva
sheepluva's picture
User offline. Last seen 1 day 9 hours ago. Offline
Joined: 2009-07-18
Posts: 561
[quote=Wuzzy] So at the very least, the bug is that the timer does not even start. [/quote] Cake doesn't have a timer, never had, it actually has fuel. The more distance and curves it walks the nore it consumes. If it gets stuck and runs in the spot without actually moving, it can take several ninutes for it to consume the fuel. Not sure if we fixed that issue in dev already, I'll check that later.
  [url=/user/3290][color=white][b]sheepluva[/b][/color][/url][color=#90BA5D] <- me[float=right]  [/float][float=right][url=https://www.openhub.net/accounts/80048][img]https://www.openhub.net/accounts/80048/widgets/account_tiny.gif[/img][/url][/float][float=right]my code stats -> [/float][/color] [i][color=#6080C0][size=8]a[size=4] [/size][/size][/color][color=yellow]Hedgewars Developer[/color][/i] [center][float=left]  [/float][float=left][url=https://twitter.com/sheepytweety][img]/images/twitter.png[/img][/url][/float] [url=/privatemsg/new/3290][color=#C0C0C0]click here to message me[/color][/url][/center] [color=#90BA5D][float=left]  [/float][float=left][url=https://en.wikipedia.org/wiki/Austria][img]/images/Flags/austria.png[/img][/url][/float][float=left] <- where I'm from[/float][float=right]  [/float][float=right][img]/images/Flags/united_kingdom.png[/img][/float][float=right][img]/images/Flags/germany.png[/img][/float][float=right]what I speak -> [/float][/color]
ivan866
ivan866's picture
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 2016-02-23
Posts: 50
Probably when walking downhill it should consume minimum, as a neutral gear in cars...
[color=gray]Have a melon.[/color]
Wuzzy
Wuzzy's picture
User offline. Last seen 3 days 13 hours ago. Offline
Joined: 2012-06-20
Posts: 1301
[quote]Cake doesn't have a tiner, never had, it actually has fuel.[/quote] Ah, this explains it. My idea to fix this issue is the following: Make sure the cake always consumes a guaranteed minimum amount of fuel per time unit. This consumption must be less then it would take by, let's say walking on a perfectly flat surface. This would guarantee that all cakes will explode in a reasonable amount of time even when they're stuck. The downside might be that this could reduce the maximum walking distance a bit, so some playtesting should be done before fixing. The idea is similar to the usage of the freezer: It still consumes fuel when you move it around. EDIT: Okay, my idea is not new, haha.
Hi, I am a Hedgewars developer. Smile
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]