Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PowerCell Self-Destruct Glitch
#1
I would like to report a strange glitch I found on COLOBOT GOLD. I do not know if this has already been fixed (the COLOBOT GOLD version I have is older), nor do I know if this was also in the original version, but it does happen in the version I currently own.


I call it the PowerCell Self-Destruct Glitch, which is exactly what it sounds like: the bot somehow destroys its own power cell. The glitch definitely happens on the programming exercise level "Flying Tower 1", untested on other levels. It is only achiveable with a WingedShooter (also possibly WingedOrgaShooter). It is caused by inserting this program into the bot:

extern void object::Glitch()
{
  jet(1);
  fire();
}

This causes the bot to barely hover above the ground, then it fires and somehow its power cell explodes. Strangely, the bot's power level is unaffected and operates normally. Attached is a screenshot, look at it and return to the page.

-----------------------------------------------------------------------------------------------------------------------------------------

As you can see, the bot's NuclearCell explodes. The explosion appears at the bot, yet the power cell appears several meters away.

Is this a known glitch, and is it already fixed in the new version?


Attached Files Thumbnail(s)
   
#2
I can confirm this bug exists in the current version (dev branch commit 6c87144). It appears that using fire() without argument causes the power cell to explode for no reason. Doesn't happen if you specify positive time. This needs further testing to determine under what circumstances this can happen.
"After three days without programming, life becomes meaningless."
~The Tao of Programming
#3
Didn't happened for me. Bot is going up while shooting, battery wasn't affected in any way.
But I've noticed that second bot, that was standing behind, was hurted. Probably it may be somehow related. I think that starting point of projectiles is starting behind a Shooter and sometimes it may hit another object.
Spoiler :
[Image: unknown.png]
#4
For me, it look like it happen only on shooters with trainer markup.
#5
Yes, on normal mission it didn't happened. Hurting bots behind is an another bug. And battery is instantly drained after few seconds. Also battery model flied away.    
Edit: reported on github
Spoiler :
[Image: unknown.png]
#6
As it was reported on GitHub, I'm closing this thread.
[Image: XvN5CTW.png] [Image: UYXyyMS.png]


Forum Jump:


Users browsing this thread: 1 Guest(s)