StarDodgeBall
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Final RoundGlitch--Have You Seen It?

Go down

Final RoundGlitch--Have You Seen It? Empty Final RoundGlitch--Have You Seen It?

Post  rut Fri Jan 11, 2013 6:38 pm

Hey everybody! In my personal tests I have seen a glitch that causes the last round to not respawn a player's units even when they have more lives remaining. It's only happened to me one time and it was during an experimental test, so I didn't think much of it.

Flash forward to today, when someone sends me a replay of a normal game experiencing that same problem!

I need to know if any of you have experienced this so that I can fix it ASAP.

So, have you?

Thanks!

rut
rut
rut
Admin

Posts : 167
Join date : 2012-11-18

https://stardodgeball.forumotion.com

Back to top Go down

Final RoundGlitch--Have You Seen It? Empty Re: Final RoundGlitch--Have You Seen It?

Post  rut Sat Jan 12, 2013 4:30 am

**Update***
I'm locking this thread because I have found and squashed the bug causing this unfortunate error. In case you're curious, here's how it happened. After about a minute passes without you hitting any keys, you become idle and an AI takes over for you. Your upgrades are stored in a variable and the computer will upgrade itself as the game progresses. When you hit a button to resume, the AI's upgrades vanish and your original upgrades are restored.

Here's what was happening. In the final round after you're killed, you might just wait and not click anything while the game finishes. Suddenly, the "you are idle" thing pops up on the screen. You hit a button to show you're not idle and remove it, and what does the game do? It re-applies your previous upgrades, including the extra lives you purchased! Therefore, when your team lost, the game wouldn't register an end because it's still seeing that you have extra lives.

The simple fix is to reset the variable each time it is reapplied, so that it cannot be reapplied twice. I should have done this from the start, but this situation never crossed my mind...
rut
rut
Admin

Posts : 167
Join date : 2012-11-18

https://stardodgeball.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum