Code center > Bugs and fixes
Major shot and energy bug
Elite:
--- Quote from: PurpleYouko ---I bet you are right.
We had this problem to a lesser degree in 2.36.
I think shots are generated at 'bot center' but collisions are detected at 'bot perimeter'
Returned shots should be set to the same range as incoming shots but with a small bot shooting a big bot that might not be enough.
--- End quote ---
So you can't feed on a bot that's bigger than you? No wonder so many bots were dying
EricL:
I was looking at this code last night and I think it may be more complex then my initial guess. From a quick look at the code, it does appear that shots do infact take bot radius into consideration to some extent. Whether it does so correctly however, will require a few hours of analysis. There is a bunch of vector math in this area and I will need to step through things line by line to get my head around it.
One thing I did notice is that a surprising amount of waste can be generated when bots consume high energy shots which can lead to altzheimers which can lead to them suddenly and seemingly inexplicitly going poof as PY and others have reported. This may or may not be the explanation for what people have seen. One of the several things that governs the energy in a return shot is the mass of the bots involved and for higher mass bots, the result of consuming a single energy shot can generate waste of 50 or more from a single shot!
I'll be offline for the next few days (going to camp with my son and 120 other 5th graders. Oh joy.) But digging into this area is top O the list for the next drop.
PurpleYouko:
--- Quote ---So you can't feed on a bot that's bigger than you? No wonder so many bots were dying
--- End quote ---
Well you can but possibly not if the difference is really big.
Remember that the strength and range of a bot's shots are somewhat dependent on his body points.
Numsgil:
power is linearally based on body, range is logarithmically based on body.
Navigation
[0] Message Index
[*] Previous page
Go to full version