Author Topic: Another overflow!  (Read 2847 times)

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Another overflow!
« on: June 23, 2005, 10:04:15 AM »
With walls another overflow occured!
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Another overflow!
« Reply #1 on: June 23, 2005, 10:07:40 AM »
Specifics?

I never use walls
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Another overflow!
« Reply #2 on: June 23, 2005, 10:14:54 AM »
I did just what to use walls for making some interesting sims, I draw the line and 1 sec after an overflow occured!?? everything else were like normal.
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Another overflow!
« Reply #3 on: June 23, 2005, 11:05:03 AM »
OK there are some weird things going on here.

1) it appears that walls were screwed up a little when the shpae functions were put in. Basically a wall has no shape so a division by zero error occurs.

Fixed that easily enough.

2) Another overflow happend just after when a robot looked at a wall. Apparently the wall is moving at a speed of -20,000 twips per cycle.  :blink:  even though it is quite obviously stationary.

Working on that one.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Another overflow!
« Reply #4 on: June 23, 2005, 11:07:38 AM »
WOW -20,000! LOL
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Another overflow!
« Reply #5 on: June 23, 2005, 11:12:20 AM »
Yup weird eh?

It is because walls are passed over in almost all of the calculation routines so the velocity never gets capped or zeroed out.

Fixed this too.

Incidentally, tie feeders can attach themselves to walls. I didn't realize that.

A wall is easy to identify though. It has an energy of exactly 1.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D