The most strange bug ever! REAL light speed

Everything that does not fit into the catagories below.

Moderators: Moderators, General Forum Moderators

The most strange bug ever! REAL light speed

Postby NickyNick » Sat Nov 17, 2007 3:04 pm

I was playing around and suddenly happened this. I don't know what to say... It's amazingly strange!

Looks like insanely big speed. Or teleportation? :)
Attachments
Deja Vu 16 - Trigger.the most strange bug ever.lvl
(2.29 KiB) Downloaded 368 times
AR & W:A forever
User avatar
NickyNick
Champion of Light
Champion of Light
 
Posts: 1330
Joined: Sat Dec 30, 2006 10:43 pm
Location: Ukraine - Kharkov

Postby McGinge » Sat Nov 17, 2007 5:17 pm

lol thats really random!!!! it must either dissapear to way outside the level boundary or go really fast somewhere.... :? :? :D :D
User avatar
McGinge
Contest Legend
Contest Legend
 
Posts: 936
Joined: Mon May 28, 2007 2:49 pm
Location: Sevenoaks, England

Postby Ikerous » Sun Nov 18, 2007 1:35 am

Wow o.O

Why does the portal blink the and the level end five seconds later?
User avatar
Ikerous
Light Master
 
Posts: 977
Joined: Mon Dec 04, 2006 8:02 am
Location: California

Postby CN Player » Sun Nov 18, 2007 2:22 am

He will swallow your soul also the dillo.
User avatar
CN Player
Light Master
 
Posts: 485
Joined: Thu Feb 15, 2007 5:37 am
Location: China

Postby TSchultz » Sun Nov 18, 2007 4:05 am

I think it has something to do with the dark paddle being insanely close to blowing up. Add a rope to any node, make a piece of cloth fall on anything. It will go BOOM

It either goes REALLY REALLY REALLY FAST
or vanishes.

I'm too lazy to replace the metal plates with tensioned cloth or something since that'd make more sense i think.

edit:
Tensioned cloth version attached.

Also... The metal plates attached to rocket dissapear too. So i'm thinking the Dillo also dissapears.
Attachments
Deja WTF2.lvl
(6.02 KiB) Downloaded 189 times
Deja WTF.lvl
(51.56 KiB) Downloaded 193 times
User avatar
TSchultz
Contest Veteran
Contest Veteran
 
Posts: 508
Joined: Sat Jul 14, 2007 6:54 pm

Postby NickyNick » Sun Nov 18, 2007 1:25 pm

I think there's bug somewhere in Peter Stock's program. I was lucky and unexpectedly found a combination of objects which make program to use division by zero when setting coordinates of dillo and some other disappearing objects.
No other ideas. :D :shock:
AR & W:A forever
User avatar
NickyNick
Champion of Light
Champion of Light
 
Posts: 1330
Joined: Sat Dec 30, 2006 10:43 pm
Location: Ukraine - Kharkov

Postby NickyNick » Sun Nov 18, 2007 1:34 pm

O_o When I tried to change level boundaries, bug vanished. :shock:
AR & W:A forever
User avatar
NickyNick
Champion of Light
Champion of Light
 
Posts: 1330
Joined: Sat Dec 30, 2006 10:43 pm
Location: Ukraine - Kharkov

Postby peterstock » Tue Nov 20, 2007 5:39 pm

I've tracked down this bug now - here's an explanation of what's going on:

The problem in this case is in the armadillo-link collision code. A collision is flagged when the armadillo and the relevant part of the link are close enough and their relative velocity along the collision normal axis is positive (i.e. they are moving together, not apart). Then the velocities are stored for the collision and used in the collision resolution calculations later on.

The problem is that because of floating point optimisations, at the point when the test for relative velocity being positive is made, the velocity variables are held at a higher precision than normal floats are stored at. Then the later calculations use these numbers after they've been rounded to the normal floating point precision, but at this point they are equal. Unfortunately this breaks the code which assumes that it can use the relative velocity as a divisor, and hence infinite velocity and thus infinite position in later calculations.

I really should have done some research into the problems that can arise from floating point compiler optimisations before I released the game. Now any change I make will affect the way all levels/solutions play out, so I'm saving up all the simulation-affecting bug fixes to be fixed in a new release.
peterstock
Armadillo Run Developer
 
Posts: 56
Joined: Wed May 31, 2006 4:35 pm

Postby NickyNick » Tue Nov 20, 2007 8:54 pm

Thanks a lot for fast response, Peter!
I have some features and ideas for new version. If it won't spam you too much, I'll email you them a bit later.
AR & W:A forever
User avatar
NickyNick
Champion of Light
Champion of Light
 
Posts: 1330
Joined: Sat Dec 30, 2006 10:43 pm
Location: Ukraine - Kharkov


Return to General

Who is online

Users browsing this forum: No registered users and 8 guests

cron